App fixes 0.9.0 (#3034)

* push fixes to test on windows

* Fix searching mods

* Fix search not saving, fix scrolling issues, etc
This commit is contained in:
Geometrically
2024-12-17 23:23:30 -07:00
committed by GitHub
parent 7e8ceadfd4
commit 6ceed4b226
19 changed files with 280 additions and 178 deletions

View File

@@ -3,7 +3,7 @@
ref="dropdown"
no-auto-focus
:aria-id="dropdownId || null"
@hide="focusTrigger"
@apply-hide="focusTrigger"
@apply-show="focusMenuChild"
>
<button ref="trigger" v-bind="$attrs" v-tooltip="tooltip">

View File

@@ -83,7 +83,7 @@ function setSelected(value: boolean) {
<ContentListItem
v-model="selectionStates[ref.filename]"
:item="ref"
:last="false"
:last="ref === items.length - 1"
class="mb-2"
@update:model-value="updateSelection"
>

View File

@@ -534,6 +534,10 @@ export function useSearch(
currentPage.value = Number(page)
readParams.add('page')
})
loadQueryParam(['q'], (queryVal) => {
query.value = String(queryVal)
readParams.add('q')
})
for (const key of Object.keys(route.query).filter((key) => !readParams.has(key))) {
const type = filters.value.find((type) => type.query_param === key)