Commit Graph

861 Commits

Author SHA1 Message Date
Lefucjusz
181feb4f40 cleanup 2024-08-20 15:40:34 +02:00
Lefucjusz
df6d7848f5 [BH-2056] Add bedside lamp settings
Added possibility to customize
brightness and activity time
of bedside lamp functionality.
2024-08-19 15:58:30 +02:00
Lefucjusz
d558e60a4d [CP-2013] Add time sync endpoint
Added endpoint that can be used
to synchronize time via MC
protocol.
2024-08-13 16:13:12 +02:00
Lefucjusz
85a6dba50d [BH-2054] Fix build with CONFIG_ENABLE_TEMP set to ON
* Fix of the issue that project build would
fail if trying to run it with enabled
temperature sensor. The sensor itself is
not functional due to hardware issue,
but if such option is present in the
codebase, it should be kept working.
* Cleanups.
2024-08-09 14:59:34 +02:00
Maciej Gibowicz
9b9c14588f [BH-2033] Fix timer settings for fade in and fade out
The newly set duration for the timer will never be zero.
2024-08-09 14:01:59 +02:00
Dawid Wojtas
0d63700892 [BH-2031] Add relaxation fade option in settings
It adds a new option in settings menu that
configures the fade effect in the relaxation app.
2024-08-09 14:01:59 +02:00
Maciej Gibowicz
aee82f548d [BH-2032] Add fade in and fade out support for very short songs
If the song is shorter than the fade in and out durations, we reduce the
target volume value so that both phases have time to complete.
2024-08-09 14:01:59 +02:00
Maciej Gibowicz
f41c227199 [BH-2029] Add volume control during fade in and fade out
During the fade in or fade out phase, when the user turns the encoder to
set the volume, the fade in or fade out phase continues and the target
volume is set to the one requested by the user
2024-08-09 14:01:59 +02:00
Maciej Gibowicz
18e9fc0e1a [BH-2033] Add fade in and fade out for relaxation
Relaxation sounds will fade in and out
so that the songs play smoothly.
2024-08-09 14:01:59 +02:00
Lefucjusz
6059ac716e [BH-2034] Various cleanups and refactors across the OS
* Removed some legacy files that were
compiled, but not used anywhere.
* Cleaned-up ImageManager and
FontManager implementations, trying
to use RAII wherever possible.
* Fixed minor bugs in Font.cpp
implementation.
* Removed unused includes.
* Other minor cleanups and refactors.
2024-08-09 09:13:30 +02:00
Maciej Gibowicz
08651cef20 [BH-1716] Add versioning for private assets
Private assets will be versioned from now on. By modifying the
repository content we release a new version of the assets.
2024-08-06 13:34:45 +02:00
Lefucjusz
1c4ff1d1a6 [BH-2042] Fix misaligned pause and bell icons
Fix of the issue that pause and bell
icons were misaligned in Power Nap,
Meditation and Focus Timer after
introduction of BH-2013.
2024-07-17 12:10:19 +02:00
Lefucjusz
5de4026e6d [BH-2038] Remove redundant frames around screen
* Removed frames that were drawn around the
entire screen, as they're not present in
the design and are not even visible,
as the very edge of the display is
covered by the casing.
* Cleanups.
2024-07-12 13:51:09 +02:00
Lefucjusz
f7c07cf08c [BH-2037] Fix text parsing on factory reset screen
Fix of a regression introduced by c6192fd9,
resulting in BellOptionWithDescriptionWindow
not parsing rich text in case no token map
is provided.
2024-07-12 10:45:28 +02:00
Maciej Gibowicz
6ec08d9f4a [BH-2036] Fix missing label in the countdown to the start of meditation
The meditation start countdown screen will be consistent with the
meditation screen.
2024-07-12 10:09:44 +02:00
Lefucjusz
024faff77e [BH-2035] Update relaxation paused window
Updated looped relaxation windows to match
new design.
Fixed issue with misaligned pause button
on timed relaxation windows.
2024-07-12 09:10:28 +02:00
Dawid Wojtas
1ba589f9c8 [BH-2026] Add mechanism for getting previously OS version
Task relates to What’s new feature that needs to
know which version of MuditaOS was installed
before the update.
Normally What’s new uses a database to get the
previous version, but after the first run this
field will be empty.
To bypass this issue the PureRecovery needs to
save the previous version in recovery_status.json
that is generated after the update process.
2024-07-10 12:45:46 +02:00
Maciej Gibowicz
0de8e81a0c [BH-2025] Add alarm handling in What`s new application
When the alarm rings during the What`s new application, the system
handles the alarm and closes the current application. After the alarm
ends, we go to the main application without showing any more new
features.
2024-07-10 12:45:46 +02:00
Maciej Gibowicz
3f5c69bd25 [BH-2021] Add low battery notifications for What`s new application
If the battery level drops below 10%, a low battery notification will be
displayed
2024-07-10 12:45:46 +02:00
Lefucjusz
d1f290fa44 [BH-1988][BH-1990] Add What's New database and translations
* Added database with What's New entries.
* Added translations to What's New app.
* Updated image assets version to the
one containing What's New icons.
* Design fixes.
* Minor issues fixes.
2024-07-10 12:45:46 +02:00
Lefucjusz
c6192fd912 [BH-1989][BH-1990] Core functionality of What's New app
Implemented core functionality of What's New
application.
2024-07-10 12:45:46 +02:00
Maciej Gibowicz
5a2a02a1cd [BH-1989] Add mechanism for downloading What's New entries
Created a parser that downloads all the necessary
entries from the database to be displayed in
What's New application.
2024-07-10 12:45:46 +02:00
Maciej Gibowicz
c77a104f3d [BH-1991] Creating a new application "What`s new"
We create a new "what's new" application, which starts after the update
is completed and when the saved version number is different from the
current one.
2024-07-10 12:45:46 +02:00
Maciej Gibowicz
b1648fb53a [BH-2013] Add label with the name of the application on the countdown screens
Harmony's UI will be consistent so that on each screen showing the
elapsed time on a timer (Meditation, Relaxation and Focus Timer, Power
nap) will have words indicating which feature is active. This is how it
is done with the focus timer and has been added to other timers as well.
2024-07-03 10:55:10 +02:00
Lefucjusz
c65b507ba1 [BH-2019] Fix alarm sounds list after selected file deletion
Fix of the issue that removing custom
alarm file while the alarm was ringing
would result in "Unsupported media file"
popup being shown for any file on
alarm sound selection list.
2024-06-26 11:43:18 +02:00
Lefucjusz
92e75d9aaf [BH-1909] Commit settings database migration
Commit changes that have been introduced
to settings database to change alarm
sounds filenames to absolute paths
to those files.
2024-06-17 16:28:21 +02:00
Maciej Gibowicz
10d9658a4a [BH-2005] Add volume setting for focus timer
The user will be able to control the volume of notifications in the
Focus Timer application
2024-06-12 10:38:27 +02:00
Lefucjusz
3fe17b7c2a [BH-1786] Bump ecoboot version
Bump ecoboot version to the one
containing fix for MSC mode freeze.
2024-06-04 16:39:41 +02:00
Lefucjusz
290e930d0f [BH-2000] Change order of entries in Settings
Changed order of entries in Settings menu, so
that they're grouped in logical categories.
2024-06-03 13:17:14 +02:00
Maciej Gibowicz
1eaf2e35bf [BH-1946] Add update instructions in settings
User will see instructions on how to update Harmony operating system at
any time in settings.
2024-05-31 09:15:09 +02:00
Maciej Gibowicz
49f432cc62 [BH-1945] Add update instructions at the end of onboarding
User will see instructions on updating Harmony's OS at the end of
onboarding.
2024-05-29 15:52:24 +02:00
Maciej Gibowicz
5a70754a4e [BH-1971] Changing the refresh rate of the progress bar screen
The longer the time countdown on the progress bar, the less frequently
the screen is refreshed, which results in less power consumption when
running the Meditation, Relaxation, Power Nap and Focus Timer
applications.
2024-05-15 12:45:29 +02:00
Maciej Gibowicz
3ff04e06c9 [BH-1944] Changing the rounding method for minutes in relaxation
Only at startup, when the number of seconds is less than 30, the minutes
are rounded down, otherwise they are rounded up
2024-05-10 11:45:47 +02:00
Lefucjusz
5d4d03665f [BH-1955] Fix incorrect Polish conjugation in Focus Timer
Fixed incorrect conjugation of word
"minuta" on Focus Timer summary
screen.
2024-05-07 10:30:39 +02:00
Lefucjusz
e22c48489a [BH-1954] Fix incorrect English form in Focus Timer
Fixed incorrect English form of
"minute" word in copy shown on
focus session summary screen.
2024-05-07 10:16:22 +02:00
Lefucjusz
703c7be7b9 [BH-1952] Bump Ecoboot version
Bump Ecoboot version for Harmony
to 2.0.11.
2024-05-06 15:45:51 +02:00
rrandomsky
4452d078f9 [BH-1942][BH-1944] New countdown timer in the Power Nap and the Relaxation app
The countdown timer in  in the Power Nap and the Relaxation app has been changed
according to the new design. Now the countdown timer only shows the minutes.
2024-04-30 10:03:36 +02:00
rrandomsky
d9e1051500 [BH-1943] New countdown timer design in the meditation app
The countdown timer in the Meditation app has been changed
according to the new design. Now the countdown timer only shows the seconds
in the countdown window and only the minutes in the ongoing meditation window.
2024-04-29 11:38:07 +02:00
Lefucjusz
02fd01a1ad [BH-1848] Post-rebase fixes
* Fixes for the issues that caused builds
and unit tests to fail.
* Added changelog entry.
2024-04-26 14:05:04 +02:00
rrandomsky
b8f671d160 [BH-1941] Add translations for Focus timer app
Added a translations for new texts in Focus timer application.
2024-04-26 14:05:04 +02:00
Maciej Gibowicz
e8612b2598 [BH-1901] Add long breaks to focus timer application
The user can set the duration and frequency of the long break in the
settings.
2024-04-26 14:05:04 +02:00
rrandomsky
ff089da0da [BH-1899] Add low battery screen before starting focus session
If the battery is discharged below 10%, the user gets a
notification before starting the focus session.
2024-04-26 14:05:04 +02:00
Dawid Wojtas
6719ccf931 [BH-1940] New progress time widget
This widget allows to display minutes and
also seconds when 1 minute left to the end of
the timer.
2024-04-26 14:05:04 +02:00
Maciej Gibowicz
ecd6189e12 [BH-1900] Add focus time, repeats and short break time to settings
The user will be able to set the time and number of repetitions for the
focus session and the time of a short break in the Focus Timer
application
2024-04-26 14:05:04 +02:00
rrandomsky
b3976f5960 [BH-1922] Add a Summary screen to Focuse timer
Added a summary screen that tells the user how much time they spent in focus.
This screen is displayed after the last focus time.
2024-04-26 14:05:04 +02:00
rrandomsky
8c2bef8acf [BH-1899] Focus timer basic
Added a basic version of the Focuse timer function.
This basic version allows the user to run the focus timer with
only the default parameters. Focus time is set at 25 minutes,
short break at 5 minutes for 10 focus intervals.
2024-04-26 14:05:04 +02:00
Maciej Gibowicz
4470113058 [BH-1905] Add Focus timer application to the menu list
Creating a new application "Focus Timer" and adding it to the main menu
list
2024-04-26 14:05:04 +02:00
Lefucjusz
e37e40e877 [BH-1919] Add 'Menu' label to apps list
* Added 'Menu' top label to the
list of Harmony apps.
* Minor cleanup.
2024-04-26 14:05:04 +02:00
Lefucjusz
4a9f6e2b80 [BH-1939] Fix missing tooltip in French
Fix of the issue that tooltip text was
not displayed in Onboarding in French
due to the copy being too long.
2024-04-25 10:12:39 +02:00
Lefucjusz
2ee37c8f08 [BH-1934] Add different sound for the end of meditation
Added different sound for the end of
meditation session than the one played
at the beginning and at fixed intervals.
2024-04-17 14:25:15 +02:00