Skip to content

Separate RMP and syllabus summaries - #635

Merged
NishilJ merged 10 commits into
developfrom
607-separate-rmp-and-syllabus
Jun 15, 2026
Merged

Separate RMP and syllabus summaries#635
NishilJ merged 10 commits into
developfrom
607-separate-rmp-and-syllabus

Conversation

@TyHil

@TyHil TyHil commented Jun 4, 2026

Copy link
Copy Markdown
Member

Separated the the RMP and syllabus summary features in card dropdowns so now you can see the syllabus summary when the professor does not have any RMP. I also updated the style to use dense MUI tables so it's more recognizable as multiple tables.

In the process, I needed the BaseCard component added to all the projects in the #558 set of issues and realized it should have been added in #613. I missed that in the review so added it here. This matches card colors, rounded corners, and shadows with the rest of the Nebula projects. For the most part the cards just look a tad lighter, easy to see the difference by tabbing between https://dev.trends.utdnebula.com/dashboard?searchTerms=John+Cole&availability=26F and https://utd-trends-git-607-separate-rmp-and-syllabus-utdnebula.vercel.app/dashboard?searchTerms=John+Cole&availability=26F.

Before:
image

After:
image
(expanded)
image

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
utd-trends Ready Ready Preview, Comment Jun 15, 2026 5:54am

Request Review

Comment thread src/components/search/SearchResultsTable/SearchResultsTable.tsx
@TyHil TyHil linked an issue Jun 4, 2026 that may be closed by this pull request
1 task
@TyHil
TyHil marked this pull request as ready for review June 4, 2026 21:21
@TyHil
TyHil requested review from a team and mikehquan19 as code owners June 4, 2026 21:21
Comment thread src/components/common/SyllabusSummary/SyllabusSummary.tsx Outdated

@AbhiramTadepalli AbhiramTadepalli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks really good! Do you think we can add a divider, header, or some spacing between the rmp and syllabus cards? It sort of feels like the weighting and grade scale go with RMP.

Also in light mode, can you darken the weighting and grade scale cards? Or give it a light cornflower bg color

Comment thread src/components/common/SyllabusSummary/SyllabusSummary.tsx Outdated
@TyHil

TyHil commented Jun 7, 2026

Copy link
Copy Markdown
Member Author

Thank you for the good ideas and points, I went with bg-neutral-100 tables on light mode and MUI's Dividers. Lmk what you think

image

@TyHil
TyHil requested a review from AbhiramTadepalli June 7, 2026 17:38

@AbhiramTadepalli AbhiramTadepalli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@NishilJ NishilJ left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice job, looks good, but was wondering if it would make sense to extract a component for the weighting and grade tables and their loading variants. Could reduce a decent amount of duplicated code.

@TyHil

TyHil commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

Good catch, didn't even think of how much code duplication I was doing. SyllabusSummary is now over 100 lines shorter

@TyHil
TyHil requested a review from NishilJ June 9, 2026 17:50

@NishilJ NishilJ left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks

@NishilJ
NishilJ merged commit d9e5fd4 into develop Jun 15, 2026
3 checks passed
@NishilJ
NishilJ deleted the 607-separate-rmp-and-syllabus branch June 15, 2026 06:06
@NishilJ
NishilJ restored the 607-separate-rmp-and-syllabus branch June 18, 2026 16:14
@NishilJ
NishilJ deleted the 607-separate-rmp-and-syllabus branch June 18, 2026 16:15
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.

[Bug]: Syllabus Summary not Showing for Professors without RMP

3 participants