Skip to content

History / EmptySection

Revisions

  • feat: Migrate from react-router-dom to TanStack Router v1 - Replaced `react-router-dom` with `@tanstack/react-router` v1, transitioning to a static route tree with composable HOC guards. - Deleted legacy routing components: `AppRoutes.tsx`, `ProtectedRoute.tsx`, `DashboardRedirect.tsx`. - Introduced new routing structure with `routeTree.tsx` for router singleton and guard application, and `AppRouter.tsx` as a thin wrapper for `RouterProvider`. - Updated `routePaths.tsx` to use `component: ComponentType` and added `guards?: RouteGuard[]` to `RouteDescription`. - Simplified `redirectStorage.ts` to a single session storage key for post-login redirects. - Updated architecture documentation to reflect changes in routing, error handling, and component structure. - Ensured all unit tests across 14 modules were migrated to the new routing structure and passed without TypeScript errors.

    @paulushcgcj paulushcgcj committed May 11, 2026
  • feat: add DistrictListing and DistrictSelection components with detailed documentation - Introduced DistrictListing component for displaying and selecting forest districts with search functionality and preference persistence. - Created DistrictSelection component as a flexible shell for managing selectable lists, supporting custom query hooks and filter functions. - Added EmptySection component for consistent empty state presentation across the app. - Developed PageTitle component for shared page headers, including breadcrumb navigation and under-construction tags. - Implemented Subtitle component for consistent secondary text styling. - Added various Tag components (ColorTag, DateTag, EmptyValueTag, UnderConstructionTag, YesNoTag) for displaying status and value representations. - Comprehensive documentation provided for all new components, detailing props, usage, and styling.

    @paulushcgcj paulushcgcj committed Apr 13, 2026