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

Refactor the notification toolbar helpers to make them simpler #16594

Conversation

danidoni
Copy link
Contributor

@danidoni danidoni commented Jul 31, 2024

See #16596

@github-actions github-actions bot added the Frontend Things related to the OBS RoR app label Jul 31, 2024
@danidoni danidoni force-pushed the fix-the-mark-as-read-or-unread-button-in-notification-toolbar branch from 9a4af6f to 6c6141a Compare August 1, 2024 07:55
@danidoni danidoni marked this pull request as ready for review August 1, 2024 09:04
@danidoni danidoni force-pushed the fix-the-mark-as-read-or-unread-button-in-notification-toolbar branch 2 times, most recently from e048b89 to 2ac36d4 Compare August 1, 2024 14:02
@danidoni danidoni changed the title Fix the mark as read or unread button in notification toolbar Refactor the notification toolbar helpers to make them simpler Aug 1, 2024
Reducing all the helpers conditions to just one and transform the tag
building helpers into just view template code makes everything simpler.

It does not need testing then.
@danidoni danidoni force-pushed the fix-the-mark-as-read-or-unread-button-in-notification-toolbar branch from 2ac36d4 to 9505839 Compare August 1, 2024 14:22
@danidoni danidoni merged commit 6887135 into openSUSE:master Aug 1, 2024
19 checks passed
@danidoni danidoni deleted the fix-the-mark-as-read-or-unread-button-in-notification-toolbar branch August 1, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants