How piqlincrypto-a11y/inoutappcommittest works
InOut Finance is a desktop personal-finance app: users record and organize transactions, manage passive income/expense assets, and review balances, analytics, and exports. The UI routes requests through the web API or Electron IPC to domain services, repositories, and local SQLite; Telegram offers a second interaction channel over the same services. The graph preserves the documented page and integration branches, but unsampled page/store wiring is not inferred. Edges reflect only shown imports, calls, or explicit entry-point routing.
Main entry points: App.tsx Workspace shell · ipc.ts IPC handlers · web-api.ts Web API bridge · bot.ts Telegram bot
Components 27
Finance workspace
- Workspace shell
src/App.tsx - Dashboard
src/pages/dashboard.tsx - Transactions
src/pages/transactions.tsx - Categories
src/pages/categories.tsx - Passive assets
src/pages/passive-income.tsx - Analytics
src/pages/analytics.tsx - Transaction search
src/pages/search.tsx - Settings
src/pages/settings.tsx
Finance services
- Asset service
src/services/asset-service.ts - Category service
src/services/category-service.ts - Transaction service
src/services/transaction-service.ts - Dashboard aggregation
src/services/dashboard-service.ts - Settings service
src/services/settings-service.ts - Import and export
src/services/export-service.ts
Local persistence
- SQLite database
src/db/client.ts - Transaction repository
src/db/repositories/transaction-repository.ts - Asset repository
src/db/repositories/asset-repository.ts - Category repository
src/db/repositories/category-repository.ts - Settings repository
src/db/repositories/settings-repository.ts
Desktop runtime
- Renderer startup
src/main.tsx - Web API bridge
src/web-api.ts - Electron main process
src/main/index.ts - IPC handlers
src/main/ipc.ts - Preload bridge
src/preload/index.ts
Other channels
- Telegram bot
src/telegram/bot.ts
Other components
- Finance user
- Telegram platform
Connections 45
- Finance user → Workspace shell: uses
src/App.tsx - Workspace shell → Dashboard: routes to
src/App.tsx - Workspace shell → Transactions: routes to
src/App.tsx - Workspace shell → Categories: routes to
src/App.tsx - Workspace shell → Passive assets: routes to
src/App.tsx - Workspace shell → Analytics: routes to
src/App.tsx - Workspace shell → Transaction search: routes to
src/App.tsx - Workspace shell → Settings: routes to
src/App.tsx - Renderer startup → Workspace shell: renders
src/main.tsx - Renderer startup → Web API bridge: initializes
src/main.tsx - Transactions → Web API bridge: uses
- Categories → Web API bridge: uses
- Passive assets → Web API bridge: uses
- Dashboard → Web API bridge: uses
- Analytics → Web API bridge: uses
- Transaction search → Web API bridge: uses
- Settings → Web API bridge: uses
- Electron main process → IPC handlers: registers
src/main/index.ts - Electron main process → Telegram bot: starts
src/main/index.ts - Preload bridge → IPC handlers: exposes calls
- Web API bridge → IPC handlers: dispatches
- IPC handlers → Transaction service: dispatches
src/main/ipc.ts - IPC handlers → Category service: dispatches
src/main/ipc.ts - IPC handlers → Asset service: dispatches
src/main/ipc.ts - IPC handlers → Dashboard aggregation: dispatches
src/main/ipc.ts - IPC handlers → Settings service: dispatches
src/main/ipc.ts - IPC handlers → Import and export: dispatches
src/main/ipc.ts - Transaction service → Transaction repository: delegates to
src/services/transaction-service.ts - Asset service → Asset repository: delegates to
src/services/asset-service.ts - Category service → Category repository: delegates to
src/services/category-service.ts - Settings service → Settings repository: delegates to
src/services/settings-service.ts - Dashboard aggregation → Transaction service: queries
src/services/dashboard-service.ts - Dashboard aggregation → Asset service: queries
src/services/dashboard-service.ts - Transaction repository → SQLite database: reads and writes
src/db/repositories/transaction-repository.ts - Asset repository → SQLite database: reads and writes
src/db/repositories/asset-repository.ts - Category repository → SQLite database: reads and writes
src/db/repositories/category-repository.ts - Settings repository → SQLite database: reads and writes
src/db/repositories/settings-repository.ts - Import and export → SQLite database: imports and exports
src/services/export-service.ts - Telegram platform → Telegram bot: sends commands
src/telegram/bot.ts - Telegram bot → Transaction service: calls
src/telegram/bot.ts - Telegram bot → Category service: calls
src/telegram/bot.ts - Telegram bot → Asset service: calls
src/telegram/bot.ts - Telegram bot → Settings service: calls
src/telegram/bot.ts - Telegram bot → Import and export: calls
src/telegram/bot.ts - Telegram bot → Dashboard aggregation: calls
src/telegram/bot.ts