Skip to content

mors119's Tauri daily-check#1

Merged
mors119 merged 1 commit into
mainfrom
reset-architecture
Jun 27, 2026
Merged

mors119's Tauri daily-check#1
mors119 merged 1 commit into
mainfrom
reset-architecture

Conversation

@mors119

@mors119 mors119 commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added issue and pull request templates to streamline bug reports, feature requests, tasks, and code reviews.
    • Introduced a polished desktop app shell with task management, today/schedule views, settings, statistics, and in-app notifications.
    • Added Korean and Japanese language support, plus a locale selector.
  • Bug Fixes

    • Improved data loading and persistence, including migration for existing desktop data.
    • Added safer task validation and clearer error handling for form input.
  • Documentation

    • Expanded project and architecture documentation, including desktop setup and workflow guidance.

@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5f08e3dd-1e00-40c5-a9d1-21dfd0853e57

📥 Commits

Reviewing files that changed from the base of the PR and between 68bdc8d and 55e4417.

⛔ Files ignored due to path filters (19)
  • apps/desktop/bun.lock is excluded by !**/*.lock
  • apps/desktop/public/vite.svg is excluded by !**/*.svg
  • apps/desktop/src-tauri/Cargo.lock is excluded by !**/*.lock
  • apps/desktop/src-tauri/icons/128x128.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/128x128@2x.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/32x32.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/64x64.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square107x107Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square142x142Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square150x150Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square284x284Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square30x30Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square310x310Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square44x44Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square71x71Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/Square89x89Logo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/StoreLogo.png is excluded by !**/*.png
  • apps/desktop/src-tauri/icons/icon.ico is excluded by !**/*.ico
  • apps/desktop/src-tauri/icons/icon.png is excluded by !**/*.png
📒 Files selected for processing (89)
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/ISSUE_TEMPLATE/feature.yml
  • .github/ISSUE_TEMPLATE/task.yml
  • .github/pull_request_template.md
  • .github/workflows/ci.yml
  • .gitignore
  • README.md
  • apps/desktop/README.ko.md
  • apps/desktop/README.md
  • apps/desktop/eslint.config.js
  • apps/desktop/index.html
  • apps/desktop/package.json
  • apps/desktop/src-tauri/.gitignore
  • apps/desktop/src-tauri/Cargo.toml
  • apps/desktop/src-tauri/build.rs
  • apps/desktop/src-tauri/capabilities/default.json
  • apps/desktop/src-tauri/icons/icon.icns
  • apps/desktop/src-tauri/src/lib.rs
  • apps/desktop/src-tauri/src/main.rs
  • apps/desktop/src-tauri/tauri.conf.json
  • apps/desktop/src/app/App.tsx
  • apps/desktop/src/app/bootstrap/initNotifier.ts
  • apps/desktop/src/app/di/notifierDI.ts
  • apps/desktop/src/app/hooks/useAppModel.ts
  • apps/desktop/src/app/layout/ErrorBanner.tsx
  • apps/desktop/src/app/layout/HeaderTabs.tsx
  • apps/desktop/src/app/pages/ManagePage.tsx
  • apps/desktop/src/app/pages/SchedulePage.tsx
  • apps/desktop/src/app/pages/SettingsPage.tsx
  • apps/desktop/src/app/pages/TodayPage.tsx
  • apps/desktop/src/app/store/useDailyCheckStore.ts
  • apps/desktop/src/app/ui/ToastHost.tsx
  • apps/desktop/src/domain/completion/completion.ts
  • apps/desktop/src/domain/completion/index.ts
  • apps/desktop/src/domain/memo/index.ts
  • apps/desktop/src/domain/memo/memo.ts
  • apps/desktop/src/domain/notifier.ts
  • apps/desktop/src/domain/schedule/index.ts
  • apps/desktop/src/domain/schedule/schedule.ts
  • apps/desktop/src/domain/schedule/scheduleLimit.ts
  • apps/desktop/src/domain/schedule/scheduleView.ts
  • apps/desktop/src/domain/scheduleLimit.ts
  • apps/desktop/src/domain/scheduleView.ts
  • apps/desktop/src/domain/stats/stats.ts
  • apps/desktop/src/domain/task/taskFactory.ts
  • apps/desktop/src/features/statistics/components/PeriodStatsPanel.tsx
  • apps/desktop/src/features/statistics/components/StatsPanel.tsx
  • apps/desktop/src/features/statistics/date.ts
  • apps/desktop/src/features/statistics/types.ts
  • apps/desktop/src/features/task/components/TaskForm.tsx
  • apps/desktop/src/features/task/components/TaskList.tsx
  • apps/desktop/src/features/task/components/TaskListItem.tsx
  • apps/desktop/src/features/task/date.ts
  • apps/desktop/src/features/task/hooks/useAutoStopTick.ts
  • apps/desktop/src/features/task/types.ts
  • apps/desktop/src/i18n/context.ts
  • apps/desktop/src/i18n/index.ts
  • apps/desktop/src/i18n/messages/en.ts
  • apps/desktop/src/i18n/messages/index.ts
  • apps/desktop/src/i18n/messages/ja.ts
  • apps/desktop/src/i18n/messages/ko.ts
  • apps/desktop/src/i18n/provider.tsx
  • apps/desktop/src/i18n/translate.ts
  • apps/desktop/src/i18n/useLocale.ts
  • apps/desktop/src/infrastructure/notification/ToastBus.ts
  • apps/desktop/src/infrastructure/notification/ToastNotifier.ts
  • apps/desktop/src/infrastructure/notification/index.ts
  • apps/desktop/src/infrastructure/storage/index.ts
  • apps/desktop/src/infrastructure/tauri/db.ts
  • apps/desktop/src/infrastructure/tauri/index.ts
  • apps/desktop/src/infrastructure/tauri/runtime.ts
  • apps/desktop/src/infrastructure/tauri/shell.ts
  • apps/desktop/src/infrastructure/tauri/store.ts
  • apps/desktop/src/main.tsx
  • apps/desktop/src/shared/hooks/useToast.ts
  • apps/desktop/src/shared/schemas.ts
  • apps/desktop/src/shared/types.ts
  • apps/desktop/src/shared/utils/date.ts
  • apps/desktop/src/styles/index.css
  • apps/desktop/tsconfig.app.json
  • apps/desktop/tsconfig.json
  • apps/desktop/tsconfig.node.json
  • apps/desktop/vite.config.ts
  • apps/server/Cargo.toml
  • apps/server/src/main.rs
  • crates/frilday-core/Cargo.toml
  • crates/frilday-core/src/lib.rs
  • docs/ARCHITECTURE.md

