discourse/app/assets/javascripts/admin/controllers
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
..
modals DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-api-keys-index.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-api-keys-new.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-api-keys-show.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-api-keys.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-backups-index.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-backups-logs.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-backups.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-badges-award.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-badges-show.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-badges.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-customize-colors-show.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-customize-colors.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-customize-email-style-edit.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-customize-email-templates-edit.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-customize-email-templates.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-customize-robots-txt.js DEV: Use `type` instead of `method` in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
admin-customize-themes-edit.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-customize-themes-show.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-customize-themes.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-dashboard-general.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-dashboard-moderation.js FEATURE: allows to limit visible reports and tabs in dashboard (#9598) 2020-04-30 17:31:04 +02:00
admin-dashboard-reports.js FEATURE: allows to limit visible reports and tabs in dashboard (#9598) 2020-04-30 17:31:04 +02:00
admin-dashboard.js FEATURE: allows to limit visible reports and tabs in dashboard (#9598) 2020-04-30 17:31:04 +02:00
admin-email-advanced-test.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-email-bounced.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-email-index.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-email-logs.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-email-preview-digest.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-email-received.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-email-rejected.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-email-sent.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-email-skipped.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-embedding.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-emojis.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-logs-screened-emails.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-logs-screened-ip-addresses.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-logs-screened-urls.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-logs-staff-action-logs.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-permalinks.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-plugins.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-reports-show.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-search-logs-index.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-search-logs-term.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-site-settings-category.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-site-settings.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-site-text-edit.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-site-text-index.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-user-badges.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-user-fields.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-user-index.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-user.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-users-list-show.js DEV: Standardize table sorting verbiage (#9757) 2020-05-14 20:10:59 -06:00
admin-watched-words-action.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-watched-words.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-web-hooks-show-events.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-web-hooks-show.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-web-hooks.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00