Skip to content

Feature/category page redesign#8

Merged
dionbiancha merged 9 commits into
mainfrom
feature/category-page-redesign
Jun 5, 2026
Merged

Feature/category page redesign#8
dionbiancha merged 9 commits into
mainfrom
feature/category-page-redesign

Conversation

@dionbiancha

Copy link
Copy Markdown
Owner

No description provided.

dionbiancha and others added 9 commits June 5, 2026 14:41
Implements the new CategoryCard layout with inline progress tracking:
- Accepts `known` prop for progress calculation
- Renders progress bar with accent color from category
- Shows "não iniciado" when known is 0
- Shows "X/Y concluídas" when progress exists
- Adds CategoriesGrid client component to read progress from localStorage
- Updates questions page to use new grid component

All tests passing (6 new tests for CategoryCard).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements list view component with support for filtering categories by:
- Text search (matches label or slug, case-insensitive)
- Status filter (all, in-progress, not-started based on progress)

Component loads progress data on mount via useEffect and mocks in tests
for synchronous verification during assertions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the static CategoriesGrid component with CategoryListClient
which provides full filter functionality for searching and filtering
categories by status (all, in-progress, not-started).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…urity accentColor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
codequestions Ready Ready Preview, Comment Jun 5, 2026 6:26pm

@dionbiancha dionbiancha merged commit 246a7cc into main Jun 5, 2026
3 checks passed
@dionbiancha dionbiancha deleted the feature/category-page-redesign branch June 5, 2026 18:26
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