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

Main Published Schedule Page (Frontend) and Integrate w/ Backend #10

Closed
ThatMegamind opened this issue Jan 3, 2024 · 0 comments · Fixed by #18
Closed

Main Published Schedule Page (Frontend) and Integrate w/ Backend #10

ThatMegamind opened this issue Jan 3, 2024 · 0 comments · Fixed by #18
Assignees
Labels

Comments

@ThatMegamind
Copy link
Collaborator

ThatMegamind commented Jan 3, 2024

Instructions

  • We don’t have the lo-fi design for this page yet, but for now we’ll just create a placeholder page to allow us to implement some key functionality and remove potential bottlenecks
  • This will serve as the primary page for users accessing the Published Schedule, which will (eventually) allow users to view published schedule events, add new events from the Catalog, and sort/query events, among other features
  • For now though, this page will consist of a simple table with the following headers: Title, Host, Cohort Year, Confirmed?, Start Time, and End Time
  • The page should utilize the backend routes created in previous tasks to populate the table with the data currently in the Published Schedule table in the database

Notes

  • You can verify the page is correctly populating by checking the database as well
  • Make sure to use ChakraUI components and styling over standard HTML/CSS whenever possible
  • Add your new page in a new subfolder called pages (i.e. the route should be /src/pages/YourFolder/YourFiles)

Acceptance Criteria

  • All the data from the published_schedule table is visible in the frontend

Resources

As always, feel free to message Michael and Michelle if you have any questions!

@ThatMegamind ThatMegamind linked a pull request Jan 21, 2024 that will close this issue
ThatMegamind added a commit that referenced this issue Jan 21, 2024
* imported chakra components, created table container template

Co-authored-by: liannejl <[email protected]>

* added functionality to PublishedSchedule

Co-authored-by: liannejl <[email protected]>

* Moved PublishedSchedule to correct folder path

* Changed source of backend call to successfully retrieve data from data

* Fixed the dates not showing up on table problem

* Adds ability to properly format multiple cohort years

* edited attr name to display all data + removed tfooter

---------

Co-authored-by: Alyssia Tan <[email protected]>
Co-authored-by: liannejl <[email protected]>
Co-authored-by: liannejl <[email protected]>
Co-authored-by: michellelin1 <[email protected]>
Co-authored-by: ThatMegamind <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants