You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Store screens: If-Match on edit/delete, membership-aware transition buttons, browser coverage, ui size headroom #873
Follow-ups from #872 (transition controls on store screens). All of these were observed, and none has been designed yet.
Edit and delete still send no If-Match. List responses now carry etags, so the crud script could guard edits and deletes against stale pages the same way it guards transitions.
Buttons ignore the membership gate. The screen can't tell whether the viewer passes a members gate, so a non-member sees a by: others button and gets the 403 message. A reviewer's own request also shows approve. A small, bounded "may I" signal from the store (without exposing membership lists) would fix this.
409 through the screen is only reachable artificially. The store checks If-Match before from, and the script always has an ETag, so a stale page gets 412. The end-to-end 409 test works only by removing etags from the list response.
No real-browser coverage. Only a fake DOM was used. The Playwright test (crud.browser.ts) doesn't cover transitions yet.
ui is at its packed size limit. It is 99,966 of 100 KiB, so the next ui change needs the limit raised or code removed.
Items 1, 4 and 5 are in #877. For item 2 (membership-aware buttons), these are the options:
Preferred: list and write responses carry may: {<id>: [transition names]}, computed from ownership, the by: rule and the viewer's own membership. It reveals nothing about other members and is bounded by page size. This fixes both the non-member case and a reviewer seeing approve on their own request.
A per-screen gate flag at render time. This can't handle the own-record case, and the screen contribution API has no principal at render time.
A lookup on click. This adds a request per record or per click.
Option 1 touches store.ts and collection.ts, so it waits for #876.
Activity
jimhoyd commentedon Sep 29, 2026
Items 1, 4 and 5 are in #877. For item 2 (membership-aware buttons), these are the options:
may: {<id>: [transition names]}, computed from ownership, theby:rule and the viewer's own membership. It reveals nothing about other members and is bounded by page size. This fixes both the non-member case and a reviewer seeing approve on their own request.Option 1 touches store.ts and collection.ts, so it waits for #876.
feat(ui)!: If-Match on screen edits and deletes, stale-page message, …
feat(store,ui)!: may — transitions the caller may run, on list and re…