Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add workspace_apps configuration to control apps in workspace table#18922

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
blink-so wants to merge9 commits intomainfromfeat/configurable-display-app-icons

Conversation

blink-so[bot]
Copy link
Contributor

This PR adds the ability to configure which apps appear in the workspace table on the /workspaces page via terraform.

Changes

  • Addedworkspace_apps field to thecoder_agent terraform resource
  • Updated proto definitions to include workspace_apps
  • Modified the WorkspaceApps component to respect the configured apps list
  • Added support for both built-in apps (vscode, vscode_insiders, web_terminal) and custom apps

Usage Example

resource"coder_agent""main" {os="linux"arch="amd64"# Configure which apps appear in the workspace tableworkspace_apps=["vscode","my-custom-app","web_terminal"]}

Implementation Notes

  • Maximum of 4 apps are displayed (existing limit)
  • Apps are shown in the order specified in the configuration
  • Falls back to existing behavior if workspace_apps is not specified
  • Custom apps can be referenced by slug or ID

TODO

  • Add database migration for workspace_apps column
  • Update backend to populate workspace_apps from provisioner data
  • Add comprehensive documentation
  • Add tests

Requested by@jacqueline in Slack.

blink-sobot added2 commitsJuly 19, 2025 19:01
Updated the button labels on the /workspaces page to clearly indicate that VS Code opens in the browser, matching the UI mockup provided.
…pace table- Added workspace_apps field to terraform coder_agent resource- Updated proto definition to include workspace_apps- Modified frontend WorkspaceApps component to respect configured apps- Allows specifying which apps (built-in and custom) appear in the workspace table- Maximum of 4 apps displayed, in the order specified
blink-sobot added3 commitsJuly 19, 2025 19:27
- Add database migration for workspace_apps column- Update SQL queries to include workspace_apps- Update provisioner server to pass workspace_apps from terraform- Still needs: database code regeneration and API updates
Add workspace_apps configuration to control which apps appear in workspace table:- Add database migration for workspace_apps column- Update WorkspaceAgent struct to include workspace_apps field- Update SQL queries to handle workspace_apps- Add comprehensive tests for the new functionality- Add documentation with examplesThis allows administrators to configure via Terraform which appsappear as action buttons in the workspace table while maintainingbackward compatibility.
@blink-soblink-sobotforce-pushed thefeat/configurable-display-app-icons branch from0c281d9 toeb77a5eCompareJuly 19, 2025 19:57
@matifali
Copy link
Member

This can be controlled withorder I think.

blink-so[bot] and johnstcn reacted with thumbs up emoji

Copy link
Member

@johnstcnjohnstcn left a comment
edited
Loading

Choose a reason for hiding this comment

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

Is the intention here to allow full customization of the apps shown in the workspace list as opposed to the workspace details? Having a different ordering on the list as opposed to the details page seems potentially confusing.

Instead of adding yet another field on our provider, an alternative solution could be to simply include the first fourcoder_app instances based on theorder field and what is set indisplay_apps. I'd suggestdisplay_apps taking priority and then 'filling in' the remainder with the top Ncoder_apps based onorder (up to max 4 apps).

EDIT: this appears to be the current logic. We first prioritize the 'built-in apps' and then fill in the remaining 'slots' with any healthy non-hidden user apps.

@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn requested changes

@aslilacaslilacAwaiting requested review from aslilacaslilac is a code owner

@spikecurtisspikecurtisAwaiting requested review from spikecurtisspikecurtis is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@matifali@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp