feat(bootstrap4): alert (for TACC project pages redesign)#642
Conversation
Ship Bootstrap alert + c-message bridge and o-sortable-table for manual Research/Software CMS listing pages. Dist built for jsDelivr gh tags. Co-authored-by: Cursor <cursoragent@cursor.com>
Review Summary by Qodo(Agentic_describe updated until commit 5a0aaa7)Add Bootstrap 4 alert component styling with x-message integration
WalkthroughsDescription• Add Bootstrap 4 alert component styling with x-message mixins • Map alert variants to section message color schemes • Support dismissible alerts with proper padding alignment • Include alert heading and link styling overrides Diagramflowchart LR
A["Bootstrap Alert"] -->|"x-message mixins"| B["Alert Variants"]
B -->|"color mapping"| C["Info/Success/Warning/Error"]
D["Dismissible Alert"] -->|"padding calc"| E["Close Button"]
F["Expanded Message"] -->|"padding override"| G["Alert Spacing"]
File Changes1. src/lib/_imports/bootstrap4/components/alert.css
|
Code Review by Qodo
1.
|
Sort UI is coupled to sortableTable.js via table.is-sortable. Co-authored-by: Cursor <cursoragent@cursor.com>
Map Bootstrap alert variants to section message styles without c-message classes. Undo Bootstrap chrome with selectors aligned to BS4 where practical. Co-authored-by: Cursor <cursoragent@cursor.com>
Apply CMS section message inset to Bootstrap alerts and align dismissible padding-right with expanded inline spacing. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Code review by qodo was updated up to the latest commit 5a0aaa7 |
## Overview Missing commit of #642. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
## Overview Sort tables on CMS pages. > [!IMPORTANT] > Reconsider using [tristen/tablesort](https://github.com/tristen/tablesort). It may not use button, but it is still accessible, and maintained, and clean. ## Related - [RT #42216](https://tickets.tacc.utexas.edu/Ticket/Display.html?id=42216) - pairs with TACC/Core-Styles#642 - required by TACC/tup-ui#558 ## Changes - **added** sortable table script - **updated** delayed page assets to run it on main content ## Testing 1. Listing table: Name column A→Z by default; Description does not sort. 2. Other columns sort on header click. ## UI https://github.com/user-attachments/assets/363997f8-d8fd-4119-a7c7-9de2d85d5f73 <img width="900" height="470" alt="markup" src="https://github.com/user-attachments/assets/543c75fe-4cf8-4151-9d0e-14ba0c709109" /> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
Overview
Skins Django CMS Bootstrap 4 Alert plugin output using
x-message.Related
Changes
alertcomponentTesting
npm run build:cssnpm startUI
Primary.Alert.Global.Message.mov