Commit Graph

103 Commits

Author SHA1 Message Date
ambulgm fd3957c143 shorten comments
Signed-off-by: ambulgm <mukul.ambulgekar@autodesk.com>
2026-02-16 23:58:26 -08:00
ambulgm 3571624adb feat: add renderItem prop to NotificationsSidebarItem
Signed-off-by: ambulgm <mukul.ambulgekar@autodesk.com>
2026-02-16 23:58:26 -08:00
Yi C 4452d15efa feat: add i18n support for notifications plugin (#31558)
* feat: add i18n support for notifications plugin

Signed-off-by: Yi Cai <yicai@redhat.com>

* added changeset

Signed-off-by: Yi Cai <yicai@redhat.com>

* updates

Signed-off-by: Yi Cai <yicai@redhat.com>

* fix failed e2e checks

Signed-off-by: Yi Cai <yicai@redhat.com>

* resolved review comments

Signed-off-by: Yi Cai <yicai@redhat.com>

* fixed some untranslated string issue

Signed-off-by: Yi Cai <yicai@redhat.com>

* updated report-alpha.api.md

Signed-off-by: Yi Cai <yicai@redhat.com>

* updated report api

Signed-off-by: Yi Cai <yicai@redhat.com>

* updated report api

Signed-off-by: Yi Cai <yicai@redhat.com>

* simplified code

Signed-off-by: Yi Cai <yicai@redhat.com>

* updated import to use new dependency

Signed-off-by: Yi Cai <yicai@redhat.com>

* updated report-alpha.api.md

Signed-off-by: Yi Cai <yicai@redhat.com>

* code clean up

Signed-off-by: Yi Cai <yicai@redhat.com>

* addressed review comment

Signed-off-by: Yi Cai <yicai@redhat.com>

---------

Signed-off-by: Yi Cai <yicai@redhat.com>
2026-01-20 14:56:47 +01:00
Fredrik Adelöw 33663d03f3 Merge pull request #31532 from drodil/notifications_ui_improvements2
fix(notifications): ui improvements
2025-12-13 19:44:47 +01:00
Patrik Oldsberg 1c7ea4a3e8 plugins: remove unnecessary use of convertLegacyRouteRef(s)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 14:36:02 +01:00
Patrik Oldsberg d02db50b42 plugins: cleanup unnecessary use of compatWrapper
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 12:56:54 +01:00
Hellgren Heikki 53347cc2f5 fix(notifications): ui improvements
- long descriptions behind show more/less button to prevent very small
  scrollable area
- notifications count showing as `undefined` during initial loading
- removed unnecessary `Filter` heading to mimick catalog filters
- select all count is now more separated from the checkbox

Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-11-06 08:14:53 +02:00
Fredrik Adelöw 4815b120f8 fix notifications rendering
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-09-11 13:49:15 +02:00
Fredrik Adelöw ace004b11c Merge pull request #30897 from drodil/notification_snackbar_customization
feat: improve customization of notification snackbar
2025-08-19 09:13:51 +02:00
Patrik Oldsberg f7fc17bd5f Merge pull request #30695 from drodil/duplicate_origins_fix
fix: duplicate origins with multiple notification processors
2025-08-15 19:54:34 +02:00
Hellgren Heikki 8a24e0f24c feat: improve customization of notification snackbar
see changeset

Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-08-15 11:58:02 +03:00
Hellgren Heikki bf2c39621b test(notification): add test for settings rendering
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-08-06 15:32:30 +03:00
Patrik Oldsberg 147482b700 frontend-plugin-api: switch naming recommendation from define to defineParams
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 17:17:05 +02:00
Patrik Oldsberg e4ddf22854 frontend-plugin-api,catalog-react: remove default* prefix from blueprint params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 16:46:55 +02:00
Hellgren Heikki 5a70981d4a fix: duplicate origins with multiple notification processors
this fixes the notification settings panel showing duplicate origins
when there is multiple notification processors installed. closes #30464
and replaces #30500 to work with latest changes to master.

Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-07-31 14:00:47 +03:00
Patrik Oldsberg f2f133ce8d update all usages of ApiBlueprint
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-07-28 22:27:13 +02:00
mario ma b00c160f42 fix: Remove React import form notification and scaffolder plugin
Signed-off-by: mario ma <mario.ma.node@gmail.com>
2025-06-09 15:02:12 +08:00
Patrik Oldsberg 98eefdd42a Merge pull request #29301 from billyatroadie/add-topics-to-notification-settings
Adds ability for user to turn on/off notifications for specific topics within an origin.
2025-06-03 13:24:18 +02:00
Patrik Oldsberg 18c64e9bd4 plugins: add info.packageJson loader for all plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-05-15 11:25:53 +02:00
billyatroadie f1a5a903f9 Merge branch 'master' into add-topics-to-notification-settings
Signed-off-by: billyatroadie <bstalnaker@roadie.com>
2025-05-06 10:39:32 -04:00
Billy Stalnaker 7e52e7a57e update * to all
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-04-30 12:01:58 -04:00
Patrik Oldsberg fb58f20613 frontend-plugin-api: rename plugin ID option to pluginId
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-04-27 12:53:08 +02:00
Billy Stalnaker af4eb27812 fix merge conflicts
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-04-09 08:36:08 -04:00
billyatroadie dcb228384a Merge branch 'master' into add-topics-to-notification-settings
Signed-off-by: billyatroadie <bstalnaker@roadie.com>
2025-04-09 08:14:34 -04:00
Paul Schultz 2e26579e06 chore: update react imports
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-04-08 07:35:24 -05:00
Billy Stalnaker d9e99214fb reduces component bloat; adds logic to ensure topics are always disabled if the origin is
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-26 09:43:40 -04:00
Billy Stalnaker 8637567d53 rm NODE_OPTIONS;
Adds topicNames prop
Adds collapsible row for topics
Refactor getNotificationSettings for readability

Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 08:12:11 -04:00
Billy Stalnaker 5676296812 wip; DRAFT for visibility into changes
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
2025-03-25 08:12:10 -04:00
Patrik Oldsberg 005d24142d plugins/{notifications,signals}: add support for new frontend system
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-02-13 17:18:58 +01:00
Marek Libra 438c36c554 feat(notifications): added the topic filter for notifications
Signed-off-by: Marek Libra <marek.libra@gmail.com>
2025-01-16 07:21:18 +01:00
Patrik Oldsberg fc15b77b46 notifications: refactor backend routes to avoid using root route
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-12-10 00:43:57 +01:00
Fredrik Adelöw 22c4ecc6c7 Merge pull request #27571 from mareklibra/FLPATH-1837.clarify.ViewFilter
feat(notifications): rephrase labels of the View filter
2024-11-19 10:24:30 +01:00
Fredrik Adelöw bc33ee6d8e Merge pull request #27567 from mareklibra/FLPATH-1843.menuItem.show.unreadCount
feat(notifications): show count of unread notifications in the left-side MenuItem
2024-11-19 10:24:03 +01:00
Ben Lambert 4af8fb0ce8 Merge pull request #27569 from mareklibra/FLPATH-1840.emphasizeNotificationTitle
feat(notifications): emphasize notification's title
2024-11-15 16:33:14 -07:00
Johan Haals 0adaafc350 Merge pull request #27568 from mareklibra/FLPATH-1841.showTotalInTitle
feat(notifications): add title to the Notifications' table
2024-11-13 09:33:26 +01:00
Marek Libra 3e135f28ef feat(notifications): emphasize notification's title
Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-11-13 09:18:26 +01:00
Marek Libra 418610597a feat(notifications): add title to the Notifications' table
Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-11-13 08:39:15 +01:00
Marek Libra 87ffc1c566 feat(notifications): rephrase labels of the View filter
Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-11-10 14:10:09 +01:00
Marek Libra 3a0731e409 fix(notifications): rename "Created after" to "Sent out"
Based on received users' feedback, the purpose of the field seems to be
more clear this way.

Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-11-10 11:28:46 +01:00
Marek Libra 1d87c431f8 feat(notifications): show count of unread notifications in the left-side MenuItem
Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-11-09 18:39:32 +01:00
Heikki Hellgren 97ba58fa17 feat: add user specific notification settings
The settings can be customized for each origin and each processor
individually. The default Web indicates notifications shown in the
Backstage UI. By default, if there are no settings saved in the
database, all notifications are enabled for all processors.

The origins will populate by time for each user as they receive the
first notification from that origin. Processors are shown as their own
columns.

Later, if it makes sense, allow users to also disable/enable
notifications based on notification topic.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-10-18 10:38:36 +03:00
Fredrik Adelöw 5532438535 Merge pull request #26237 from mareklibra/FLPATH-1612.minSeverity
fix: change severity filter label to "Min severity"
2024-09-10 11:28:13 +02:00
David Weber 4a53dd0384 fix: implement icon in backend and show icon in table if available
Signed-off-by: David Weber <david.weber@w3tec.ch>
Signed-off-by: David Weber <david.weber.schenker@gmail.com>
2024-09-03 17:24:30 +02:00
Marek Libra 653f60b8fe fix: change severity filter label to "Min severity"
Signed-off-by: Marek Libra <marek.libra@gmail.com>
2024-08-27 13:10:05 +02:00
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