mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
cb97364771
* on dashboard api calls - take the id from the beginning of the slug, unless there is no number in it - in that case, take the entire slug as id * add dashboard id when showing links to dashboards * change path to include new name when renaming dashboards * move slug generation to backend * redirect to new name after changing (this time with a proper promise) * oh right, we already have a slug function * add spec that makes sure that renamed dashboards are redirected to the url which contains their new name * use id-slug in all Cypress specs * move dashboards from /dashboard/:slug to /dashboards/:id-:name_as_slug * Update dashboard url as its name changes * Update separator to be "/" * Update missing dashboard urls * Update api not to depend on int id * Use '-' instead of '/' as separator and update Dashboard.get calls * slug -> name_as_slug * Keep slug urls on cypress * Update route path * Use legacy attr for GET * Use getter for urlForDashboard * Update dashboard url when loaded by slug * Update Dashboard routes to use id instead of slug * Update Dashboard handler tests * Update Cypress tests * Fix create new dashboard spec * Use axios { params } * Drop Ternary operator * Send updated slug directly in 'slug' attr * Update multiple urls Dashboard test name * Update route names Co-authored-by: Levko Kravets <levko.ne@gmail.com> Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com> Co-authored-by: Levko Kravets <levko.ne@gmail.com> |
||
---|---|---|
.. | ||
extensions | ||
handlers | ||
metrics | ||
models | ||
query_runner | ||
serializers | ||
tasks | ||
utils | ||
__init__.py | ||
factories.py | ||
test_authentication.py | ||
test_cli.py | ||
test_configuration.py | ||
test_handlers.py | ||
test_models.py | ||
test_permissions.py | ||
test_utils.py |