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: cancel button on create-workspace page wasn't redirecting correctly#117

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
bryphe-coder merged 1 commit intomainfrombryphe/fix/projects-cancel-redirect
Feb 1, 2022

Conversation

bryphe-coder
Copy link
Contributor

Issue:

Pressingcancel on the create-workspace page would give an unexpected result:

2022-01-31 17 42 13

Defect:

Originally, theproject variable was being used for the project name - but then got refactored to keep the actualproject data. However, thecancel button logic wasn't updated to take this into account - pushing an incorrect URL.

Fix:

Use theprojectName variable, which we already extract for the router

@codecov
Copy link

codecovbot commentedFeb 1, 2022
edited
Loading

Codecov Report

Merging#117 (02998f1) intomain (515e55d) willincrease coverage by2.73%.
The diff coverage is0.00%.

Impacted file tree graph

@@            Coverage Diff             @@##             main     #117      +/-   ##==========================================+ Coverage   68.90%   71.63%   +2.73%==========================================  Files          86       91       +5       Lines        3447     3670     +223       Branches       59       59              ==========================================+ Hits         2375     2629     +254+ Misses        884      823      -61- Partials      188      218      +30
FlagCoverage Δ
unittest-go-macos-latest67.96% <ø> (+0.17%)⬆️
unittest-go-ubuntu-latest69.77% <ø> (?)
unittest-go-windows-latest67.44% <ø> (?)
unittest-js74.72% <0.00%> (ø)
Impacted FilesCoverage Δ
...pages/projects/[organization]/[project]/create.tsx0.00% <0.00%> (ø)
provisioner/terraform/parse.go75.00% <0.00%> (ø)
provisioner/terraform/serve.go66.66% <0.00%> (ø)
coderd/userpassword/userpassword.go63.41% <0.00%> (ø)
database/postgres/postgres.go70.00% <0.00%> (ø)
provisioner/terraform/provision.go57.62% <0.00%> (ø)
peer/channel.go84.75% <0.00%> (+0.60%)⬆️
peer/conn.go77.86% <0.00%> (+2.08%)⬆️
coderd/coderdtest/coderdtest.go100.00% <0.00%> (+22.64%)⬆️
database/migrate.go52.38% <0.00%> (+52.38%)⬆️
... and1 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update515e55d...02998f1. Read thecomment docs.

@bryphe-coderbryphe-coder merged commitbf90ded intomainFeb 1, 2022
@bryphe-coderbryphe-coder deleted the bryphe/fix/projects-cancel-redirect branchFebruary 1, 2022 03:08
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@kylecarbskylecarbskylecarbs approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@bryphe-coder@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp