Merge branch 'frontend-rework'
Gitea Actions CI / detect (push) Successful in 3s
Gitea Actions CI / Compose & nginx validation (push) Failing after 8s
Gitea Actions CI / Frontend (lint / type / test / build) (push) Failing after 12s
Gitea Actions CI / Backend (lint / type / test / build) (push) Failing after 12s

This commit is contained in:
k1nq
2026-09-22 10:35:50 +05:00
22 changed files with 5553 additions and 5246 deletions
+2
View File
@@ -14,6 +14,8 @@
"api:generate": "node scripts/generate-api.mjs"
},
"dependencies": {
"@fontsource/funnel-sans": "^5.3.0",
"@fontsource/geist-mono": "^5.3.0",
"@hookform/resolvers": "^5.1.0",
"@tanstack/react-query": "^5.80.0",
"i18next": "^25.2.0",
+85 -69
View File
@@ -8,6 +8,12 @@ importers:
.:
dependencies:
'@fontsource/funnel-sans':
specifier: ^5.3.0
version: 5.3.0
'@fontsource/geist-mono':
specifier: ^5.3.0
version: 5.3.0
'@hookform/resolvers':
specifier: ^5.1.0
version: 5.9.1(react-hook-form@7.87.0(react@19.3.0))(zod@3.25.76)
@@ -59,22 +65,22 @@ importers:
version: 19.3.0(@types/react@19.3.0)
'@vitejs/plugin-react':
specifier: ^4.5.0
version: 4.7.0(vite@6.4.3)
version: 4.7.0(supports-color@10.2.2)(vite@6.4.3)
eslint:
specifier: ^9.28.0
version: 9.39.5
version: 9.39.5(supports-color@10.2.2)
eslint-plugin-jsx-a11y:
specifier: ^6.10.2
version: 6.10.2(eslint@9.39.5)
version: 6.10.2(eslint@9.39.5(supports-color@10.2.2))
eslint-plugin-react-hooks:
specifier: ^5.2.0
version: 5.2.0(eslint@9.39.5)
version: 5.2.0(eslint@9.39.5(supports-color@10.2.2))
globals:
specifier: ^16.2.0
version: 16.5.0
jsdom:
specifier: ^26.1.0
version: 26.1.0
version: 26.1.0(supports-color@10.2.2)
openapi-typescript:
specifier: ^7.8.0
version: 7.13.0(typescript@5.8.3)
@@ -83,13 +89,13 @@ importers:
version: 5.8.3
typescript-eslint:
specifier: ^8.33.0
version: 8.70.0(eslint@9.39.5)(typescript@5.8.3)
version: 8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
vite:
specifier: ^6.3.5
version: 6.4.3
vitest:
specifier: ^3.2.0
version: 3.2.7(jsdom@26.1.0)
version: 3.2.7(jsdom@26.1.0(supports-color@10.2.2))(supports-color@10.2.2)
packages:
@@ -408,6 +414,12 @@ packages:
resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@fontsource/funnel-sans@5.3.0':
resolution: {integrity: sha512-LmINq/6qfoYW1LOkOwaiZw7YVEpi3QACa36V7jxgBlO8MPGPbeSxFrPjk4lF6uP1ZbCp2VsBWmneo+1b59GbbA==}
'@fontsource/geist-mono@5.3.0':
resolution: {integrity: sha512-UtJ1BBBCVpMYdIcW7nEB45UAoAw5M53ZXs2t0ciPW+IokuAAIc56M8+kW5tXbRJCTpDw4XTtU7proT6NdQAHTg==}
'@hookform/resolvers@5.9.1':
resolution: {integrity: sha512-7b7vsbraJxKgjVSA1Nur9tLwj539WGJUBLA7QNvXnFoT2pM5Z7G+6rlukk4B2/QrTZy6huRtH6wKeESPKuIr6w==}
peerDependencies:
@@ -2195,16 +2207,16 @@ snapshots:
'@babel/compat-data@7.29.7': {}
'@babel/core@7.29.7':
'@babel/core@7.29.7(supports-color@10.2.2)':
dependencies:
'@babel/code-frame': 7.29.7
'@babel/generator': 7.29.8
'@babel/helper-compilation-targets': 7.29.7
'@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7)
'@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)
'@babel/helpers': 7.29.7
'@babel/parser': 7.29.8
'@babel/template': 7.29.7
'@babel/traverse': 7.29.8
'@babel/traverse': 7.29.8(supports-color@10.2.2)
'@babel/types': 7.29.8
'@jridgewell/remapping': 2.3.5
convert-source-map: 2.0.0
@@ -2233,19 +2245,19 @@ snapshots:
'@babel/helper-globals@7.29.7': {}
'@babel/helper-module-imports@7.29.7':
'@babel/helper-module-imports@7.29.7(supports-color@10.2.2)':
dependencies:
'@babel/traverse': 7.29.8
'@babel/traverse': 7.29.8(supports-color@10.2.2)
'@babel/types': 7.29.8
transitivePeerDependencies:
- supports-color
'@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7)':
'@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)':
dependencies:
'@babel/core': 7.29.7
'@babel/helper-module-imports': 7.29.7
'@babel/core': 7.29.7(supports-color@10.2.2)
'@babel/helper-module-imports': 7.29.7(supports-color@10.2.2)
'@babel/helper-validator-identifier': 7.29.7
'@babel/traverse': 7.29.8
'@babel/traverse': 7.29.8(supports-color@10.2.2)
transitivePeerDependencies:
- supports-color
@@ -2266,14 +2278,14 @@ snapshots:
dependencies:
'@babel/types': 7.29.8
'@babel/plugin-transform-react-jsx-self@7.29.7(@babel/core@7.29.7)':
'@babel/plugin-transform-react-jsx-self@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))':
dependencies:
'@babel/core': 7.29.7
'@babel/core': 7.29.7(supports-color@10.2.2)
'@babel/helper-plugin-utils': 7.29.7
'@babel/plugin-transform-react-jsx-source@7.29.7(@babel/core@7.29.7)':
'@babel/plugin-transform-react-jsx-source@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))':
dependencies:
'@babel/core': 7.29.7
'@babel/core': 7.29.7(supports-color@10.2.2)
'@babel/helper-plugin-utils': 7.29.7
'@babel/runtime@7.29.7': {}
@@ -2284,7 +2296,7 @@ snapshots:
'@babel/parser': 7.29.8
'@babel/types': 7.29.8
'@babel/traverse@7.29.8':
'@babel/traverse@7.29.8(supports-color@10.2.2)':
dependencies:
'@babel/code-frame': 7.29.7
'@babel/generator': 7.29.8
@@ -2399,14 +2411,14 @@ snapshots:
'@esbuild/win32-x64@0.25.12':
optional: true
'@eslint-community/eslint-utils@4.10.1(eslint@9.39.5)':
'@eslint-community/eslint-utils@4.10.1(eslint@9.39.5(supports-color@10.2.2))':
dependencies:
eslint: 9.39.5
eslint: 9.39.5(supports-color@10.2.2)
eslint-visitor-keys: 3.4.3
'@eslint-community/regexpp@4.12.2': {}
'@eslint/config-array@0.21.2':
'@eslint/config-array@0.21.2(supports-color@10.2.2)':
dependencies:
'@eslint/object-schema': 2.1.7
debug: 4.4.3(supports-color@10.2.2)
@@ -2422,7 +2434,7 @@ snapshots:
dependencies:
'@types/json-schema': 7.0.15
'@eslint/eslintrc@3.3.7':
'@eslint/eslintrc@3.3.7(supports-color@10.2.2)':
dependencies:
ajv: 6.15.0
debug: 4.4.3(supports-color@10.2.2)
@@ -2445,6 +2457,10 @@ snapshots:
'@eslint/core': 0.17.0
levn: 0.4.1
'@fontsource/funnel-sans@5.3.0': {}
'@fontsource/geist-mono@5.3.0': {}
'@hookform/resolvers@5.9.1(react-hook-form@7.87.0(react@19.3.0))(zod@3.25.76)':
dependencies:
'@standard-schema/utils': 0.3.0
@@ -2676,15 +2692,15 @@ snapshots:
dependencies:
csstype: 3.2.3
'@typescript-eslint/eslint-plugin@8.70.0(@typescript-eslint/parser@8.70.0(eslint@9.39.5)(typescript@5.8.3))(eslint@9.39.5)(typescript@5.8.3)':
'@typescript-eslint/eslint-plugin@8.70.0(@typescript-eslint/parser@8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3))(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)':
dependencies:
'@eslint-community/regexpp': 4.12.2
'@typescript-eslint/parser': 8.70.0(eslint@9.39.5)(typescript@5.8.3)
'@typescript-eslint/parser': 8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/scope-manager': 8.70.0
'@typescript-eslint/type-utils': 8.70.0(eslint@9.39.5)(typescript@5.8.3)
'@typescript-eslint/utils': 8.70.0(eslint@9.39.5)(typescript@5.8.3)
'@typescript-eslint/type-utils': 8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/utils': 8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/visitor-keys': 8.70.0
eslint: 9.39.5
eslint: 9.39.5(supports-color@10.2.2)
ignore: 7.0.9
natural-compare: 1.4.0
ts-api-utils: 2.5.0(typescript@5.8.3)
@@ -2692,19 +2708,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/parser@8.70.0(eslint@9.39.5)(typescript@5.8.3)':
'@typescript-eslint/parser@8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)':
dependencies:
'@typescript-eslint/scope-manager': 8.70.0
'@typescript-eslint/types': 8.70.0
'@typescript-eslint/typescript-estree': 8.70.0(typescript@5.8.3)
'@typescript-eslint/typescript-estree': 8.70.0(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/visitor-keys': 8.70.0
debug: 4.4.3(supports-color@10.2.2)
eslint: 9.39.5
eslint: 9.39.5(supports-color@10.2.2)
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/project-service@8.70.0(typescript@5.8.3)':
'@typescript-eslint/project-service@8.70.0(supports-color@10.2.2)(typescript@5.8.3)':
dependencies:
'@typescript-eslint/tsconfig-utils': 8.70.0(typescript@5.8.3)
'@typescript-eslint/types': 8.70.0
@@ -2722,13 +2738,13 @@ snapshots:
dependencies:
typescript: 5.8.3
'@typescript-eslint/type-utils@8.70.0(eslint@9.39.5)(typescript@5.8.3)':
'@typescript-eslint/type-utils@8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)':
dependencies:
'@typescript-eslint/types': 8.70.0
'@typescript-eslint/typescript-estree': 8.70.0(typescript@5.8.3)
'@typescript-eslint/utils': 8.70.0(eslint@9.39.5)(typescript@5.8.3)
'@typescript-eslint/typescript-estree': 8.70.0(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/utils': 8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
debug: 4.4.3(supports-color@10.2.2)
eslint: 9.39.5
eslint: 9.39.5(supports-color@10.2.2)
ts-api-utils: 2.5.0(typescript@5.8.3)
typescript: 5.8.3
transitivePeerDependencies:
@@ -2736,9 +2752,9 @@ snapshots:
'@typescript-eslint/types@8.70.0': {}
'@typescript-eslint/typescript-estree@8.70.0(typescript@5.8.3)':
'@typescript-eslint/typescript-estree@8.70.0(supports-color@10.2.2)(typescript@5.8.3)':
dependencies:
'@typescript-eslint/project-service': 8.70.0(typescript@5.8.3)
'@typescript-eslint/project-service': 8.70.0(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/tsconfig-utils': 8.70.0(typescript@5.8.3)
'@typescript-eslint/types': 8.70.0
'@typescript-eslint/visitor-keys': 8.70.0
@@ -2751,13 +2767,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/utils@8.70.0(eslint@9.39.5)(typescript@5.8.3)':
'@typescript-eslint/utils@8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)':
dependencies:
'@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5)
'@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(supports-color@10.2.2))
'@typescript-eslint/scope-manager': 8.70.0
'@typescript-eslint/types': 8.70.0
'@typescript-eslint/typescript-estree': 8.70.0(typescript@5.8.3)
eslint: 9.39.5
'@typescript-eslint/typescript-estree': 8.70.0(supports-color@10.2.2)(typescript@5.8.3)
eslint: 9.39.5(supports-color@10.2.2)
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
@@ -2767,11 +2783,11 @@ snapshots:
'@typescript-eslint/types': 8.70.0
eslint-visitor-keys: 5.0.1
'@vitejs/plugin-react@4.7.0(vite@6.4.3)':
'@vitejs/plugin-react@4.7.0(supports-color@10.2.2)(vite@6.4.3)':
dependencies:
'@babel/core': 7.29.7
'@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/core@7.29.7)
'@babel/plugin-transform-react-jsx-source': 7.29.7(@babel/core@7.29.7)
'@babel/core': 7.29.7(supports-color@10.2.2)
'@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2))
'@babel/plugin-transform-react-jsx-source': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2))
'@rolldown/pluginutils': 1.0.0-beta.27
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
@@ -3198,7 +3214,7 @@ snapshots:
escape-string-regexp@4.0.0: {}
eslint-plugin-jsx-a11y@6.10.2(eslint@9.39.5):
eslint-plugin-jsx-a11y@6.10.2(eslint@9.39.5(supports-color@10.2.2)):
dependencies:
aria-query: 5.3.2
array-includes: 3.2.0
@@ -3208,7 +3224,7 @@ snapshots:
axobject-query: 4.1.0
damerau-levenshtein: 1.0.8
emoji-regex: 9.2.2
eslint: 9.39.5
eslint: 9.39.5(supports-color@10.2.2)
hasown: 2.0.4
jsx-ast-utils: 3.3.5
language-tags: 1.0.9
@@ -3217,9 +3233,9 @@ snapshots:
safe-regex-test: 1.1.0
string.prototype.includes: 2.0.1
eslint-plugin-react-hooks@5.2.0(eslint@9.39.5):
eslint-plugin-react-hooks@5.2.0(eslint@9.39.5(supports-color@10.2.2)):
dependencies:
eslint: 9.39.5
eslint: 9.39.5(supports-color@10.2.2)
eslint-scope@8.4.0:
dependencies:
@@ -3232,14 +3248,14 @@ snapshots:
eslint-visitor-keys@5.0.1: {}
eslint@9.39.5:
eslint@9.39.5(supports-color@10.2.2):
dependencies:
'@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5)
'@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(supports-color@10.2.2))
'@eslint-community/regexpp': 4.12.2
'@eslint/config-array': 0.21.2
'@eslint/config-array': 0.21.2(supports-color@10.2.2)
'@eslint/config-helpers': 0.4.2
'@eslint/core': 0.17.0
'@eslint/eslintrc': 3.3.7
'@eslint/eslintrc': 3.3.7(supports-color@10.2.2)
'@eslint/js': 9.39.5
'@eslint/plugin-kit': 0.4.1
'@humanfs/node': 0.16.8
@@ -3417,7 +3433,7 @@ snapshots:
dependencies:
void-elements: 3.1.0
http-proxy-agent@7.0.2:
http-proxy-agent@7.0.2(supports-color@10.2.2):
dependencies:
agent-base: 7.1.4
debug: 4.4.3(supports-color@10.2.2)
@@ -3584,13 +3600,13 @@ snapshots:
dependencies:
argparse: 2.0.1
jsdom@26.1.0:
jsdom@26.1.0(supports-color@10.2.2):
dependencies:
cssstyle: 4.6.0
data-urls: 5.0.0
decimal.js: 10.6.0
html-encoding-sniffer: 4.0.0
http-proxy-agent: 7.0.2
http-proxy-agent: 7.0.2(supports-color@10.2.2)
https-proxy-agent: 7.0.6(supports-color@10.2.2)
is-potential-custom-element-name: 1.0.1
nwsapi: 2.2.27
@@ -4122,13 +4138,13 @@ snapshots:
possible-typed-array-names: 1.1.0
reflect.getprototypeof: 1.0.10
typescript-eslint@8.70.0(eslint@9.39.5)(typescript@5.8.3):
typescript-eslint@8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3):
dependencies:
'@typescript-eslint/eslint-plugin': 8.70.0(@typescript-eslint/parser@8.70.0(eslint@9.39.5)(typescript@5.8.3))(eslint@9.39.5)(typescript@5.8.3)
'@typescript-eslint/parser': 8.70.0(eslint@9.39.5)(typescript@5.8.3)
'@typescript-eslint/typescript-estree': 8.70.0(typescript@5.8.3)
'@typescript-eslint/utils': 8.70.0(eslint@9.39.5)(typescript@5.8.3)
eslint: 9.39.5
'@typescript-eslint/eslint-plugin': 8.70.0(@typescript-eslint/parser@8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3))(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/parser': 8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/typescript-estree': 8.70.0(supports-color@10.2.2)(typescript@5.8.3)
'@typescript-eslint/utils': 8.70.0(eslint@9.39.5(supports-color@10.2.2))(supports-color@10.2.2)(typescript@5.8.3)
eslint: 9.39.5(supports-color@10.2.2)
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
@@ -4154,7 +4170,7 @@ snapshots:
dependencies:
punycode: 2.3.1
vite-node@3.2.4:
vite-node@3.2.4(supports-color@10.2.2):
dependencies:
cac: 6.7.14
debug: 4.4.3(supports-color@10.2.2)
@@ -4186,7 +4202,7 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
vitest@3.2.7(jsdom@26.1.0):
vitest@3.2.7(jsdom@26.1.0(supports-color@10.2.2))(supports-color@10.2.2):
dependencies:
'@types/chai': 5.2.3
'@vitest/expect': 3.2.7
@@ -4209,10 +4225,10 @@ snapshots:
tinypool: 1.1.1
tinyrainbow: 2.0.0
vite: 6.4.3
vite-node: 3.2.4
vite-node: 3.2.4(supports-color@10.2.2)
why-is-node-running: 2.3.0
optionalDependencies:
jsdom: 26.1.0
jsdom: 26.1.0(supports-color@10.2.2)
transitivePeerDependencies:
- jiti
- less
+4 -1
View File
@@ -25,6 +25,9 @@ const ImportsPage = lazy(() =>
const LoginPage = lazy(() =>
import('@/pages/LoginPage').then((module) => ({ default: module.LoginPage })),
)
const OverviewPage = lazy(() =>
import('@/pages/OverviewPage').then((module) => ({ default: module.OverviewPage })),
)
const NotFoundPage = lazy(() =>
import('@/pages/NotFoundPage').then((module) => ({ default: module.NotFoundPage })),
)
@@ -72,7 +75,7 @@ export function AppRoutes() {
<Route path="/reset-password" element={<ResetPasswordPage />} />
<Route element={<RequireAuth />}>
<Route path="/" element={<AppLayout />}>
<Route index element={<Navigate to="/accounts" replace />} />
<Route index element={<OverviewPage />} />
<Route path="accounts" element={<AccountsPage />} />
<Route path="budget" element={<BudgetPage />} />
<Route path="operations" element={<OperationsPage />} />
+69 -39
View File
@@ -1,67 +1,97 @@
import { Link, NavLink, Outlet, useNavigate } from 'react-router-dom'
import { Link, NavLink, Outlet, useLocation, useNavigate } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
import { Button } from '@/components/ui/Button'
import { LangSwitcher } from '@/components/layout/LangSwitcher'
import { useLogout, useMe } from '@/hooks/useAuth'
const NAV_ITEMS = [
{ to: '/accounts', key: 'nav.accounts' },
{ to: '/budget', key: 'nav.budget' },
{ to: '/operations', key: 'nav.operations' },
{ to: '/review', key: 'nav.review' },
{ to: '/imports', key: 'nav.imports' },
{ to: '/analytics', key: 'nav.analytics' },
{ to: '/settings', key: 'nav.settings' },
{ to: '/', key: 'nav.month', end: true },
{ to: '/budget', key: 'nav.budget', end: false },
{ to: '/operations', key: 'nav.operations', end: false },
{ to: '/imports', key: 'nav.imports', end: false },
{ to: '/review', key: 'nav.review', end: false },
{ to: '/analytics', key: 'nav.analytics', end: false },
{ to: '/settings', key: 'nav.settings', end: false },
{ to: '/accounts', key: 'nav.accounts', end: false },
] as const
const MOBILE_NAV_ITEMS = NAV_ITEMS.filter((item) =>
['/', '/operations', '/imports', '/analytics', '/settings'].includes(item.to),
)
export function AppLayout() {
const { t } = useTranslation()
const me = useMe()
const logout = useLogout()
const navigate = useNavigate()
const location = useLocation()
const pageKey = location.pathname.split('/').filter(Boolean)[0] ?? 'overview'
const handleLogout = () =>
logout.mutate(undefined, {
onSettled: () => navigate('/login', { replace: true }),
})
return (
<div className="app-shell">
<a className="skip-link" href="#main">
{t('common.skipToContent')}
</a>
<header className="app-header">
<Link to="/accounts" className="brand">
<span className="brand-mark" aria-hidden="true" />
{t('app.brand')}
</Link>
<div className="header-side">
<LangSwitcher />
{me.data ? (
<span className="user-chip" title={me.data.email}>
{me.data.fullName}
</span>
) : null}
<Button
variant="ghost"
onClick={() =>
logout.mutate(undefined, {
onSettled: () => navigate('/login', { replace: true }),
})
}
>
{t('auth.logout')}
</Button>
<aside className="app-sidebar">
<div className="sidebar-top">
<Link to="/" className="brand">
<span className="brand-mark" aria-hidden="true">FS</span>
<span>FINSPACE</span>
</Link>
<div className="space-identity">
<span>{t('app.financialSpace')}</span>
<strong>{me.data?.fullName ?? t('app.brand')}</strong>
<small>{t('app.ownerActive')}</small>
</div>
</div>
<nav className="app-nav" aria-label={t('nav.label')}>
{NAV_ITEMS.map((item) => (
<NavLink key={item.to} end={item.end} to={item.to} className="nav-pill">
{t(item.key)}
</NavLink>
))}
</nav>
<div className="sidebar-footer">
<p className="sync-state"><span aria-hidden="true" />{t('app.synced')}</p>
{me.data ? (
<div className="profile-block" title={me.data.email}>
<span className="profile-avatar" aria-hidden="true">
{me.data.fullName.split(/\s+/).map((part) => part[0]).join('').slice(0, 2)}
</span>
<span>
<strong>{me.data.fullName}</strong>
<small>{me.data.locale.toUpperCase()} · {me.data.timezone}</small>
</span>
</div>
) : null}
<div className="sidebar-controls">
<LangSwitcher />
<Button variant="ghost" onClick={handleLogout}>{t('auth.logout')}</Button>
</div>
</div>
</aside>
<header className="mobile-header">
<Link to="/" className="brand">
<span className="brand-mark" aria-hidden="true">FS</span>
<span>FINSPACE</span>
</Link>
<LangSwitcher />
</header>
<nav className="app-nav" aria-label={t('nav.label')}>
{NAV_ITEMS.map((item) => (
<NavLink key={item.to} to={item.to} className="nav-pill">
<main id="main" className={`app-main view-${pageKey}`}>
<Outlet />
</main>
<nav className="mobile-nav" aria-label={t('nav.label')}>
{MOBILE_NAV_ITEMS.map((item) => (
<NavLink key={item.to} end={item.end} to={item.to}>
{t(item.key)}
</NavLink>
))}
</nav>
<main id="main" className="app-main">
<Outlet />
</main>
<footer className="app-footer">
<span>{t('app.footer')}</span>
</footer>
</div>
)
}
@@ -0,0 +1,51 @@
import type { ReactNode } from 'react'
import { Link } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
import { LangSwitcher } from '@/components/layout/LangSwitcher'
interface AuthLayoutProps {
title: string
subtitle: string
context: string
children: ReactNode
}
export function AuthLayout({ title, subtitle, context, children }: AuthLayoutProps) {
const { t } = useTranslation()
return (
<div className="auth-page">
<aside className="auth-identity">
<Link to="/login" className="brand">
<span className="brand-mark" aria-hidden="true">FS</span>
<span>FINSPACE</span>
</Link>
<div className="auth-manifest">
<h2>{t('authShell.statement')}</h2>
<p>{t('authShell.explanation')}</p>
</div>
<ol className="security-facts">
<li>{t('authShell.session')}</li>
<li>{t('authShell.encryption')}</li>
<li>{t('authShell.isolation')}</li>
</ol>
</aside>
<main className="auth-workspace">
<header className="auth-top">
<span>{context}</span>
<LangSwitcher />
</header>
<section className="auth-card">
<h1 className="page-title">{title}</h1>
<p className="page-subtitle">{subtitle}</p>
{children}
</section>
<footer className="auth-contract">
<span>{t('authShell.private')}</span>
<span>{t('authShell.singleUse')}</span>
<span>{t('authShell.rub')}</span>
</footer>
</main>
</div>
)
}
+1 -1
View File
@@ -42,7 +42,7 @@ export function Modal({ open, onClose, title, children }: ModalProps) {
onClick={onClose}
aria-label={t('common.close')}
>
✕
<span className="close-glyph" aria-hidden="true" />
</button>
</div>
<div className="modal-body">{children}</div>
+52 -14
View File
@@ -1,18 +1,56 @@
{
"app": {
"title": "Grossbook — finance tracker",
"brand": "Grossbook",
"footer": "Closed beta · RUB · zero-based budget"
"title": "Finspace — household finance",
"brand": "Finspace",
"footer": "RUB · private household ledger",
"financialSpace": "Financial space",
"ownerActive": "Owner · active",
"synced": "All data synced"
},
"nav": {
"label": "Primary navigation",
"month": "This month",
"accounts": "Accounts",
"budget": "Budget",
"operations": "Operations",
"operations": "Ledger",
"review": "Review queue",
"imports": "Imports",
"imports": "Statements",
"analytics": "Analytics",
"settings": "Settings & data"
"settings": "Space & data"
},
"overview": {
"subtitle": "Your household money, explained for the current month.",
"openBudget": "Open full budget",
"newOperation": "New operation",
"availableNow": "cash available now",
"afterPlan": "after plan and expected income",
"reserved": "reserved into categories",
"ofFunded": "spent from funded money",
"monthStory": "How the month is moving",
"liveState": "Live state",
"poolAndIncome": "Pool and actual income",
"funded": "Funded to categories",
"spent": "Spent from categories",
"poolRemaining": "Pool remaining",
"closeReadiness": "Close readiness",
"blockers": "blockers",
"readyToClose": "No blockers. This month is ready to close.",
"importsNeedReview": "{{count}} statement needs review",
"reviewBlockers": "Review blockers",
"categoryPulse": "Category pulse"
},
"authShell": {
"statement": "Your household ledger, sealed by design.",
"explanation": "Invite-only access. Every account, operation and statement stays inside one encrypted financial space.",
"session": "14-day secure session",
"encryption": "AES-GCM statement encryption",
"isolation": "Space-isolated financial data",
"private": "Private workspace",
"singleUse": "Single-use invitations",
"rub": "RUB accounting",
"signIn": "Access / sign in",
"invitation": "Access / invitation",
"reset": "Access / reset password"
},
"lang": {
"label": "Language"
@@ -108,8 +146,8 @@
"archiveConfirmBody": "Account “{{name}}” will leave working lists but remain in history."
},
"operations": {
"title": "Operations",
"subtitle": "Expenses, income, transfers and refunds.",
"title": "Ledger",
"subtitle": "Every expense, income, transfer and refund in one traceable sequence.",
"new": "New operation",
"empty": "No operations match the selected filters.",
"search": "Search",
@@ -149,8 +187,8 @@
"nextPage": "Next"
},
"budget": {
"title": "Budget",
"subtitle": "Month plan, funding and the general pool.",
"title": "Monthly plan",
"subtitle": "Plan every ruble, then fund the month from the real pool.",
"monthPicker": "Month picker",
"month": "Month",
"prevMonth": "Previous month",
@@ -291,8 +329,8 @@
"revertBody": "Operations created by the “{{fileName}}” import will be removed atomically; affected months will require reopening."
},
"analytics": {
"title": "Analytics",
"subtitle": "Four fixed reports for your space.",
"title": "Financial picture",
"subtitle": "Spending, plan accuracy, cash flow and balances without noise.",
"range": "Period:",
"months_one": "{{count}} month",
"months_other": "{{count}} months",
@@ -314,8 +352,8 @@
"unallocated": "Unallocated"
},
"settings": {
"title": "Settings & data",
"subtitle": "Profile, export and space data controls.",
"title": "Space & data",
"subtitle": "Identity, language, export and lifecycle controls for this financial space.",
"profile": "Profile",
"timezone": "Time zone",
"dataTitle": "Data",
+52 -14
View File
@@ -1,18 +1,56 @@
{
"app": {
"title": "Гроссбух — финансовый трекер",
"brand": "Гроссбух",
"footer": "Закрытая бета · RUB · zero-based бюджет"
"title": "Finspace — семейные финансы",
"brand": "Finspace",
"footer": "RUB · приватный семейный гроссбух",
"financialSpace": "Финансовое пространство",
"ownerActive": "Владелец · активно",
"synced": "Все данные синхронизированы"
},
"nav": {
"label": "Основная навигация",
"month": "Этот месяц",
"accounts": "Счета",
"budget": "Бюджет",
"operations": "Операции",
"operations": "Гроссбух",
"review": "Очередь разбора",
"imports": "Импорт",
"imports": "Выписки",
"analytics": "Аналитика",
"settings": "Настройки и данные"
"settings": "Пространство и данные"
},
"overview": {
"subtitle": "Семейные деньги с объяснением текущего месяца.",
"openBudget": "Открыть весь бюджет",
"newOperation": "Новая операция",
"availableNow": "деньги, доступные сейчас",
"afterPlan": "после плана и ожидаемых доходов",
"reserved": "зарезервировано по категориям",
"ofFunded": "потрачено из профинансированного",
"monthStory": "Как движется месяц",
"liveState": "Текущее состояние",
"poolAndIncome": "Пул и полученный доход",
"funded": "Распределено по категориям",
"spent": "Потрачено по категориям",
"poolRemaining": "Осталось в пуле",
"closeReadiness": "Готовность к закрытию",
"blockers": "блокировок",
"readyToClose": "Блокировок нет. Месяц можно закрывать.",
"importsNeedReview": "Выписок на проверке: {{count}}",
"reviewBlockers": "Разобрать блокировки",
"categoryPulse": "Состояние категорий"
},
"authShell": {
"statement": "Семейный гроссбух, закрытый по замыслу.",
"explanation": "Доступ только по приглашению. Счета, операции и выписки остаются внутри одного зашифрованного пространства.",
"session": "Защищённая сессия на 14 дней",
"encryption": "Шифрование выписок AES-GCM",
"isolation": "Изоляция данных пространства",
"private": "Приватное пространство",
"singleUse": "Одноразовые приглашения",
"rub": "Учёт в рублях",
"signIn": "Доступ / вход",
"invitation": "Доступ / приглашение",
"reset": "Доступ / сброс пароля"
},
"lang": {
"label": "Язык"
@@ -108,8 +146,8 @@
"archiveConfirmBody": "Счёт «{{name}}» скроется из рабочих списков, но останется в истории."
},
"operations": {
"title": "Операции",
"subtitle": "Расходы, доходы, переводы и возвраты.",
"title": "Гроссбух",
"subtitle": "Расходы, доходы, переводы и возвраты в одной проверяемой последовательности.",
"new": "Новая операция",
"empty": "Операций по выбранным условиям не найдено.",
"search": "Поиск",
@@ -149,8 +187,8 @@
"nextPage": "Дальше"
},
"budget": {
"title": "Бюджет",
"subtitle": "План месяца, обеспечение и общий пул.",
"title": "План месяца",
"subtitle": "Спланируйте каждый рубль и обеспечьте месяц из реального пула.",
"monthPicker": "Выбор месяца",
"month": "Месяц",
"prevMonth": "Предыдущий месяц",
@@ -291,8 +329,8 @@
"revertBody": "Операции, созданные импортом «{{fileName}}», будут удалены атомарно; затронутые месяцы потребуют переоткрытия."
},
"analytics": {
"title": "Аналитика",
"subtitle": "Четыре фиксированных отчёта по вашему пространству.",
"title": "Финансовая картина",
"subtitle": "Расходы, точность плана, денежный поток и балансы без шума.",
"range": "Период:",
"months_one": "{{count}} месяц",
"months_few": "{{count}} месяца",
@@ -316,8 +354,8 @@
"unallocated": "Без распределения"
},
"settings": {
"title": "Настройки и данные",
"subtitle": "Профиль, экспорт и управление данными пространства.",
"title": "Пространство и данные",
"subtitle": "Профиль, язык, экспорт и жизненный цикл финансового пространства.",
"profile": "Профиль",
"timezone": "Часовой пояс",
"dataTitle": "Данные",
+8
View File
@@ -1,5 +1,13 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import '@fontsource/funnel-sans/400.css'
import '@fontsource/funnel-sans/500.css'
import '@fontsource/funnel-sans/600.css'
import '@fontsource/funnel-sans/700.css'
import '@fontsource/geist-mono/400.css'
import '@fontsource/geist-mono/500.css'
import '@fontsource/geist-mono/600.css'
import '@fontsource/geist-mono/700.css'
import App from './App'
import './i18n'
import './styles/global.css'
+7 -14
View File
@@ -6,7 +6,7 @@ import { Link, Navigate, useNavigate, useSearchParams } from 'react-router-dom'
import { z } from 'zod'
import { Button } from '@/components/ui/Button'
import { TextField } from '@/components/ui/fields'
import { LangSwitcher } from '@/components/layout/LangSwitcher'
import { AuthLayout } from '@/components/layout/AuthLayout'
import { useAcceptInvite, useMe } from '@/hooks/useAuth'
import { describeApiError } from '@/lib/apiErrors'
@@ -63,17 +63,11 @@ export function AcceptInvitePage() {
})
return (
<div className="auth-page">
<div className="auth-card card">
<div className="auth-top">
<span className="brand">
<span className="brand-mark" aria-hidden="true" />
{t('app.brand')}
</span>
<LangSwitcher />
</div>
<h1 className="page-title">{t('auth.inviteTitle')}</h1>
<p className="page-subtitle">{t('auth.inviteSubtitle')}</p>
<AuthLayout
title={t('auth.inviteTitle')}
subtitle={t('auth.inviteSubtitle')}
context={t('authShell.invitation')}
>
{apiError ? (
<div className="banner banner-danger" role="alert">
{apiError}
@@ -114,7 +108,6 @@ export function AcceptInvitePage() {
<p className="auth-alt">
<Link to="/login">{t('auth.backToLogin')}</Link>
</p>
</div>
</div>
</AuthLayout>
)
}
+6 -6
View File
@@ -246,22 +246,22 @@ export function ImportDetailPage() {
</thead>
<tbody>
{data.rows.map((row) => (
<tr key={row.id}>
<th scope="row" data-label={t('common.date')}>
<tr key={row.id} className="statement-row">
<th scope="row" data-label={t('common.date')} className="statement-date">
{formatDate(row.occurredOn, locale)}
</th>
<td data-label={t('operations.description')}>
<td data-label={t('operations.description')} className="statement-description">
{row.description ?? '—'}
{row.payeeHint ? <span className="muted"> · {row.payeeHint}</span> : null}
</td>
<td
data-label={t('common.amount')}
className={`num ${row.direction === 'in' ? 'pos' : 'neg'}`}
className={`statement-amount num ${row.direction === 'in' ? 'pos' : 'neg'}`}
>
{row.direction === 'in' ? '+' : '−'}
{formatMoney(row.amountKopecks, locale)}
</td>
<td data-label={t('imports.rowWarnings')}>
<td data-label={t('imports.rowWarnings')} className="statement-warnings">
{row.warnings.length === 0 ? (
'—'
) : (
@@ -274,7 +274,7 @@ export function ImportDetailPage() {
</ul>
)}
</td>
<td data-label={t('imports.decision')}>
<td data-label={t('imports.decision')} className="statement-decision">
<select
className="input select"
aria-label={t('imports.decision')}
+7 -14
View File
@@ -6,7 +6,7 @@ import { Link, Navigate, useLocation, useNavigate } from 'react-router-dom'
import { z } from 'zod'
import { Button } from '@/components/ui/Button'
import { TextField } from '@/components/ui/fields'
import { LangSwitcher } from '@/components/layout/LangSwitcher'
import { AuthLayout } from '@/components/layout/AuthLayout'
import { useLogin, useMe } from '@/hooks/useAuth'
import { describeApiError } from '@/lib/apiErrors'
@@ -54,17 +54,11 @@ export function LoginPage() {
})
return (
<div className="auth-page">
<div className="auth-card card">
<div className="auth-top">
<span className="brand">
<span className="brand-mark" aria-hidden="true" />
{t('app.brand')}
</span>
<LangSwitcher />
</div>
<h1 className="page-title">{t('auth.loginTitle')}</h1>
<p className="page-subtitle">{t('auth.loginSubtitle')}</p>
<AuthLayout
title={t('auth.loginTitle')}
subtitle={t('auth.loginSubtitle')}
context={t('authShell.signIn')}
>
{apiError ? (
<div className="banner banner-danger" role="alert">
{apiError}
@@ -95,7 +89,6 @@ export function LoginPage() {
<p className="auth-alt">
<Link to="/invite/accept">{t('auth.haveInvite')}</Link>
</p>
</div>
</div>
</AuthLayout>
)
}
+7 -7
View File
@@ -623,10 +623,10 @@ export function OperationsPage() {
key={operation.id}
data-voided={operation.status === 'voided' ? 'true' : undefined}
>
<th scope="row" data-label={t('common.date')}>
<th scope="row" data-label={t('common.date')} className="operation-date">
{formatDate(operation.occurredOn, locale)}
</th>
<td data-label={t('operations.kindLabel')}>
<td data-label={t('operations.kindLabel')} className="operation-kind">
<Badge tone={OPERATION_KIND_TONES[operation.kind]}>
{t(`operations.kind.${operation.kind}`)}
</Badge>
@@ -634,22 +634,22 @@ export function OperationsPage() {
<Badge tone="neutral">{t('operations.status.voided')}</Badge>
) : null}
</td>
<td data-label={t('operations.description')}>
<td data-label={t('operations.description')} className="operation-description">
{operation.payeeName ?? operation.description ?? '—'}
</td>
<td data-label={t('operations.account')}>
<td data-label={t('operations.account')} className="operation-account">
{accountName(operation.accountId)}
{operation.kind === 'transfer'
? ` → ${accountName(operation.counterpartyAccountId)}`
: ''}
</td>
<td data-label={t('operations.category')}>
<td data-label={t('operations.category')} className="operation-category">
{operation.categoryName ?? t('operations.noCategory')}
</td>
<td data-label={t('common.amount')} className={`num ${amount.tone}`}>
<td data-label={t('common.amount')} className={`operation-amount num ${amount.tone}`}>
{amount.text}
</td>
<td data-label={t('common.actions')}>
<td data-label={t('common.actions')} className="operation-actions">
{operation.status === 'confirmed' ? (
<Button variant="subtle" onClick={() => setVoidTarget(operation)}>
{t('operations.void')}
+96
View File
@@ -0,0 +1,96 @@
import { Link } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
import { PageHeader } from '@/components/ui/PageHeader'
import { QueryGate } from '@/components/ui/QueryGate'
import { useBudgetCategories, useBudgetSummary } from '@/hooks/useBudget'
import { useImports } from '@/hooks/useImports'
import { categoryLabel } from '@/lib/categoryLabel'
import { currentMonth, formatMonth } from '@/lib/dates'
import { currentLocale } from '@/lib/locale'
import { formatMoney } from '@/lib/money'
export function OverviewPage() {
const { t, i18n } = useTranslation()
const locale = currentLocale(i18n.language)
const month = currentMonth()
const summary = useBudgetSummary(month)
const categories = useBudgetCategories(month)
const imports = useImports()
const money = (value: number) => formatMoney(value, locale)
const attentionImports = (imports.data ?? []).filter((item) => item.status === 'review_required')
return (
<div className="overview-page">
<PageHeader
title={formatMonth(month, locale)}
subtitle={t('overview.subtitle')}
actions={
<div className="page-actions-row">
<Link className="btn btn-subtle" to="/budget">{t('overview.openBudget')}</Link>
<Link className="btn btn-primary" to="/operations">{t('overview.newOperation')}</Link>
</div>
}
/>
<QueryGate query={summary}>
{(data) => (
<>
<section className="mobile-pool" aria-label={t('budget.actualPool')}>
<span>{t('budget.actualPool')}</span>
<strong className="num">{money(data.actualPoolKopecks)}</strong>
<small>{t(`budget.status.${data.status}`)}</small>
</section>
<dl className="stats overview-stats">
<div className="stat"><dt>{t('budget.actualPool')}</dt><dd className="num">{money(data.actualPoolKopecks)}</dd><small>{t('overview.availableNow')}</small></div>
<div className="stat"><dt>{t('budget.projectedPool')}</dt><dd className="num">{money(data.projectedPoolKopecks)}</dd><small>{t('overview.afterPlan')}</small></div>
<div className="stat"><dt>{t('budget.fundedTotal')}</dt><dd className="num">{money(data.fundedTotalKopecks)}</dd><small>{t('overview.reserved')}</small></div>
<div className="stat"><dt>{t('budget.spentTotal')}</dt><dd className="num">{money(data.spentTotalKopecks)}</dd><small>{t('overview.ofFunded')}</small></div>
</dl>
<div className="overview-workbench">
<section className="month-story">
<div className="section-heading">
<h2>{t('overview.monthStory')}</h2>
<span>{t('overview.liveState')}</span>
</div>
<ol className="story-list">
<li><span>{t('overview.poolAndIncome')}</span><strong className="num">{money(data.actualPoolKopecks + data.fundedTotalKopecks)}</strong></li>
<li><span>{t('overview.funded')}</span><strong className="num neg">−{money(data.fundedTotalKopecks)}</strong></li>
<li><span>{t('overview.spent')}</span><strong className="num neg">−{money(data.spentTotalKopecks)}</strong></li>
<li><span>{t('overview.poolRemaining')}</span><strong className="num">{money(data.actualPoolKopecks)}</strong></li>
</ol>
</section>
<aside className="decision-panel">
<div className="section-heading"><h2>{t('overview.closeReadiness')}</h2><span>{data.blockers.length} {t('overview.blockers')}</span></div>
{data.blockers.length > 0 ? (
<ul>{data.blockers.map((blocker) => <li key={blocker.code}>{t(`budget.blockers.${blocker.code}`, { defaultValue: blocker.message ?? blocker.code })}</li>)}</ul>
) : <p>{t('overview.readyToClose')}</p>}
{attentionImports.length > 0 ? <p>{t('overview.importsNeedReview', { count: attentionImports.length })}</p> : null}
<Link className="btn btn-subtle" to="/review">{t('overview.reviewBlockers')}</Link>
</aside>
</div>
</>
)}
</QueryGate>
<section className="category-pulse" aria-label={t('overview.categoryPulse')}>
<div className="section-heading"><h2>{t('overview.categoryPulse')}</h2><Link to="/budget">{t('overview.openBudget')}</Link></div>
<QueryGate query={categories}>
{(items) => (
<div className="pulse-grid">
{items.filter((item) => !item.archived).slice(0, 4).map((item) => {
const ratio = item.fundedKopecks > 0 ? Math.min(item.spentKopecks / item.fundedKopecks, 1) : 0
return (
<article className="pulse-item" key={item.id}>
<span>{categoryLabel(item, t)}</span>
<strong className="num">{money(item.availableKopecks)}</strong>
<small>{t('budget.available')}</small>
<span className="pulse-track"><span style={{ width: `${ratio * 100}%` }} /></span>
</article>
)
})}
</div>
)}
</QueryGate>
</section>
<div className="mobile-primary-action"><Link className="btn btn-primary" to="/operations">{t('overview.newOperation')}</Link></div>
</div>
)
}
+7 -14
View File
@@ -4,7 +4,7 @@ import { useForm } from 'react-hook-form'
import { useTranslation } from 'react-i18next'
import { Link, useNavigate, useSearchParams } from 'react-router-dom'
import { z } from 'zod'
import { LangSwitcher } from '@/components/layout/LangSwitcher'
import { AuthLayout } from '@/components/layout/AuthLayout'
import { Button } from '@/components/ui/Button'
import { TextField } from '@/components/ui/fields'
import { useConfirmPasswordReset, useRequestPasswordReset } from '@/hooks/useAuth'
@@ -73,17 +73,11 @@ export function ResetPasswordPage() {
})
return (
<div className="auth-page">
<div className="auth-card card">
<div className="auth-top">
<span className="brand">
<span className="brand-mark" aria-hidden="true" />
{t('app.brand')}
</span>
<LangSwitcher />
</div>
<h1 className="page-title">{t('auth.resetTitle')}</h1>
<p className="page-subtitle">{t('auth.resetSubtitle')}</p>
<AuthLayout
title={t('auth.resetTitle')}
subtitle={t('auth.resetSubtitle')}
context={t('authShell.reset')}
>
{apiError ? (
<div className="banner banner-danger" role="alert">
{apiError}
@@ -130,7 +124,6 @@ export function ResetPasswordPage() {
<p className="auth-alt">
<Link to="/login">{t('auth.backToLogin')}</Link>
</p>
</div>
</div>
</AuthLayout>
)
}
File diff suppressed because it is too large Load Diff
+11 -21
View File
@@ -3,33 +3,33 @@
"1": "budgeting/router.py",
"2": "Base",
"3": "set_space_context",
"4": "imports/router.py",
"4": "imports/service.py",
"5": "alfa_xlsx.py",
"6": "ledger/service.py",
"6": "index.ts",
"7": "types.ts",
"8": "router.tsx",
"9": "ledger/router.py",
"10": "main.py",
"10": "@testing-library/jest-dom",
"11": "compilerOptions",
"12": "AnalyticsPage.tsx",
"13": "exports/router.py",
"13": "@testing-library/user-event",
"14": "devDependencies",
"15": "Session",
"16": "dependencies",
"17": "ImportDetailPage.tsx",
"18": "OperationsPage.tsx",
"19": "useOperations.ts",
"19": "SettingsPage.tsx",
"20": "Toaster.tsx",
"21": "adapters/base.py",
"21": "test_adapter_contracts.py",
"22": "BudgetPage.tsx",
"23": "client.ts",
"24": "AccountsPage.tsx",
"25": "Docker Compose Development Stack",
"26": "Financial Space",
"27": "scripts",
"28": "exports/service.py",
"28": "@types/react",
"29": "General Pool",
"30": "test_adapter_contracts.py",
"30": "TestBaseContract",
"31": "Per-File Envelope Encryption",
"32": "Operation",
"33": "Versioned Statement Imports",
@@ -43,13 +43,10 @@
"41": "test_api.py",
"42": "i18n-parity.test.ts",
"43": "Expected Income",
"44": "test_private_fixtures.py",
"45": "TestAlfaDebitContract",
"46": "jsdom",
"44": "TestAlfaDebitContract",
"47": "graphify",
"48": "@types/react-dom",
"49": "typescript-eslint",
"50": "OzonDebitPdfAdapter",
"51": "vitest",
"52": "Favicon SVG (ledger lines icon)",
"53": "init-app-role.sh",
@@ -66,16 +63,9 @@
"64": "Gitea CI and real statement imports",
"65": "20260918_0002_hold_lifecycle.py",
"66": "eslint-plugin-react-hooks",
"67": "openapi-typescript",
"68": "@testing-library/dom",
"69": "@testing-library/react",
"70": "vite",
"71": "ColumnChart.tsx",
"72": "conftest.py",
"73": "imports/service.py",
"74": "BlobStore",
"75": "AppError",
"76": "celery_app.py",
"73": "AppError",
"76": "get_settings",
"77": "AGENTS.md",
"78": "graphify.js"
}
+1 -1
View File
@@ -1 +1 @@
{"0": "5be265b1520d78ac", "1": "202b56dfc67b2426", "2": "e8067d100b0e48e0", "3": "a199479974543630", "4": "70c8a604a894445d", "5": "092f91ab80789a1d", "6": "3dc6d0d50528ba98", "7": "478b34eb0402fa7d", "8": "c73ee613d6cc4603", "9": "5ebc227112f367f4", "10": "a91e7c0bdb81ca71", "11": "f039d542469fefc7", "12": "0f21d202d861324c", "13": "c90eb017c5213760", "14": "603fe8eab561d17f", "15": "115e19466baf98c7", "16": "1ff1ee70001a89de", "17": "1dd8594011ea2d4f", "18": "8d1c055c213ab51a", "19": "806f8f9f67c1321f", "20": "ba5d835cd3756f81", "21": "bedd3bc934b83f58", "22": "e55afacc55f53152", "23": "cf7c706bee4e29cc", "24": "345cd1b7ec82598d", "25": "f01c92b243645b4e", "26": "54c3380f579b6729", "27": "d8d767c824110809", "28": "ad3dccb7bd56195e", "29": "3147966ac3ee3b0f", "30": "5c32e2734dd85352", "31": "099ee7edfccfb30f", "32": "0778a13a682f0cbb", "33": "6be20de557b963e9", "34": "da7b9f31790187c3", "35": "17bba31989deabe4", "36": "267c43d4a566a343", "37": "cff206ec60c41144", "38": "c9cd0ce5f2cf7cba", "39": "0e87c765d5713ad6", "40": "ce680f01cc87ac2b", "41": "24380e4087fb70d5", "42": "c58209407d4237e8", "43": "54905c779f6306ec", "44": "bdb0b28856af8fe2", "45": "e5d51caa27a2a995", "46": "12858d9498b8f2dc", "47": "2f8c667574e48967", "48": "08332675f638af21", "49": "4ed4ad08eaab7c1c", "50": "354367198161115c", "51": "ba6724f5637cd5d9", "52": "fdf8b4d4bf2be849", "53": "66f8ffc9c3fbedf2", "54": "73723cec09ed2417", "55": "f9e8dac18e2e7bdf", "56": "86619fe91fc50452", "57": "8a3d1d863ddb4d2f", "58": "acee339eea91405a", "59": "99c0fcbdc4f53a0e", "60": "cd42295e6b9fcac1", "61": "3712295d0a11267c", "62": "f787d08450bb4ac6", "63": "c0e8c155ec6fcd84", "64": "fa2cf116b4b9871b", "65": "f3a0edb87b006f25", "66": "a0aa708a9e56bca1", "67": "99286ea0671b6a66", "68": "14861c2ceee47357", "69": "2735bfc7a6304c2e", "70": "e049e07b5afc08cf", "71": "c11d4d615ce6b927", "72": "70d2f844bf68b0d0", "73": "c95100868c3ef766", "74": "17c53201f17a093a", "75": "40bdab93c3490c2a", "76": "7ab7989194b62fca", "77": "97ec841e4f367258", "78": "c9051bc3ad4170f1"}
{"0": "6c063baf517f1eb6", "1": "a4f4a311e078675c", "2": "65ccdcb8bb230ca5", "3": "44b04b925819e26d", "4": "0d50b69f5218f11b", "5": "092f91ab80789a1d", "6": "22c5de371abd09fa", "7": "8bec3f9e493248dd", "8": "af34a2fe936fc26f", "9": "5ebc227112f367f4", "10": "0a5a0ba97778625e", "11": "f039d542469fefc7", "12": "29f9890d7a645660", "13": "8744084aeb65fbd3", "14": "b3e752fefc98c002", "15": "9a0c62b0c24bbbd9", "16": "8ef6cf9118db3195", "17": "f7ebad4765114795", "18": "77b2f7c0291aab31", "19": "792f137ff135bd4e", "20": "15859d93c4ace0e3", "21": "aaac3631365f21d3", "22": "e2e45bae8a909001", "23": "cf7c706bee4e29cc", "24": "345cd1b7ec82598d", "25": "f01c92b243645b4e", "26": "54c3380f579b6729", "27": "d8d767c824110809", "28": "8bc2e2fc5c336465", "29": "3147966ac3ee3b0f", "30": "2918b65a60e97b85", "31": "099ee7edfccfb30f", "32": "0778a13a682f0cbb", "33": "6be20de557b963e9", "34": "da7b9f31790187c3", "35": "17bba31989deabe4", "36": "267c43d4a566a343", "37": "cff206ec60c41144", "38": "c9cd0ce5f2cf7cba", "39": "0e87c765d5713ad6", "40": "ce680f01cc87ac2b", "41": "24380e4087fb70d5", "42": "c58209407d4237e8", "43": "54905c779f6306ec", "44": "b0793b63498bdb9d", "47": "2f8c667574e48967", "48": "08332675f638af21", "49": "4ed4ad08eaab7c1c", "51": "ba6724f5637cd5d9", "52": "fdf8b4d4bf2be849", "53": "66f8ffc9c3fbedf2", "54": "73723cec09ed2417", "55": "f9e8dac18e2e7bdf", "56": "86619fe91fc50452", "57": "8a3d1d863ddb4d2f", "58": "acee339eea91405a", "59": "99c0fcbdc4f53a0e", "60": "cd42295e6b9fcac1", "61": "3712295d0a11267c", "62": "f787d08450bb4ac6", "63": "9dac551857afb104", "64": "fa2cf116b4b9871b", "65": "f3a0edb87b006f25", "66": "a0aa708a9e56bca1", "70": "e049e07b5afc08cf", "73": "dd576fea95f2c4b2", "76": "ef6090e1505912ff", "77": "97ec841e4f367258", "78": "c9051bc3ad4170f1"}
+73 -111
View File
@@ -1,16 +1,16 @@
# Graph Report - finance (2026-09-21)
# Graph Report - finance (2026-09-22)
## Corpus Check
- 151 files · ~64,809 words
- 153 files · ~65,647 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 1277 nodes · 3734 edges · 79 communities (54 shown, 18 thin omitted)
- 1288 nodes · 3759 edges · 69 communities (47 shown, 15 thin omitted)
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 71 edges (avg confidence: 0.93)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `35b9ea83`
- Built from commit: `30bd1b48`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -19,33 +19,33 @@
- budgeting/router.py
- Base
- set_space_context
- imports/router.py
- imports/service.py
- alfa_xlsx.py
- ledger/service.py
- index.ts
- types.ts
- router.tsx
- ledger/router.py
- main.py
- @testing-library/jest-dom
- compilerOptions
- AnalyticsPage.tsx
- exports/router.py
- @testing-library/user-event
- devDependencies
- Session
- dependencies
- ImportDetailPage.tsx
- OperationsPage.tsx
- useOperations.ts
- SettingsPage.tsx
- Toaster.tsx
- adapters/base.py
- test_adapter_contracts.py
- BudgetPage.tsx
- client.ts
- AccountsPage.tsx
- Docker Compose Development Stack
- Financial Space
- scripts
- exports/service.py
- @types/react
- General Pool
- test_adapter_contracts.py
- TestBaseContract
- Per-File Envelope Encryption
- Operation
- Versioned Statement Imports
@@ -59,13 +59,10 @@
- test_api.py
- i18n-parity.test.ts
- Expected Income
- test_private_fixtures.py
- TestAlfaDebitContract
- jsdom
- graphify
- @types/react-dom
- typescript-eslint
- OzonDebitPdfAdapter
- vitest
- Favicon SVG (ledger lines icon)
- init-app-role.sh
@@ -76,16 +73,9 @@
- Gitea CI and real statement imports
- 20260918_0002_hold_lifecycle.py
- eslint-plugin-react-hooks
- openapi-typescript
- @testing-library/dom
- @testing-library/react
- vite
- ColumnChart.tsx
- conftest.py
- imports/service.py
- BlobStore
- AppError
- celery_app.py
- get_settings
- AGENTS.md
## God Nodes (most connected - your core abstractions)
@@ -120,99 +110,91 @@
- **Financial Space Tenancy Boundary** — context_financial_space, context_membership, docs_adr_0001_financial_space_ownership_and_rls_defense_in_depth_authorization, docs_adr_0001_financial_space_ownership_and_rls_transaction_local_rls, docs_adr_0001_financial_space_ownership_and_rls_cross_space_integrity [EXTRACTED 1.00]
- **Safe Statement Import Flow** — context_statement_import, context_parse_run, context_source_record, docs_adr_0003_versioned_statement_imports_immutable_statement_document, docs_adr_0003_versioned_statement_imports_conservative_deduplication, docs_adr_0003_versioned_statement_imports_atomic_confirm_revert [EXTRACTED 1.00]
## Communities (79 total, 18 thin omitted)
## Communities (69 total, 15 thin omitted)
### Community 0 - "identity/service.py"
Cohesion: 0.06
Nodes (83): current_context(), current_session(), alias, Context, CurrentSession, Db, Header, User (+75 more)
Cohesion: 0.07
Nodes (58): current_context(), current_session(), alias, Context, CurrentSession, Db, Header, User (+50 more)
### Community 1 - "budgeting/router.py"
Cohesion: 0.14
Nodes (43): balances(), cash_flow(), category_spend(), plan_fact(), Context, date, Db, get (+35 more)
Cohesion: 0.20
Nodes (34): AssignmentItem, assignments(), AssignmentsBody, categories(), CategoryBody, CategoryFundingBody, close(), close_frontend() (+26 more)
### Community 2 - "Base"
Cohesion: 0.07
Nodes (76): downgrade(), upgrade(), AuditEvent, Append-only domain/security event. Never stores raw financial payloads., ExpectedIncome, ExpectedIncomeMatch, FundingMovement, PeriodClosure (+68 more)
Nodes (67): downgrade(), upgrade(), balances(), cash_flow(), category_spend(), date, UUID, AuditEvent (+59 more)
### Community 3 - "set_space_context"
Cohesion: 0.22
Nodes (14): get_db(), get_session_factory(), Any, sessionmaker, Transaction-local RLS context. No-op on SQLite (tests); fail-closed on…, Transactional scope for workers/endpoints that own the transaction lifecycle., session_scope(), set_space_context() (+6 more)
Cohesion: 0.06
Nodes (52): balances(), cash_flow(), category_spend(), plan_fact(), Context, date, Db, get (+44 more)
### Community 4 - "imports/router.py"
Cohesion: 0.16
Nodes (33): confirm(), ConfirmBody, decide_row(), DecisionBody, delete_source(), detail(), HoldResolveBody, imports() (+25 more)
### Community 4 - "imports/service.py"
Cohesion: 0.06
Nodes (92): datetime, utcnow(), not_found(), normalize_description(), date, record_fingerprint(), magic_kind(), BlobStore (+84 more)
### Community 5 - "alfa_xlsx.py"
Cohesion: 0.17
Nodes (24): AlfaDebitXlsxAdapter, _AlfaHeaderMeta, AlfaXlsxAdapterBase, _cell_str(), _debit_find_header(), _debit_header_metadata(), _debit_header_value(), _debit_norm() (+16 more)
### Community 6 - "ledger/service.py"
Cohesion: 0.11
Nodes (62): Any, record(), get_income_source(), bad_request(), conflict(), not_found(), Any, _apply_hold_matches() (+54 more)
### Community 6 - "index.ts"
Cohesion: 0.26
Nodes (8): Locale, LangSwitcher(), createI18n(), detectLocale(), i18n, LOCALES, setLocale(), storedLocale()
### Community 7 - "types.ts"
Cohesion: 0.05
Nodes (52): api, AcceptInvitePayload, Account, AccountStatus, BalanceItem, BalancesReport, BudgetBlocker, BudgetCategory (+44 more)
Cohesion: 0.06
Nodes (47): api, Account, AccountStatus, BalanceItem, BalancesReport, BudgetBlocker, BudgetCategory, BudgetStatus (+39 more)
### Community 8 - "router.tsx"
Cohesion: 0.11
Nodes (35): AcceptInvitePage, LoginPage, RequireAuth(), ResetPasswordPage, SettingsPage, AppLayout(), NAV_ITEMS, LangSwitcher() (+27 more)
Cohesion: 0.10
Nodes (33): AcceptInvitePayload, LoginPayload, PasswordResetPayload, AcceptInvitePage, BudgetPage, ImportDetailPage, LoginPage, OperationsPage (+25 more)
### Community 9 - "ledger/router.py"
Cohesion: 0.15
Nodes (31): account_json(), AccountBody, accounts(), archive_account(), create_account(), create_operation(), delete_account(), operation_json() (+23 more)
### Community 10 - "main.py"
Cohesion: 0.21
Nodes (14): get_engine(), app_error_handler(), health(), healthz(), get, Request, readiness(), security_headers() (+6 more)
### Community 11 - "compilerOptions"
Cohesion: 0.07
Nodes (28): compilerOptions, baseUrl, esModuleInterop, forceConsistentCasingInFileNames, isolatedModules, jsx, lib, module (+20 more)
### Community 12 - "AnalyticsPage.tsx"
Cohesion: 0.21
Nodes (12): AnalyticsPage, PlanFactBars(), PlanFactBarsProps, PlanFactRow, MonthSwitcher(), MonthSwitcherProps, useAnalyticsBalances(), useAnalyticsCashFlow() (+4 more)
### Community 13 - "exports/router.py"
Cohesion: 0.27
Nodes (10): download(), export_status(), Context, Csrf, Db, get, post, Response (+2 more)
Cohesion: 0.12
Nodes (19): AnalyticsPage, CashFlowColumn, ColumnChart(), ColumnChartProps, BarRow, HorizontalBars(), HorizontalBarsProps, PlanFactBars() (+11 more)
### Community 14 - "devDependencies"
Cohesion: 0.11
Nodes (19): eslint, @eslint/js, eslint-plugin-jsx-a11y, devDependencies, eslint, @eslint/js, eslint-plugin-jsx-a11y, globals (+11 more)
Cohesion: 0.10
Nodes (21): eslint, @eslint/js, eslint-plugin-jsx-a11y, devDependencies, eslint, @eslint/js, eslint-plugin-jsx-a11y, globals (+13 more)
### Community 15 - "Session"
Cohesion: 0.09
Nodes (87): balances(), cash_flow(), category_spend(), plan_fact(), date, UUID, BudgetPeriod, Calendar month budget period in the space timezone (month granularity). (+79 more)
Cohesion: 0.07
Nodes (122): plan_fact(), Any, record(), BudgetPeriod, Calendar month budget period in the space timezone (month granularity)., add_expected_income(), archive_category(), _balance_until() (+114 more)
### Community 16 - "dependencies"
Cohesion: 0.11
Nodes (19): dependencies, @hookform/resolvers, i18next, react, react-dom, react-hook-form, react-i18next, react-router-dom (+11 more)
Cohesion: 0.09
Nodes (23): @fontsource/funnel-sans, @fontsource/geist-mono, dependencies, @fontsource/funnel-sans, @fontsource/geist-mono, @hookform/resolvers, i18next, react (+15 more)
### Community 17 - "ImportDetailPage.tsx"
Cohesion: 0.27
Nodes (15): RowDecision, ImportDetailPage, useToast(), useConfirmImport(), useImport(), useImportErrorToaster(), useReparseImport(), useRevertImport() (+7 more)
Cohesion: 0.20
Nodes (18): Button(), ConfirmDialog(), ConfirmDialogProps, Modal(), ModalProps, useToast(), useConfirmImport(), useImport() (+10 more)
### Community 18 - "OperationsPage.tsx"
Cohesion: 0.11
Nodes (29): Operation, ImportsPage, NotFoundPage, OperationsPage, ReviewQueuePage, Badge(), BadgeTone, EmptyState() (+21 more)
Nodes (30): Operation, OperationKind, OperationStatus, ImportsPage, Badge(), BadgeTone, EmptyState(), EmptyStateProps (+22 more)
### Community 19 - "useOperations.ts"
### Community 19 - "SettingsPage.tsx"
Cohesion: 0.16
Nodes (14): invalidationRoots, queryKeys, SESSION_ROOT, sessionInvalidationRoot, SPACE_ROOT, spaceInvalidationRoot, OperationFilters, useCategorizeOperation() (+6 more)
Nodes (16): invalidationRoots, queryKeys, SESSION_ROOT, sessionInvalidationRoot, SPACE_ROOT, spaceInvalidationRoot, OperationFilters, useCancelDeletion() (+8 more)
### Community 20 - "Toaster.tsx"
Cohesion: 0.12
Nodes (15): Locale, App(), queryClient, AppRoutes(), ToastApi, ToastContext, ToastItem, ToastKind (+7 more)
Cohesion: 0.18
Nodes (10): App(), queryClient, AppRoutes(), ToastApi, ToastContext, ToastItem, ToastKind, ToastProvider() (+2 more)
### Community 21 - "adapters/base.py"
Cohesion: 0.14
Nodes (18): account_fingerprint(), amount_to_kopecks(), _mask_digits(), money_to_kopecks(), Parse statement money strings like '-1 234,56 RUR', '+ 500.00 ₽', '12 345'.…, SourceRow, StatementDraft, _first_page_text() (+10 more)
### Community 21 - "test_adapter_contracts.py"
Cohesion: 0.11
Nodes (26): AlfaCreditXlsxAdapter, account_fingerprint(), amount_to_kopecks(), _mask_digits(), money_to_kopecks(), Parse statement money strings like '-1 234,56 RUR', '+ 500.00 ₽', '12 345'.…, SourceRow, StatementDraft (+18 more)
### Community 22 - "BudgetPage.tsx"
Cohesion: 0.21
Nodes (17): BudgetPage, ConfirmDialog(), ConfirmDialogProps, Modal(), ModalProps, useBudgetCategories(), useBudgetErrorToaster(), useBudgetSummary() (+9 more)
Cohesion: 0.17
Nodes (20): NotFoundPage, OverviewPage, PageHeader(), PageHeaderProps, useBudgetCategories(), useBudgetErrorToaster(), useBudgetSummary(), useCloseMonth() (+12 more)
### Community 23 - "client.ts"
Cohesion: 0.23
@@ -234,17 +216,13 @@ Nodes (12): Credit Reserve, Financial Account, Financial Space, Membership, User
Cohesion: 0.22
Nodes (9): scripts, api:generate, build, dev, lint, preview, test, test:watch (+1 more)
### Community 28 - "exports/service.py"
Cohesion: 0.40
Nodes (9): build_export(), consume_export(), _csv_bytes(), get_export(), _json_rows(), datetime, UUID, request_export() (+1 more)
### Community 29 - "General Pool"
Cohesion: 0.29
Nodes (8): Budget Period, Funding, General Pool, Monthly Category, Plan Assignment, Savings Envelope, Immutable Closure Snapshots, Plan and Funding Separation
### Community 30 - "test_adapter_contracts.py"
Cohesion: 0.13
Nodes (10): AlfaCreditXlsxAdapter, Protocol, StatementAdapter, detect_adapter(), OzonCreditPdfAdapter, make_draft(), make_source_row(), Sanitized synthetic contract tests for the evidenced statement adapters. These… (+2 more)
### Community 30 - "TestBaseContract"
Cohesion: 0.12
Nodes (7): Protocol, StatementAdapter, detect_adapter(), make_draft(), make_source_row(), TestBaseContract, Workbook
### Community 31 - "Per-File Envelope Encryption"
Cohesion: 0.29
@@ -290,28 +268,20 @@ Nodes (5): components, $defs, operations, paths, webhooks
Cohesion: 0.67
Nodes (3): TestClient, test_invite_login_and_authenticated_space(), test_openapi_contains_critical_paths()
### Community 44 - "test_private_fixtures.py"
Cohesion: 0.13
Nodes (20): Any, Reconcile parsed rows against declared bank controls with stable diagnostics.…, _reconciliation_summary(), _check(), _fail(), _load_entries(), parsed(), fixture (+12 more)
### Community 45 - "TestAlfaDebitContract"
Cohesion: 0.19
Nodes (3): alfa_workbook_bytes(), synthetic_alfa_rows(), TestAlfaDebitContract
### Community 44 - "TestAlfaDebitContract"
Cohesion: 0.08
Nodes (23): Any, Reconcile parsed rows against declared bank controls with stable diagnostics.…, _reconciliation_summary(), alfa_workbook_bytes(), synthetic_alfa_rows(), TestAlfaDebitContract, _check(), _fail() (+15 more)
### Community 47 - "graphify"
Cohesion: 0.17
Nodes (11): command, enabled, timeout, type, mcp, graphify, plugin, $schema (+3 more)
### Community 50 - "OzonDebitPdfAdapter"
Cohesion: 0.29
Nodes (5): _ozon_cell(), _ozon_normalize(), OzonDebitPdfAdapter, Ozon debit statement contract, evidenced against the real document. A 'Справка…, Pattern
### Community 62 - "LocalDirectoryBlobStore"
Cohesion: 0.39
Nodes (3): LocalDirectoryBlobStore, Path, S3-neutral local store; production swaps in an S3-compatible client.
### Community 63 - "TestOzonDebitContract"
Cohesion: 0.15
Cohesion: 0.16
Nodes (6): minimal_pdf(), ozon_extracted(), _QuotaSettings, Build a small valid single-font PDF with empty or ASCII-only pages., TestOzonDebitContract, MonkeyPatch
### Community 64 - "Gitea CI and real statement imports"
@@ -322,35 +292,27 @@ Nodes (6): Confirmed decisions, Gitea CI and real statement imports, Goal and co
Cohesion: 0.80
Nodes (4): downgrade(), _has_check_constraint(), _has_column(), upgrade()
### Community 71 - "ColumnChart.tsx"
Cohesion: 0.24
Nodes (7): CashFlowColumn, ColumnChart(), ColumnChartProps, BarRow, HorizontalBars(), HorizontalBarsProps, rows
### Community 73 - "AppError"
Cohesion: 0.21
Nodes (11): AppError, Domain error rendered as a machine-readable JSON error payload., unprocessable(), decrypt_file(), encrypt_file(), EncryptedFile, Per-file random DEK; DEK wrapped with the KEK from the secret manager., Crypto-shred hook: deleting wrapped DEK rows in DB plus blobs removes access. (+3 more)
### Community 72 - "conftest.py"
Cohesion: 0.52
Nodes (6): client(), db(), db_factory(), fixture, sessionmaker, TestClient
### Community 73 - "imports/service.py"
Cohesion: 0.13
Nodes (20): get_settings(), Settings, normalize_description(), date, record_fingerprint(), magic_kind(), get_blob_store(), new_object_key() (+12 more)
### Community 75 - "AppError"
Cohesion: 0.43
Nodes (5): AppError, Domain error rendered as a machine-readable JSON error payload., unprocessable(), _quota_error(), Exception
### Community 76 - "get_settings"
Cohesion: 0.12
Nodes (30): get_settings(), Settings, send_token_email(), accept_invite(), AcceptInviteBody, confirm_password_reset(), create_invite(), InviteBody (+22 more)
## Knowledge Gaps
- **186 isolated node(s):** `$schema`, `file:///home/k1nq/repos/finance/.kilo/plugins/graphify.js`, `type`, `/home/k1nq/.local/bin/graphify-mcp`, `/home/k1nq/repos/finance/graphify-out/graph.json` (+181 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 339 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **18 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **190 isolated node(s):** `$schema`, `file:///home/k1nq/repos/finance/.kilo/plugins/graphify.js`, `type`, `/home/k1nq/.local/bin/graphify-mcp`, `/home/k1nq/repos/finance/graphify-out/graph.json` (+185 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 343 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **15 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `Session` connect `Session` to `identity/service.py`, `Base`, `set_space_context`, `ledger/service.py`, `conftest.py`, `imports/service.py`, `exports/service.py`?**
_High betweenness centrality (0.085) - this node is a cross-community bridge._
- **Why does `AppError` connect `AppError` to `identity/service.py`, `Base`, `imports/router.py`, `alfa_xlsx.py`, `ledger/service.py`, `TestRocketbankDebitContract`, `imports/service.py`, `main.py`, `exports/router.py`, `Session`, `adapters/base.py`, `test_adapter_contracts.py`, `TestOzonDebitContract`?**
_High betweenness centrality (0.069) - this node is a cross-community bridge._
- **Why does `bad_request()` connect `ledger/service.py` to `identity/service.py`, `budgeting/router.py`, `imports/service.py`, `ledger/router.py`, `AppError`, `Session`?**
- **Why does `Session` connect `Session` to `identity/service.py`, `Base`, `set_space_context`, `imports/service.py`?**
_High betweenness centrality (0.082) - this node is a cross-community bridge._
- **Why does `AppError` connect `AppError` to `identity/service.py`, `set_space_context`, `imports/service.py`, `alfa_xlsx.py`, `TestRocketbankDebitContract`, `get_settings`, `Session`, `test_adapter_contracts.py`, `TestOzonDebitContract`?**
_High betweenness centrality (0.068) - this node is a cross-community bridge._
- **Why does `bad_request()` connect `Session` to `identity/service.py`, `budgeting/router.py`, `imports/service.py`, `AppError`, `ledger/router.py`?**
_High betweenness centrality (0.017) - this node is a cross-community bridge._
- **Are the 2 inferred relationships involving `Session` (e.g. with `UTCDateTime` and `test_postgres_rls_requires_matching_transaction_context()`) actually correct?**
_`Session` has 2 INFERRED edges - model-reasoned connections that need verification._
@@ -359,4 +321,4 @@ _Questions this graph is uniquely positioned to answer:_
- **Are the 3 inferred relationships involving `Base` (e.g. with `downgrade()` and `upgrade()`) actually correct?**
_`Base` has 3 INFERRED edges - model-reasoned connections that need verification._
- **What connects `$schema`, `file:///home/k1nq/repos/finance/.kilo/plugins/graphify.js`, `type` to the rest of the system?**
_186 weakly-connected nodes found - possible documentation gaps or missing edges._
_190 weakly-connected nodes found - possible documentation gaps or missing edges._
File diff suppressed because one or more lines are too long
+4208 -3792
View File
File diff suppressed because it is too large Load Diff
+59 -47
View File
@@ -402,9 +402,9 @@
"semantic_hash": "ed54799a921d10394f826893acb46876"
},
"frontend/package.json": {
"mtime": 1789378006.2922633,
"seen": 1789735433.1581702,
"ast_hash": "10697e744e175f761f5ddb85c7925350",
"mtime": 1789990591.2584393,
"seen": 1790048203.8354623,
"ast_hash": "172e2880b6084c1fc423ea759b99280a",
"semantic_hash": ""
},
"frontend/scripts/generate-api.mjs": {
@@ -450,10 +450,10 @@
"semantic_hash": "0d3865b4525321cf5a6b360f72de5f5a"
},
"frontend/src/app/router.tsx": {
"mtime": 1789357305.2954476,
"seen": 1789377303.0692487,
"ast_hash": "0366437498b1933d212cd103252a0b11",
"semantic_hash": "0366437498b1933d212cd103252a0b11"
"mtime": 1789990322.8798492,
"seen": 1790048203.8354712,
"ast_hash": "9ae2869af5fbf84240281598d14e30b9",
"semantic_hash": ""
},
"frontend/src/components/charts/ColumnChart.tsx": {
"mtime": 1789127463.8093653,
@@ -474,10 +474,10 @@
"semantic_hash": "f581486baa48447ec4c573acef3190ef"
},
"frontend/src/components/layout/AppLayout.tsx": {
"mtime": 1789127423.3794281,
"seen": 1789377303.0692518,
"ast_hash": "ae7a94355ca990e4efc91664db0d86c2",
"semantic_hash": "ae7a94355ca990e4efc91664db0d86c2"
"mtime": 1789990291.3144267,
"seen": 1790048203.8354752,
"ast_hash": "3077033bf2d5b262eaadeb8519b28160",
"semantic_hash": ""
},
"frontend/src/components/layout/LangSwitcher.tsx": {
"mtime": 1789127423.3794281,
@@ -516,10 +516,10 @@
"semantic_hash": "6827eb04b914e8c675e842fea74b5ba5"
},
"frontend/src/components/ui/Modal.tsx": {
"mtime": 1789127142.054039,
"seen": 1789377303.069259,
"ast_hash": "41b09f3998ca6f6d7ad415cceff4b9ea",
"semantic_hash": "41b09f3998ca6f6d7ad415cceff4b9ea"
"mtime": 1789990425.5642233,
"seen": 1790048203.8354838,
"ast_hash": "4250ebda526b86679ba5eb965feccf59",
"semantic_hash": ""
},
"frontend/src/components/ui/MonthSwitcher.tsx": {
"mtime": 1789127142.0860393,
@@ -606,28 +606,28 @@
"semantic_hash": "243512f6e095deeaa29393b7c831777f"
},
"frontend/src/i18n/locales/en.json": {
"mtime": 1789357272.302995,
"seen": 1789377303.0692713,
"ast_hash": "2ce7444db1936d9c5fcca10b901c4afc",
"semantic_hash": "2ce7444db1936d9c5fcca10b901c4afc"
"mtime": 1790048119.281922,
"seen": 1790048203.835497,
"ast_hash": "2a494738341ae850ef916befc380db56",
"semantic_hash": ""
},
"frontend/src/i18n/locales/ru.json": {
"mtime": 1789357272.302995,
"seen": 1789377303.0692723,
"ast_hash": "ae00c080e0b9a10b6004c4094bcdb1ea",
"semantic_hash": "ae00c080e0b9a10b6004c4094bcdb1ea"
"mtime": 1790048119.281922,
"seen": 1790048203.8354976,
"ast_hash": "08995a7a5ca546d034ab9ab05d5621a5",
"semantic_hash": ""
},
"frontend/src/main.tsx": {
"mtime": 1789127518.1660943,
"seen": 1789377303.069273,
"ast_hash": "9219312484aae5efecb6534357f9aadf",
"semantic_hash": "9219312484aae5efecb6534357f9aadf"
"mtime": 1789990619.7178197,
"seen": 1790048203.8354983,
"ast_hash": "b88ee6ed2ae6eab1f3db7097b6912329",
"semantic_hash": ""
},
"frontend/src/pages/AcceptInvitePage.tsx": {
"mtime": 1789357272.302138,
"seen": 1789377303.069274,
"ast_hash": "11475c9e3ab1b5f50cbd8e5e63cca4cb",
"semantic_hash": "11475c9e3ab1b5f50cbd8e5e63cca4cb"
"mtime": 1789990425.548223,
"seen": 1790048203.835499,
"ast_hash": "936aaf3f5f5874de65e1bd31af620936",
"semantic_hash": ""
},
"frontend/src/pages/AccountsPage.tsx": {
"mtime": 1789127567.9147615,
@@ -648,10 +648,10 @@
"semantic_hash": "c1421d4088b0f174dc7ecb082b2a257d"
},
"frontend/src/pages/ImportDetailPage.tsx": {
"mtime": 1789127866.2017796,
"seen": 1789377303.0692773,
"ast_hash": "52adf2e149d39f2b2d77f96640c72b5e",
"semantic_hash": "52adf2e149d39f2b2d77f96640c72b5e"
"mtime": 1790048024.9117486,
"seen": 1790048203.8355024,
"ast_hash": "ebd497c87a8600cf030d905bbdedcb94",
"semantic_hash": ""
},
"frontend/src/pages/ImportsPage.tsx": {
"mtime": 1789127830.2842758,
@@ -660,10 +660,10 @@
"semantic_hash": "721376253dda864ff81a5025691947e0"
},
"frontend/src/pages/LoginPage.tsx": {
"mtime": 1789357272.302138,
"seen": 1789377303.069279,
"ast_hash": "6cb36d7a770d36c3dddf1dbb90ebc545",
"semantic_hash": "6cb36d7a770d36c3dddf1dbb90ebc545"
"mtime": 1789990425.5480313,
"seen": 1790048203.8355043,
"ast_hash": "cb1c4cfbb684a4667e0662b452fb9459",
"semantic_hash": ""
},
"frontend/src/pages/NotFoundPage.tsx": {
"mtime": 1789127518.2310953,
@@ -672,16 +672,16 @@
"semantic_hash": "53e014a77ff3070820a83458af08a5fd"
},
"frontend/src/pages/OperationsPage.tsx": {
"mtime": 1789128734.6790774,
"seen": 1789377303.0692806,
"ast_hash": "f4ae42adff88554aef7c522ce79daca3",
"semantic_hash": "f4ae42adff88554aef7c522ce79daca3"
"mtime": 1790048012.6410372,
"seen": 1790048203.8355062,
"ast_hash": "8820a38967f7c248508cb8c62ea4fa00",
"semantic_hash": ""
},
"frontend/src/pages/ResetPasswordPage.tsx": {
"mtime": 1789357305.2944477,
"seen": 1789377303.0692816,
"ast_hash": "4ecaf25ff754290936fd87db84f19414",
"semantic_hash": "4ecaf25ff754290936fd87db84f19414"
"mtime": 1789990425.558781,
"seen": 1790048203.8355079,
"ast_hash": "2b2c87734763d8abc2af638babc012d6",
"semantic_hash": ""
},
"frontend/src/pages/ReviewQueuePage.tsx": {
"mtime": 1789127802.1288989,
@@ -934,5 +934,17 @@
"seen": 1789987085.8117683,
"ast_hash": "6a47d64fcc136324ca395065a707ef76",
"semantic_hash": ""
},
"frontend/src/components/layout/AuthLayout.tsx": {
"mtime": 1789990425.546223,
"seen": 1790048203.8354764,
"ast_hash": "0b6a76918da0118d0580d2c36c9649e6",
"semantic_hash": ""
},
"frontend/src/pages/OverviewPage.tsx": {
"mtime": 1789990291.3154266,
"seen": 1790048203.835507,
"ast_hash": "02a37c24bbeb6de67b2c6449209a5f0f",
"semantic_hash": ""
}
}