How ztygod/tynote works
Tynote is a Tauri/React desktop note-taking app. Its visible workflow is navigating to a feature, then managing notes, starred items, quick links, todos, or search results through page components and shared state. The README documents broader capabilities such as AI chat and inbox capture; sampled code shows search’s ask mode but not a live AI service, and the inbox page is a stub. Edges reflect explicit README statements or source-index references; unsampled implementation details are not inferred.
Main entry points: index.ts Route map · search-dialog.tsx Global search dialog · index.tsx Starred notes · main.tsx React entry
Components 23
Application shell
- React entry
src/main.tsx - Route map
src/router/index.ts - App layout
src/components/layout/app-layout.tsx
Notes and links
- Home page
src/pages/home/index.tsx - Quick links manager
src/pages/home/components/quicklinks-manager.tsx - Quick-link state
src/store/quicklinks-store.ts - Quick-link repository
src/features/quicklinks/model/repository.ts - Starred notes
src/pages/starred/index.tsx - Starred state
src/store/starred-store.ts - Filter presets
src/store/starred-preference-store.ts
Productivity views
- Dashboard
src/pages/dashboard/index.tsx - Todo workspace
src/pages/todo/index.tsx - Todo views
src/pages/todo/components/table.tsx - Inbox capture
src/pages/inbox/index.tsx
Search and discovery
- Global search dialog
src/components/search/search-dialog.tsx - Search filters
src/components/search/search-filters.tsx - Search results
src/components/search/search-results.tsx - Search state
src/store/search-store.ts
State and presentation
- UI primitives
src/components/ui - Page themes
src/lib/page-theme.ts - Browser storage
src/utils/storage.ts
Other components
- Desktop user
- AI assistant
Connections 28
- Desktop user → React entry: opens app
README.md - React entry → Route map: loads routes
src/main.tsx - Route map → App layout: renders shell
src/router/index.ts - Route map → Home page: routes to
src/router/index.ts - Route map → Dashboard: routes to
src/router/index.ts - Route map → Todo workspace: routes to
src/router/index.ts - Route map → Starred notes: routes to
src/router/index.ts - Route map → Inbox capture: routes to
src/router/index.ts - React entry → Global search dialog: mounts search
src/main.tsx - Home page → Quick links manager: offers management
- Quick links manager → Quick-link state: updates state
src/pages/home/components/quicklinks-manager.tsx - Quick-link state → Quick-link repository: uses repository
src/store/quicklinks-store.ts - Quick-link repository → Browser storage: persists links
src/features/quicklinks/model/repository.ts - Starred notes → Starred state: loads items
src/pages/starred/index.tsx - Starred notes → Filter presets: loads presets
src/pages/starred/index.tsx - Starred state → Browser storage: persists items
src/store/starred-store.ts - Filter presets → Browser storage: persists presets
src/store/starred-preference-store.ts - Todo workspace → Todo views: renders views
src/pages/todo/index.tsx - Global search dialog → Search state: reads and updates
src/components/search/search-dialog.tsx - Global search dialog → Search filters: renders filters
src/components/search/search-dialog.tsx - Global search dialog → Search results: renders results
src/components/search/search-dialog.tsx - Global search dialog → AI assistant: offers ask mode
README.md - Global search dialog → UI primitives: uses controls
src/components/search/search-dialog.tsx - Search filters → Search state: updates filters
src/components/search/search-filters.tsx - Search results → Search state: reads results
src/components/search/search-results.tsx - Dashboard → Page themes: uses theme
src/pages/dashboard/index.tsx - Starred notes → Page themes: uses theme
src/pages/starred/index.tsx - Todo workspace → UI primitives: uses controls
src/pages/todo/index.tsx