Skip to content

[ADMIN] Fix flash messages coloring#5681

Merged
spaghetticode merged 1 commit intosolidusio:mainfrom
nebulab:spaghetticode/fix-admin-flash
Mar 7, 2024
Merged

[ADMIN] Fix flash messages coloring#5681
spaghetticode merged 1 commit intosolidusio:mainfrom
nebulab:spaghetticode/fix-admin-flash

Conversation

@spaghetticode
Copy link
Copy Markdown
Member

@spaghetticode spaghetticode commented Mar 5, 2024

Summary

Previously, all flash messages were showing with the same (black) background. Internally, the flash object converts and stores keys as strings.

Screenshot 2024-03-05 at 13 48 37

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

  • I have written a thorough PR description.
  • I have kept my commits small and atomic.
  • [I have used clear, explanatory commit messages]

Previously, all flash messages were showing with the same (black)
background. Internally, the flash object converts and stores keys
as strings [1].

[1] https://github.com/rails/rails/blob/main/actionpack/lib/action_dispatch/middleware/flash.rb#L163
@spaghetticode spaghetticode force-pushed the spaghetticode/fix-admin-flash branch from 58f7bf2 to 991a179 Compare March 6, 2024 08:00
@spaghetticode spaghetticode self-assigned this Mar 6, 2024
Copy link
Copy Markdown
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@spaghetticode spaghetticode merged commit 75d3196 into solidusio:main Mar 7, 2024
@spaghetticode spaghetticode deleted the spaghetticode/fix-admin-flash branch March 7, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants