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

feat: block routes based on event start time #431

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

ruioliveira02
Copy link
Member

No description provided.

lib/safira_web/router.ex Outdated Show resolved Hide resolved
lib/safira_web/gettext.ex Outdated Show resolved Hide resolved
@MarioRodrigues10
Copy link
Member

In case start_time is 2025-11-29T17:57:00Z which routes should i have access to when i access the app?

Comment on lines 64 to 65
Event.change_registrations_open(string_to_bool(params["registrations_open"]))
Event.change_event_start_time(parse_date(params["start_time"]))
Copy link
Member

Choose a reason for hiding this comment

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

What if this doesn't return :ok

lib/safira_web/live/app/waiting_live/index.ex Show resolved Hide resolved
priv/repo/seeds/constants.exs Outdated Show resolved Hide resolved
assets/js/hooks/countdown.js Outdated Show resolved Hide resolved
Co-authored-by: Mário Rodrigues <[email protected]>
Copy link
Member

@MarioRodrigues10 MarioRodrigues10 left a comment

Choose a reason for hiding this comment

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

🚀

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.

2 participants