mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 00:59:23 -06:00
Hey friends, it's been a while since last time :) There are quite a few conditions/cases where the library alert will pop up, without anything meaningful inside of it. This is particularly the case for Rust where you have the 100 crates on stable, but zero support in beta/nightly. I figured informing the user in cases like this would be nice to have. This PR adds a rather simple alerting mechanism to alert the user of any conditions that might not be as apparent (such as Rust crates only being on stable) Below is a small gif of how it works. I'm not sure this is the easiest way to convey this information (especially considering the modal popup overshadows the alert) so please share any other ideas. Maybe it's better to have the content fill the modal instead?  Relevant issues: #3766 #6250