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/templates/components
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
..
user-fields FEATURE: New "Dropdown" user field type 2015-07-28 12:30:21 -04:00
admin-group-selector.hbs FIX: proper handling of group memberships 2015-01-05 18:51:45 +01:00
auto-close-form.hbs FIX: auto-focus input field on Safari was closing the modal 2015-09-14 12:39:46 +02:00
avatar-uploader.hbs Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
badge-button.hbs FEATURE: allow admins to enter badge long descriptions 2016-03-28 18:38:57 +11:00
badge-card.hbs FEATURE: allow admins to enter badge long descriptions 2016-03-28 18:38:57 +11:00
badge-selector.hbs Advanced Search UI 2016-10-04 11:18:01 -04:00
basic-topic-list.hbs FIX: Remove CSS hack. 2016-09-22 17:39:20 +08:00
bread-crumbs.hbs FEATURE: Merge tagging plugin into core 2016-04-27 11:58:53 -04:00
bulk-select-button.hbs We can add the no-text class automatically in d-button 2015-07-30 14:53:13 -04:00
categories_with_featured_topics.hbs UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
categories-and-latest-topics.hbs FEATURE: new 'categories_and_latest' endpoint 2016-08-29 22:47:44 +02:00
categories-only.hbs FIX: Don't double escape the category title 2016-09-22 21:13:08 -04:00
category-drop.hbs Typo: Unmatched braces }} 2016-08-20 23:55:07 +10:00
category-selector.hbs FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
category-title-link.hbs FIX: Don't double escape the category title 2016-09-22 21:13:08 -04:00
category-unread.hbs fix typo 2015-10-04 10:49:58 -07:00
choose-topic.hbs Deprecation: Removes more references to view.xyz in templates 2016-05-11 14:26:08 -04:00
color-input.hbs Instead of .js.handlebars use .hbs for handlebars templates 2014-09-26 15:23:15 -04:00
composer-editor.hbs FIX: Clicking on gear icon should hide popup menu. 2016-07-11 10:54:30 +08:00
composer-messages.hbs REFACTOR: Composer messages to use new ember idioms 2016-06-07 14:47:22 -04:00
composer-title.hbs FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05:00
composer-user-selector.hbs FEATURE: allow people to send messages to themselves (for notes etc) 2016-07-04 11:36:43 +10:00
create-topics-notice.hbs FEATURE: the notice asking admins to get discussion started will update with live counts of topics and posts 2015-08-27 17:28:40 -04:00
d-checkbox.hbs Support for "Only show overridden" in site text customization 2015-11-30 15:25:08 -05:00
d-editor-modal.hbs FEATURE: New markdown editor re-written in Ember 2015-10-19 11:01:20 -04:00
d-editor.hbs UX: Allow translation of composer icons 2016-08-15 18:57:05 +02:00
date-picker.hbs ensure pikaday respects our color scheme 2016-04-21 20:56:12 +02:00
desktop-notification-config.hbs UX: Disable button when Notification permission is denied. 2015-09-21 18:14:13 +08:00
directory-item.hbs Deprecation: replace itemController with components 2016-05-04 16:18:22 -04:00
disabled-icon.hbs More refactoring to support extensibility of history 2015-01-28 13:37:06 -05:00
discourse-banner.hbs FEATURE: add a link to the topic in the banner for staff members 2015-06-09 19:31:14 +02:00
discourse-tag-bound.hbs FEATURE: Merge tagging plugin into core 2016-04-27 11:58:53 -04:00
edit-category-general.hbs Refactor category edit to use components 2015-07-03 10:01:46 -04:00
edit-category-images.hbs FIX: Category Logo preview should not repeat 2015-09-23 11:34:23 -04:00
edit-category-panel.hbs Can add topic templates to categories, prepopulated on compose 2015-07-03 10:01:46 -04:00
edit-category-security.hbs Deprecation: {{view}} helper 2016-05-11 14:26:06 -04:00
edit-category-settings.hbs Don't hide e-mail in settings behind email-in plugins 2016-09-06 14:23:43 +10:00
edit-category-tab.hbs Replace the rest of the deprecated {{action xyz}} with `{{action 2014-10-03 14:43:27 -04:00
edit-category-tags.hbs FIX: category settings should not limit number of tags 2016-07-26 16:04:11 -04:00
edit-category-topic-template.hbs FEATURE: New markdown editor re-written in Ember 2015-10-19 11:01:20 -04:00
emoji-uploader.hbs Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
featured-topic.hbs FIX: clicking the timestamp next to a feature topics should link to the latest post 2016-08-24 22:07:25 +02:00
flag-action-type.hbs Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
group-post-stream.js.hbs Fixes some deprecations: 2016-04-28 15:25:45 -04:00
group-post.hbs FIX: Santized HTML entities on group page 2016-04-26 14:24:36 -04:00
group-selector.hbs FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
image-uploader.hbs Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
ip-lookup.hbs Deprecation: Change {{#each x in y}} to {{#each y as |x|}} 2016-05-04 16:18:09 -04:00
json-file-uploader.hbs this just in: drag events are very broken 2015-05-16 21:04:57 -07:00
latest-topic-list-item.hbs Fix tags separation on new category page 2016-09-26 16:14:41 -03:00
list-setting.hbs Instead of .js.handlebars use .hbs for handlebars templates 2014-09-26 15:23:15 -04:00
login-buttons.hbs Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
mobile-category-topic.hbs FIX: Add topic entrance to mobile categories page when clicking count 2016-07-20 16:08:58 -04:00
mobile-nav.hbs UX: initial take at collapsing mobile nav on user page 2016-02-12 17:51:26 +11:00
nav-item.hbs FEATURE: show pending/redeemed invite count in tabs 2015-08-25 01:12:46 +05:30
navigation-bar.hbs Deprecations: More {{#each x in y}} templates 2016-05-11 14:26:08 -04:00
period-chooser.hbs Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
popup-menu.hbs FEATURE: Add staff gear icon to composer with options 2015-09-15 16:42:04 -04:00
preference-checkbox.hbs FEATURE: More granular mailing list mode (#4068) 2016-05-21 15:17:54 +02:00
queued-post.hbs Deprecation: replace itemController with components 2016-05-04 16:18:22 -04:00
search-advanced-options.hbs Advanced Search UI 2016-10-04 11:18:01 -04:00
share-source.hbs Deprecations: {{bind-attr}} is deprecated 2016-05-11 14:26:06 -04:00
signup-cta.hbs Remove excessive text on signup CTA 2015-10-30 14:13:16 -04:00
small-action.hbs FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -05:00
stream-item.hbs FEATURE: Extend clicking tracking to the user profile page. (#4203) 2016-05-02 11:43:58 -04:00
tag-drop.hbs FIX: tag filter shows when "no tags" is selected 2016-07-25 12:13:07 -04:00
tag-list.hbs FIX: tags index should show all tags belonging to a category even if they have never been used 2016-07-26 16:04:11 -04:00
toggle-deleted.hbs The {{i18n}} helper should use quotes when looking up keys, always. 2014-12-08 16:36:18 -05:00
top-period-buttons.hbs Deprecation: Change {{#each x in y}} to {{#each y as |x|}} 2016-05-04 16:18:09 -04:00
topic-category.hbs Deprecation: Change {{#each x in y}} to {{#each y as |x|}} 2016-05-04 16:18:09 -04:00
topic-list.hbs FEATURE: highlight last visited topic in topic list 2016-08-19 11:58:39 +10:00
topic-navigation.hbs UX: Hide the timeline when the composer is open 2016-06-01 14:42:00 -04:00
topic-progress.hbs FIX: Jump to post on iOS was broken - replace with prompt 2016-07-26 15:08:04 -04:00
track-selected.hbs FEATURE: bulk select on search results 2015-08-27 11:44:13 +10:00
user-badge.hbs FEATURE: you can not drill down and see why you have badges 2016-01-18 17:59:20 +11:00
user-info.hbs UX: Make user info rendering more consistent 2016-03-24 13:49:35 -04:00
user-stat.hbs UX: improved user summary page 2016-03-30 18:05:16 +02:00