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

Unify messages styles #4374

Merged
merged 6 commits into from
Feb 6, 2025
Merged

Unify messages styles #4374

merged 6 commits into from
Feb 6, 2025

Conversation

frjo
Copy link
Member

@frjo frjo commented Feb 3, 2025

Fixes #4373

The htmx/toast messages and the django messages now use similar style and the same colours for error/success/info etc.

Skärmavbild 2025-02-05 kl  09 48 33
Skärmavbild 2025-02-05 kl  09 49 12
Skärmavbild 2025-02-05 kl  09 50 20

Also fixed some translations and related styling.

Test Steps

  • Check that messages when saving draft, batch updating etc show in a nice and consistent way.
  • Check that messages for submissions and projects look the same.

@frjo frjo changed the title Enhancement/unify messages styles Unify messages styles Feb 3, 2025
@frjo frjo added Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Status: Needs testing Tickets that need testing/qa Type: Patch Mini change, used in release drafter Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team labels Feb 3, 2025
</button>
{% endif %}
</div>
{% heroicon_outline "check" stroke_width=2 class="inline-block w-4 h-4 me-1" aria_hidden=true %}
Copy link
Contributor

Choose a reason for hiding this comment

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

everything worked well, definitely feels much more consistent! super minor but the toast popup uses check-circle, not sure if it matters to make the two the same

<span x-show="toast.type == 'success'" aria-hidden="true">
{% heroicon_solid "check-circle" size=24 class="inline-block rounded-full" %}
</span>

@wes-otf wes-otf added Status: Tested - approved for live ✅ and removed Status: Needs testing Tickets that need testing/qa Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team labels Feb 6, 2025
@frjo frjo merged commit 4061333 into main Feb 6, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Tested - approved for live ✅ Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Three types of on page message styles
2 participants