Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADMIN] Fix flash messages coloring #5681

Merged

Conversation

spaghetticode
Copy link
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
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
12 checks passed
@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