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

Rework flash messages #943

Merged
merged 1 commit into from Dec 1, 2021
Merged

Conversation

Glandos
Copy link
Member

@Glandos Glandos commented Nov 25, 2021

Fixes #903

They are now a macro, and can be called within other templates.
This give the ability to fit them anywhere, at the cost of template complexity.

Fixes spiral-project#903

They are now a macro, and can be called within other templates.
This give the ability to fit them anywhere, at the cost of template complexity.
@Glandos
Copy link
Member Author

Glandos commented Nov 25, 2021

Peek.25-11-2021.12-42.mp4
Peek.25-11-2021.12-43.mp4
Peek.25-11-2021.12-44.mp4

This is different from #903 (comment) since notifications can be after the navbar and the sidebar in mobile layout.

@almet
Copy link
Member

almet commented Nov 28, 2021

Hey, since this doesn't change anything to how they appear (it seems, at least?) I wonder if you have a real use case for this change?

@Glandos
Copy link
Member Author

Glandos commented Nov 28, 2021

In this PR, most of messages are now display after the sidebar, so on mobile, they are on top of bill list, and not on top of the participant list.

In #903 (comment) the example works fine, because this is a small messages, and there is only one of it. If there are at least 2 messages with a long text, it will cover the screen anyway, and it seems to me to be a better place to integrate it in the sidebar_table_layout.html.

@almet
Copy link
Member

almet commented Nov 28, 2021

Okay, your call: it seems you put more thoughts than me on this one ;-)

@Glandos Glandos merged commit b9fee9e into spiral-project:master Dec 1, 2021
@Glandos Glandos deleted the Glandos/issue903 branch December 1, 2021 21:42
TomRoussel pushed a commit to TomRoussel/ihatemoney that referenced this pull request Mar 2, 2024
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.

Notifications are getting in the way
2 participants