Skip to content
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

Deleting dashboards (TELESTION-458) and changing their names (TELESTION-459) #419

Conversation

pklaschka
Copy link
Member

This change

  1. adjusts the existing editing route (POST / PUT on /dashboards/:dashboardId/edit) to make the dashboard title editable and adds a text field to achive this to the corresponding UI
  2. adds a DELETE action on the same route to delete the dasboard with the ID :dashboardId. This redirects to /, which in turn redirects either to the first available dashboard or, if none exists, a corresponding page.

Note that the Browser's native window.confirm() was used to ask the user whether they really want to delete the dashboard. This can, eventually, be replaced by a better integrated UI, but for the MVP, works as-is without any issues.

@pklaschka pklaschka self-assigned this Jan 24, 2024
@pklaschka pklaschka force-pushed the 01-21-TELESTION-462_Make_widgets_configurable branch from 98b46ec to 52a2a56 Compare January 24, 2024 12:06
@pklaschka pklaschka force-pushed the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch from 559d56d to 2ff81ca Compare January 24, 2024 12:06
@pklaschka pklaschka force-pushed the 01-21-TELESTION-462_Make_widgets_configurable branch from 52a2a56 to 7d56f8c Compare January 24, 2024 12:15
@pklaschka pklaschka force-pushed the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch from 2ff81ca to 0858995 Compare January 24, 2024 12:15
@pklaschka pklaschka force-pushed the 01-21-TELESTION-462_Make_widgets_configurable branch from 7d56f8c to ab9249e Compare January 24, 2024 12:33
@pklaschka pklaschka force-pushed the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch from 0858995 to bba5a4b Compare January 24, 2024 12:33
@pklaschka pklaschka force-pushed the 01-21-TELESTION-462_Make_widgets_configurable branch from ab9249e to 07d2c59 Compare January 24, 2024 12:40
@pklaschka pklaschka force-pushed the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch from bba5a4b to 21d1648 Compare January 24, 2024 12:40
@pklaschka pklaschka force-pushed the 01-21-TELESTION-462_Make_widgets_configurable branch from 07d2c59 to 8778084 Compare January 26, 2024 17:34
@pklaschka pklaschka force-pushed the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch from 21d1648 to e58cf33 Compare January 26, 2024 17:34
@pklaschka pklaschka force-pushed the 01-21-TELESTION-462_Make_widgets_configurable branch from 8778084 to 5a72697 Compare January 26, 2024 18:13
@pklaschka pklaschka force-pushed the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch from e58cf33 to 7d47eba Compare January 26, 2024 18:13
@pklaschka pklaschka force-pushed the 01-21-TELESTION-462_Make_widgets_configurable branch from 5a72697 to c271b9e Compare January 26, 2024 18:43
Base automatically changed from 01-21-TELESTION-462_Make_widgets_configurable to main January 26, 2024 18:45
…ON-459)

This change

1. adjusts the existing editing route (`POST` / `PUT` on `/dashboards/:dashboardId/edit`) to make the dashboard title editable and adds a text field to achive this to the corresponding UI
2. adds a `DELETE` action on the same route to delete the dasboard with the ID `:dashboardId`. This redirects to `/`, which in turn redirects either to the first available dashboard or, if none exists, a corresponding page.

Note that the Browser's native `window.confirm()` was used to ask the user whether they really want to delete the dashboard. This can, eventually, be replaced by a better integrated UI, but for the MVP, works as-is without any issues.
@pklaschka pklaschka force-pushed the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch from 7d47eba to 11f8f3b Compare January 26, 2024 18:45
Copy link
Member Author

pklaschka commented Jan 26, 2024

Merge activity

  • Jan 26, 7:46 PM: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.
  • Jan 26, 7:53 PM: @pklaschka merged this pull request with Graphite.

Copy link
Member

@fussel178 fussel178 left a comment

Choose a reason for hiding this comment

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

LGTM 🏞️

@pklaschka pklaschka merged commit 02caa04 into main Jan 26, 2024
17 checks passed
@pklaschka pklaschka deleted the 01-24-Deleting_dashboards_TELESTION-458_and_changing_their_names_TELESTION-459_ branch January 26, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌷 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants