discourse/app/assets/javascripts
Alan Guo Xiang Tan 1b56a55f50
DEV: Sidebar default tags and categories are determined at user creation (#18620)
The previous sidebar default tags and categories implementation did not
allow for a user to configure their sidebar to have no categories or
tags. This commit changes how the defaults are applied. When a user is being created,
we create the SidebarSectionLink records based on the `default_sidebar_categories` and
`default_sidebar_tags` site settings. SidebarSectionLink records are
only created for categories and tags which the user has visibility on at
the point of user creation.

With this change, we're also adding the ability for admins to apply
changes to the `default_sidebar_categories` and `default_sidebar_tags`
site settings historically when changing their site setting. When a new
category/tag has been added to the default, the new category/tag will be
added to the sidebar for all users if the admin elects to apply the changes historically.
Like wise when a tag/category is removed, the tag/category will be
removed from the sidebar for all users if the admin elects to apply the
changes historically.

Internal Ref: /t/73500
2022-10-27 06:38:50 +08:00
..
admin DEV: Sidebar default tags and categories are determined at user creation (#18620) 2022-10-27 06:38:50 +08:00
confirm-new-email DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
discourse DEV: Revert topic loading async changes (#18757) 2022-10-26 20:16:01 +02:00
discourse-common DEV: Introduce a @debounce(delay) decorator (#18667) 2022-10-19 20:43:58 +02:00
discourse-ensure-deprecation-order DEV: Silence 3.x deprecations 2022-07-19 10:00:59 +01:00
discourse-hbr Build(deps): Bump ember-auto-import in /app/assets/javascripts (#18618) 2022-10-16 23:57:28 +02:00
discourse-plugins DEV: Improve colocated component rootName logic (#18708) 2022-10-21 20:20:46 +01:00
discourse-widget-hbs Build(deps): Bump ember-auto-import in /app/assets/javascripts (#18618) 2022-10-16 23:57:28 +02:00
docs
ember-addons
ember-cli-progress-ci DEV: Add progress output in CI during ember-cli build (#17977) 2022-08-17 22:39:52 +01:00
locales FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
pretty-text UX: Fix alt text cancel button in dark mode (#18644) 2022-10-18 09:40:29 -07:00
select-kit FIX: Prevent layout shift while traversing dropdown (#18624) 2022-10-17 11:40:03 -07:00
truth-helpers Build(deps): Bump ember-auto-import in /app/assets/javascripts (#18618) 2022-10-16 23:57:28 +02:00
wizard Build(deps): Bump ember-auto-import in /app/assets/javascripts (#18618) 2022-10-16 23:57:28 +02:00
.licensee.json DEV: Add Ember CLI workspace license checks (#16603) 2022-05-03 13:06:19 -04:00
.npmrc
discourse-js-processor.js DEV: Introduce minification and source maps for Theme JS (#18646) 2022-10-18 18:20:10 +01:00
handlebars-shim.js
package.json DEV: Introduce flag for compiling Plugin JS with Ember CLI (#17965) 2022-08-22 09:56:39 +01:00
polyfills.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
service-worker.js.erb DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
yarn.lock Build(deps): Bump eslint in /app/assets/javascripts (#18713) 2022-10-26 09:20:59 +08:00