Skip to content

refactor(ui): update state management, component accessibility and add image compression - #1

Merged
aadish0day merged 4 commits into
mainfrom
feat/ui-v2-ts-migration
Aug 3, 2026
Merged

refactor(ui): update state management, component accessibility and add image compression#1
aadish0day merged 4 commits into
mainfrom
feat/ui-v2-ts-migration

Conversation

@aadish0day

Copy link
Copy Markdown
Owner

Summary

Refactors ClaimsContext state management, enhances APCA contrast calculation utilities, adds a client-side image compression helper, and cleans up deprecated components.

Changes

  • Refactored state management and Firebase service integration in ClaimsContext.
  • Improved color contrast calculations in src/lib/apca.ts and src/lib/utils.ts.
  • Added src/lib/imageCompression.ts for compressing user-submitted media.
  • Removed unused/deprecated components ConfidenceBreakdown.tsx and Tooltip.tsx.
  • Updated test config firebase.emulator-test.json and .gitignore.

Test Plan

  • Run npm run build (tsc -b && vite build) — verified production build completes with 0 errors.

Rewrites components, pages, contexts and logic as typed TS modules,
replaces per-component CSS with shared utilities, restores the Profile
page as a TS component, and moves tooling to tsconfig.json and
vite.config.ts.
Adds dashboard search and filtering, links navbar user chips to the
profile page, redesigns the notification bell with typed icon configs,
enriches the submit flow with category picker and upload progress, and
ships favicon/OG assets with dynamic Open Graph meta tags.
Wires email/Google auth with password reset, Firestore claims and
verifications with realtime subscriptions, user profiles and
notifications to the Firebase SDK. Adds emulator setup, Firestore and
storage rules, a DB seed script, a CI workflow, and docker/env wiring
for VITE_* config with demo fallback keys for fresh clones.
…d image compression

Refactor ClaimsContext and Firebase service interactions, enhance APCA contrast calculation, add client-side image compression, and remove deprecated UI components.
@aadish0day
aadish0day merged commit 633cd48 into main Aug 3, 2026
2 checks passed
@aadish0day
aadish0day deleted the feat/ui-v2-ts-migration branch August 3, 2026 06:21
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