This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Alan Guo Xiang Tan 41eb92f5db
UX: Change ordering of categories shown in sidebar (#18803)
There are two possible ordering for categories shown in sidebar with
this commit.

When the `fixed_category_positions` site setting is enabled, the
categories are ordered based on `Category#position` which is a configurable
option by the user. When said site setting is disabled, the categories
are ordered based on `Category#name`.

The categories in Sidebar are also sorted in such a way where child
categories are always ordered right after their parents. When multiple
child categories are present, the child categories are ordered based on
the ordering described above.
2022-11-04 05:21:49 +09:00
..
app UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
config DEV: Enable jquery-integration runtime deprecation (#18057) 2022-08-23 19:28:22 +01:00
lib DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
public/assets/scripts DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
scripts DEV: Compile splash screen JS with ember-cli before inlining (#18150) 2022-09-01 09:58:48 +01:00
tests UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Use npm for forked backburner.js version (#18559) 2022-10-12 11:14:41 +01:00
jsconfig.json DEV: Add jsconfig (#17800) 2022-08-04 22:50:47 +01:00
package.json Build(deps): Bump ember-source in /app/assets/javascripts (#18859) 2022-11-03 11:36:08 +00:00
testem.js DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00