Marek Libra
b58e452caf
Mark broadcast notifications in the list
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-08-15 09:59:48 +02:00
Heikki Hellgren
80b84f77e5
fix: notification reload on navigation
...
this fixes issue when notifications are always reloaded when navigating
in the portal.
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-08-08 14:41:15 +03:00
Fredrik Adelöw
c718c157c4
Merge pull request #24557 from drodil/notification_mark_read2
...
feat: allow setting notification read also from web notifications
2024-08-07 13:31:17 +02:00
Camila Belo
b82aff92aa
refactor(test-utils): deprecate the isDockerDisabledForTests function
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2024-07-10 17:06:00 +02:00
Camila Belo
95a3a0b91c
refactor(test-utils): rename setupRequestMockHandlers to setupMswHandler
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2024-07-10 15:45:49 +02:00
Marek Libra
3bf0697eb8
Hide NotificationsPage toolbar for empty list
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-06-20 10:23:18 +02:00
Heikki Hellgren
aa2d3e302a
feat: make default functionality to mark notification read when opening link
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-05-30 21:15:15 +03:00
Heikki Hellgren
a880e941aa
fix: change notification hooks to internal
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-05-30 15:45:42 +03:00
Heikki Hellgren
0410fc9ce6
feat: allow setting notification read from web/snackbar
...
when opening link from snackbar or web notification, the notification
can be automatically set as read like in the notifications page
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-05-30 15:45:42 +03:00
Marek Libra
6d196b4506
fix: Avoid infinite loop in the NotificationsSidebarItem title counter
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-05-23 11:26:40 +02:00
Heikki Hellgren
7f0268486a
fix: do not show scrollbars in notification description if not needed
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-05-15 08:47:57 +03:00
Heikki Hellgren
e49a8106ad
fix: show all notifications by default in notifications page
...
to prevent confusion with sidebar item showing that you have new
notifications but the table not showing any because the default filter
is for last week only
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-05-14 09:55:14 +03:00
Heikki Hellgren
42eaf63a75
feat: increase default and allow changing snackbar auto hide duration
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-05-03 12:49:24 +03:00
Heikki Hellgren
f6633ca8d2
feat: allow setting notification as read automatically when opening link
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-26 08:06:15 +03:00
Marek Libra
f730c0b54f
feat(notifications): added Mark All Read bulk action
...
The user can newly mark all unread messages as read at one click.
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-04-24 12:20:02 +02:00
Marek Libra
bd900b7e0e
Merge pull request #24412 from drodil/notifications_snackbar
...
feat: allow showing notifications as snackbars in the UI
2024-04-24 10:24:32 +02:00
Marek Libra
137cee2198
Merge pull request #24477 from mareklibra/skipEmptyDescription
...
patch(notifications): skip rendering empty descriptions
2024-04-23 14:59:29 +02:00
Marek Libra
a42a19b087
patch(notifications): skip rendering empty descriptions
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-04-23 14:45:40 +02:00
Heikki Hellgren
64e089e5b3
fix: review comments on snackbar handling
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-23 15:42:33 +03:00
Heikki Hellgren
bfcb2f1281
feat: allow showing notifications as snackbars in the UI
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-23 15:41:51 +03:00
Marek Libra
41d5c56e18
Merge pull request #24414 from drodil/fix_notification_title
...
fix: infinite loop in notification title counter
2024-04-23 14:34:54 +02:00
Heikki Hellgren
e1c7d6e4b7
fix: infinite loop in notification title counter
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-23 14:51:08 +03:00
Heikki Hellgren
1bc3b86858
fix: web notifications to show in foreground + duplicates prevented
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-23 14:48:34 +03:00
Marek Libra
4bfb02ed70
Merge pull request #24450 from drodil/notifications_page_props
...
feat: allow overriding notifications page properties
2024-04-23 13:39:38 +02:00
Marek Libra
0f2d377de6
Merge pull request #24381 from mareklibra/fix.long.descriptions
...
fix(notifications): limit size of notfcation on NotificationsPage
2024-04-23 13:39:01 +02:00
Heikki Hellgren
e6bf85f0cf
feat: allow overriding notifications page properties
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-22 18:23:36 +03:00
Marek Libra
fcda449a9c
fix(notifications): limit size of notfcation on NotificationsPage
...
The grid item size is limited so notifications with very long
descriptions do not occupy all the space.
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-04-19 12:18:48 +02:00
drodil
42171594db
Update plugins/notifications/src/components/NotificationsSideBarItem/NotificationsSideBarItem.tsx
...
Co-authored-by: Marek Libra <marek.libra@gmail.com >
Signed-off-by: drodil <heiccih@gmail.com >
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-18 14:38:10 +03:00
Heikki Hellgren
f793112df9
feat: allow defining custom class name + other props for notifications sidebar item
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-04-18 14:32:23 +03:00
Patrik Oldsberg
d1d4ddccab
Merge pull request #23537 from mareklibra/FLPATH-1005.severity.followUp
...
chore: use colors from theme for notification's severity
2024-04-14 17:59:22 +02:00
Marek Libra
376d5ef797
chore: use colors from theme for notification's severity
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-04-02 10:34:29 +02:00
Marek Libra
ec40998df3
feat: add bulk actions to the Notifications page
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-03-21 12:11:12 +01:00
Aditya Kumar
6a2fe4b657
Add ESLint Rule to Notifications Plugin
...
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com >
2024-03-21 11:27:07 +05:30
Tomasz Szuba
e8f026a300
Use esm exports from react-use library
...
Signed-off-by: Tomasz Szuba <tszuba@box.com >
2024-03-19 19:53:04 +00:00
Marek Libra
cd96173afb
fix: use camelCase for createdAfter in the Notifications URL
...
Instead of the former created_after.
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-03-14 13:13:24 +01:00
Marek Libra
bf90f64641
fix: use orderField instead of sort,sortOrder for notifications
...
To unify with the Catalog API.
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-03-14 13:04:46 +01:00
Marek Libra
883dfde5bf
chore: use strings for severities instead of numbers
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-03-14 11:46:16 +01:00
Marek Libra
dff7a7e9e2
feat(notifications): implement severity of notifications
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-03-13 12:02:50 +01:00
Marek Libra
75f2d84069
feat: add "Save" action for notifications
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-03-09 13:46:41 +01:00
Marek Libra
6e6d096b3e
feat: enable sorting of notifications
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-03-04 09:28:12 +01:00
Marek Libra
07abfe16cb
feat(notifications): use pagination on the backend layer
...
The NotificationsPage uses pagination by the backend to avoid large
datasets to be loaded into frontend.
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-02-27 14:44:07 +01:00
Marek Libra
cacae47b1c
chore: add unit tests for the createdAfter filter of notifications
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-02-27 13:52:31 +01:00
Marek Libra
5d9c5ba0a6
feat: add createdAfter filtering to the Notifications
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-02-27 13:52:26 +01:00
Marek Libra
758f2a40c5
feat: update Notifications front-end
...
Signed-off-by: Marek Libra <marek.libra@gmail.com >
2024-02-27 13:27:19 +01:00
Heikki Hellgren
9873c44c24
feat: define signal type for notifications
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-02-16 10:27:35 +02:00
Heikki Hellgren
6ea8b0d106
test: add tests for notification clients
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-02-06 10:17:30 +02:00
Heikki Hellgren
819a7302a2
fix: code review findings
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-02-06 10:17:30 +02:00
Heikki Hellgren
acbe630b9d
feat: follow-up changes on BEP #22641
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-02-06 10:17:30 +02:00
Heikki Hellgren
b3c3672b64
feat: support pagination and searching in notification backend
...
disabled broadcast notifications for now
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-02-06 10:17:29 +02:00
Heikki Hellgren
dced4bbc96
feat: add support for unread count in document title
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2024-02-06 10:17:29 +02:00