Skip to content

feat: specify ordering coder_metadata resource items in workspace dashboard #4511

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

Closed
sharkymark opened this issue Oct 12, 2022 · 2 comments · Fixed by #5421
Closed

feat: specify ordering coder_metadata resource items in workspace dashboard #4511

sharkymark opened this issue Oct 12, 2022 · 2 comments · Fixed by #5421
Assignees
Labels
api Area: HTTP API site Area: frontend dashboard

Comments

@sharkymark
Copy link
Contributor

Version: v0.9.9+abf14d9

As a DevOps lead, I would like workspace metadata specified in a coder_metadata resource to be sorted in a specific way, which is not alphabetical. e.g., CPU, memory, disk should be logically grouped together.

Currently, Coder displays them in alphabetical order, which is not how the lead wants to group them.

Expected behavior is the order in the coder_metadata resource is how the metadata will be shown.

image

@github-actions
Copy link

This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.

@github-actions github-actions bot added the stale This issue is like stale bread. label Dec 12, 2022
@kylecarbs kylecarbs removed the stale This issue is like stale bread. label Dec 14, 2022
@kylecarbs
Copy link
Member

We should just preserve the ordering that the user specifies them in from the metadata... that makes a lot of sense to me.

@kylecarbs kylecarbs added site Area: frontend dashboard api Area: HTTP API labels Dec 14, 2022
@kylecarbs kylecarbs self-assigned this Dec 14, 2022
kylecarbs added a commit that referenced this issue Dec 14, 2022
kylecarbs added a commit that referenced this issue Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants