Skip to content

Conversation

@Sanjeetkushwaha11111
Copy link

Summary

Adds a dynamic notch face with user-selectable moods.

Changes

  • New SwiftUI view NotchMoodView that renders eyes/mouth/eyebrows parametrically.
  • Enum Mood + MoodParams with presets (happy, neutral, sad, surprised).
  • Idle animations: blink + subtle breathing.
  • Persistence via @AppStorage("selectedMood").
  • Settings/Context menu entry to switch moods.

Testing

  • Built & tested on macOS 14/15/26.
  • Verified notch rendering, menu changes, persistence across relaunch.
  • CPU idle ≤ 2% during animation.

Notes

  • Pure SwiftUI, no new dependencies.
  • Backwards compatible; defaults to happy.

### Summary
Adds a dynamic notch face with user-selectable moods.

### Changes
- New SwiftUI view `NotchMoodView` that renders eyes/mouth/eyebrows parametrically.
- Enum `Mood` + `MoodParams` with presets (happy, neutral, sad, angry, sleepy, love, bored, surprised).
- Idle animations: blink + subtle breathing.
- Persistence via @AppStorage("selectedMood").
- Settings/Context menu entry to switch moods.

### Testing
- Built & tested on macOS 14/15.
- Verified notch rendering, menu changes, persistence across relaunch.
- CPU idle ≤ 2% during animation.

### Notes
- Pure SwiftUI, no new dependencies.
- Backwards compatible; defaults to `happy`.
@Sanjeetkushwaha11111
Copy link
Author

Screenshot 2025-10-08 at 22 01 27 Screenshot 2025-10-08 at 22 01 11 Screenshot 2025-10-08 at 22 00 58

@Sanjeetkushwaha11111
Copy link
Author

@Alexander5015
can we merge this feature or its not required?

@Sanjeetkushwaha11111
Copy link
Author

@Alexander5015
zz heyyyyyy?

@Alexander5015
Copy link
Member

I haven't had a chance to review it yet. When I do, I will leave some feedback in a review

Copy link
Member

@Alexander5015 Alexander5015 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve the conflicts, and use UserDefaults for persistence. I know we currently have a mix, but most of it is handled in Constants.swift using this library. Once that is done, I can merge the changes.

@Sanjeetkushwaha11111
Copy link
Author

Please resolve the conflicts, and use UserDefaults for persistence. I know we currently have a mix, but most of it is handled in Constants.swift using this library. Once that is done, I can merge the changes.

sure

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