Commit Graph

66 Commits

Author SHA1 Message Date
mkamonMdt
69e75e7ca2 [EGD-5058] Fix messages UX issues
This PR fixes the missing bold contact/number in messages thread list
issue.
2021-02-19 13:20:13 +01:00
Przemyslaw Brudny
312d4a07a6 [EGD-3756] Created generic ListItemWithCallbacks
Added generic template for ListItemWithCallbacks.
Replaced onDimensionsChange with callbacks.
2021-02-15 14:17:04 +01:00
mkamonMdt
4c72152c6f [EGD-5597] Fix messages overflowing length
Current sms length is bound by 7*67 characters. This PR
enforce that limit on ApplicationMessages level.
Additionally PR solve:
 - corner case problem with invalid cursor position in TextBackup
 - EGD-4408 fix of label on desktop menuWindow
2021-02-12 13:16:48 +01:00
Przemyslaw Brudny
e7b9bcf7e9 [EGD-5133] Fix settings bus add duplications
Changed Bus Channels vector to set to prevent
duplicates and cleaned logging.
2021-01-08 17:33:00 +01:00
jimmorrisson
14918dc4f9 [EGD-4925] Change new filesystem handling implementation in module-gui. (#1193)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module gui. There are some modifications in other modules included which are necessary because of build system issues.
2020-12-16 15:23:11 +01:00
PrzeBrudny
1520a9a8ec [EGD-4687] Text enum names cleanup. (#1142)
Change enum names to CamelCase.
2020-12-04 15:51:21 +01:00
PrzeBrudny
31e60282d2 [EGD-3499] Text scrolling added and its usage updated in widgets. (#1079)
Add Text scrolling, Add text starting position,

Added text scrolling, updated TextLine line endings, TextBlocks newline handling, updated SMS Bubble and Notes text items. Added tests for scrolling.
2020-12-03 21:04:51 +01:00
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +01:00
Piotr Tanski
dbde0666df [EGD-3289] Changed fonts of message snippet and its prefix. (#1058) 2020-11-23 08:58:18 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
Marcin Smoczyński
486d21af0e [EGD-4288] refactor global data (#959)
Reduce firmware size by refactoring global data defined in public
headers.

Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
2020-11-04 18:24:39 +01:00
PrzeBrudny
88939f8209 [EGD-4070] Messages listView sync db queries refactored to full async. (#837) 2020-10-26 14:02:13 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Piotr Tanski
fdb2cfdb5a [EGD-3597] Shape rendering refactored. (#827) 2020-10-14 12:24:41 +02:00
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Przemyslaw Brudny
0eb1fd03e5 [EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method. 2020-10-13 12:23:34 +02:00
Piotr Tanski
24c927ef39 [EGD-3988] SMS thread for a specific contact shall be splitted into separate ones if multiple phone numbers are available. (#801) 2020-10-09 14:32:22 +02:00
Przemyslaw Brudny
196c02686a [EGD-2395] Added BottomTop orientation support for listView. Created SMSThreadViewWindow and SMSOutputWidget. MessagesStyle moved from global Style.hpp. Fixes in Text. ListView fixes, BoxLayout callback for requestedSize. Added smsInput into list. Drafts handling added. 2020-10-07 19:45:01 +02:00
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
Przemyslaw Brudny
f09971ddb4 [EGD-3265] Application messages file structure renames and cleanups. 2020-09-16 12:19:14 +02:00
Radoslaw Wicik
1a919db2ed [EGD-2974] Support for temporary contacts as a group 2020-09-15 15:04:10 +02:00
Przemyslaw Brudny
7cf700e09f [EGD-3265] Layout Resizing Item flag added and handled, fixed BoxLayout sizeLeftWithoutElem and setNavigation. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny
cc6143a329 [EGD-3265] BoxLayout and text requestSize boundaries handling. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny
a97898f9e3 [EGD-3265] Reply icon import, bottom bar setters added, first SMSInputWidget version added. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny
fecf27b2f5 [EGD-3451] Simplified updateRecords. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
19e1ca696c [EGD-3451] RequestRecordsCount refactor in whole project. 2020-08-07 12:26:44 +02:00
Tomas Rogala
7128bbd318 [EGD-3310] PR changes. 2020-07-22 13:47:22 +02:00
Przemyslaw Brudny
e25a17b29f [EGD-3336] ContactFlagIcon align refactor. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00
pholat
50a1f97643 [feature] Font handling feature (#527)
* Font renamed to RawFont
* Added gui::Font adapter
2020-07-15 12:15:14 +02:00
pholat
7447fc653b Egd-3407 (#525)
* EGD-3407 gui::Text addded TextFormat class - to store format
* EGD-3407 Added gray text to Icon text in sms
2020-07-15 10:00:02 +02:00
Alek Rudnik
3baa85363d Egd 2835 sms unread vs unseen notifications (#514)
* [EGD-2835] thread table based sms not read notifications

* [EGD-2835] removed redundant read field from sms db table

* [EGD-2835] clear unread status of a thread if thre thread is open

* [EGD-2835] updated database documentation

* [EGD-2835] added changelog
2020-07-10 11:57:19 +02:00
Przemyslaw Brudny
3b2b0f0909 [EGD-3189] PR changes. Created InternalModel.hpp. 2020-07-08 17:07:31 +02:00
pholat
adaf18829e gui::Text rewrite (#483)
* Text refactor added
2020-07-07 14:37:53 +02:00
Przemyslaw Brudny
221f6405bc [EGD-3351] Changed all ListView items to use Margins. 2020-07-02 16:28:52 +02:00
Przemyslaw Brudny
344a15232e [EGD-3189] Stylistic fix-ups. 2020-06-25 14:00:08 +02:00
Mateusz Grzywacz
db29b9cdeb updated dot icon for conversation view 2020-06-16 21:23:25 +02:00
Alek Rudnik
44f7bbdf8a Egd 2799 unread message indication (#429)
* [EGD-2799] 
    Added unread thread indicator.
    Added last message in thread indicators:
    -Note sent:
    -You:
    -Draft:
2020-06-10 18:29:07 +02:00
Przemyslaw Brudny
6ebec9ef43 [EGD-3094] PR changes. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
6821c8a1b3 [EGD-3094] PR changes, added minimalItemsCount calculation to listview. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
8e6d4b284e [EGD-3094] Cleanups, proper erase widget from list. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
4507092586 [EGD-3094] Old ListView removals, applying bottom top logic into Phonebook labels list. 2020-06-03 19:23:16 +02:00
Radoslaw Wicik
a7f5c4c179 [EGC-3240] Add style namespace 2020-05-27 17:51:34 +02:00
pholat
2081d2966f EGD-3219 SMS search view implemented (#377)
* EGD-3219 Initial commit for SearchResults window

* no elements - just window with provider and listview added

* EGD-3219 Added minimal SearchResultsItem

* EGD-3219 Moved ThreadModel to models catalog

* EGD-3219 ThreadModel - subclassed

* EGD-3219 Use BaseResultsModel for search items

* EGD-3219 Search looks nearly right, preview text to be added in database

* EGD-3219 Split ThreadModel & Item to use in two elements
2020-05-21 08:51:34 +02:00
pholat
ace320d22c EGD-3217 setMin / setMax size in use for ListView (#376) 2020-05-20 12:48:46 +02:00
Przemyslaw Brudny
02808dd357 [EGD-3040] Style updates in listViews. 2020-05-12 20:33:00 +02:00
Alek Rudnik
89eeba99eb Egd 3188 new sms enhancments (#355)
* [EGD-3188] new sms window - fix layout and functionalities

* [EGD-3188] sending sms from calllog and phonebook

* [EGD-3188] aborting the incoming call via sending sms template
Unufy sms ui common actions to use libphone number only
added default option to contactrecrord::getformattedname method

* [EGD-3188] fix for siwtching back from sms template window when the call is aborted

* [EGD-3188] PR fixes
2020-05-12 20:19:07 +02:00
Pawel Olejniczak
2014feabc7 [EGD-3155] Add changes suggested by reviewers 2020-05-08 08:57:29 +02:00
Alek Rudnik
16eaab6b50 Egd 3169 sms templates (#336)
* [EGD-3169] added sms templates model and item
fixed common class name convention

* [EGD-3169] added templates window
Passing template to new sms window is already working

* [EGD-3169] PR fixes from DB PR

* [EGD-3169] add universal callback for templates items

* [EGD-3169] requesting templates from more 2 windows

* [EGD-3169] missign change - display template in threads window

* [EGD-3169] minor fixes

* [EGD-3169] minimal clean up

* [EGD-3169] fixed some layout constatnt

* [EGD-3169] rem minor comments and logs

* [EGD-3089] rem redundant vector include

* [EGD-3169] PR fixes

* [EGD-3169] fixes afeter rebase

* [EGD-3169] workaround for list view issue - added 2 dump entries

* [EGD-3169] PR fixes

* [EGD-3169] style fixes

* [EGD-3169] fix for 0x0D char on enter in text widget

* [EGD-3169] PR fixes

* [EGD-3169] compilation issue
2020-04-30 13:48:23 +02:00
Przemyslaw Brudny
3d1905accc [EGD-3040] Changed provider synchronization with listview for new data.
[EGD-3040] Span item set method added, scroll disabled on only one page ListView.
2020-04-28 14:10:41 +02:00