-
Notifications
You must be signed in to change notification settings - Fork 894
feat(coderd): add ability to mark workspaces as favorite #11673
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
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
46ca00d
feat(coderd): add user_pinned_workspaces table
johnstcn 015aabb
add unique index
johnstcn 0b0dce6
rename migration
johnstcn 9878da7
add queries to pin/unpin workspace
johnstcn 4fba238
add pinned status to GetWorkspaces/GetAuthorizedWorkspaces queries
johnstcn 83b03d9
add API endpoints and test (currently fails)
johnstcn 0961298
rename to favorite workspace
johnstcn a814b65
move to top-level test
johnstcn 89d618d
s/favored/favorite/g
johnstcn 7238b95
move favorite status to workspaces table to avoid sqlc join sadness
johnstcn 4eef59a
more wiring
johnstcn 0f8904d
improve test to include sort order of favorites
johnstcn d921aa0
fix swagger summary
johnstcn b68c18e
make gen
johnstcn 3d0545a
use dbfake for testing sort order
johnstcn 46103a4
reduce scope of TestWorkspaceFavoriteUnfavorite to not include sortin…
johnstcn f6c0361
beef up sort order test
johnstcn 89f0f50
rm unnecessary fixture
johnstcn c9ed43c
fix sort ordering, dbfake still TODO
johnstcn ff3cde2
remove unnecessary change to CreateFirstUser
johnstcn f735b69
best-effort fix but testing dbmem sort order is a waste of time
johnstcn f6e9531
requestor->requester
johnstcn 34f2902
fixup! remove unnecessary change to CreateFirstUser
johnstcn 99c7f96
remove unused resource
johnstcn d530546
fix sort ordering bug in dmem
johnstcn 6392db9
add test case
johnstcn 9979c53
remove need for conditional ordering
johnstcn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
remove need for conditional ordering
- Loading branch information
commit 9979c53f077676c65f12b09e1ff12b012fea6c8b
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
👍