Skip to content

Dedicated Page for an Alert #187

@fe51

Description

@fe51

Pitch

As a user, I would like to have a dedicated page for an alert.
This would allow me to share a direct link that redirects to the page displaying this specific alert.
It would also allow us to use the entire page space to display the information related to a single alert.

Technical Suggestions

Routing

  • Add a new route to the router: alert/_alert_id_

Page

Reuse the components from the current alerts page but without the left panel.

In the first iteration, do not redesign the layout (e.g., enlarging the map or reorganizing elements). Indeed, as long as we reuse components from the alerts page, changes made later could introduce regressions in the other alert display mode.
→ A separate issue can be opened later to improve the layout once this feature is implemented. (TODO)

Alert API

Instead of endpoint to unlabelec or alert from a specific date, use the endpoint allowing to get info about a specific alert : /api/v1/alerts/{alert_id}

403 Handling

If the API returns a 403, display a message such as:
“You are not logged in or are not authorized to view this alert.”

Alerts Page Update

On the alerts page (and this newpage), add a Share button. See the dedicated sub-issue for design : #38

Happy to discuss it :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions