Skip to content

Commit 0ab9b7c

Browse files
committed
Merge branch 'main' into bkis/issue1402
2 parents 53badee + 7d3fd7e commit 0ab9b7c

File tree

7 files changed

+23
-19
lines changed

7 files changed

+23
-19
lines changed

.github/workflows/api-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install uv
2323
uses: astral-sh/setup-uv@v7
2424
with:
25-
version: "0.9.17"
25+
version: "0.9.18"
2626
enable-cache: true
2727
- name: Install Python
2828
uses: actions/setup-python@v6

.github/workflows/api-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install uv
2626
uses: astral-sh/setup-uv@v7
2727
with:
28-
version: "0.9.17"
28+
version: "0.9.18"
2929
enable-cache: true
3030
- name: Install Python
3131
uses: actions/setup-python@v6

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ENV PYTHONFAULTHANDLER=1 \
2626
FROM py-base AS api-builder
2727
WORKDIR "/tekst"
2828

29-
COPY --from=ghcr.io/astral-sh/uv:0.9.17 /uv /uvx /bin/
29+
COPY --from=ghcr.io/astral-sh/uv:0.9.18 /uv /uvx /bin/
3030
COPY Tekst-API/tekst/ ./tekst/
3131
COPY Tekst-API/uv.lock* \
3232
Tekst-API/pyproject.toml \

Tekst-Web/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tekst-Web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@intlify/eslint-plugin-vue-i18n": "^4.0.0",
4848
"@intlify/unplugin-vue-i18n": "^11.0.0",
4949
"@rushstack/eslint-patch": "^1.10.4",
50-
"@tsconfig/node22": "^22.0.0",
50+
"@tsconfig/node24": "^24.0.0",
5151
"@types/color": "^4.0.0",
5252
"@types/js-cookie": "^3.0.6",
5353
"@types/node": "^24.0.0",

Tekst-Web/src/composables/tour.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,31 @@ const steps: TourStep[] = [
2626
text: () => $t('tour.intro.text', { platformName }),
2727
},
2828
{
29-
route: 'browse',
29+
route: { name: 'browse' },
3030
title: () => $t('tour.browseView.title'),
3131
text: () => $t('tour.browseView.text'),
3232
},
3333
{
3434
key: 'browseTextSelect',
35-
route: 'browse',
35+
route: { name: 'browse' },
3636
title: () => $t('tour.browseTextSelect.title'),
3737
text: () => $t('tour.browseTextSelect.text'),
3838
},
3939
{
4040
key: 'browseNav',
41-
route: 'browse',
41+
route: { name: 'browse' },
4242
title: () => $t('tour.browseNav.title'),
4343
text: () => $t('tour.browseNav.text'),
4444
},
4545
{
4646
key: 'browseFocus',
47-
route: 'browse',
47+
route: { name: 'browse' },
4848
title: () => $t('tour.browseFocus.title'),
4949
text: () => $t('tour.browseFocus.text'),
5050
},
5151
{
5252
key: 'browseResourceSelect',
53-
route: 'browse',
53+
route: { name: 'browse' },
5454
title: () => $t('tour.browseResourceSelect.title'),
5555
text: () => $t('tour.browseResourceSelect.text'),
5656
},
@@ -85,11 +85,14 @@ const steps: TourStep[] = [
8585
export function useGuidedTour() {
8686
const router = useRouter();
8787

88-
const stepTransition = async (oldStep: TourStep, newStep?: TourStep) => {
89-
await oldStep.after?.();
88+
const stepTransition = async (oldStep?: TourStep, newStep?: TourStep) => {
89+
await oldStep?.after?.();
9090
if (!newStep) return;
91-
if (newStep.route && router.currentRoute.value.name !== router.resolve(newStep.route).name) {
92-
await router.push(newStep.route);
91+
if (newStep.route) {
92+
const targetRoute = router.resolve(newStep.route);
93+
if (router.currentRoute.value.name !== targetRoute.name) {
94+
await router.push(targetRoute);
95+
}
9396
}
9497
await newStep.before?.();
9598
let waitedMs = 0;
@@ -135,6 +138,7 @@ export function useGuidedTour() {
135138
driverObj.value = undefined;
136139
},
137140
});
141+
stepTransition(undefined, steps[0]);
138142
driverObj.value.drive();
139143
};
140144

Tekst-Web/tsconfig.node.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node22/tsconfig.json",
2+
"extends": "@tsconfig/node24/tsconfig.json",
33
"include": ["vite.config.*", "vitest.config.*", "nightwatch.conf.*", "playwright.config.*"],
44
"compilerOptions": {
55
"composite": true,

0 commit comments

Comments
 (0)