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

Student details table #1

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Student details table #1

merged 4 commits into from
Dec 17, 2024

Conversation

kssampson
Copy link

Description

This a basic data table component with name, age, and country. I used the existing Student type and service and added a hard coded age property to the two examples. The component is rendered in the MainCard of student/index.tsx

I used the pages/sessions/SessionsTable.tsx as guide for style and the implementation is basically that minus the refresh.

The pagination and sorting are kept as 'server' though it's not set up yet of course -- just following suit with that model for tables.

What type of PR is this? (check all applicable)

  • Refactor
  • [x ] Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Related Tickets & Documents

https://das-culturousexchange-team.atlassian.net/browse/SCRUM-11

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, as well as any relevant images for UI changes.

…etailsTable component in MainCard of students/index. Pagination and sort states included but not being used as api is not developed yet.
…to null in api/cePlanService and api/ceSessionService
Copy link

github-actions bot commented Dec 16, 2024

Visit the preview URL for this PR (updated for commit 71e7cb0):

https://culturous-exchange--pr1-studentdetailstable-1rdiqcys.web.app

(expires Tue, 24 Dec 2024 00:03:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: adcc28caa9b7c1d3b1670a080fce5f1f054a3a92

@kssampson kssampson changed the base branch from main to dev December 16, 2024 20:27
@@ -13,6 +14,7 @@ const StudentsPage: React.FC = () => {
<Typography>List/Table of students enrolled in the program.</Typography>
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's remove pseudo code as features are implemented.

Copy link
Contributor

@jnakaso jnakaso left a comment

Choose a reason for hiding this comment

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

Looks really good.

Let's continue adding functionality like sorting. It will also be worth your while to use a larger dataset to test paging.

@kssampson kssampson merged commit ce47570 into dev Dec 17, 2024
2 checks passed
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