Commit Graph

38 Commits

Author SHA1 Message Date
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
cc0ec423bf [MOS-1035] Fixes in new alarm window UI flow
* Fixed disappearing left functional
button label when popup appeared while
focused on sound selection field or
AM/PM field
* Fixed erasing selections on
custom alarm edit window when
popup appeared.
* Added preview playback stopping
after manually blocking the phone.
2023-09-21 11:14:27 +02:00
Lukasz Mastalerz
f7ad63c951 [BH-1412] Fix services dependencies
Changes in dependecy managment
Replacing state flags with states in ServiceGUI
Unifying some parts of code
2023-08-01 17:22:48 +02:00
rrandomsky
4b8543912a [MOS-30] Fix for Alarm not being handled properly during a phone call
During the phone call, the alarm was not displayed and subsequent alarms
after this scenario did not work. This has now been fixed and the alarm
during a phone call will be automatically snooze.
2023-07-12 10:46:44 +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
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
Pawel Olejniczak
6346d9fd9c [MOS-76] Add missing space in the separator
Days of the week should be separated by
a comma and a space in the alarm repeat widget
2022-02-22 13:09:36 +01:00
Przemyslaw Brudny
810a8dc1c3 [EGD-7792] Meditation timer interval widget replacement
Meditation timer interval widget replacement.
2022-01-26 14:53:26 +01:00
Adam Dobrowolski
0ec9428917 [EGD-7773] Popups stack poc
Stack plus minimum tests added
Updated to master
Removed useless or adressed TODOS
Constants name applied
Renamed searchModel to searchRequestModel
Review applied
We should remove legacy window names
Bell names fixes
2022-01-04 13:01:23 +01:00
Przemyslaw Brudny
1b0f7a989f [EGD-8104] Fixed return to home actions on phonebook, ringtone and alarm
Fixed return to home actions on phonebook, ringtone and alarm.
2021-12-20 13:45:26 +01:00
Przemyslaw Brudny
5ba3176b40 [EGD-7957] Fixed data removal on alarm when setting custom repeat
Fixed data removal on alarm when setting custom repeat.
2021-11-17 19:14:42 +01:00
Przemyslaw Brudny
7597d38852 [EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
2021-10-26 13:51:06 +02:00
Przemyslaw Brudny
7fbaf735ed [EGD-7813] Option Window titles localizations fix
Option Window titles localizations fix.
2021-10-25 00:28:08 +02:00
tomaszkrosnowski
a68b5bcbd6 [EGD-7736] Fix Play Pause labels
When doing sound preview label descirbing PLAY or PAUSE action depends
now on current context.
2021-10-20 16:26:33 +02:00
Wojtek Rzepecki
d0772ab0b7 [EGD-7798] Fix alarms backend with new format
New format of alarm time in database and processing
2021-10-18 12:14:36 +02:00
Pawel Olejniczak
dae736cd3c [EGD-7795] Unify options window title
Options window title in Meditation app was
incorrect. Now all options windows have
unified titles. Additionally few minor fixes
added.
2021-10-14 11:39:39 +02:00
Wojtek Rzepecki
bc6b79fea6 [EGD-7673] Fix adding alarm before actual time
Fixed adding of an alarm before actual
system time
2021-10-01 10:59:48 +02:00
Przemyslaw Brudny
7e26f5e014 [EGD-7670] Alarm toggle off all alarms
Added toggle all alarms handling with tests.
2021-09-28 12:54:39 +03:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Przemyslaw Brudny
45c27c2f48 [EGD-7156] Fix alarm time set
Fixed alarm time set.
2021-09-23 15:04:05 +03:00
Wojtek Rzepecki
1e8082e02c [EGD-7570] Add Alarm Clock status bar indicator
Added indicator on status bar if any alarm is on
2021-09-23 13:15:02 +02:00
Przemyslaw Brudny
e3a057e15c [EGD-7310] Alarm GUI and features update
Updated AlarmOptionsItem to use UTF8Spinner.
Created specialized widgets to cover options
sets. Updated GenericSpinner to handle Pure
navigation and content swap. Updated Alarm
RRule code to work with Custom Days selection
and new widgets. Added Tests. General GUI
stylistic fixes. Increased app Alarm Clock
and service Time stack sizes.
2021-09-21 14:11:21 +03:00
Adam Dobrowolski
5e919448eb [EGD-7501] Rrules presenter added
- handles most of our rrule manipulation needs for alarm
- unittests for transformations
2021-09-15 13:08:54 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Przemyslaw Brudny
488cf00018 [EGD-7409] Empty list additions and fixes
Fixed bug in empty lists displays and added missing
empty lists in applications.
2021-09-09 16:11:56 +03:00
Adam Dobrowolski
1156320af5 [EGD-7502] TimeService Alarms get returns total elements count
We require so that overall alarms count would be returned to properly
use ListView
2021-09-08 20:57:21 +02:00
Adam Dobrowolski
55b89278f1 [EGD-7527] Removed AlarmsEvent from the codebase
We have to use AlarmEventRecord not AlarmsEvent
2021-09-08 20:15:26 +02:00
Adam Dobrowolski
0f03e40484 [EGD-7500] Replaced AlarmsData with AlarmEventData
- We have to use ServiceTime instead of AlarmDB
- Please see full task here: EGD-7311
2021-09-06 15:36:48 +02:00
Przemyslaw Brudny
f463a75a93 [EGD-7164] ListViewEngine separation from ListView
ListViewEngine separation from ListView to support different
scrolls and body ListViews on Bell.
2021-07-19 16:32:10 +02:00
Artur Śleszyński
71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +02:00
Adam Dobrowolski
940989833f [EGD-6527] Internationalization API unification
Single api to rule i18n
all calls to localistaion in cpp files unified
cut off ass many dependencies in i18n header as possible
2021-04-20 20:07:44 +02:00
Przemyslaw Brudny
fa42d45fb1 [EGD-6555] ListView constants move
ListView constants moved from style to ListView.hpp.
2021-04-19 10:53:06 +02:00
Przemyslaw Brudny
46e0cd3d89 [EGD-6552] Options cleanups and fixes
Fixed options crashes and cleared its structure. All
options returns points to proper list indexes.
2021-04-16 16:49:16 +02:00
Piotr Tański
6c900d7b38 [EGD-5166] Add query-callback synchronization mechanism
Receiver object cancels the callbacks at the end of its lifecycle.
2021-01-13 12:11:56 +01:00
KacperLewandowski
a617397672 [EGD-4788] Add custom repeat window for the alarm application
When choosing alarm repeat option now it is
possible to choose specific days of the week
and their combinations.
2020-12-21 22:14:53 +01:00
KacperLewandowski
537ab85f46 [EGD-4072] Add new/edit window in alarm clock app (#1159)
Introduced the possibility to add a new alarm and edit an existing alarm
2020-12-11 15:37:00 +01:00
KacperLewandowski
aff3b7502d [EGD-4069] alarm clock: Add window with options list (#1149) 2020-12-08 12:57:43 +01:00
KacperLewandowski
ba4d547f47 [EGD-4009] alarm clock: add main window (#1100)
Create alarm clock application and add main window.
2020-12-07 10:45:50 +01:00