discourse/app/assets/javascripts/admin/components
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
..
report-filters FEATURE: Make report filters reusable (#9444) 2020-04-22 11:52:50 +03:00
site-settings FIX: improves tag-list setting (#9574) 2020-04-28 20:05:30 +02:00
ace-editor.js FIX: prevents exception when clicking component title above ace editor (#9309) 2020-03-30 18:55:15 +02:00
admin-backups-logs.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-editable-field.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-form-row.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-graph.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-nav.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-chart.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-counters.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-counts.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-inline-table.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-per-day-counts.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-stacked-chart.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-storage-stats.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-report-table-cell.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-table-header.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-table-row.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-table.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-trust-level-counts.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-theme-editor.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-user-field-item.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-watched-word.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-web-hook-event-chooser.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-web-hook-event.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-web-hook-status.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-wrapper.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
cancel-link.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
color-input.js FIX: allows color-input to set hex and color names through input (#9339) 2020-04-02 21:19:31 +02:00
email-styles-editor.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
embeddable-host.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
embedding-setting.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
flag-user-lists.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
highlighted-code.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
inline-edit-checkbox.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
install-theme-item.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
ip-lookup.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
moderation-history-item.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
penalty-post-action.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
permalink-form.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
resumable-upload.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
screened-ip-address-form.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
secret-value-list.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
silence-details.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
site-setting.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
site-settings-image-uploader.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
site-text-summary.js FIX: remove word boundary regex (\b) for search result highlights. (#9338) 2020-04-15 11:11:00 +05:30
staff-actions.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
suspension-details.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
tags-uploader.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
theme-setting-editor.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
theme-setting-relatives-selector.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
theme-translation.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
themes-list-item.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
themes-list.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
value-list.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
watched-word-form.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
watched-word-uploader.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00