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

🚀 Enhancement: View Event Button not disabling when event date has passed #859

Closed
2 tasks done
gurjeetsinghvirdee opened this issue Apr 5, 2024 · 0 comments
Closed
2 tasks done
Labels
enhancement New feature or request

Comments

@gurjeetsinghvirdee
Copy link

🔖 Enhancement description

Currently, in the event card component, the button intended to be disabled and labeled Event Completed if the event date has passed is not functioning as expected. Despite the event date being hardcoded and already passed, the button still displays
View Event and remains enabled.

🎤 Pitch

User Experience Enhancement: Ensuring that the button disables and appropriately communicates that the event has passed improves user experience. Users will no longer be misled into thinking they can still access an event that has already occurred.

Meeting Expectations: When users see a button labeled View Event, they naturally expect it to be clickable and lead to an event. By updating the button state to "Event Completed" and disabling it after the event date, we align the system's behavior with user expectations.

  • Verify that the date string provided is correctly parsed into a Date object.
  • Ensure that the comparison logic accurately determines whether the event date has passed.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@gurjeetsinghvirdee gurjeetsinghvirdee added the enhancement New feature or request label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant