Commit Graph

132 Commits

Author SHA1 Message Date
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
Lefucjusz
794128984b [BH-1992] Fix crash in Meditation and Power Nap
Fix of the issue that Meditation and
Power Nap apps would crash during
active sessions due to bad optional
access introduced in previous time
displaying fix.
2024-05-16 17:12:46 +02:00
Maciej Gibowicz
6d6d26ffb5 [BH-1944] Changing the rounding method for minutes in progress bar
Fix for rounding minutes in Focus Timer application
2024-05-16 11:36:07 +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
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
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
Lefucjusz
cd6db6491e [BH-1890] Change pre-wakeup chime list to vertical
* Added new widget SongsListViewItem
implementing ListViewWithLabels that
can be added as SettingsListItem.
* Changed horizontal list in pre-wakeup
to vertical using that new widget.
2024-04-10 15:33:14 +02:00
Lefucjusz
75c12a82e5 [BH-1895][BH-1909][BH-1910] New database structure for custom sounds
* Added creation of /user/media/app/alarm
directory that will be used to store
custom alarm sounds.
* Implemented new database structure.
* Adapted Alarm, Bedtime, Pre-wake up and
Snooze to new database structure.
* Added removing custom alarm files during
factory reset.
* Added fallback alarm sound mechanism.
* Cleanups, unifications.
2024-04-10 15:33:14 +02:00
Lefucjusz
dcccd41afa [BH-1930] Fix no volume update in DB in Relaxation
Fix of the issue that autoclose of volume
window in Relaxation would result in not
updating current volume value in database.
2024-03-25 15:38:31 +01:00
Maciej Gibowicz
7088002df3 [BH-1860] Add new clock face with quotes
In the settings, the user can choose a clock face with quotes. A
dedicated clock face includes information about the time, alarm
settings, quote and author of the quote.
2024-02-22 12:07:30 +01:00
Maciej Gibowicz
12e443599e [BH-1839] Improved fonts
- Removed unused 190 px font
- Added new 32px bold and light & 170px regular fonts
- Added a new colon for the 170px font
2024-02-07 13:47:13 +01:00
Lefucjusz
cfd044be28 [BH-1874] Fix underline appearing when setting alarm time
Fix of the issue that underline appeared under
hours value when setting alarm time with knob
down (alarm disabled) after previous
confirmation of the alarm time.
2024-02-07 13:20:36 +01:00
Lefucjusz
648e88d617 [BH-1807] Fix missing AM/PM label in apps clock
* Fix of the issue that after changing font size
of the clock presented in Relaxation, Meditation
and Power Nap apps, AM/PM label was not shown
in 12h mode.
* Added logs informing about missing margins
map entry so that such issue is easier to debug
if it should happen in the future.
2023-12-20 15:56:21 +01:00
Lefucjusz
5e2d33e395 [BH-1731] Fix factory reset confirmation window layout
* Fixed factory reset confirmation window
layout to match the corresponding design.
* Added missing translations.
2023-12-20 11:37:17 +01:00
rrandomsky
1e1af48faa [BH-1845] Fixed time format in Settings and Onboarding (2)
This is the second fix. Now the time format in Settings and Onboarding is currently set
and changes dynamically during the user changing the time parameters.
2023-12-20 10:20:00 +01:00
Lukasz Mastalerz
7f543f7a80 [BH-1807] Increase clock font
Increase clock font in Relaxation, Meditation, Power nap mode
2023-12-15 14:53:09 +01:00
Lefucjusz
6daeebd0f4 [BH-1825] Remove minus sign in countdown timers of progress
Removed minus sign shown next to the remaining
time value for timers showing progress in
Meditation, Relaxation and Power Nap apps.
Style constants cleanup.
2023-12-13 11:39:05 +01:00
Lefucjusz
cc0fceaedf [BH-1826] Implement new countdown progress bar design
Implemented new countdown progress bar design,
used in Relaxation, Meditation and Power Nap
apps. New implementation shows progress
bar as decrementing as the time passes instead
of incrementing.
Cleanups.
2023-12-12 13:57:44 +01:00
Maciej Gibowicz
3cc3f50f7b [BH-1809][BH-1835] Add date format setting
Added date format selection between DD/MM and MM/DD.
The time setting has been updated.
2023-11-29 09:45:05 +01:00
Lefucjusz
4b66a8974f [BH-1782] Add brightness fade in
* Added brightness fade in - feature
which allows for gradual frontlight
brightness rise during alarm and
power nap ringing instead of turning
on with full brightness immediately.
* Fixed possibility to close
ringing power nap by long press
of back button.
2023-11-28 10:11:26 +01:00
Lefucjusz
22d9134476 [MOS-1052] Change VoLTE label from 'beta' to 'experimental'
Changed VoLTE label from 'beta' to
'experimental'.
Fixed transition state label font
size to match the design.
2023-11-07 15:46:38 +01:00
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +02:00
Lefucjusz
d2240e3b97 [MOS-1048] Fix not fitting VoLTE button label
Fix of the issue that VoLTE checking
state label was cut off due to
improper setMinimumWidthToFitText()
method behavior when text is placed
in box with rounded corners.
2023-10-18 13:13:04 +02:00
Lefucjusz
9da6579167 [MOS-552] Fix alarm clock input behavior
Fix of multiple issues that manifested in
input fields of alarm clock, i.e. value
not erasing automatically, redundant
double-zero filling of hours field,
lack of zero-filling of minutes field
when navigating to AM/PM field in
12h mode.
2023-09-06 14:11:32 +02:00
Lukasz Mastalerz
c1a8e47c43 [BH-1690] Add information about the connection to the PC
Added text with information about the connection to the main window
when the USB cable is connected to the PC
2023-05-24 10:01:02 +02:00
Adam Wulkiewicz
d2bf42d411 [BH-1655] Fix memory leaks in clock faces and shortcuts
Disable libphonenumber initialization since it is not used in Harmony
but takes around 1.4MB of memory

