gitlab-ce/spec/javascripts/environments
Andrew Fontaine fa882a674a Sort Environments in Table by Last Updated
Ensure folders push to the top, if both have no last update, sort by
name.

The sorting algorithm should sort in the following priorities:

1. folders first,
2. last updated descending,
3. by name ascending,

the sorting algorithm must:

1. Sort by name ascending,
2. Reverse (sort by name descending),
3. Sort by last deployment ascending,
4. Reverse (last deployment descending, name ascending),
5. Put folders first.

It is done this way, as `underscore`'s sort API is very basic: simple
comparisons, sorting by ascending only.
2019-02-25 09:31:40 -05:00
..
folder Move permission check of manual actions of deployments 2019-02-08 12:53:35 +00:00
emtpy_state_spec.js Prettify remaining files with differences in CE and EE 2018-10-31 14:33:12 -05:00
environment_actions_spec.js Merge branch 'master' into scheduled-manual-jobs-environment-play-buttons 2018-10-22 22:06:05 +02:00
environment_external_url_spec.js
environment_item_spec.js Move permission check of manual actions of deployments 2019-02-08 12:53:35 +00:00
environment_monitoring_spec.js
environment_rollback_spec.js
environment_stop_spec.js
environment_table_spec.js Sort Environments in Table by Last Updated 2019-02-25 09:31:40 -05:00
environment_terminal_button_spec.js Resolve "Hide cluster features that don't work yet with Group Clusters" 2018-12-20 09:39:09 +00:00
environments_app_spec.js Move permission check of manual actions of deployments 2019-02-08 12:53:35 +00:00
environments_store_spec.js enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
mock_data.js Rename environments stop action method 2018-07-12 12:22:11 +02:00