discourse/app/assets/javascripts/admin
Blake Erickson 1a2b9435b0
DEV: Standardize table sorting verbiage (#9757)
* DEV: Standardize table sorting verbiage

This commit creates a common component that tables can use to make their
headers sortable. This commit also standardizes on using `desc` as the
default and passing in the `asc=true` flag to adjust the sorting
direction.

* Add deprecation warnings

Adds deprecation warnings if using previous params and maintains
backwards compatibility. Set the default sort value for group members to
be asc.

* switch group requests to use common table-header-toggle

* update fixture
2020-05-14 20:10:59 -06:00
..
adapters Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
components DEV: Standardize table sorting verbiage (#9757) 2020-05-14 20:10:59 -06:00
controllers DEV: Standardize table sorting verbiage (#9757) 2020-05-14 20:10:59 -06:00
helpers DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
mixins DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
models PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
routes DEV: Standardize table sorting verbiage (#9757) 2020-05-14 20:10:59 -06:00
services DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
templates DEV: Standardize table sorting verbiage (#9757) 2020-05-14 20:10:59 -06:00