* fix(search): increase size on fullPageWidth viewport
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: fix width size to be consistent on multiple views
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: set layout to 0 if there is no term
remove flashing by setting max-height
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* feat(search): telescope-style search
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore(search): cleanup some basis and borders
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* fix(search): make sure to set overflow-y
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* feat(search): shows preview on desktop only search
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* perf: add options to control layout through config
cache memoize results to avoid fetching
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: use the default configuration
* fix: correct minor type for search
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* fix: use datasets to query for preview
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: layout changes
show preview on normal layout, and only show previous layout in list page.
* fix(type): annotate search with types
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: apply jacky's suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* chore: using map API and scss
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* fix: styling on search container view on phones
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Update quartz.layout.ts
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Quartz sync: Aug 29, 2023, 10:17 PM
* style: add basic style to tags in search
* feat: add SearchType + tags to search preview
* feat: support multiple matches
* style(search): add style to matching tags
* feat(search): add content to preview for tag search
* fix: only display tags on tag search
* feat: support basic + tag search
* refactor: extract common `fillDocument`, format
* feat: add hotkey to search for tags
* chore: remove logs
* fix: dont render empty `<ul>` if tags not present
* fix(search-tag): make case insensitive
* refactor: clean `hideSearch` and `showSearch`
* feat: trim content similar to `description.ts`
* fix(search-tag): hotkey for windows
* perf: re-use main index for tag search