From 19637ed22712391aaa99d6fb5340af4f8679206a Mon Sep 17 00:00:00 2001 From: Jiro Ghianni Date: Thu, 4 Jul 2024 15:44:30 +0200 Subject: [PATCH] [#2379] Reordered notifications order + forced focus on 1st element --- .../templates/components/Form/Error.html | 2 +- .../components/Notification/Notification.html | 9 +- .../Notification/Notifications.html | 4 +- .../conf/locale/nl/LC_MESSAGES/django.po | 4 +- src/open_inwoner/js/components/index.js | 2 + .../notifications/NotificationsList.js | 40 +++++++++ .../js/components/notifications/index.js | 87 ++++++++++++++++--- .../Notification/_Notification.scss | 2 +- .../search/tests/test_feedback.py | 2 +- src/open_inwoner/search/views.py | 2 +- 10 files changed, 134 insertions(+), 20 deletions(-) create mode 100644 src/open_inwoner/js/components/notifications/NotificationsList.js diff --git a/src/open_inwoner/components/templates/components/Form/Error.html b/src/open_inwoner/components/templates/components/Form/Error.html index 6542a11f9a..d426cee805 100644 --- a/src/open_inwoner/components/templates/components/Form/Error.html +++ b/src/open_inwoner/components/templates/components/Form/Error.html @@ -4,7 +4,7 @@
{% icon icon="warning_amber" icon_position="before" outlined=True %} -
+
diff --git a/src/open_inwoner/components/templates/components/Notification/Notification.html b/src/open_inwoner/components/templates/components/Notification/Notification.html index ecb6d30c75..0955a3508f 100644 --- a/src/open_inwoner/components/templates/components/Notification/Notification.html +++ b/src/open_inwoner/components/templates/components/Notification/Notification.html @@ -6,7 +6,14 @@
{% endif %} -
+