Skip to content

chore: sync main → production#96

Merged
ShimiManashirov merged 5 commits into
productionfrom
main
Jul 4, 2026
Merged

chore: sync main → production#96
ShimiManashirov merged 5 commits into
productionfrom
main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Automated PR created after push to main. Review and merge to trigger deployment.

ShimiManashirov and others added 5 commits June 28, 2026 15:43
- Global :focus-visible ring in index.css for app-wide keyboard focus
- New shared Button (variants/sizes/loading) and StatCard primitives
- New CountUp spring-number component (respects reduced-motion)
- clickableProps() a11y helper; applied to interactive divs
  (course rows, sidebar profile, roadmap toggle, roster select, shop cards)
- aria-labels/aria-expanded on icon-only buttons (bell, pagination, collapse)
- Adopt Button on EmptyState, Dashboard header, ManagedCourses CTAs

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Replaces all browser alert() calls with the shared toast system, adds
missing error feedback for silently-failing fetches, fixes accessible
alt text and aria-labels across avatars/icon buttons/form fields, wires
up unconnected form labels, fixes an enrollment lookup using loose
equality, and flags Leaderboard's mock-data fallback as "Demo" so it's
not mistaken for real data.

Co-Authored-By: Claude <noreply@anthropic.com>
* chore(frontend): add Prettier, jsx-a11y linting, husky pre-commit + fix a11y violations

- Prettier config + one-time format of src/
- eslint-plugin-jsx-a11y (recommended) + eslint-config-prettier
- husky + lint-staged pre-commit via frontend prepare script
- root .editorconfig
- fix all 28 jsx-a11y errors (labels, alt text, modal backdrops)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* refactor(frontend): consolidate UI primitives, extract helpers, kill prop drilling

- new Spinner primitive replaces 17 duplicated inline spinner divs
- Button component used in MyCourses/ClassRoster/StudyShop (new gold variant)
- StudentStatusOverview split: 8 subcomponents extracted to components/instructor/
  + shared TableSkeleton/CardSkeleton in components/common/Skeletons.jsx
- status/format helpers moved to utils/studentStatus.js
- layouts: SidebarContent self-sources stores/router (9 props -> 2 callbacks)
- authStore: shared resolveActiveRole/loadCurrentUser helpers
- theme swatches unified into THEMES constant (was duplicated in StudentProfile)
- XP level magic numbers replaced with calculateLevel/XP_PER_LEVEL
- utils/logger.js wrapper replaces scattered console.* calls

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* polish(frontend): a11y + design-token consistency sweep

- ToastManager: aria-live polite region + labeled dismiss button
- sidebar course dropdown: aria-expanded / aria-haspopup
- inline brand gradients -> .bg-grad-* / .text-gradient-* classes
  (new bg-grad-instructor + text-gradient-instructor tokens)
- ClassRoster/ManagedCourses empty lists use shared EmptyState/PanelEmptyState

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(frontend): sync package-lock.json with package.json (missing yaml dep)

npm ci in CI failed with 'Missing: yaml@2.9.0 from lock file'.
Regenerated the lockfile with npm install so it matches package.json.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@ShimiManashirov ShimiManashirov merged commit a82568a into production Jul 4, 2026
3 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.

1 participant