Merge branch 'refactor/desktop-sort-options' into chore/reconcile-ui-review

This commit is contained in:
MechaCat02
2026-06-25 21:12:18 +02:00
2 changed files with 35 additions and 4 deletions

View File

@@ -538,10 +538,11 @@
<label class="sort">
<span>Sort</span>
<select bind:value={sort} onchange={onSortChange} data-testid="sort-select">
<option value="updated">Last updated</option>
<option value="created">Date added</option>
<option value="title">Title</option>
<option value="author">Author</option>
<!-- Options derive from SORT_FIELD_LABELS — the same source the
mobile sort sheet uses — so the two surfaces can't drift. -->
{#each Object.entries(SORT_FIELD_LABELS) as [value, label] (value)}
<option {value}>{label}</option>
{/each}
</select>
</label>
<div class="sort">