-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: Redesign CollapsibleAlert and improve HTML text styling (#376)
### TL;DR Enhanced the visual appearance and functionality of service alerts in the trip planner UI. ### What changed? - Redesigned the CollapsibleAlert component with a semi-transparent background and rounded corners - Added a "Read More" button for collapsed alerts - Updated HtmlText component to support customizable text and URL colors - Improved text alignment and spacing in alert displays - Enhanced contrast between background and foreground colors for better readability ### How to test? 1. Navigate to the trip planner service alerts screen 2. Verify alerts display with semi-transparent backgrounds 3. Check that collapsed alerts show a "Read More" button 4. Confirm text is readable and properly aligned 5. Test that HTML links are properly colored and clickable 6. Verify alerts expand/collapse smoothly when tapped ### Why make this change? To improve the user experience by making service alerts more visually appealing and easier to read. The addition of the "Read More" button makes it clearer that alerts are expandable, while the enhanced color contrast ensures better accessibility.
- Loading branch information
Showing
5 changed files
with
65 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters