Skip to content

Open source personal finance application

docs: update CLAUDE.md and fix MenuBottomModal class ordering

Ilya Komichevf349cacc8c5c
diff --git a/CLAUDE.md b/CLAUDE.md
index dce111b8..bc0e067d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -21,7 +21,7 @@ Personal finance app. Nuxt 4, Vue 3, Pinia, @nuxt/ui v4 (Tailwind CSS v4), Conve
## Project Structure
-See [Architecture](docs/architecture.md) for detailed project structure and file descriptions.
+See [Architecture](../docs/content/en/3.technical/1.architecture.md) for detailed project structure and file descriptions.
## Conventions
@@ -67,15 +67,13 @@ New entities get temporary IDs with `local_` prefix (e.g., `local_a1b2c3`). `isL
### Convex Client Access
-| Context | Client | Composable |
-|---------|--------|------------|
-| Server (SSR) | ConvexHttpClient | `useConvexHttpClient()` |
-| Client (browser) | ConvexClient (WebSocket) | `useConvexClientComposable()` |
-| Either (auto-detect) | — | `useConvexClient()` |
+| Composable | Returns | Purpose |
+|------------|---------|---------|
+| `useConvexClient()` | `ConvexClient \| ConvexHttpClient` | SSR-aware client (HTTP on server, WebSocket on client) |
+| `useConvexClientComposable()` | `ConvexClient` | WebSocket client (browser only) |
+| `useConvexClientWithApi()` | `{ api, client }` | Client + typed `api` object for queries/mutations |
-- `useConvexQuery()` — SSR-aware reactive query with real-time updates (client: WebSocket subscription, server: `useAsyncData` + HTTP)
-- `useConvexMutation()` — typed mutation caller bound to the current client
-- Stores use imperative `client.query()` instead of `useConvexQuery()` because they manage their own caching and offline merge
+- Stores use imperative `client.query()` and `client.mutation()` because they manage their own caching and offline merge
## Local Development Setup
diff --git a/app/components/layout/MenuBottomModal.vue b/app/components/layout/MenuBottomModal.vue
index c0fc2e42..f005c8dd 100644
--- a/app/components/layout/MenuBottomModal.vue
+++ b/app/components/layout/MenuBottomModal.vue
@@ -24,7 +24,7 @@ const { isDemo } = useDemo()
<!-- User -->
<div
v-if="!isDemo"
- class="border-item-6 mx-2 border-b pb-2 pt-2"
+ class="border-item-6 mx-2 border-b pt-2 pb-2"
>
<UserViewLogout />
</div>