Commit Graph

28 Commits

Author SHA1 Message Date
Neil Lalonde
d506e577a5 FEATURE: if full search returns no results, show google search form 2017-08-15 16:46:41 -04:00
awesomerobot
c29b7aa65d initial pass at color simplification 2017-07-14 21:43:35 -04:00
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
Guo Xiang Tan
ef1918662c PERF: Don't render advanced search options when not expanded.
* Debounce options update as well.
2016-10-13 14:46:13 +08:00
Sam
b6d0d4d94d tweaks to full page search 2016-10-11 10:36:27 +11:00
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
Robin Ward
fd3a8583dd UX: Display a message when the search term is too short on full page 2016-08-09 15:11:58 -04:00
Jeff Atwood
ef285579d6 accidentally inverted dark/light on fps blurb 2016-06-22 17:22:26 -07:00
Jeff Atwood
81a3559b29 adjust full page search result blurb colors 2016-06-22 16:48:36 -07:00
Guo Xiang Tan
3d0be0d47c
UX: Display category and tags on full page search in a seperate row. 2016-06-20 12:03:48 +08:00
Jeff Atwood
c882399208 more full page search tweaks 2016-06-17 18:54:41 -07:00
Jeff Atwood
92203c7233 make room in full page search for reply count on right 2016-06-17 18:31:25 -07:00
Jeff Atwood
568ee2ff42 second pass on full page search results layout 2016-06-17 17:25:31 -07:00
Jeff Atwood
f083a198c0 first pass on better full page search layout 2016-06-17 17:05:29 -07:00
Arpit Jalan
796a0db98b FEATURE: add 'New Topic' button on full page search view 2016-02-08 09:09:14 +05:30
Sam
a4ace3f08e FEATURE: ui for ordering search results in full page mode 2015-09-18 17:16:53 +10:00
Sam
71892cc5f4 FEATURE: select all / deselect all on search page 2015-09-08 16:11:21 +10:00
Sam
e13ed24122 FEATURE: on mobile take users to full page search
UX: improve styling on full page search page
FEATURE: allow search context in full page search
FEATURE: visited color link for full page search
FIX: broken search help on fulls page search page
FEATURE: allow preload store to return a null
FEATURE: "mobileAction" for the header buttons
2015-09-08 11:04:03 +10:00
Jeff Atwood
d38c4d5f74 scale-color $lightness must use $secondary for dark themes 2015-08-20 02:42:12 -07:00
Sam
665c3690bb UX: move category below title in search 2015-08-06 17:17:57 +10:00
Jeff Atwood
618f69d919 slightly reduce header size in search 2015-08-03 20:36:43 -07:00
Sam
a2533e2a02 lighten search blurb for full page search 2015-08-04 10:57:34 +10:00
Jeff Atwood
3d7a2b4788 use default link color on search page results 2015-08-03 17:34:06 -07:00
Jeff Atwood
dc27ae3bf5 make search blurbs more grey to match google 2015-08-03 17:30:18 -07:00
Jeff Atwood
2d7ba13223 full page search CSS tweaks 2015-08-03 16:16:46 -07:00
Sam
a97fa571a1 fix highlighting of text in search, make title bigger 2015-07-28 09:43:03 +10:00
Sam
edb794ee86 play with styling on full page results 2015-07-27 19:38:33 +10:00
Sam
41ceff8430 UX: move search to its own route
previously search was bundled with discovery, something that makes stuff confusing internally
2015-07-27 16:47:06 +10:00