How backmeupplz/todorant-frontend works
Todorant is a Vue frontend for managing and planning todos. The principal workflow presents current or planned tasks, lets users edit and act on them, and sends task operations through the API; authenticated clients also synchronize through sockets. The source index supports additional product areas including delegation, reports, tags, settings, and calendar integration. Unsampled views are represented by their exact directories; their internal call paths are not inferred. Edges reflect shown imports, calls, or documented API operations.
Main entry points: api.ts HTTP API · TodoCard.vue Todo card · index.ts Vuex state · main.ts Vue application
Components 25
Application shell
- Vue application
src/main.ts - App shell
src/App.vue - Vuex state
src/store/index.ts
Todo workflow
- Current tasks
src/views/current - Task planning
src/views/planning - Todo card
src/components/TodoCard/TodoCard.vue - Todo text
src/components/TodoCard/TodoText.vue - Todo form
src/components/TodoForm/TodoForm.vue - Edit todo
src/views/EditTodo.vue - Todo model
src/models/Todo.ts
Data and sync
- HTTP API
src/utils/api.ts - Socket setup
src/utils/sockets/index.ts - Sync manager
src/utils/sockets/SyncManager.ts - Socket transport
src/utils/sockets/socketIO.ts - Socket state
src/store/modules/SocketsStore.ts - Todo encryption
src/utils/encryption.ts
Product features
- Delegation
src/views/delegation - Progress reports
src/views/Report.vue - Public reports
src/views/PublicReport.vue - Settings
src/views/Settings.vue - Settings state
src/store/modules/SettingsStore.ts - Tags and epics
src/views/settings - Calendar setup
src/views/static/GoogleCalendarSetup.vue
Other components
- User
- Todorant backend
Connections 33
- User → Vue application: uses
src/main.ts - Vue application → App shell: renders
src/main.ts - Vue application → Vuex state: mounts with
src/main.ts - Vue application → Socket setup: starts
src/main.ts - App shell → Vuex state: reads state
src/App.vue - Current tasks → Todo card: renders
src/views/current/CurrentTodo.vue - Current tasks → HTTP API: calls
src/views/current/CurrentTodo.vue - Current tasks → Edit todo: opens
src/views/current/CurrentTodo.vue - Task planning → Todo card: renders
src/views/planning/Planning.vue - Task planning → HTTP API: calls
src/views/planning/Planning.vue - Task planning → Edit todo: opens
src/views/planning/Planning.vue - Todo card → Todo text: renders
src/components/TodoCard/TodoCard.vue - Todo card → Todo model: uses
src/components/TodoCard/TodoCard.vue - Todo card → HTTP API: calls
src/components/TodoCard/TodoCard.vue - Todo card → Todo encryption: decrypts with
src/components/TodoCard/TodoCard.vue - Todo form → Todo model: uses
src/components/TodoForm/TodoForm.vue - Edit todo → Todo model: edits
src/models/Todo.ts - HTTP API → Todorant backend: sends HTTP
src/utils/api.ts - HTTP API → Vuex state: reads state
src/utils/api.ts - Socket setup → Sync manager: uses
src/utils/sockets/index.ts - Socket setup → Socket transport: uses
src/utils/sockets/index.ts - Socket setup → Socket state: uses
src/utils/sockets/index.ts - Sync manager → Socket transport: emits and listens
src/utils/sockets/SyncManager.ts - Sync manager → Socket state: checks authorization
src/utils/sockets/SyncManager.ts - Sync manager → Vuex state: reads state
src/utils/sockets/SyncManager.ts - Settings → HTTP API: calls
src/views/Settings.vue - Settings → Vuex state: reads state
src/views/Settings.vue - Settings → Settings state: configures
- Delegation → HTTP API: uses API
- Progress reports → HTTP API: uses API
- Public reports → HTTP API: uses API
- Tags and epics → HTTP API: uses API
src/views/settings/SingleTag.vue - Calendar setup → Settings state: configures