-
Notifications
You must be signed in to change notification settings - Fork 7
Add a simple prototype of session time #34
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
Conversation
✅ Deploy Preview for velvety-pony-8aa5d9 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new data loader for the conference timeline by implementing session data loading, refactoring legacy COSCUP 2024 code, and introducing a prototype timetable view.
- Implements utility functions and types for session data processing
- Provides processor functions to transform Pretalx API responses into the desired data shape
- Integrates data loading into the VitePress site and a new timetable view
Reviewed Changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| loaders/sessions/utils.ts | New utility functions for cleaning text, hashing, and question resolution |
| loaders/sessions/types.ts | Introduction of interfaces for session-related data |
| loaders/sessions/processors.ts | Processing functions to map Pretalx API responses to internal data structures |
| loaders/sessions/pretalx.ts | Type definitions for Pretalx API responses |
| loaders/sessions/hackmd.ts | Interface for HackMD URL mappings |
| loaders/sessions/constants.ts | Constants for question IDs, language mappings, and available tags |
| loaders/session.data.ts | Data loader integration with Promise-based fetching for session data and HackMD mappings |
| content/zh_tw/timetable/*.vue, *.md | Vue components and Markdown for displaying the timetable view |
Files not reviewed (1)
- .env.example: Language not supported
Co-authored-by: Riley Ho <[email protected]>
4312f65 to
7e32474
Compare
This is not the final version; it is only for checking whether our data loader is functioning. This section is generated by Claude (AI).
7e32474 to
3275097
Compare
ef767d6 to
2e7c059
Compare
Our test route is in
/timetable.