discourse/app/assets/stylesheets/mobile
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
..
alert.scss another minor mobile tweak to alert-info 2015-10-22 14:42:37 -07:00
banner.scss make #banner full width on mobile 2015-10-22 14:37:00 -07:00
buttons.scss proper fix for top page bottom buttons on mobile 2014-08-25 12:55:45 -07:00
compose.scss Remove coupling of a composer feature to d editor. 2016-07-04 16:15:36 +08:00
directory.scss manually revert heart color change 2015-07-10 14:41:38 -07:00
discourse.scss UX: change textarea background color based on theme on mobile 2016-05-18 13:41:19 +05:30
emoji.scss FIX: Emoji window was too big on mobile 2015-11-11 14:21:23 -05:00
faqs.scss add missing semicolon 2014-10-21 14:57:26 -04:00
header.scss UX: center align community title text in mobile 2016-03-22 12:44:55 +11:00
history.scss replacing the remnants of the old color variable code 2015-06-14 22:59:49 -04:00
login.scss UX: Better handle width for fields in sign up form. 2016-07-18 17:28:13 +08:00
menu-panel.scss UX: Long category names pushed badges to a new line in the hamburger 2015-09-02 15:42:20 -04:00
modal.scss remove modal flag hint, no longer needed 2016-03-01 14:22:36 -08:00
search.scss FIX: Improve removing advanced filters 2016-10-14 19:04:10 -04:00
topic-list.scss Revert "UX: Centering Badge notification styles on mobile." 2016-08-08 09:02:46 +08:00
topic-post.scss UX: increase mobile line height for readability 2016-08-05 09:22:54 +10:00
topic.scss UX: Button had wrong margin on iOS 2016-07-26 15:10:14 -04:00
upload.scss scale-color $lightness must use $secondary for dark themes 2015-08-20 02:42:12 -07:00
user.scss FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00