feat: add showShareButton prop to EventCard and update FavoritesPage to handle event times - #326
Merged
yehiarasheed merged 1 commit intoJan 18, 2026
Conversation
…to handle event times
Lint & Format summary
How to fix locally:
Notes:
|
Vercel Preview ✅
This comment is posted automatically after a successful Vercel deployment. |
yehiarasheed
deleted the
chore/remove-my-events-share-and-favorites-time
branch
January 18, 2026 15:00
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.
This pull request introduces improvements to how event times are displayed and handled across the application, especially for favorites and event cards. It adds support for explicit event start and end times, enhances the logic for formatting and displaying these times, and gives more control over the visibility of the share button in event cards. There are also minor backend adjustments to ensure these new fields are available in API responses.
Event Time Handling and Display:
startTimeandendTimefields in theFavoriteEventinterface and included them in API population, allowing explicit storage and retrieval of event times. [1] [2]dbStartTimeanddbEndTimetoEventCard. [1] [2]Event Card Enhancements:
showShareButtonprop toEventCard, allowing control over whether the share button is displayed, and updated its default and conditional rendering logic accordingly. [1] [2] [3] [4]showShareButton={false}for event cards in the "My Events" page, hiding the share button in that context.Other Minor Changes: