Feat/positive sentiment and UI enhancements (#162)#163
Merged
Conversation
* feat: added positive sentiment rate card
* feat: redesign faculty ranking card with band-led layout
Implements the "Direction B" design from the Claude Design handoff:
band-tinted hero strip (gradient by interpretation band so a list of
faculty is triageable by hue alone), Playfair score with rating delta,
sentiment spine with 3-segment bar and legend, and a funnel footer
(submissions → comments → analyzed → topics).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat: link faculty ranking cards and table rows to analysis page
Wraps each card in the rankings grid with a Next link and turns the
faculty name in the rankings table into a link. Both navigate to the
role-correct faculty analysis route via the existing
buildScopedFacultyAnalysisHref helper, which maps Department → /dean,
Campus → /campus-head, and Program → /chairperson.
Threads scopeLabel + selectedSemester{Id,Label} through
ScopedFacultyRankings down to both the card grid and the table.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat: hide blocked faculty IDs from lists and analysis routes
Adds a small HIDDEN_FACULTY_IDS allowlist (currently one ID) and applies
it at three view-model chokepoints — rankings, attention items, and the
faculty list — plus a notFound() guard on the dean / campus-head /
chairperson analysis routes so the entry can't be reached directly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat: redesign faculty analysis page to match design system spec
Implements Variation A of the Faculty Analysis design (Claude Design
handoff): hero copy, three-card KPI rail with sparklines, slim status
strip with gradient accent, table-format suggested actions, and a
gradient page background. Removes opaque sticky-row fill so the wash
flows behind the avatar/name/buttons. Replaces the legacy composite
rating strip and positive-sentiment card; consolidates them into the
new KPI rail.
Sparkline trends and term-over-term deltas render an explicit
"trend n/a" placeholder until the overview / qualitative-summary
endpoints expose historical series.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat: extend analytics gradient background to dashboard overviews
Renames the .faculty-analysis-bg utility to .analytics-bg and applies it
to ScopedAnalyticsDashboardScreen so the dean / chairperson /
campus-head analytics overviews get the same yellow→blue radial wash as
the faculty analysis page.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore: added ranking frontmatters
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: added positive sentiment rate card
feat: redesign faculty ranking card with band-led layout
Implements the "Direction B" design from the Claude Design handoff: band-tinted hero strip (gradient by interpretation band so a list of faculty is triageable by hue alone), Playfair score with rating delta, sentiment spine with 3-segment bar and legend, and a funnel footer (submissions → comments → analyzed → topics).
Wraps each card in the rankings grid with a Next link and turns the faculty name in the rankings table into a link. Both navigate to the role-correct faculty analysis route via the existing buildScopedFacultyAnalysisHref helper, which maps Department → /dean, Campus → /campus-head, and Program → /chairperson.
Threads scopeLabel + selectedSemester{Id,Label} through ScopedFacultyRankings down to both the card grid and the table.
Adds a small HIDDEN_FACULTY_IDS allowlist (currently one ID) and applies it at three view-model chokepoints — rankings, attention items, and the faculty list — plus a notFound() guard on the dean / campus-head / chairperson analysis routes so the entry can't be reached directly.
Implements Variation A of the Faculty Analysis design (Claude Design handoff): hero copy, three-card KPI rail with sparklines, slim status strip with gradient accent, table-format suggested actions, and a gradient page background. Removes opaque sticky-row fill so the wash flows behind the avatar/name/buttons. Replaces the legacy composite rating strip and positive-sentiment card; consolidates them into the new KPI rail.
Sparkline trends and term-over-term deltas render an explicit "trend n/a" placeholder until the overview / qualitative-summary endpoints expose historical series.
Renames the .faculty-analysis-bg utility to .analytics-bg and applies it to ScopedAnalyticsDashboardScreen so the dean / chairperson / campus-head analytics overviews get the same yellow→blue radial wash as the faculty analysis page.