Skip to content

Conversation

@marcelmarais
Copy link
Owner

@marcelmarais marcelmarais commented Jan 5, 2026

Note

Introduces habit icon support across creation, editing, storage, and display.

  • New HabitIcon type, DEFAULT_HABIT_ICON, and HABIT_ICONS in ipc/habit-reader.ts; Habit now includes optional icon; createHabit/updateHabit accept and persist icon
  • New HabitIconPicker component with Phosphor icons and getHabitIconComponent
  • New EditHabitDialog for updating name/target/period/icon; integrated into settings-dialog.tsx
  • CreateHabitDialog now supports choosing an icon and shows period summary text
  • habit-overlay.tsx displays the selected habit icon instead of a generic target when not completed
  • Hooks (use-habits.ts) extended: useCreateHabit accepts icon; new useUpdateHabit for optimistic habit updates
  • Version bump in tauri.conf.json from 0.2.4 to 0.2.5

Written by Cursor Bugbot for commit ce5312a. This will update automatically on new commits. Configure here.

marcelatjamie added 2 commits January 5, 2026 14:44
- Introduced EditHabitDialog for updating existing habits with validation and feedback.
- Implemented HabitIconPicker for selecting icons associated with habits.
- Enhanced CreateHabitDialog to include icon selection and updated state management.
- Updated habit management hooks to support icon updates during habit creation and editing.
- Modified HabitOverlay and SettingsDialog to display habit icons and integrate editing features.
@marcelmarais marcelmarais merged commit 8ed2a94 into main Jan 5, 2026
3 checks passed
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.

2 participants