Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: workspace settings route & system prompt editor #114

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

alex-mcgovern
Copy link
Collaborator

@alex-mcgovern alex-mcgovern commented Jan 17, 2025

#106 #108

Begins setting up workspaces with the ability to edit system prompts.

  • Adds a "workspace settings" route (at /workspaces/:id)
  • Adds a "workspace name" card (readonly text input for now)
  • Adds a "system prompt" editor, using monaco text editor
  • API functionality is currently mocked, as there is no actual endpoints exposed or defined for this yet
Screen.Recording.2025-01-20.at.9.19.13.AM.mov

Copy link

stacklok-cloud-staging bot commented Jan 17, 2025

Minder Vulnerability Report ✅

Minder analyzed this PR and found it does not add any new vulnerable dependencies.

Vulnerability scan of 120ffc66:

  • 🐞 vulnerable packages: 0
  • 🛠 fixes available for: 0

Copy link

@stacklok-cloud-staging stacklok-cloud-staging bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency Information

Minder analyzed the dependencies introduced in this pull request and detected that some dependencies do not meet your security profile.

📦 Dependency: @monaco-editor/loader

Trusty Score: 0

Scoring details
Component Score
Package activity 5.6
Repository activity 3.7
User activity 7.4
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 14
Number of git tags or releases 11
Versions matched to tags or releases 11

📦 Dependency: @monaco-editor/react

Trusty Score: 0

Scoring details
Component Score
Package activity 7.1
Repository activity 6
User activity 8.2
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 100
Number of git tags or releases 47
Versions matched to tags or releases 45

📦 Dependency: state-local

Trusty Score: 0

Scoring details
Component Score
Package activity 3.6
Repository activity 1.8
User activity 5.4
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 8
Number of git tags or releases 3
Versions matched to tags or releases 3

Copy link

@stacklok-cloud-staging stacklok-cloud-staging bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency Information

Minder analyzed the dependencies introduced in this pull request and detected that some dependencies do not meet your security profile.

📦 Dependency: @monaco-editor/loader

Trusty Score: 0

Scoring details
Component Score
Package activity 5.6
Repository activity 3.7
User activity 7.4
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 14
Number of git tags or releases 11
Versions matched to tags or releases 11

📦 Dependency: @monaco-editor/react

Trusty Score: 0

Scoring details
Component Score
Package activity 7.1
Repository activity 6
User activity 8.2
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 100
Number of git tags or releases 47
Versions matched to tags or releases 45

📦 Dependency: state-local

Trusty Score: 0

Scoring details
Component Score
Package activity 3.6
Repository activity 1.8
User activity 5.4
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 8
Number of git tags or releases 3
Versions matched to tags or releases 3

Copy link

@stacklok-cloud-staging stacklok-cloud-staging bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency Information

Minder analyzed the dependencies introduced in this pull request and detected that some dependencies do not meet your security profile.

📦 Dependency: @monaco-editor/loader

Trusty Score: 0

Scoring details
Component Score
Package activity 5.6
Repository activity 3.7
User activity 7.5
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 14
Number of git tags or releases 11
Versions matched to tags or releases 11

📦 Dependency: @monaco-editor/react

Trusty Score: 0

Scoring details
Component Score
Package activity 7.1
Repository activity 6
User activity 8.2
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 100
Number of git tags or releases 47
Versions matched to tags or releases 45
Alternatives
Package Score Description
react-monaco-editor 0

📦 Dependency: state-local

Trusty Score: 0

Scoring details
Component Score
Package activity 3.6
Repository activity 1.8
User activity 5.4
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 8
Number of git tags or releases 3
Versions matched to tags or releases 3

@alex-mcgovern alex-mcgovern self-assigned this Jan 20, 2025
@alex-mcgovern alex-mcgovern marked this pull request as ready for review January 20, 2025 09:16
Copy link

@stacklok-cloud-staging stacklok-cloud-staging bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency Information

Minder analyzed the dependencies introduced in this pull request and detected that some dependencies do not meet your security profile.

📦 Dependency: @monaco-editor/loader

Trusty Score: 0

Scoring details
Component Score
Package activity 5.6
Repository activity 3.7
User activity 7.5
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 14
Number of git tags or releases 11
Versions matched to tags or releases 11
Alternatives
Package Score Description
@monaco-editor/react 0

📦 Dependency: @monaco-editor/react

Trusty Score: 0

Scoring details
Component Score
Package activity 7.1
Repository activity 6
User activity 8.2
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 100
Number of git tags or releases 47
Versions matched to tags or releases 45
Alternatives
Package Score Description
react-monaco-editor 0

📦 Dependency: @testing-library/react

Trusty Score: 0

Scoring details
Component Score
Package activity 8.3
Repository activity 7.3
User activity 9.3
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 119
Number of git tags or releases 117
Versions matched to tags or releases 110
Alternatives
Package Score Description
enzyme 0

📦 Dependency: state-local

Trusty Score: 0

Scoring details
Component Score
Package activity 3.6
Repository activity 1.8
User activity 5.4
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 8
Number of git tags or releases 3
Versions matched to tags or releases 3

@coveralls
Copy link
Collaborator

coveralls commented Jan 20, 2025

Pull Request Test Coverage Report for Build 12864820265

Details

  • 1 of 25 (4.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-2.2%) to 64.112%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/features/workspace-system-prompt/constants.ts 0 1 0.0%
src/features/workspace-system-prompt/hooks/use-post-system-prompt.tsx 0 1 0.0%
src/features/workspace-system-prompt/lib/post-system-prompt.tsx 0 4 0.0%
src/features/workspace-system-prompt/components/system-prompt-editor.tsx 1 19 5.26%
Totals Coverage Status
Change from base Build 12863547363: -2.2%
Covered Lines: 458
Relevant Lines: 638

💛 - Coveralls

Copy link

@stacklok-cloud-staging stacklok-cloud-staging bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency Information

Minder analyzed the dependencies introduced in this pull request and detected that some dependencies do not meet your security profile.

📦 Dependency: @monaco-editor/loader

Trusty Score: 0

Scoring details
Component Score
Package activity 5.6
Repository activity 3.7
User activity 7.5
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 14
Number of git tags or releases 11
Versions matched to tags or releases 11
Alternatives
Package Score Description
@monaco-editor/react 0

📦 Dependency: @monaco-editor/react

Trusty Score: 0

Scoring details
Component Score
Package activity 7.1
Repository activity 6
User activity 8.2
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 100
Number of git tags or releases 47
Versions matched to tags or releases 45
Alternatives
Package Score Description
react-monaco-editor 0

📦 Dependency: @testing-library/react

Trusty Score: 0

Scoring details
Component Score
Package activity 8.3
Repository activity 7.3
User activity 9.3
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 119
Number of git tags or releases 117
Versions matched to tags or releases 110
Alternatives
Package Score Description
enzyme 0

📦 Dependency: state-local

Trusty Score: 0

Scoring details
Component Score
Package activity 3.6
Repository activity 1.8
User activity 5.4
Provenance historical_provenance_match
Proof of Origin (Provenance)

This package can be linked back to its source code using a historical provenance map.

We were able to correlate a significant number of git tags and tagged releases in this package’s source code to versions of the published package. This mapping creates a strong link from the package back to its source code repository, verifying proof of origin.

Published package versions 8
Number of git tags or releases 3
Versions matched to tags or releases 3

@alex-mcgovern alex-mcgovern changed the title feat: monaco text editor for system prompt feat: workspace settings route & system prompt editor Jan 20, 2025
@alex-mcgovern alex-mcgovern merged commit 0d9d752 into main Jan 20, 2025
9 of 10 checks passed
@alex-mcgovern alex-mcgovern deleted the feat/monaco-text-editor-for-system-prompt branch January 20, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants