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/models
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
..
action-summary.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
admin-post.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
archetype.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
badge-grouping.js.es6 UX: Show translated badge names and badge groupings 2015-12-30 23:35:16 +01:00
badge.js.es6 Advanced Search UI 2016-10-04 11:18:01 -04:00
category-list.js.es6 UX: adjust to show all and stat period 2016-09-02 11:03:52 +10:00
category.js.es6 UX: new /categories layout 2016-08-17 23:23:16 +02:00
composer.js.es6 FIX: Sometimes we hide the in_reply_to when a quote is present 2016-08-30 11:11:16 -04:00
draft.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
group.js.es6 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
input-validation.js.es6 REFACTOR: Migrate more legacy JS to ES6 2016-07-11 12:57:05 -04:00
invite.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
live-post-counts.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
login-method.js.es6 FEATURE: Import facebook avatars when logging in via facebook 2016-09-19 15:10:23 +10:00
model.js.es6 REFACTOR: Migrate more legacy JS to ES6 2016-07-11 12:57:05 -04:00
nav-item.js.es6 Remove Discourse.Mobile constants 2016-02-18 12:19:00 -05:00
permission-type.js.es6 es6 migration and fixes 2015-12-02 11:15:22 +11:00
post-action-type.js.es6 UX: Move likes into drop down instead of its own status line 2015-07-03 17:15:20 -04:00
post-stream.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
post.js.es6 FIX: Discourse.ajax is deprecated. 2016-07-28 18:20:24 +08:00
rest.js.es6 Move TopicTrackingState to injected object 2015-09-04 13:00:24 -04:00
result-set.js.es6 FEATURE: Can override any translation via an admin interface 2015-11-27 11:35:19 -05:00
session.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
site.js.es6 REFACTOR: PreloadStore to ES6 2016-07-11 12:57:05 -04:00
static-page.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
store.js.es6 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
tag-group.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
topic-details.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
topic-list.js.es6 FEATURE: new 'categories_and_latest' endpoint 2016-08-29 22:47:44 +02:00
topic-tracking-state.js.es6 changed data.archetype typo to data.payload.archetype in topic_tracking_state.js.es6 2016-07-29 11:23:00 -04:00
topic.js.es6 UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
trust-level.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
user-action-group.js.es6 es6 migration and fixes 2015-12-02 11:15:22 +11:00
user-action-stat.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
user-action.js.es6 REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
user-badge.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
user-posts-stream.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
user-stream.js.es6 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
user.js.es6 FEATURE: highlight last visited topic in topic list 2016-08-19 11:58:39 +10:00