Skip to content

Commit 47c2d8e

Browse files
committed
upgrade inertia v2; add prefetching; migrate queries to tanstack query
vue
1 parent 5a05ee3 commit 47c2d8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+712
-392
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ services:
107107
- sail
108108
- reverse-proxy
109109
playwright:
110-
image: mcr.microsoft.com/playwright:v1.57.0-jammy
110+
image: mcr.microsoft.com/playwright:v1.51.1-jammy
111111
command: ['npx', 'playwright', 'test', '--ui-port=8080', '--ui-host=0.0.0.0']
112112
working_dir: /src
113113
extra_hosts:

e2e/clients.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { expect, Page } from '@playwright/test';
1+
import { expect } from '@playwright/test';
2+
import type { Page } from '@playwright/test';
23
import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
34
import { test } from '../playwright/fixtures';
45

e2e/project-members.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { expect, Page } from '@playwright/test';
1+
import { expect } from '@playwright/test';
2+
import type { Page } from '@playwright/test';
23
import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
34
import { test } from '../playwright/fixtures';
45
import { formatCentsWithOrganizationDefaults } from './utils/money';
5-
import type { CurrencyFormat } from '../resources/js/packages/ui/src/utils/money';
6-
import { NumberFormat } from '@/packages/ui/src/utils/number';
76

87
async function goToProjectsOverview(page: Page) {
98
await page.goto(PLAYWRIGHT_BASE_URL + '/projects');

e2e/projects.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { expect, Page } from '@playwright/test';
1+
import { expect } from '@playwright/test';
2+
import type { Page } from '@playwright/test';
23
import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
34
import { test } from '../playwright/fixtures';
45
import { formatCentsWithOrganizationDefaults } from './utils/money';

e2e/reporting.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { expect, Page } from '@playwright/test';
1+
import { expect } from '@playwright/test';
2+
import type { Page } from '@playwright/test';
23
import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
34
import { test } from '../playwright/fixtures';
45

e2e/tags.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { expect, Page } from '@playwright/test';
1+
import { expect } from '@playwright/test';
2+
import type { Page } from '@playwright/test';
23
import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
34
import { test } from '../playwright/fixtures';
45

e2e/tasks.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { expect, Page } from '@playwright/test';
1+
import { expect } from '@playwright/test';
2+
import type { Page } from '@playwright/test';
23
import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
34
import { test } from '../playwright/fixtures';
45

e2e/time.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
22
import { test } from '../playwright/fixtures';
3-
import { expect, Locator, Page } from '@playwright/test';
3+
import { expect } from '@playwright/test';
4+
import type { Locator, Page } from '@playwright/test';
45
import {
56
assertThatTimerHasStarted,
67
assertThatTimerIsStopped,

e2e/timetracker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
startOrStopTimerWithButton,
88
stoppedTimeEntryResponse,
99
} from './utils/currentTimeEntry';
10-
import { Page } from '@playwright/test';
10+
import type { Page } from '@playwright/test';
1111
import { newTagResponse } from './utils/tags';
1212

1313
async function goToDashboard(page: Page) {

e2e/utils/currentTimeEntry.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { expect, Page } from '@playwright/test';
1+
import { expect } from '@playwright/test';
2+
import type { Page } from '@playwright/test';
23

34
export async function startOrStopTimerWithButton(page: Page) {
45
await page.locator('[data-testid="dashboard_timer"] [data-testid="timer_button"]').click();

0 commit comments

Comments
 (0)