-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add sorting to imported repos list and corresponding API #19097
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
Conversation
} | ||
|
||
message Sort { | ||
string field = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment here that it is a field name in camel case 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api/server looks good, I did not look at UI, cc @filiptronicek
/hold
components/dashboard/src/components/podkit/tables/SortableTable.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Filip Troníček <filip@gitpod.io>
remove redundant styles Co-authored-by: Filip Troníček <filip@gitpod.io>
…e.tsx Co-authored-by: Filip Troníček <filip@gitpod.io>
remove redundant style Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Filip Troníček <filip@gitpod.io>
578f71c
to
145cb77
Compare
/unhold |
Description
Implementing sorting for ListConfigurations api and the corresponding UI.
Name and Created headers are sortable.

I was hitting a lot of issues trying to keep the headers accessible with proper buttons and the global button styles... so I decided to bite the bullet and remove them, and update all occurrences of
<button>
to use our component. There were just a couple spots that I chose to inline the old styles to the button class name to avoid changing things too drastically. There are a couple places that were using thedanger.secondary
style that I just swapped to use thedestructive
variant.I did my best to test each change and make sure I didn't break anything. Any additional testing would be helpful as well.
Summary generated by Copilot
🤖[deprecated] Generated by Copilot at c489f42
This pull request adds sorting functionality to the configuration service and the configuration list page, using a common sorting model defined in the new
sorting.proto
file. It also updates the public API and the dashboard components to support sorting by different fields. It temporarily disables sorting for the repository list page until the repository service supports it.Related Issue(s)
Fixes EXP-946
Fixes EXP-838
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold