How mudaeng/incomefront works
incomefront is a Korean-language frontend for managing a KRW/USD dividend portfolio. Users sign in, choose an account, and review holdings, returns, and dividends; they can manage accounts and trades, inspect securities, or import broker history. Admin screens cover batch, price-search, client-token, and tax-free-dividend records. The graph separates routed workflows, shared UI, domain helpers, and API access. Edges reflect the shown route/import/call evidence and README descriptions; unsampled page internals are not asserted.
Main entry points: queries.ts Query and mutation hooks · App.tsx Routes and guards · AdminLayout.tsx Admin navigation · AuthProvider.tsx Session provider
Components 29
Portfolio workflows
- Integrated balance
src/pages/DashboardPage.tsx - Security detail
src/pages/SecurityDetailPage.tsx - Dividend views
src/pages/DividendsPage.tsx - Period returns
src/pages/ReturnsPage.tsx
Account and imports
- Account management
src/pages/AccountsPage.tsx - Toss import
src/pages/TossImportPage.tsx - Broker import flow
src/components/BrokerImportFlow.tsx
Administration
- Admin navigation
src/pages/AdminLayout.tsx - Batch history
src/pages/AdminBatchPage.tsx - Price searches
src/pages/AdminPriceSearchPage.tsx - Client tokens
src/pages/AdminClientTokenPage.tsx - Tax-free dividends
src/pages/AdminTaxFreeDividendPage.tsx
Shared application
- Routes and guards
src/App.tsx - Login and callback
src/pages/LoginPage.tsx - Auth callback
src/pages/AuthCallbackPage.tsx - Session provider
src/auth/AuthProvider.tsx - Navigation layout
src/components/Layout.tsx - Account selector
src/components/AccountSelect.tsx - Security search
src/components/SecuritySearch.tsx
API and domain
- Query and mutation hooks
src/api/queries.ts - HTTP and token client
src/api/client.ts - API data types
src/api/types.ts - Account rules
src/lib/account.ts - Broker labels
src/lib/securityCompany.ts - Dividend tax rules
src/lib/dividendTax.ts - Broker import parsing
src/lib/brokerImport.ts
Other components
- Portfolio user
- Income portfolio API
- Google sign-in
Connections 35
- Portfolio user → Routes and guards: uses
README.md - Routes and guards → Integrated balance: routes to
src/App.tsx - Routes and guards → Security detail: routes to
README.md - Routes and guards → Dividend views: routes to
README.md - Routes and guards → Period returns: routes to
README.md - Routes and guards → Account management: routes to
src/App.tsx - Routes and guards → Toss import: routes to
src/App.tsx - Routes and guards → Session provider: provides session
src/App.tsx - Routes and guards → Navigation layout: wraps routes
src/App.tsx - Portfolio user → Login and callback: signs in
README.md - Google sign-in → HTTP and token client: initiates login
src/api/client.ts - Auth callback → Session provider: completes login
src/pages/AuthCallbackPage.tsx - Session provider → HTTP and token client: issues token
src/auth/AuthProvider.tsx - Session provider → Query and mutation hooks: loads profile
src/auth/AuthProvider.tsx - Integrated balance → Query and mutation hooks: loads balance
src/pages/DashboardPage.tsx - Security detail → Query and mutation hooks: loads security data
src/pages/SecurityDetailPage.tsx - Dividend views → Query and mutation hooks: loads dividends
src/pages/DividendsPage.tsx - Period returns → Query and mutation hooks: loads returns
src/pages/ReturnsPage.tsx - Account management → Query and mutation hooks: manages accounts
src/pages/AccountsPage.tsx - Toss import → Broker import flow: uses import flow
src/pages/TossImportPage.tsx - Broker import flow → Query and mutation hooks: submits trades
src/components/BrokerImportFlow.tsx - Broker import flow → Broker import parsing: parses history
src/components/BrokerImportFlow.tsx - Integrated balance → Account selector: selects account
src/pages/DashboardPage.tsx - Security detail → Security search: searches securities
src/pages/SecurityDetailPage.tsx - Dividend views → Dividend tax rules: applies tax mode
src/pages/DividendsPage.tsx - Admin navigation → Batch history: routes to
README.md - Admin navigation → Price searches: routes to
README.md - Admin navigation → Client tokens: routes to
README.md - Admin navigation → Tax-free dividends: routes to
README.md - Price searches → Query and mutation hooks: loads records
src/pages/AdminPriceSearchPage.tsx - Client tokens → Query and mutation hooks: manages tokens
src/pages/AdminClientTokenPage.tsx - Query and mutation hooks → HTTP and token client: sends requests
src/api/queries.ts - HTTP and token client → Income portfolio API: calls API
src/api/client.ts - Security search → Query and mutation hooks: searches API
src/components/SecuritySearch.tsx - Account rules → Broker labels: uses labels
src/lib/account.ts