Commit Graph

15 Commits

Author SHA1 Message Date
Penar Musaraj f24027b453
UX: Fix topic status icon size in mobile search results () 2021-12-09 14:32:12 -05:00
Penar Musaraj 0b69675060
UX: Adjust mobile spacing for full page search () 2021-09-27 18:03:56 -04:00
Penar Musaraj 3e3043dbaa
UX: Add second Search button on mobile () 2021-09-21 13:02:00 -04:00
Penar Musaraj dfeca42bf8
FEATURE: user/category/tag results in full page search ()
See PR for details, this commit also changes the layout of the full page search.
2021-09-20 10:01:11 -04:00
Kris 2fb1eaa868
UX: more consistent mobile spacing () 2021-06-07 13:22:28 -04:00
Joffrey JAFFEUX 324aa3eb61
REFACTOR: reworks all the search-advanced-options panel ()
* REFACTOR: reworks all the search-advanced-options panel

This commit includes the following changes:
- prevents any mutation of external (to the component) values
- get rid of observers
- uses @action
- minor UI tweaks
- dropped the unecessary debounce
- drops all the legacy code for badges/groups which is not being used
- replaces user-selector by user-chooser and improves multi-select to not show `search` if maximum has been reached

Most importantly this refactor should fix multiple bugs due to _update() being called multiple times if searchTerm was empty and other various bugs where some changes in searchTerm was not applied to the sidebar.
2020-09-15 09:39:12 +02:00
Kris aa00a6f077 UX: Improve alignment and consistency on full page search 2020-07-21 00:04:07 -04:00
Joffrey JAFFEUX 174d392e5a
DEV: adds prettier ()
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
Joffrey JAFFEUX bd7100a062 FEATURE: revamp full-page-search UI ()
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
Kris add641cbbc
UX: Input and search cleanup ()
* Cleaning up input sizes

* alignment

* more alignment adjustments
2018-01-31 11:44:51 -05: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
cpradio 1e1959a89d FIX: Improve Mobile UI for Advanced Search 2016-10-11 16:28:31 -04: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
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