-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Dashboard URL does not show new name when dashboard name is updated #1009
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
467a128
on dashboard api calls - take the id from the beginning of the slug, …
1e818f6
add dashboard id when showing links to dashboards
90ef7cc
change path to include new name when renaming dashboards
8392126
Merge branch 'master' into id-and-slug-for-dashboards
aba6e3b
move slug generation to backend
0ae13b0
redirect to new name after changing (this time with a proper promise)
0783351
oh right, we already have a slug function
1aedc44
add spec that makes sure that renamed dashboards are redirected to the
b7a7a55
use id-slug in all Cypress specs
a851402
move dashboards from /dashboard/:slug to /dashboards/:id-:name_as_slug
75b71d7
Merge branch 'master' into id-and-slug-for-dashboards
gabrieldutra 6ea5b97
Update dashboard url as its name changes
gabrieldutra 8e5f491
Update separator to be "/"
gabrieldutra 3f47fb8
Update missing dashboard urls
gabrieldutra 2649292
Update api not to depend on int id
gabrieldutra 59a9143
Use '-' instead of '/' as separator and update Dashboard.get calls
gabrieldutra 169200e
slug -> name_as_slug
gabrieldutra 1c9bbbe
Keep slug urls on cypress
gabrieldutra 2cf590b
Update route path
gabrieldutra 49482d9
Use legacy attr for GET
gabrieldutra 52041a3
Use getter for urlForDashboard
gabrieldutra 2ccc4c1
Update dashboard url when loaded by slug
gabrieldutra 08c14de
Update Dashboard routes to use id instead of slug
gabrieldutra d7728d1
Update Dashboard handler tests
gabrieldutra d166069
Update Cypress tests
gabrieldutra 210a755
Merge branch 'master' into id-and-slug-for-dashboards
gabrieldutra 7a8cb0e
Fix create new dashboard spec
gabrieldutra 0957129
Merge branch 'master' into id-and-slug-for-dashboards
gabrieldutra eb82583
Use axios { params }
gabrieldutra fd26a9f
Drop Ternary operator
gabrieldutra 6e68b91
Send updated slug directly in 'slug' attr
gabrieldutra 2de74b3
Merge branch 'master' into id-and-slug-for-dashboards
gabrieldutra cd867a7
Update multiple urls Dashboard test name
gabrieldutra 212d4b4
Update route names
gabrieldutra 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
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.