Skip to content

Conversation

@anofibonacci
Copy link

@anofibonacci anofibonacci commented Nov 22, 2023

Cleaned up the wording and included "flock" as a synonym for "community" (gotta lean in to the brand!)

From line 55, I modified the if statement. This will prevent displaying events on the list that occurred more than five days ago, improving the User Experience greatly. This change also corrects the "Jan 1" CalendarIcon bug.
(For a later improvement, perhaps this page might distinguish between Past, Current, and Upcoming Events and label/group them appropriately.)
@vercel
Copy link

vercel bot commented Nov 22, 2023

@anofibonacci is attempting to deploy a commit to the Zach's Projects Team on Vercel.

A member of the Team first needs to authorize it.

Cleaned up the wording and included "flock" as a synonym for "community" (gotta lean in to the brand!)
Copy link
Owner

@zmeyer44 zmeyer44 left a comment

Choose a reason for hiding this comment

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

I think this makes sense to be in 2 separate PRs since the changes are quite different. Happy to merge the grammatical changes!

Copy link
Owner

Choose a reason for hiding this comment

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

I think that this filtering should be done at a layer above this timeline component. I believe an example can be found in the Upcoming Events section of the Calendar details page. That way we keep this components as low level as possible and just serves to group events by day, thus, allowing us to group passed events together as well. The (daysAway < 1) line will still need to change. Also, If you could separate these into separate PR's that would be awesome.

Copy link
Author

Choose a reason for hiding this comment

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

Yep, I agree that these should be two different PRs. Sorry, I'm not sure how to separate them, so I reverted the first change back to its original form.

@anofibonacci anofibonacci changed the title ignore events older than 5d & label those in recent past changed grammar on main page Nov 27, 2023
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