discourse-assign/assets/javascripts/discourse
Loïc Guitaut 5055bcbb2c FIX: Order items properly in user menu
The recent changes to the user menu changed how we were ordering the
items in it. A small bug was noticed though, as we’re not displaying the
unread assignments at the very top.

This patch fixes the ordering like this:

- Unread individual assignment notifications
- Unread group assignment notifications
- Read individual assignments
- Read group assignments

In each group of items, they are sorted by date, the most recent ones
being at the top.
2023-11-09 16:41:48 +01:00
..
components FIX: Order items properly in user menu 2023-11-09 16:41:48 +01:00
connectors DEV: Modernise assignment topic-list implementation (#510) 2023-09-28 15:07:15 +01:00
controllers DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
initializers FIX: Display assignments in user menu properly 2023-11-08 15:26:57 +01:00
pre-initializers DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
raw-templates DEV: Modernise assignment topic-list implementation (#510) 2023-09-28 15:07:15 +01:00
raw-views DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
routes DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
services DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
templates DEV: Modernise assignment topic-list implementation (#510) 2023-09-28 15:07:15 +01:00
assigned-group-route-map.js DEV: Merge js dirs; prefix tests (#484) 2023-07-03 17:28:02 +02:00
assigned-messages-route-map.js DEV: Merge js dirs; prefix tests (#484) 2023-07-03 17:28:02 +02:00
assigns-activity-route-map.js DEV: Merge js dirs; prefix tests (#484) 2023-07-03 17:28:02 +02:00