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

Single Event Page (for past events) #8545

Open
linear bot opened this issue May 12, 2024 · 2 comments
Open

Single Event Page (for past events) #8545

linear bot opened this issue May 12, 2024 · 2 comments

Comments

@linear
Copy link

linear bot commented May 12, 2024

No description provided.

Copy link
Author

linear bot commented May 12, 2024

Copy link

greptile-apps bot commented May 12, 2024

To implement a Single Event Page for past events, you'll need to integrate backend event parsing with frontend display logic:

  1. Backend Parsing: Use the logic in /backend/event-parse/sample-events as a reference for handling event data. Specifically, look at how events are structured and parsed.

  2. Frontend Display: Refer to TimelinePopover.tsx in /frontend/src/pages/Player/Toolbar/TimelineIndicators/TimelinePopover for an example of how to display event information in a popover. Adapt this logic to create a full page view for a single event.

  3. Utility Functions: Utilize utility functions from /frontend/src/pages/Player/PlayerHook/utils/index.tsx for calculating event timestamps and linking events to their display on the frontend. Functions like getEventsForTimelineIndicator and useLinkErrorInstance may be particularly useful for handling event data and displaying it appropriately.

Combine these elements to create a comprehensive Single Event Page that fetches event data, parses it, and displays it in a user-friendly format.

References

/backend/event-parse/sample-events
/frontend/src/pages/Player/Toolbar/TimelineIndicators/TimelinePopover/TimelinePopover.tsx
/frontend/src/pages/Player/PlayerHook/utils/index.tsx

Ask Greptile

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

No branches or pull requests

0 participants