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/tests/unit
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
..
controllers DEV: Use store.createRecord for Topic models (#18837) 2022-11-03 12:32:20 +01:00
ember DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
lib DEV: Make modifyClass native class-aware, add tests (#16111) 2022-11-03 18:10:08 +01:00
mixins DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
models UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
routes DEV: Add tests for review-index route (#18415) 2022-10-05 12:39:35 +08:00
services DEV: Await for all async MessageBus callbacks (#17966) 2022-08-17 12:44:48 +02:00
utils DEV: Introduce a @debounce(delay) decorator (#18667) 2022-10-19 20:43:58 +02:00
localization-test.js FIX: Overriding text with admin_js.* keys didn't work (#18281) 2022-09-20 10:47:57 +10:00