Skip to content

Open alert modal config when you click on the ?scheduler_uuid link from slack  #9075

@rephus

Description

@rephus

Description

image

WHat's happening: threshold alerts are in the backend a special type of scheduled delivery but in the UI we use a different modal to configure them.

The backend creates the link for the frontend with threshold_uuid to open automatically the modal with the threshold_uuid , but this was never implemented in the frontend.

What to do: See how it is done for scheduler_uuid and replicate this behaviour in the frontend for `threshold_uuid

Thread: https://lightdash.slack.com/archives/C016QJZA6JY/p1708622355093849?thread_ts=1708622053.352029&cid=C016QJZA6JY

To Reproduce

Requirements: Having slack/email enabled

  1. Create a threshold alert
  2. Trigger the threshold alert
  3. The data alert link will contain something like https://x.lightdash.cloud/projects/<projectuuid>/saved/<chartuuid>?threshold_uuid=bcfaba98-54b7-429e-8aa1-33108fbc381f
  4. Clicking on the link doesn't open the modal

Acceptance criteria

  • After clicking on the data alert in the slack (and email?) message, it should take you to the right chart, with this modal open

image

App Version

Metadata

Metadata

Assignees

Labels

released🐛 bugSomething isn't working as expected. This can be an error or an unexpected user experience🔔 alertsTickets related to threshold alerts.🖥 frontendThis issue requires changes to the frontend

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions