Commit Graph

22 Commits

Author SHA1 Message Date
David Taylor b67ceac39d
DEV: Update eslint config (#41) 2024-11-19 15:37:33 +01:00
Natalie Tay 010ada35b7
FIX: Update order when column is clicked (#40)
In #29209, we introduced a callback to the TableHeaderToggle's parent to update the column order. This commit is to update this component to use that callback.
2024-10-17 00:15:53 +08:00
Penar Musaraj e635539583
DEV: update core extension of UserCardContents (#37)
Should fix tests, they were failing with this error:

Attempted to register a view with an id already in use: user-card...

Co-authored-by: Sérgio Saquetim <1108771+megothss@users.noreply.github.com>
2024-10-07 15:05:36 -04:00
Jarek Radosz 0e769465cf
DEV: Update the template copied from core (#28)
(and use angle brackets in a connector template)
2024-06-19 14:42:05 +02:00
Jarek Radosz 36dd79a8c3
FIX: Regression after a core change (#27)
a3d0a9edbb in core converted the Users route to a native class, which meant that `queryParams` merging no longer works.

Extend it manually in `init()`.
2024-06-19 14:12:21 +02:00
David Taylor 1902277ff0
DEV: Update linting (#22)
* drop jQ

* qunit-dom

* convert the button to gjs

* use the store

---------

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2024-03-28 10:12:48 +00:00
David Taylor 4d7491226a
DEV: Resolve deprecations for compatibility with latest ember (#20) 2024-01-09 12:44:56 +00:00
Kris 312faa8556
DEV: fix tests, remove deprecation, fix for slider (#16) 2023-07-13 18:47:03 -04:00
David Taylor 57b90b1d4f
DEV: Update eslint-config-discourse, use prettier for hbs (#12) 2023-01-04 13:48:00 +01:00
David Taylor d7d4687caf
FIX: Ensure clicking a card loads the user page (#8) 2022-10-17 10:06:20 +01:00
Jarek Radosz 02e70aad1c
DEV: Add CI setup and fix linting issues (#7) 2022-06-18 16:52:34 +02:00
David Taylor 8ad475a960
UX: Update HTML following core change (#6) 2021-12-01 18:43:11 +00:00
David Taylor 1f5aebb180
DEV: Merge route:users modifyClass into one (#5)
Running modifyClass twice with the same pluginId means the second modification won't be applied. We can simply combine these two calls into one.
2021-10-27 11:41:52 +01:00
David Taylor f26c9fa005
DEV: Add pluginId to modifyClass to satisfy console warning 2021-10-27 11:26:59 +01:00
David Taylor 1522f3cd2d
FEATURE: Add a button to toggle the card view (#4) 2021-07-09 14:33:56 +01:00
David Taylor cff3d510f2
FIX: Update for Discourse core changes (#3)
- Adds support for core's customizable user directory: https://meta.discourse.org/t/195263
- Adds a new theme component setting which allows the statistics to be hidden completely from the user cards
- Uses core's new group filter functionality
- Adds .discourse-compatibility so that this component can still be installed successfully on older Discourse versions
2021-07-01 17:50:38 +01:00
David Taylor c4ae5cd32c
FEATURE: Setting to hide current user from directory (#1) 2020-11-24 20:08:20 +00:00
David Taylor b2bb6a3790
FIX: Update directory header to match core
This updates the parameters passed to the period-chooser, and makes sure the date displays as expected
2020-06-24 09:27:45 +01:00
David Taylor 53120661ad
FIX: Update for core changes 2020-06-19 21:24:06 +01:00
David Taylor da13c0f68a
DEV: Changes following review 2020-03-10 10:09:30 +00:00
David Taylor 9c4a1ecd68
Add stats, add filters, add time period selector, fix mobile view 2020-03-09 16:37:29 +00:00
David Taylor 771d593372
Initial commit 2020-02-28 15:02:45 +00:00