This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/config
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
..
2016-07-05 11:10:42 +10:00
2016-06-10 11:40:42 +08:00
2013-02-05 14:16:51 -05:00
2013-08-14 21:39:40 +02:00
2016-02-24 14:49:31 +11:00
2016-06-13 09:34:52 +08:00
2014-03-31 12:34:13 +11:00
2014-08-25 10:49:13 +10:00