Skip to content

Stats PR B: survey pagination + chip labels + copy - #32

Merged
sandervonk merged 2 commits into
mainfrom
cursor/stats-pr-b-survey-pagination-11f5
Sep 4, 2026
Merged

Stats PR B: survey pagination + chip labels + copy#32
sandervonk merged 2 commits into
mainfrom
cursor/stats-pr-b-survey-pagination-11f5

Conversation

@sandervonk

@sandervonk sandervonk commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

Vue-only Stats restyle (PR B), building on merged PR A (ClassNameChip / color.ts):

  • Survey-like pagination in StatsModal and TeacherStatsModal with Modal progress dots (progress_display / __dot / dot_* tokens) via shared StatsProgressDots
  • Teacher: intro → one page per manageable class → contact; class titles use ClassNameChip
  • Personal: intro → chart (filters) → contact
  • Copy: short human lines; removed research/filler and em-dash phrasing
  • Empty / unavailable / error: tinted StatsAlert (icon + text), not bare overlay_contents_text

FilterBar + Apex/StatsChartCard chrome unchanged (filters on chart pages so they keep working across class pages). Data/API unchanged.

Files

  • src/views/Portal/StatsModal.vue
  • src/views/Portal/TeacherStatsModal.vue
  • src/components/Portal/Stats/StatsAlert.vue (new)
  • src/components/Portal/Stats/StatsProgressDots.vue (new)

Out of scope

  • API shapes / Apex series math
  • Nested delete / P4 / server
  • CreateClass

Test plan

  • npm run lint (with .env from .env.test)
  • npm run build
  • Spot-check personal Stats: 3 pages, filters on chart page, empty/error alerts
  • Spot-check teacher Stats: chip labels per class page, progress dots, unavailable/empty alerts
  • Light theme alert contrast
  • CI green
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 4, 2026 04:16
Paginate personal and teacher Stats like survey modals with progress
dots, replace class titles with ClassNameChip, shorten copy, and use
decorated StatsAlert for empty/unavailable/error states.

Co-authored-by: Sander Vonk <sandervonk@users.noreply.github.com>
Keep the existing Back control copy and neutralize bottom_actions
button styles on survey progress dots so they match Modal surveys.

Co-authored-by: Sander Vonk <sandervonk@users.noreply.github.com>
@sandervonk
sandervonk marked this pull request as ready for review September 4, 2026 04:20
@sandervonk
sandervonk merged commit f54db8f into main Sep 4, 2026
1 check passed
@sandervonk
sandervonk deleted the cursor/stats-pr-b-survey-pagination-11f5 branch September 4, 2026 04:20
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