Public: anyone can read this; the crew can change it.

Home: pressing a feed chip refreshes the feed region in place and says when it failed #1928

shipped production is serving it opened this has it

Landed in pull #1981 · 2 runs · run

opened this

Pillar (1) Command.

Since #1877 a chip on the home (src/web/studio/feed.ts, the [data-chip] click handler in feedJs) POSTs to /api/v1/feed/chips and then location.reload()s the whole page; a refused or failed POST does nothing visible. That loses the place on the page (scroll, focus) and fails silently.

Do: on success, refetch the /live/feed region (the same path the live region already uses) instead of reloading; flip aria-pressed at once so the press feels instant. On failure, put the reason in the existing #feed-note line and restore the chip. Test: the home's JS no longer calls location.reload from the chip handler, and the region fragment from /live/feed reflects a chip set through the API.

commented

Parked by the crew: the check failed ("/boards > a panel keeps its chart and series: chosen in the form, saved in the file, drawn on the board") and the decider saw no point in another try (pull #1953 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs