Alerts > Consider removing danger alert variant
The following discussion from !2206 (merged) should be addressed:
-
@tauriedavis started a discussion: (+3 comments) I know we've talked about this previously so apologies if this is rehashing old topics, but it is possible for an error alert to be contextual as well, right? I could imagine it being global or contextual. For example, perhaps a graph fails to load and so an error alert is shown.
An error alert may happen in a global context that impacts the entire experience. When this occurs, it is placed directly below the navigation bar. For example, an alert that states “Your subscription has expired” after a user has authenticated. Only the global error alert uses `position: sticky`, while other alert variants are contextual within a page and scroll with content.
Reading further, the example given under page-level does appear to be what I would consider an error alert so I think we are aligned.