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
cpradio 4b71fd253b Advanced Search UI
Properly support Categories so it updates the search box correctly

Use category id, as it is more consistent with search results than using the slugs, especially for parent/subcategory

Added Status

Improve AutoComplete so it can receive updates
Added the ability for AutoComplete to receive updates to badge-selector and group-selector

Respect null, which is set via web-hooks

Support both # and category: for category detection.

Only update the searchedTerms if they differ from its current value (this helps the Category Selector receive updates)

Opt in receive updates (#3)

* Make the selectors opt-in for receiving updates

* Opt-in to receive updates

* Fix category detection for search-advanced-options

Fix eslint error

Update user-selector so it can receive updates live too
Make the canReceiveUpdates check validate against 'true'

Converted to use template literals

Refactor the regex involved with this feature
Split apart the init to make it a bit more manageable/testable

Switch the category selector to category-chooser, so it is a dropdown of categories instead of auto-complete

Reduce RegEx to make this happier with unicode languages and reduce some of the complexity
2016-10-04 11:18:01 -04:00
..
admin FIX: Incorrect import path for iconHTML helper. 2016-09-25 12:39:17 +08:00
discourse Advanced Search UI 2016-10-04 11:18:01 -04:00
discourse-common FIX: Wizard didn't work with subfolders 2016-09-22 14:39:36 -04:00
docs Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
ember-addons Ember 1.12 support 2015-08-13 11:14:16 -04:00
locales Wizard: Step 1 2016-09-22 09:48:58 -04:00
pretty-text FIX: Support div dir= in sanitizer 2016-08-15 11:19:10 -04:00
wizard FIX: Wizard didn't work with subfolders 2016-09-22 14:39:36 -04:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
application.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
deprecated.js Deprecate the BBCode module too for plugins that reach in there. 2016-07-13 14:05:54 -04:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
discourse.js.es6 Split out common functions into discourse-common module 2016-09-22 09:52:19 -04:00
ember_include.js.erb move template compiler into vendor for now 2015-11-25 15:54:54 +11:00
ember_jquery.js Wizard: Server Side Validation + Finished Step 2016-09-22 09:52:19 -04:00
ember-shim.js Migrate discourse.js to ES6 2016-07-11 12:57:05 -04:00
env.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
jquery_include.js.erb Ember 1.11 broken WIP 2015-05-11 11:18:37 -04:00
main_include_admin.js FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
main_include.js Wizard: Server Side Validation + Finished Step 2016-09-22 09:52:19 -04:00
preload-store.js.es6 REFACTOR: PreloadStore to ES6 2016-07-11 12:57:05 -04:00
pretty-text-bundle.js REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
template_include.js.erb PERF: stop loading handlebars and ember compilers in prod 2015-11-27 11:59:01 +11:00
vendor.js Wizard: Server Side Validation + Finished Step 2016-09-22 09:52:19 -04:00
wizard-application.js Split out common functions into discourse-common module 2016-09-22 09:52:19 -04:00
wizard-vendor.js Javascript file was missing 2016-09-22 09:52:19 -04:00