discourse/test/javascripts
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
..
acceptance DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
admin DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
components DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
controllers DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
ember Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
fixtures DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
helpers DEV: Standardize table sorting verbiage (#9757) 2020-05-14 20:10:59 -06:00
initializers DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
lib DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
mixins Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
models DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
utils Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
widgets DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00