Einheitliche Listen (0.61.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 9m26s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 9m11s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m4s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m31s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m3s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m1s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m30s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 46s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m28s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 9m26s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 9m11s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m4s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m31s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m3s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m1s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m30s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 46s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m28s
Gemeinsame Werkzeugleiste ListToolbar (Filter-Chips, Suche, Sortierung, Kacheln/Liste) für Neuigkeiten, Stellen, Ideen und Personen; im SDK für Plugins. Neuigkeiten durchsuchbar. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8fbe32ed5c
commit
9cb34635bc
167 changed files with 644 additions and 482 deletions
|
|
@ -1,10 +1,11 @@
|
|||
<script setup>
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { Link, usePage } from '@inertiajs/vue3';
|
||||
import { Briefcase, CircleCheck, FileUser, Plus, Search } from '@lucide/vue';
|
||||
import { Briefcase, CircleCheck, FileUser, Plus } from '@lucide/vue';
|
||||
import { toast } from 'vue-sonner';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import EmptyState from '@/components/EmptyState.vue';
|
||||
import ListToolbar from '@/components/ListToolbar.vue';
|
||||
import NativeSelect from '@/components/NativeSelect.vue';
|
||||
import PageHeader from '@/components/PageHeader.vue';
|
||||
import AppLayout from '@/layouts/AppLayout.vue';
|
||||
|
|
@ -53,15 +54,17 @@ function reset() {
|
|||
</template>
|
||||
</PageHeader>
|
||||
|
||||
<div v-if="postings.length" class="mb-6 grid gap-3 rounded-lg border bg-card p-3 sm:grid-cols-2 lg:grid-cols-[minmax(0,1.5fr)_repeat(3,minmax(0,1fr))]">
|
||||
<div class="relative">
|
||||
<Search class="pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground" />
|
||||
<input v-model="query" type="search" placeholder="Stelle suchen …" aria-label="Stellen durchsuchen" class="h-9 w-full rounded-md border border-input bg-card pr-3 pl-9 text-sm shadow-xs focus-visible:border-brand-400 focus-visible:ring-3 focus-visible:ring-ring/30 focus-visible:outline-none" />
|
||||
</div>
|
||||
<NativeSelect v-model="department" :options="filters.departments.map((d) => ({ value: d, label: d }))" placeholder="Alle Bereiche" aria-label="Bereich" />
|
||||
<NativeSelect v-model="location" :options="filters.locations.map((l) => ({ value: l, label: l }))" placeholder="Alle Standorte" aria-label="Standort" />
|
||||
<NativeSelect v-model="employment" :options="filters.employments" placeholder="Jeder Umfang" aria-label="Umfang" />
|
||||
</div>
|
||||
<ListToolbar
|
||||
v-if="postings.length"
|
||||
v-model:filter="employment"
|
||||
:filters="[{ value: null, label: 'Alle' }, ...filters.employments]"
|
||||
filter-label="Umfang"
|
||||
v-model:search="query"
|
||||
search-placeholder="Stelle suchen"
|
||||
>
|
||||
<NativeSelect v-model="department" :options="filters.departments.map((d) => ({ value: d, label: d }))" placeholder="Alle Bereiche" aria-label="Bereich" class="h-9 w-auto rounded-pill" />
|
||||
<NativeSelect v-model="location" :options="filters.locations.map((l) => ({ value: l, label: l }))" placeholder="Alle Standorte" aria-label="Standort" class="h-9 w-auto rounded-pill" />
|
||||
</ListToolbar>
|
||||
|
||||
<ul v-if="list.length" class="grid gap-3">
|
||||
<li v-for="posting in list" :key="posting.id">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue