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

fix: Remove unused workspace routes in favor of list with filter#2038

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

Merged
kylecarbs merged 5 commits intomainfromfixwsroutes
Jun 3, 2022

Conversation

kylecarbs
Copy link
Member

@kylecarbskylecarbs commentedJun 3, 2022
edited
Loading

This consolidates the workspace routes into a single place.
It allows users to fetch a workspace by their username and
workspace name, which will be used by the frontend for routing.

This fixes all frontend pages using the old routes too, which only
seems to be the terminal page!

This consolidates the workspace routes into a single place.It allows users to fetch a workspace by their username andworkspace name, which will be used by the frontend for routing.
@kylecarbskylecarbs requested a review fromcoadlerJune 3, 2022 17:10
@kylecarbskylecarbs self-assigned thisJun 3, 2022
@kylecarbskylecarbs requested a review froma team as acode ownerJune 3, 2022 17:10
@kylecarbskylecarbs requested a review fromjohnstcnJune 3, 2022 17:10

workspace, err := client.WorkspaceByOwnerAndName(cmd.Context(),organization.ID,codersdk.Me, args[0])
workspace, err := client.WorkspaceByOwnerAndName(cmd.Context(), codersdk.Me, args[0])
Copy link
Contributor

Choose a reason for hiding this comment

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

This might conflict with#2036!

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Yup, but in a great way. We'll no longer need organization IDs to query workspaces since they are namespaced!

dwahler reacted with thumbs up emoji
@kylecarbskylecarbsforce-pushed thefixwsroutes branch 3 times, most recently fromeee1232 to4efc4beCompareJune 3, 2022 19:06
@kylecarbskylecarbs merged commit43f622a intomainJun 3, 2022
@kylecarbskylecarbs deleted the fixwsroutes branchJune 3, 2022 19:36
kylecarbs added a commit that referenced this pull requestJun 10, 2022
* fix: Remove unused workspace routes in favor of list with filterThis consolidates the workspace routes into a single place.It allows users to fetch a workspace by their username andworkspace name, which will be used by the frontend for routing.* Fix RBAC* Fix CLI usages
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@coadlercoadlercoadler approved these changes

@johnstcnjohnstcnAwaiting requested review from johnstcn

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kylecarbs@coadler

[8]ページ先頭

©2009-2025 Movatter.jp