discourse/test/javascripts/helpers
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
..
assertions.js FIX: Flaky tests. Due to CSS transitions opacity might not be 0 yet. 2020-05-05 13:45:14 -04:00
component-test.js Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
create-pretender.js DEV: Standardize table sorting verbiage (#9757) 2020-05-14 20:10:59 -06:00
create-store.js FIX: allows adapters to define a custom primaryKey (#9254) 2020-03-30 15:23:59 +02:00
d-editor-helper.js Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
fixture-pretender.js Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
html-helper.js Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
qunit-helpers.js DEV: Try once more to make acceptance test fake timers work 2020-05-13 15:16:07 +10:00
review-pretender.js Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
select-kit-helper.js DEV: improves sk api (#9653) 2020-05-06 17:16:20 +02:00
site-settings.js FIX: Rename all instances of bookmarkWithReminder to just bookmark (#9579) 2020-04-30 10:09:22 +10:00
site.js DEV: Move `preload-store` to `discourse/lib/preload-store` 2020-05-06 15:28:06 -04:00
store-pretender.js FIX: allows adapters to define a custom primaryKey (#9254) 2020-03-30 15:23:59 +02:00
textarea-selection-helper.js Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
widget-test.js DEV: Allows moduleForWidget to use before/afterEach options (#9296) 2020-03-30 18:12:32 +02:00