Add heap allocation statistics
2023-03-17 12:44:30 +01:00
rrandomsky
1ceaffb987 [MOS-925] Fix redirection on BACK from sending message from Contact view
Fix for inconsistent redirection to message threads list when pressing
BACK from sending message from Contact view. Also proveded mechanizm
to help switching back to previous App, when some App call window
from another App.
2023-03-09 14:41:21 +01:00
Maciej-Mudita
cd54ba0589 [MOS-202] Add meditation parameters to non-volatile memory
The meditation parameters set by the user will be remembered.

style check fix
2023-02-24 13:16:55 +01:00
Adam Wulkiewicz
6097f761ea [BH-1609] Fix resizing of format in TimeSetFmtSpinner
Change the resizing logic of the children of TimeSetFmtSpinner.
Remove arguments of TimeSetFmtSpinner and BellStatusClock ctors.
2023-02-08 13:50:55 +01:00
Lefucjusz
9fb8432b41 [MOS-592] Fix right arrow behavior in search field
Fix of the issue that clicking right arrow
in search field caused the focus to be moved
to image on the right, what made inputting
text impossible.
Additionally minor code cleanup.
2023-01-31 18:25:58 +01:00
Bartosz
055a1ca4a0 [MOS-000] Rebase fixes
Rebase fixes
2023-01-19 16:41:56 +01:00
Adam Wulkiewicz
31e24463ef [BH-1612] Show battery 100% on 24h vert. face with date
Decrease space between colon and digits in TimeSetSpinner for smaller
fonts.
Decrease main vertical time width.
Use battery icon with smaller width.
Decrease space between battery icon and percentage.
2022-12-06 12:18:42 +01:00
Adam Wulkiewicz
89962fa439 [BH-1598] Add clock faces with dates
Add classic and vertical face with dates for both 12h and 24h format.

