discourse/app/assets/stylesheets
cpradio 1e7c69044c FIX: Improve removing advanced filters
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating

After:
UI updates after half a second

Removing it from the UI, removes it from the search field immediately.

Change the regex to detect filter words. This now matches what happens in search.rb, which gives a lot more flexibility (such as iterating over multiple `in:` terms)

Return [] when searchTerm is empty

Move .trim() to this.set('searchTerm', searchTerm) so it doesn't run twice (which was very obvious when watching the search term field)

More refactoring to make this a bit less complex

Update code based on review comments

FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
..
common FIX: Improve removing advanced filters 2016-10-14 19:04:10 -04:00
desktop UX: user messages list was too thin 2016-09-22 16:26:38 +02:00
mobile FIX: Improve removing advanced filters 2016-10-14 19:04:10 -04:00
vendor Server side support for inviting as a moderator via the wizard 2016-09-22 09:52:19 -04:00
admin.scss Sane sendAction() behavior 2015-09-11 09:34:20 -07:00
common.scss update pikaday.js to latest and replace date inputs with pikadays 2016-04-15 17:58:32 +02:00
desktop_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
desktop.scss UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
embed.css.scss one more embed CSS tweak 2016-05-26 01:16:37 -07:00
mobile_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
mobile.scss UX: Emoji Toolbar was too wide on mobile. 2015-10-03 17:08:13 +08:00
wizard.scss UX: first run wizard now (mostly) works on mobile 2016-10-04 13:29:23 -07:00