discourse/app/assets/javascripts
David Taylor b5721b7b4f
FIX: `default_list_filter = none` navigation and preloading (#20641)
When a category has default_list_filter=none, there were a number of issues which this commit resolves:

1. When using the breadcrumbs to navigate a `default_list_filter=none` category, adding a tag filter would not apply the no-subcategories filter, but the subcategories dropdown would still say 'none'. This commit adjusts `getCategoryAndTagUrl` so that `/none` is added to the URL

2. When landing on `/tags/c/{slug}/{id}/{tag}`, for a default_list_filter=none category, it would include subcategories. This commit introduces a client-side redirect to match the behavior of `/c/{slug}/{id}`

3. When directly navigating to `/c/{slug}/{id}`, it was correctly redirecting to `/c/{slug}/{id}/none`, BUT it was still using the preloaded data for the old route. This has been happening since e7a84948. Prior to that, the preloaded data was discarded and a new JSON request was made to the server. This commit restores that discarding behavior. In future we may want to look into making this more efficient.

System specs are introduced to provide end-end testing of this functionality
2023-03-14 10:46:05 +00:00
..
admin Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
bootstrap-json Build(deps): Bump node-fetch from 3.3.0 to 3.3.1 in /app/assets/javascripts (#20655) 2023-03-13 08:45:43 +08:00
confirm-new-email
dialog-holder Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
discourse FIX: `default_list_filter = none` navigation and preloading (#20641) 2023-03-14 10:46:05 +00:00
discourse-common Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
discourse-ensure-deprecation-order
discourse-hbr Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
discourse-plugins Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
discourse-widget-hbs Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08: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
ember-production-deprecations DEV: Include ember deprecation messages in production builds (#20587) 2023-03-10 10:37:28 +00:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
pretty-text Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
select-kit Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
truth-helpers Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
wizard Build(deps): Bump webpack from 5.76.0 to 5.76.1 in /app/assets/javascripts (#20654) 2023-03-13 08:10:09 +08:00
.licensee.json DEV: Have `licensee` check xmldom license (#18840) 2022-11-02 11:51:11 -04:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json DEV: Include ember deprecation messages in production builds (#20587) 2023-03-10 10:37:28 +00:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FEATURE: Enable service worker for Apple devices (#19643) 2023-01-30 13:23:19 -03:00
yarn.lock Build(deps): Bump sass from 1.58.3 to 1.59.2 in /app/assets/javascripts (#20656) 2023-03-13 11:01:41 +01:00