Closed joaodiaslobo closed 11 months ago
AI-Generated Summary: This pull request introduces a timer for flash notifications in the AtomicWeb application. It includes a new component, AtomicWeb.Components.Notification
, dedicated to handling notifications which are automatically dismissed after 5 seconds. Modifications are made to the Tailwind CSS configuration to include animation for this new progress bar ('progress' animation). The layout files app.html.heex
and live.html.heex
are updated to use this new component, with previous inline logic moved into the notification component. Key improvements include a progress bar shown during the duration of the flash message and a significant code cleanup for flash message display logic.
Fixes #404