Skip to content

feat(ui): improve sleep flow copy and add button icons#33

Merged
vertefra merged 1 commit intomasterfrom
sleep_language
Mar 1, 2026
Merged

feat(ui): improve sleep flow copy and add button icons#33
vertefra merged 1 commit intomasterfrom
sleep_language

Conversation

@emypeeler
Copy link
Copy Markdown
Contributor

Summary

Improves the sleep-related flow views with clearer copy, button icons, and reordered actions to better guide users toward thoughtful decisions.

Changes

BackToAnOldFlame

  • Add icons to all three action buttons (trophy, hands-clapping, clock)
  • Primary: "Yes, I want it" with trophy icon
  • Secondary: "I don't need it" with hands-clapping icon
  • Tertiary: "I'm still not sure" with clock icon

EarlyReturnFromSleep

  • Reorder buttons to emphasize "I don't need it" as primary (variant: primaryEmphasized)
  • Rename "I'll wait" to "Sleep on it"
  • Add icons to all buttons (hands-clapping, alarm, trophy)

SleepOnIt

  • Refine subtitle copy and layout (line break for readability)
  • Improve success state: separate "Reminder saved" from countdown
  • Add encouragement text showing committed wait duration

ESLint

  • Add test-results/** to ignores (Playwright artifacts)

Modified files

  • views/BackToAnOldFlame.tsx
  • views/EarlyReturnFromSleep.tsx
  • views/SleepOnIt.tsx
  • eslint.config.mts

Breaking changes

None

Testing notes

  • Manual verification of sleep flow views recommended
  • E2e tests: setup may fail if extension overlay does not load in test environment

Made with Cursor

- Add icons to BackToAnOldFlame, EarlyReturnFromSleep buttons
- Reorder EarlyReturnFromSleep: emphasize I don't need it as primary
- Refine SleepOnIt copy and success message layout
- Ignore test-results in ESLint config

Made-with: Cursor
@vertefra vertefra merged commit 80e8314 into master Mar 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants