Feature/fin 022 completed#101
Conversation
…s/table feat(table): add reusable table components for UI
…idebar-and-lookups
…d-lookups' into feature/fin-022-parts/sidebar-and-lookups
… feature/fin-022-parts/sidebar-and-lookups # Conflicts: # src/app/(auth)/login/page.tsx # src/client/entities/profile/role-guard.tsx # src/client/shared/components/list-screen-handler/fin-list-screen-handler.tsx # src/common/enums/categories.enum.ts
…/sidebar-and-lookups # Conflicts: # src/app/(auth)/login/page.tsx # src/client/entities/operations/income-expense-card/card-styles-mappings.ts # src/client/entities/operations/income-expense-card/income-expense-card.tsx # src/client/features/regular-incomes-expenses/card-creation-form/regular-transaction.hook.tsx # src/client/features/regular-incomes-expenses/regular-incomes-expenses-screen.tsx # src/client/shared/components/form-screen-handler/fin-form-screen-handler.tsx # src/client/shared/schemas/regular-card-validation-schema.ts # src/client/shared/ui/ui-info-block/ui-info-block.tsx # src/common/domains/regular-entry/schema/regular-entry.schema.ts # src/server/entities/regular-entry/infrastructure/regular-entry.orm.ts
…ser information display
… display user name
…-lookups # Conflicts: # src/client/features/regular-incomes-expenses/regular-incomes-expenses-screen.tsx
…actor sidebar content
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (49)
📝 WalkthroughWalkthroughThis PR introduces a comprehensive admin panel infrastructure with lookup table management for countries and currencies. It adds authentication-gated admin routes, lookup table UI components, sidebar navigation with styling variants, base table primitives, SVG icons, and updates the login flow to support asynchronous user refresh operations. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
…idebar-and-lookups
… layout components
…h method signature
…ting and UI elements
…s/sidebar-and-lookups Feature/fin 022 parts/sidebar and lookups
Title
feat(admin): implement UI tables for lookups data and admin sidebar
Type
Description
Implemented the requirements for task [FIN-022](UI tables for lookups data and sidebar).
Key changes:
AdminSidebarwidget with navigation links (Countries, Currencies), application logo, and active state tracking. The sidebar is fully responsive and collapsible.LookupTablecomponent on top of the base UI tables merged in PR feat(table): add reusable table components for UI #97. It fully encapsulates pagination, skeleton loading, and empty state handling.LookupColumnDef<T>approach for rendering table columns dynamically, eliminating code duplication between different lookup pages.CountriesLookupandCurrenciesLookuppages using the new table architecture.LookupStatusBadge,LookupCreatedByCell(with avatar/initials fallback), and formatted dates.All acceptance scenarios (1-3) have been successfully fulfilled.
Media
Check list
Addition
This PR extends the foundational table UI components introduced in
feat(table)(#97).Note on Architecture: The lookup tables were refactored to be heavily data-agnostic. By defining
COLUMNS(viaLookupColumnDef) in the feature components, the baseLookupTablecan now be seamlessly reused for any future dictionaries without rewriting the layout, skeleton, or state handling logic.Summary by CodeRabbit
New Features
Improvements
Chores