~since I renamed the file, it appears as an entirely new file. In order to see the actual changes (which there are still plenty of), look at this commit. The second commit was simply updating all instances of Error to Notice~
We needed to use alerts for reasons other than errors so a refactor on the Error component was done so it was more flexible.
Expected behavior
can display formatted error messages
can display regular text alerts
Demo
Default
![image](https://user-images.githubusercontent.com/29032869/214977210-411bab50-b26c-4fd2-b7d2-bbd1551935fd.png)
Error
![image](https://user-images.githubusercontent.com/29032869/214977306-5f5a41bb-3ad4-46f8-99bd-cac82bb49ce7.png)
Unauthenticated user
![image](https://user-images.githubusercontent.com/29032869/214977339-ab84954b-34e1-4c46-84e1-8f81bdb2126f.png)
story
~since I renamed the file, it appears as an entirely new file. In order to see the actual changes (which there are still plenty of), look at this commit. The second commit was simply updating all instances of
Error
toNotice
~We needed to use alerts for reasons other than errors so a refactor on the Error component was done so it was more flexible.
Expected behavior
Demo
Default
![image](https://user-images.githubusercontent.com/29032869/214977210-411bab50-b26c-4fd2-b7d2-bbd1551935fd.png)Error
![image](https://user-images.githubusercontent.com/29032869/214977306-5f5a41bb-3ad4-46f8-99bd-cac82bb49ce7.png)Unauthenticated user
![image](https://user-images.githubusercontent.com/29032869/214977339-ab84954b-34e1-4c46-84e1-8f81bdb2126f.png)