Repository navigation
feat(events): toggle for the banner countdown, off by default - #559
Merged
Merged
Conversation
Adds a Show Event Countdown check on Buzz Event. The event page renders the countdown pill only when it is on. The event Details page now uses the sidebar layout, with quick actions: a link to the event page and a switch for the countdown. The switch saves at once, and the Details banner shows the same pill as the event page. The dashboard reuses the event page's event-countdown element, and its styles move from base.css to a shared countdown.css. get_event returns the countdown start and end, calculated by the same function the event page uses, so both show the same times. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
Contributor
Backend test coverage: 91%Commit 5ccf550. Test modules are excluded. Coverage by file
91 empty files skipped. |
Contributor
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
event-countdownelement, and the pill styles move frombase.cssto a sharedcountdown.css.get_eventreturns the countdown start and end from the same function the event page uses.Demo
Testing
buzz.www.event.test_event_render: countdown tests updated, plus a test that the pill is off unless the check is on.buzz.api.events.test_manage_eventpasses. Dashboard typecheck is clean.🤖 Generated with Claude Code