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: support order property of coder_app resource #12077

Merged
merged 16 commits into from
Feb 12, 2024
Merged

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Feb 9, 2024

Fixes: #8994

This PR adjusts logic to sort coder_apps to preserve predefined order. Only custom apps are sorted, VS Code and Terminal stay as is.

Screenshot 2024-02-12 at 14 00 49

@mtojek mtojek self-assigned this Feb 9, 2024
@matifali
Copy link
Collaborator

matifali commented Feb 9, 2024

@mtojek How will it affect the bultin coder_apps? Is the order controllable for them?

@mtojek
Copy link
Member Author

mtojek commented Feb 9, 2024

You can only control custom ones, so it would be:

  1. VS Code buttons...
  2. Custom apps sorted by order
  3. Terminal.

I can move Terminal to the 2nd position so that custom apps are aside. I'm happy to modify this idea if you have any proposals.

@matifali
Copy link
Collaborator

matifali commented Feb 9, 2024

Sounds good. I think there is no need to change anything.

@mtojek mtojek marked this pull request as ready for review February 12, 2024 14:04
@mtojek mtojek requested a review from johnstcn February 12, 2024 14:04
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

LGTM

@mtojek mtojek merged commit 3e68650 into main Feb 12, 2024
24 checks passed
@mtojek mtojek deleted the 8994-order-coder-app-1 branch February 12, 2024 14:11
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add order to coder_app resource
3 participants