All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 48s
Fixed along the way. Dumps: clearing a dump's note sent `comment: undefined`, which JSON drops, so the server kept the old one; it's sent as null now. Replacing a file dropped a visibility change made in the same save (the file endpoint doesn't read it); it follows as a separate update. Renaming a dump onto a new slug kept showing the old title until reload. The thumbnail picker and delete on the edit page failed without a word, the latter as an unhandled rejection. Playlists: an edit that kept the slug waited on the socket's echo to show, and a new cover never appeared (the upload's answer was ignored, a refused one said nothing); covers were also served stale for an hour, since `max-age=3600` met an unversioned URL — setPlaylistImage now bumps updated_at and every cover URL carries `?v=` (playlistImageUrl). Removing a dump, reordering, and deleting a playlist ignored non-OK answers, leaving page and server apart; they restore, reload or report. Profile: clearing "Who am I?" sent undefined and came back on reload; your own upvoted list (and the upvoted page) was empty until the socket's welcome, and forever without one; "View all" under Following linked to a route that doesn't exist and is a Load more now. Chat: Escape on "Delete this message?" closed the whole chat — ConfirmModal takes Escape first, in the capture phase. Player: a pause or play from a media key, headset or the OS wasn't reflected (MediaPlayer follows the element's own play/pause events), and the seek bar tracked dragging with mouse events only, so on touch the thumb fought timeupdate. Feeds: a guest on /~/followed got a blank page; a server error in the followed feed read as "Could not connect". Search: a failed later page threw away the results shown. Notifications: a failed mark-read replaced a loaded list with an error. Silent failures now say so: deleting a comment, the voters/likers "Load more" (stuck on "Loading…"), and the password-reset request, which said "sent" whatever happened. Notifications also stop hiding what was new: the bell still clears on opening the page, but the dots and the "N new" count stay for the visit instead of vanishing the moment the mark-read lands, and one arriving while the page is open is marked read too, so the bell doesn't count it. Accessibility: Modal and ConfirmModal are dialogs (role, aria-modal, labelled/described); playlist membership rows are checkboxes that work from the keyboard; a dump's title, and the profile's email and description, can be opened for editing from the keyboard (the pencil shows on focus); the category editor's ✓ and the global player's video button have names. Player, rich-content and download labels were hard-coded English and are translated, with the new French strings. Lint: fast-refresh and render-purity rules are off for src/test/ only, where probes hand their context out on purpose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
1.6 KiB
JSON
42 lines
1.6 KiB
JSON
{
|
|
"tasks": {
|
|
"dev": "deno task icons public && deno run --env-file -A npm:vite & deno task server:start",
|
|
"build": "deno task i18n:extract && deno task i18n:compile && deno run --env-file -A npm:vite build",
|
|
"server:start": "deno run --env-file -A --watch api/main.ts",
|
|
"icons": "deno run --env-file -A api/scripts/generate-icons.ts",
|
|
"serve": "deno task build && deno task icons dist && deno task server:start",
|
|
"i18n:extract": "deno run -A npm:@lingui/cli extract --clean --overwrite --workers 1",
|
|
"i18n:compile": "deno run -A npm:@lingui/cli compile --workers 1",
|
|
"start": "deno task icons dist && deno run --env-file -A api/db/init.ts && deno run --env-file -A api/main.ts",
|
|
"test": "deno test -A api/",
|
|
"test:web": "deno run -A npm:vitest run"
|
|
},
|
|
"nodeModulesDir": "auto",
|
|
"compilerOptions": {
|
|
"types": [
|
|
"react",
|
|
"react-dom",
|
|
"@types/react"
|
|
],
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"deno.ns"
|
|
],
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "react"
|
|
},
|
|
"imports": {
|
|
"@db/sqlite": "jsr:@db/sqlite@^0.13.0",
|
|
"@std/assert": "jsr:@std/assert@^1.0.19",
|
|
"@std/testing": "jsr:@std/testing@^1.0.21",
|
|
"@oak/oak": "jsr:@oak/oak@^17.2.0",
|
|
"@panva/jose": "jsr:@panva/jose@^6.2.3",
|
|
"@tajpouria/cors": "jsr:@tajpouria/cors@^1.2.1",
|
|
"nodemailer": "npm:nodemailer@^9.0.1",
|
|
"marked": "npm:marked@^18.0.5",
|
|
"@resvg/resvg-wasm": "npm:@resvg/resvg-wasm@^2.6.2"
|
|
},
|
|
"allowScripts": ["npm:@swc/core@1.15.41", "npm:esbuild@0.25.12"]
|
|
}
|