Skip to content

Update mvpa-css to 524c8af (SMACSS fix, monochrome, float flash)#262

Merged
eirvandelden merged 4 commits into
mainfrom
ai/update-mvp-css-dependency
Jul 1, 2026
Merged

Update mvpa-css to 524c8af (SMACSS fix, monochrome, float flash)#262
eirvandelden merged 4 commits into
mainfrom
ai/update-mvp-css-dependency

Conversation

@eirvandelden

Copy link
Copy Markdown
Owner

Bumps the mvpa-css gem from bc9d982 to 524c8af. The new version restructures the SMACSS folder layout, adds @media (monochrome) support for e-ink displays, and changes flash messages to fixed-position toasts using a [data-mvpa-flashes] container.

All three layouts are updated to use <output data-mvpa-flashes> (semantic wrapper for live feedback) with role moved from <p> to <aside>, matching the new flash.css selectors. The stale data-theme="selenized_light" attribute is corrected to solunized-light.

eirvandelden and others added 4 commits July 1, 2026 14:29
Bump mvpa-css gem from bc9d982 to 524c8af. The new version floats flash
messages as fixed-position toasts via [data-mvpa-flashes], so update all
three layouts to wrap flashes in <output data-mvpa-flashes> with role on
<aside>. Also corrects the stale data-theme value from selenized_light to
solunized-light.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
The mvpa-css upgrade moved flash messages to fixed-position toasts at
top-right. This overlays the top navigation, causing Selenium click
interception in system tests. Override to bottom-right so toasts are
visible but don't block nav links.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
output carries an implicit role="status" which conflicts with the
explicit role attributes on child asides, and is semantically wrong
for a notification container. section is neutral and valid here.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Use section instead of output (output is semantically wrong for
notifications). Wrap in flash.any? so the container is absent when
there are no messages — avoids interfering with tests that count
section elements on the page.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@eirvandelden eirvandelden merged commit a138725 into main Jul 1, 2026
4 checks passed
@eirvandelden eirvandelden deleted the ai/update-mvp-css-dependency branch July 1, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant