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: Make the workspace URL pretty#2101

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 1 commit intomainfromwsurls
Jun 6, 2022
Merged

fix: Make the workspace URL pretty#2101

kylecarbs merged 1 commit intomainfromwsurls
Jun 6, 2022

Conversation

kylecarbs
Copy link
Member

This adds the@username/workspacename format to the
workspace page!

The only oddity I've noticed is no underline forWorkspaces anymore, but I'm not sure whether it should have been anyways!
image

@kylecarbskylecarbs self-assigned thisJun 6, 2022
@kylecarbskylecarbs requested a review froma team as acode ownerJune 6, 2022 19:17
@presleyp
Copy link
Contributor

presleyp commentedJun 6, 2022
edited
Loading

I think it's important for the user to have a cue about which page they're on (that underline we used to have). Here's the docs on ithttps://v5.reactrouter.com/web/api/NavLink, you probably have to updateNavBarView.tsx. Oh, the problem must be that a workspace page is no longer a child of the workspaces page, right?

@kylecarbs
Copy link
MemberAuthor

@presleyp indeed! That is the problem... I'll investigate a bit.

@presleyp
Copy link
Contributor

@kylecarbs but yeah I see your point, maybe it shouldn't say you're on the workspaces page when you're on the workspace page. Not sure what's typical there!

@kylecarbs
Copy link
MemberAuthor

I think it makes more sense, so I'll make the change!

@presleyp
Copy link
Contributor

@f0ssel want to make sure you're happy with the solution

f0ssel reacted with thumbs up emoji

This adds the `@username/workspacename` format to theworkspace page!
@kylecarbs
Copy link
MemberAuthor

Going to merge for now.@f0ssel and I chatted a while back and he seemed to be good with this route, but please comment if I'm mistaken!

f0ssel reacted with thumbs up emoji

@kylecarbskylecarbs merged commit74d9fee intomainJun 6, 2022
@kylecarbskylecarbs deleted the wsurls branchJune 6, 2022 22:53
kylecarbs added a commit that referenced this pull requestJun 7, 2022
This was broken as part of#2101. It was a silly mistake,but unfortunate our tests didn't catch it.This is a rare change so unlikely to occur again, so I won'tmake an issue adding tests.
@@ -63,7 +63,7 @@ const config: Configuration = {
port: process.env.PORT || 8080,
proxy: {
"/api": {
target: "http://localhost:3000",
target: "https://dev.coder.com",
Copy link
Contributor

Choose a reason for hiding this comment

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

@kylecarbs Is this an expected change? Broke my local development dummy login creds.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I'm going to make this a flag so this never gets in again!

AbhineetJain reacted with thumbs up emoji
@AbhineetJain
Copy link
Contributor

AbhineetJain commentedJun 7, 2022
edited
Loading

I also found that redirection after creating a new workspace via the UI is broken. I am assuming we missed updating that URL in this PR.

@kylecarbs
Copy link
MemberAuthor

Ahh yes. I'll fix that in my other PR for schedules, feel free to review that!

AbhineetJain reacted with thumbs up emoji

kylecarbs added a commit that referenced this pull requestJun 7, 2022
This was broken as part of#2101. It was a silly mistake,but unfortunate our tests didn't catch it.This is a rare change so unlikely to occur again, so I won'tmake an issue adding tests.
kylecarbs added a commit that referenced this pull requestJun 7, 2022
This was broken as part of#2101. It was a silly mistake,but unfortunate our tests didn't catch it.This is a rare change so unlikely to occur again, so I won'tmake an issue adding tests.
kylecarbs added a commit that referenced this pull requestJun 7, 2022
This was broken as part of#2101. It was a silly mistake,but unfortunate our tests didn't catch it.This is a rare change so unlikely to occur again, so I won'tmake an issue adding tests.
kylecarbs added a commit that referenced this pull requestJun 7, 2022
* fix: Update routing for workspace scheduleThis was broken as part of#2101. It was a silly mistake,but unfortunate our tests didn't catch it.This is a rare change so unlikely to occur again, so I won'tmake an issue adding tests.* Update site/src/pages/WorkspaceSchedulePage/WorkspaceSchedulePage.tsxCo-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
kylecarbs added a commit that referenced this pull requestJun 10, 2022
This adds the `@username/workspacename` format to theworkspace page!
kylecarbs added a commit that referenced this pull requestJun 10, 2022
* fix: Update routing for workspace scheduleThis was broken as part of#2101. It was a silly mistake,but unfortunate our tests didn't catch it.This is a rare change so unlikely to occur again, so I won'tmake an issue adding tests.* Update site/src/pages/WorkspaceSchedulePage/WorkspaceSchedulePage.tsxCo-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AbhineetJainAbhineetJainAbhineetJain left review comments

@greyscaledgreyscaledgreyscaled approved these changes

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@kylecarbs@presleyp@AbhineetJain@greyscaled

[8]ページ先頭

©2009-2025 Movatter.jp