Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ updates:
- minor
patterns:
- "@tanstack/*"
exclude-patterns:
- "@tanstack/router-plugin"
- "@tanstack/router-cli"

ui-runtime:
applies-to: version-updates
Expand All @@ -64,6 +67,19 @@ updates:
- zustand
- lucide-react

mock-api-tooling:
applies-to: version-updates
update-types:
- patch
- minor
patterns:
- "@hono/node-server"
- hono
- tsx
- yaml
- esbuild
- "@types/node"

codegen:
applies-to: version-updates
update-types:
Expand All @@ -74,7 +90,7 @@ updates:
- "@tanstack/router-plugin"
- "@tanstack/router-cli"

tooling:
ui-testing:
applies-to: version-updates
update-types:
- patch
Expand All @@ -88,6 +104,13 @@ updates:
- jsdom
- msw
- playwright

tooling:
applies-to: version-updates
update-types:
- patch
- minor
patterns:
- eslint*
- typescript*
- vite
Expand Down
4 changes: 2 additions & 2 deletions ui/src/features/trash/pages/TrashPage.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from '@/test/storybook/page-services'
import { withStorybookApp } from '@/test/storybook/providers'
import { dayMs, timestampAgo } from '@/test/storybook/fixtures'
import { err, type DomainError } from '@shared/errors'
import { domainError, err, type DomainError } from '@shared/errors'
import type { TrashService } from '../services/trashService'
import type { TrashState } from '../types/trash.types'

Expand Down Expand Up @@ -221,7 +221,7 @@ export const RefreshTrashError: Story = {
services: () =>
createStorybookServices({
trash: createTrashServiceWithPostMutationRefreshError({
error: unavailableError('Trash storage is temporarily unavailable.'),
error: domainError.unexpected('Trash storage is temporarily unavailable.'),
}),
workspaces: createWorkspaceService(),
}),
Expand Down
4 changes: 2 additions & 2 deletions ui/src/features/trash/pages/TrashPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('TrashPage', () => {
it('shows a stale refresh status when delete succeeds but trash refetch fails', async () => {
const user = userEvent.setup()
const baseServices = createAppServices('mock')
const refreshError = domainError.unavailable(
const refreshError = domainError.unexpected(
'Trash storage is temporarily unavailable.',
)
let failFutureList = false
Expand Down Expand Up @@ -204,7 +204,7 @@ describe('TrashPage', () => {

expect(deleteItem).toHaveBeenCalledWith('sampling-error-notes')
expect(await screen.findByText('Trash may be out of date')).toBeInTheDocument()
expect(screen.getByText('The service is temporarily unavailable.')).toBeInTheDocument()
expect(screen.getByText('Trash storage is temporarily unavailable.')).toBeInTheDocument()
expect(screen.getByText('Sampling Error Notes')).toBeInTheDocument()
await waitFor(() => {
expect(list.mock.calls.length).toBeGreaterThanOrEqual(2)
Expand Down