Compare commits

...

2 Commits

Author SHA1 Message Date
d9870e03bc
chore(release): 1.10.2
All checks were successful
Build release images / build-container (push) Successful in 1m0s
2025-04-11 12:24:49 +02:00
785b9e0b60
refactor(runners): filter table for created_via 2025-04-11 12:24:02 +02:00
8 changed files with 20 additions and 14 deletions

View File

@ -2,9 +2,16 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [1.10.2](https://git.odit.services/lfk/frontend/compare/1.10.1...1.10.2)
- refactor(runners): filter table for created_via [`785b9e0`](https://git.odit.services/lfk/frontend/commit/785b9e0b60a9961f99d0c519d6bb12dc735ac605)
#### [1.10.1](https://git.odit.services/lfk/frontend/compare/1.10.0...1.10.1)
> 9 April 2025
- feat: runner list filtered by created_via [`991716a`](https://git.odit.services/lfk/frontend/commit/991716a7f55d0414111ad264ad1e93de9e82971a)
- chore(release): 1.10.1 [`fce2bc6`](https://git.odit.services/lfk/frontend/commit/fce2bc645e040322f4d1b98a1ed1ab5df7227b6d)
#### [1.10.0](https://git.odit.services/lfk/frontend/compare/1.9.11...1.10.0)

View File

@ -13,7 +13,7 @@
<body>
<span style="display: none; visibility: hidden" id="buildinfo"
>RELEASE_INFO-1.10.1-RELEASE_INFO</span
>RELEASE_INFO-1.10.2-RELEASE_INFO</span
>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script src="/env.js"></script>

View File

@ -1,6 +1,6 @@
{
"name": "@odit/lfk-frontend",
"version": "1.10.1",
"version": "1.10.2",
"type": "module",
"scripts": {
"i18n-order": "node order.js",

View File

@ -138,13 +138,7 @@
<Route path="/">
<Runners created_via="all" />
</Route>
<Route path="/selfservice/">
<Runners created_via="selfservice" />
</Route>
<Route path="/kiosk/">
<Runners created_via="kiosk" />
</Route>
<Route path="/detail/:runnerid" let:params>
<Route path="/:runnerid" let:params>
<RunnerDetail {params} />
</Route>
</Route>

View File

@ -6,7 +6,7 @@
{#if !runner}
{$_("non-blanko")}
{:else}
<a href={`/runners/detail/${runner.id}`}>
<a href={`/runners/${runner.id}`}>
{#if runner.middlename}
{runner.firstname} {runner.middlename} {runner.lastname}
{:else}

View File

@ -220,7 +220,7 @@
<StatCard
title={$_("runner_via_selfservice")}
value={stats.runnersViaSelfservice}
href="/runners/selfservice/"
href="/runners/"
>
<svg
height="24"
@ -237,7 +237,7 @@
<StatCard
title={$_('runners_via_kiosk')}
value={stats.runnersViaKiosk}
href="/runners/kiosk/"
href="/runners/"
>
<svg
height="24"

View File

@ -8,7 +8,7 @@
{:else}
<div class="text-sm font-medium text-gray-900">
<a
href="../runners/detail/{runner.id}"
href="../runners/{runner.id}"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800 border border-current"
>{runner.firstname}
{#if runner.middlename}{runner.middlename}{/if}

View File

@ -76,6 +76,11 @@
header: () => $_("last-name"),
filterFn: `includesString`,
},
{
accessorKey: "created_via",
header: () => "created_via",
filterFn: `includesString`,
},
{
accessorKey: "group",
header: () => $_("group"),
@ -104,7 +109,7 @@
header: () => $_("action"),
cell: (info) => {
return renderComponent(TableActions, {
detailsLink: `/runners/detail/${info.row.original.id}`,
detailsLink: `/runners/${info.row.original.id}`,
deleteAction: () => {
active_delete =
current_runners[