discourse/app/assets/javascripts
Alan Guo Xiang Tan 20840c341f
FIX: /filter route input field not updating on route change (#23119)
What is the problem here?

When transiting between `/filter` routes with different `q` query
params, the input field is not updating to include the values in the `q`
query param. This was because we were setting the value of the input
field in the constructor of the controller but controllers are actually
singletons in Ember so setting the value of the input field is only done
once when the controller is initialised.

What is the fix here?

Instead of setting the value of the input field in the controller, we
set the value in the `setupController` hook in the route file.
2023-08-17 09:04:48 +08:00
..
admin FIX: Display 'shown on X' user field flags (#23109) 2023-08-15 15:59:04 -05:00
bootstrap-json DEV: Fix ember-cli proxy assets (#22674) 2023-08-01 18:43:33 +01:00
confirm-new-email DEV: Add error message styling (#21225) 2023-04-25 08:40:18 -04:00
deprecation-silencer DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
dialog-holder Build(deps): Bump a11y-dialog in /app/assets/javascripts (#23028) 2023-08-09 11:47:43 +02:00
discourse FIX: /filter route input field not updating on route change (#23119) 2023-08-17 09:04:48 +08:00
discourse-common DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
discourse-hbr Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
discourse-plugins Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
discourse-widget-hbs Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Clean up package.json files (#22349) 2023-06-30 13:01:45 +02:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
pretty-text DEV: move xss dependency into core (#23094) 2023-08-15 16:13:26 +01:00
select-kit FIX: Correct select-kit positioning strategy in modals (#23096) 2023-08-15 10:50:41 +01:00
truth-helpers Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
wizard Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
.licensee.json DEV: Update sub-dependencies (#22325) 2023-06-29 17:08:33 +02: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 Build(deps-dev): Bump patch-package in /app/assets/javascripts (#22844) 2023-07-28 00:58:36 +02:00
polyfills.js
service-worker.js.erb FIX: Attempt to reconnect to server when browser visibilty changes (#22259) 2023-06-23 11:32:34 -05:00
yarn.lock Build(deps-dev): Bump message-bus-client from 4.3.7 to 4.3.8 in /app/assets/javascripts (#23091) 2023-08-15 10:20:55 +08:00