fix: someday list color tints background + apply pending migration

- color now renders as a tinted background (alpha 0x1f) plus a 4px
  accent border, matching the user's "background colorcoded" request.
- Migration 20260501 was unapplied locally; mark prior failed
  20260403_add_task_url as applied and deploy 20260501. Without it
  the API silently dropped color/icon and the SSE refetch wiped the
  optimistic update, so visuals never appeared.

v1.99.1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
mARTin-B78 2026-05-01 14:34:16 +02:00
parent 52d160ccea
commit d3fedc4d0d
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "my-weekly-todo-list", "name": "my-weekly-todo-list",
"version": "1.99.0", "version": "1.99.1",
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -7952,7 +7952,11 @@ export default function WeeklyView() {
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",
position: "relative", position: "relative",
...(list.color ? { borderLeft: `4px solid ${list.color}`, paddingLeft: "8px" } : {}), ...(list.color ? {
background: `${list.color}1f`,
borderLeft: `4px solid ${list.color}`,
borderRadius: "6px",
} : {}),
}} }}
onMouseDown={(e) => { onMouseDown={(e) => {
const target = e.target as HTMLElement; const target = e.target as HTMLElement;