📝 Walkthrough

Walkthrough

Repository templates, CI, and docs are added. The desktop workspace gains build/tooling manifests and Tauri scaffolding. Shared task/schedule/statistics helpers, persistence and localization layers, and the desktop app store, pages, and UI components are introduced.

Changes

Monorepo bootstrap and desktop app

Layer / File(s) Summary
Repository workflow and docs
.github/ISSUE_TEMPLATE/*, .github/pull_request_template.md, .github/workflows/ci.yml, .gitignore, README.md, apps/desktop/README.*, docs/ARCHITECTURE.md
Repo guidance, issue/PR templates, CI, ignore rules, and project documentation are added.
Workspace and crate scaffolding
apps/desktop/package.json, apps/desktop/eslint.config.js, apps/desktop/index.html, apps/desktop/tsconfig*.json, apps/desktop/vite.config.ts, apps/desktop/src/styles/index.css, apps/desktop/src-tauri/*, apps/server/*, crates/frilday-core/*
Desktop build tooling, Tauri manifests/config, and minimal server/core crate skeletons are added.
Shared task model and validation
apps/desktop/src/shared/*, apps/desktop/src/features/task/date.ts, apps/desktop/src/features/task/types.ts, apps/desktop/src/features/statistics/date.ts, apps/desktop/src/features/statistics/types.ts
Shared task types, schemas, date helpers, task factory logic, and feature-level re-exports are added.
Completion, schedule, and stats domain
apps/desktop/src/domain/*
Completion, memo, schedule visibility, weekly schedule, and statistics helpers plus barrel exports are added.
Localization and notification primitives
apps/desktop/src/i18n/context.ts, apps/desktop/src/i18n/index.ts, apps/desktop/src/i18n/messages/*, apps/desktop/src/i18n/translate.ts, apps/desktop/src/i18n/useLocale.ts, apps/desktop/src/infrastructure/notification/*, apps/desktop/src/shared/hooks/useToast.ts
Locale messages, translation helpers, toast bus/notifier plumbing, and the shared toast hook are added.
Persistence and startup bootstrap
apps/desktop/src/i18n/provider.tsx, apps/desktop/src/infrastructure/tauri/*, apps/desktop/src/infrastructure/storage/index.ts, apps/desktop/src/app/bootstrap/*, apps/desktop/src/app/di/*, apps/desktop/src/main.tsx, apps/desktop/src-tauri/*
Locale persistence, Tauri storage/db access, desktop startup entrypoints, and notifier bootstrap wiring are added.
App state and shell support
apps/desktop/src/app/store/useDailyCheckStore.ts, apps/desktop/src/app/hooks/useAppModel.ts, apps/desktop/src/app/layout/*, apps/desktop/src/app/ui/ToastHost.tsx, apps/desktop/src/features/task/hooks/useAutoStopTick.ts
The daily-check store, derived app model, shell widgets, toast host, and auto-stop hook are added.
Task and statistics UI
apps/desktop/src/features/task/components/*, apps/desktop/src/features/statistics/components/*, apps/desktop/src/app/pages/*, apps/desktop/src/app/App.tsx
Task forms, lists, statistics panels, page views, and the top-level App composition are added.

Sequence Diagram(s)

sequenceDiagram
  participant BootstrapApp
  participant appDb
  participant useDailyCheckStore
  participant LocaleProvider
  participant App
  BootstrapApp->>appDb: init() when isTauri()
  BootstrapApp->>useDailyCheckStore: hydrate()
  useDailyCheckStore-->>BootstrapApp: hydrated state
  BootstrapApp->>LocaleProvider: render wrapped app
  LocaleProvider->>App: provide LocaleContext
Loading

Estimated code review effort

🎯 5 (Critical) | ⏱️ ~120 minutes

Poem

🐰 I dug a burrow full of signs,
of schedules, stats, and tidy lines.
The toast bells rang, the timers hopped,
the pages bloomed and bugs were stopped.
DailyCheck twitches its happy nose ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch reset-architecture

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mors119 mors119 merged commit 46c3476 into main Jun 27, 2026
1 of 3 checks passed
@mors119 mors119 deleted the reset-architecture branch June 27, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant