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

[Alert] Add prop to prioritize a component in the queue #8705

Open
2 of 8 tasks
geospatialem opened this issue Feb 7, 2024 · 1 comment
Open
2 of 8 tasks

[Alert] Add prop to prioritize a component in the queue #8705

geospatialem opened this issue Feb 7, 2024 · 1 comment
Labels
0 - new New issues that need assignment. ArcGIS Online Issues logged by ArcGIS Online team members. c-alert Issues that pertain to the calcite-alert component calcite-components Issues specific to the @esri/calcite-components package. enhancement Issues tied to a new feature or request. estimate - 5 A few days of work, definitely requires updates to tests. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone p - medium Issue is non core or affecting less that 60% of people using the library

Comments

@geospatialem
Copy link
Member

Check existing issues

Description

Current behavior of the component's queue is causing customer confusion is some scenarios and workflows.

We should provide a prop (name tbd) when a low-priority alert is already visible, and a higher impact alert that is very important to the user's workflow needs to be displayed. When enabled, the low priority alert would be rendered behind the current alert.

Acceptance Criteria

  • Developer can modify the priority of one alert to become a high priority over another
  • Enforce an alert to display with its priority

Relevant Info

Which Component

alert

Example Use Case

  1. An alert is showing at the bottom of the screen telling the user a new feature is now available.
  2. The user does not dismiss this, they just ignore it
  3. The user is taking a critical action and an error occurs
  4. The error alert is behind the first alert, and they don't know what is wrong as the meaningful information is hidden

Priority impact

p3 - want for upcoming milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

@geospatialem geospatialem added enhancement Issues tied to a new feature or request. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Feb 7, 2024
@github-actions github-actions bot added p3 - want for upcoming milestone calcite-components Issues specific to the @esri/calcite-components package. ArcGIS Online Issues logged by ArcGIS Online team members. labels Feb 7, 2024
@geospatialem geospatialem added p - medium Issue is non core or affecting less that 60% of people using the library estimate - 5 A few days of work, definitely requires updates to tests. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. and removed needs triage Planning workflow - pending design/dev review. labels Feb 7, 2024
@macandcheese
Copy link
Contributor

This could be a high-priority boolean that replaces the top-most (currently open) Alert immediately, or it could also be a property like urgency or queue-type / queue-strategy that accepted values to: "replace the top-most", "add to stack immediately behind top-most", or "add to back of stack (current / default behavior).

@geospatialem geospatialem added this to the 2024-08-27 - Aug Release milestone Apr 3, 2024
@geospatialem geospatialem removed the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Apr 3, 2024
@macandcheese macandcheese added the c-alert Issues that pertain to the calcite-alert component label May 1, 2024
@geospatialem geospatialem added impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone and removed p3 - want for upcoming milestone labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Online Issues logged by ArcGIS Online team members. c-alert Issues that pertain to the calcite-alert component calcite-components Issues specific to the @esri/calcite-components package. enhancement Issues tied to a new feature or request. estimate - 5 A few days of work, definitely requires updates to tests. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone p - medium Issue is non core or affecting less that 60% of people using the library
Projects
None yet
Development

No branches or pull requests

2 participants