Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FL-3897] Happy mode #3863

Merged
merged 8 commits into from
Sep 7, 2024
Merged

[FL-3897] Happy mode #3863

merged 8 commits into from
Sep 7, 2024

Conversation

portasynthinca3
Copy link
Member

@portasynthinca3 portasynthinca3 commented Aug 30, 2024

What's new

Added a mode in which the dolphin never gets angry, as requested in #3843. This mode can be toggled via Settings > Desktop > Happy Mode with different screens displayed depending on whether the setting is currently enabled or disabled:
Happy mode enabled
Happy mode disabled

This is implemented by always reporting the internal butthurt counter as being at zero when the setting is enabled.

In addition, the "Power OFF" screen will never show the sad dolphin when this mode is enabled:
Power off screen in Happy mode
Power off screen with Happy mode switched off

Verification

  • Build and flash the firmware with DOLPHIN_DEBUG in order to decrease waiting times
  • Wait for the dolphin to get angry
  • Turn on the setting and return to the desktop
  • Verify that the animation is now one of the happy ones
  • Verify that it now says "Mood: Happy" in the passport
  • Verify that the Power OFF screen does not show the sad dolphin image and text
  • Turn the setting back off again
  • Verify that the desktop animation is now one of the sad/angry ones
  • Verify that it now says "Mood: Angry" in the passport
  • Verify that the Power OFF screen now does show the sad dolphin image and text

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

Copy link

github-actions bot commented Aug 30, 2024

Compiled f7 firmware for commit 58f29f84:

@portasynthinca3 portasynthinca3 marked this pull request as ready for review August 30, 2024 14:01
@skotopes skotopes marked this pull request as draft September 5, 2024 13:26
@portasynthinca3 portasynthinca3 force-pushed the portasynthinca3/3897-happy-mode branch from 8493607 to 185d51b Compare September 6, 2024 13:59
@portasynthinca3 portasynthinca3 marked this pull request as ready for review September 6, 2024 15:03
@skotopes skotopes merged commit 266d4b3 into dev Sep 7, 2024
11 checks passed
@skotopes skotopes deleted the portasynthinca3/3897-happy-mode branch September 7, 2024 11:54
@ivuorinen
Copy link

Thank you ❤️

ofabel pushed a commit to ofabel/flipperzero-firmware that referenced this pull request Sep 26, 2024
* feat: happy mode
* feat: remove sad dolphin when powering off in happy mode
* style: address review comments
* Dolphin: add missing furi_checks
* Komi: add missing region initialization on startup

Co-authored-by: あく <alleteam@gmail.com>
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.

3 participants