Commit graph

1738 commits

Author SHA1 Message Date
Clemente Raposo
32f352f63c [Legacy] Update AlertSchedulers alert creation
Do not create new alerts for already dismissed reminders
2023-04-24 11:54:09 +01:00
Clemente Raposo
452c52ec95 Add dismiss alert process actions and handlers
- Add handler for dismissing an alert
- Add handler for dismissing all alerts
- Mark reminder popup_view flag as true when dismissing an alert
2023-04-24 11:54:09 +01:00
Clemente Raposo
a7f7f07749 [Legacy] Add dismiss alert related labels 2023-04-24 11:54:09 +01:00
Clemente Raposo
eb1f85065b Adjust notifications configuration 2023-04-24 11:54:09 +01:00
Clemente Raposo
198387e3ff Update notifications styling 2023-04-24 11:54:09 +01:00
Clemente Raposo
6d32d12b06 [Legacy] Add dynamic labels for notifications 2023-04-24 11:54:09 +01:00
Clemente Raposo
e5069a4f53 [Legacy] Add mapper for Alerts redirect_url field 2023-04-24 11:54:09 +01:00
Clemente Raposo
3023a9effc Generate scheduled alerts before retrieving the list of current alerts
- Using the same strategy that was used on legacy where the alerts are generated on the call to get them
2023-04-24 11:54:09 +01:00
Clemente Raposo
cd716972bb [Legacy] Add services to generate alerts from reminders and activities
- Port the that was used to generate the alerts to separate services that can be called from Suite 8 side
2023-04-24 11:54:09 +01:00
Clemente Raposo
5ec05f5363 [Legacy] Add date start field to alerts 2023-04-24 11:54:08 +01:00
Clemente Raposo
2502279435 Add text utility css classes 2023-04-24 11:54:08 +01:00
Clemente Raposo
71a17c21eb Fix alert display that did not allow dropdown usage
- When displayed alerts were displayed above the dropdown menus and didn't select some items
2023-04-24 11:54:08 +01:00
Clemente Raposo
279d23968e Recordthread: Allow declaring dynamic labels for fields 2023-04-24 11:54:08 +01:00
Clemente Raposo
d6a7496395 Allow defining dynamic links in fields 2023-04-24 11:54:08 +01:00
Clemente Raposo
b1bfdd7a34 Recordthread: Allow declaring definitions for fields that aren't displayed 2023-04-24 11:54:08 +01:00
yunusyerli1
314bbf1d65 [Legacy] Apply code formatter 2023-04-24 11:54:08 +01:00
yunusyerli1
457222b0dc Fix: Apply MR comments and code formatter 2023-04-24 11:54:08 +01:00
Jack Anderson
12f5573323 [Legacy] Update snooze to read user preference 2023-04-24 11:54:08 +01:00
yunusyerli1
cf87748a6e Fix: Correct request sending when snooze exist 2023-04-24 11:54:08 +01:00
yunusyerli1
0f6e972c87 [Legacy] Change total number from string 2023-04-24 11:54:08 +01:00
yunusyerli1
c142c68fe3 [Legacy] Refactor is_read to bool from string 2023-04-24 11:54:08 +01:00
yunusyerli1
3c7a0cc21a Feat: Add dynamic translation
Fix: Remove unused variables
2023-04-24 11:54:08 +01:00
yunusyerli1
7ab8aa12e1 [Legacy] Refactor string vars to bool and int
- Add dynamic language variable
2023-04-24 11:54:08 +01:00
yunusyerli1
d7956a6af2 [Legacy] Add unreadCount 2023-04-24 11:54:08 +01:00
yunusyerli1
97c70c93ab Feat (Notifications) Add unreadCounts metadata to recordList
- Add if control to markNotificationsAsRead method
- Add timer to markNotificationsAsRead to control LoadMore button to sync
- Reduce debounce time to 100ms in recordThreadItem component
- Add take(1) operator appropriately to handle unsubscribe
2023-04-24 11:54:08 +01:00
yunusyerli1
d6d523cc82 [Legacy] Add unreadCount 2023-04-24 11:54:08 +01:00
yunusyerli1
dfe1009848 Change notification box style 2023-04-24 11:54:08 +01:00
Clemente Raposo
a3696d68ee Adjust notification component styling 2023-04-24 11:54:08 +01:00
Clemente Raposo
0b769de045 [Legacy] Add notification label 2023-04-24 11:54:08 +01:00
Clemente Raposo
60252f16fc Notification component adjustments
- Move notification store to app-state store
- Mark notifications as read on the backend
- Mark notifications as read on the frontend
- Add label when there are no notifications
- Remove hard-coded notifications configuration from the front-end
2023-04-24 11:54:08 +01:00
Clemente Raposo
d4f317c96a Allow setting buttonGroupClass on record flexbox component 2023-04-24 11:54:08 +01:00
Clemente Raposo
2e76efc978 Allow setting buttonGroupClass on action group menu component 2023-04-24 11:54:08 +01:00
Clemente Raposo
8424d532e2 Add support for defining a class for button group component 2023-04-24 11:54:08 +01:00
Clemente Raposo
4e7e1cb3c8 Only display number on badge if there are unread notifications 2023-04-24 11:54:08 +01:00
Clemente Raposo
92a87f571a Move notifications delete all process handler 2023-04-24 11:54:08 +01:00
Clemente Raposo
ec9bdff596 Fix notifications MarkAsRead process handler 2023-04-24 11:54:08 +01:00
Clemente Raposo
6330f2bb8f Add notification configuration to the configs 2023-04-24 11:54:08 +01:00
Clemente Raposo
37deb4787c [Legacy] Map Alert fields for notifications 2023-04-24 11:54:08 +01:00
Clemente Raposo
a1ff63e75c [Legacy] Fix alert_snooze time ui configuration 2023-04-24 11:54:08 +01:00
Clemente Raposo
3f4620d908 [Legacy] Add default alert snooze time to sugar_config 2023-04-24 11:54:08 +01:00
Clemente Raposo
c5e47b21ef [Legacy] Fix Alert snooze time calculation 2023-04-24 11:54:08 +01:00
Clemente Raposo
f4c29e4492 [Legacy] Remove forgotten is_read field on Accounts 2023-04-24 11:54:08 +01:00
Jack Anderson
10f48b4937 [Legacy] Add check for datetime field 2023-04-24 11:54:08 +01:00
Jack Anderson
7f80b97272 Add module on dismiss all 2023-04-24 11:54:08 +01:00
Jack Anderson
4212308c97 [Legacy] Add search files to alerts 2023-04-24 11:54:08 +01:00
Jack Anderson
088348578b [Legacy] Add snooze until 2023-04-24 11:54:08 +01:00
Jack Anderson
5df53265dd Add Mark as Read Record Handler 2023-04-24 11:54:08 +01:00
Jack Anderson
64c3757ff5 [Legacy] Add Delete All label 2023-04-24 11:54:08 +01:00
Jack Anderson
68934e9591 Record Item Action - Add Delete All Action 2023-04-24 11:54:08 +01:00
Jack Anderson
c3551ac7c7 Add Snooze Record Handler
- Add Snooze Service
- Add Snooze Action
2023-04-24 11:54:08 +01:00