703 B
703 B
Hooks for API Calls
Focus
Move API calls into exported hooks/services for reuse and cleanliness.
Changes
- Entries hook for list/create (and now update/delete).
- Auth hook for login/register/session checks.
- Groups hook for list/create/join/active group operations.
- Refactor components/pages to use hooks.
- Update copilot instructions to prefer hooks/services for API calls.
Files
apps/web/hooks/use-entries.tsapps/web/hooks/use-auth.tsapps/web/hooks/use-groups.tsapps/web/components/entries-panel.tsxapps/web/components/navbar.tsxapps/web/app/login/page.tsxapps/web/app/register/page.tsx.github/copilot-instructions.md
Status
- Implemented