Fix centering of battery indicator when level is smaller than 100%.

Fix incorrect time format of the alarm in clock face settings.

Change placement of battery and time format indicators on
ClassicWithAmPm screen while charging.
2022-11-23 13:25:49 +01:00
Dawid Wojtas
a2779d90b5 [BH-1594] Add shortcuts instruction
Shortcuts instruction is a new functionality
during the Onboarding process. It shows hints
on how to use buttons.
2022-11-17 17:55:48 +01:00
Marcin Zieliński
5b88233d37 [MOS-791] Introduce tri-state switch widget
Introduced the new logic.

From now on, every button can be tri-state, that is,
OFF/ON/Transiting whereas the Transiting state is
marked with the 'cheking...' caption written on the
button.
2022-11-09 13:32:21 +01:00
Marcin Zieliński
3cbfe43a95 [MOS-791] Introduce tri-state switch widget
Refactored the code so that it's prepared for the new logic.
2022-11-09 13:32:21 +01:00
Adam Wulkiewicz
57b5eb3da5 [BH-1557] Change Harmony home screen font to bigger one
Fix AM/PM font on one of the home screens, change it to normal size/

Fix type of FontInfo members representing spacings, chane them to signed
integers.
2022-11-09 13:10:10 +01:00
Mateusz Piesta
157cceeb87 [BH-1542] Stabilize the clock position
Added leading zero when displaying
1-digit number.
2022-09-28 13:32:30 +02:00
Lefucjusz
178c28b7bb [MOS-666] Fix disappearing setting bars in German
Fix of the issue that with German language
selected manual volume setting bar and
vibration volume setting bar would
disappear when focused.
2022-09-19 10:59:05 +02:00
Mateusz Piesta
5f94f1f427 [BH-1563] Date UX improvements
Switched to YYYY/MM/DD format.
2022-09-06 10:18:20 +02:00
Adam Wulkiewicz
074b33a645 [MOS-685] Make small improvements in various places of the code
- Forward arguments
- Remove unused code
- Remove auto return type when it's not needed
- Add const to member functions
- Use startsWith and endsWith from utils
- Allow instantiation of operators only for specific types
- Caluclate key mask in compile time
2022-09-02 01:12:47 +02:00
Mateusz Piesta
dcfe367b4e [BH-1543] I want to set a date
*DateSetSpinner and DateSetListItem added (based od TimeSetSpinner and
TimeSetListItem)
*BellSideListItem ctor without title added
*TimeUnitsModel changed to more accurate DateTimeUnitsModel name
2022-08-30 09:50:53 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Onufry Pajaczek
7c6af2c57f [BH-1542] Pure meditation fix and cetner TimeFixedWidget
*DigitsContainer definicions moved to cpp file(for proper linkage)
*DigitsContainer changed container to std::vector
*Fixed a bug in ProgressTimerWithBarGraphAndCounter where timerText was
treated as timeWidget
*MeditationCountdownWindow timer is now custom size
*Minus removed form MeditationRunningWindow timer
2022-08-18 09:12:36 +02:00
Onufry Pajaczek
b77af1696e [BH-1542] Fix TimeFixedWidget encapsulation
*DigitsContainer extracted as testable module
*Getters removed from TimeFixedWidget
2022-08-08 17:11:49 +02:00
Onufry Pajaczek
0429079f46 [BH-1542] Stabilize the clock position
Third digit fix
2022-08-05 09:24:33 +02:00
Paweł Joński
c92e5b393c [BH-1542] Fixed colon width
Fixed colon width
2022-07-20 09:00:13 +02:00
Paweł Joński
5aaf8f3098 [BH-1522] Meditation pause and finish design adjustments
Pause icon on the same window as progress
Prevent progress from stepping during pause
Adjust meditation finished window to design
2022-06-29 09:03:47 +02:00