Commit Graph

43 Commits

Author SHA1 Message Date
Kris
6553744e50 Fixing topic status alignment in search 2018-12-13 21:49:43 -05:00
Kris
db32d29eaa UX: Refactoring topic statuses for consistent icon sizes & colors 2018-12-06 19:22:04 -05:00
Kris
b79fedd540 Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00
Joffrey JAFFEUX
c82887a0f0 Revert "tests prettier trigger"
This reverts commit f74d86639f.
2018-06-14 15:46:03 +02:00
Joffrey JAFFEUX
f74d86639f
tests prettier trigger 2018-06-14 15:15:25 +02:00
Joffrey JAFFEUX
174d392e5a
DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`

It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
Kris
0163798c0e Define primary table borders in one place 2018-04-30 20:45:49 -04:00
Joffrey JAFFEUX
bd7100a062 FEATURE: revamp full-page-search UI (#5703)
This is the first iteration of this revamp, a following iteration will focus on improving the controls in the advanced search sidebar.
2018-04-09 11:51:09 -04:00
Joffrey JAFFEUX
ac701696b3
FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component
These component were also the last using select2. As a consequence select2 is removed from Discourse in this commit.
2018-02-26 11:42:57 +01:00
Kris
add641cbbc
UX: Input and search cleanup (#5546)
* Cleaning up input sizes

* alignment

* more alignment adjustments
2018-01-31 11:44:51 -05:00
Kris
674013129a
UX: Type system rebuild (#5492) 2018-01-12 17:27:38 -05:00
Kris
dea3e84f18 UX: Reducing number of font-sizes used in common 2017-12-21 12:59:19 -05:00
Kris
2d9d43ed1a UX: Removing px font defintions and replacing with em 2017-12-18 15:49:11 -05:00
Kris
920571ae07 UX: Making button on advanced search page match input height 2017-12-11 17:15:08 -05:00
Kris
dc2d9f05dc removing scale-color, first pass 2017-10-13 11:57:10 -04:00
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