Repository navigation
feat(portal): find and manage patches in the browser - #268
Conversation
Astra reviewReviewed StandardsNo merge-blocking method or YAGNI findings. The new Portal package is explicitly requested, the pages use the shared shell and components, and the mutation preconditions are checked under the existing transactional patch lock. SpecNo merge-blocking intent findings. The deferred Retire, Delete, Reassign and off-source Restore links are explicitly admitted at merge by #255 and disclosed in this PR, so their current 404 responses are not findings. Verification: Summary: Standards 0 blockers; Spec 0 blockers. No blocking issue on either axis. |
Review of #268 against #255Issue 255 asked for the signed-in portal at What follows is a two-axis review (standards vs spec), then the method and YAGNI. The axes are separate on purpose. Passing one does not excuse the other. StandardsDocumented-standard breaches (hard):
Baseline smells (judgement only; not violations):
Effect service conventions: no findings. PortalPages is a router module like AuthPages and ConnectionPages, not a Spec(a) Missing or partial
(b) Not asked for
(c) Present but wrong
Listed #255 tests (three views, retired/deleted, empty vs off-only, groups/marks, inline success + stale 409, member 403, title, index cut) are in MethodAcceptable, with one load-path caveat. Birthing The load path is larger than it needs to be.
Tests are focused, not slop. One YAGNILean. One Delete: unused SurfacesHit: wire (session HTML, not HttpApi), dev loop ( Partial: Portal Component set glossary still omits SummaryStandards: 3 hard (field label, field error association, Stop serving heading), 3 judgements. Worst: description field is not a labelled field in the component set. Spec: 4 partial, 4 unasked (mostly admitted or harmless), 1 wrong presentation. Worst: member off cards still show Owner / version / Used by, and Method is the right small model. The inventory double-read is the part I would change. Code is lean, not overbuilt. |
Review dispositionsRead both conversation reviews, the Reviews tab and inline comments. The latter two currently have no entries. Fixes are pushed in 573a862. Fixed
Kept as-is, with reasons
Verification
|
719aa8d to
d65d618
Compare
573a862 to
cd44643
Compare
d65d618 to
1cc2152
Compare
Implement #255 with role-aware cards, inline lifecycle forms, stale-action preconditions, and versions pages. Keep deferred action-page 404s on the app shell.
cd44643 to
a8e2b71
Compare
People had to find patches through shared links and use the CLI for routine management. The signed-in portal now lists the company's patches and gives members, owners and admins the appropriate card controls.
Description, sharing, rollback and restore forms check for stale state before making changes. Cards include retained versions, lifecycle notices and the shared app shell.
Stacked on
portal/254-component-setvia #267, not directly onmain.Closes #255.
Retire, Delete, Reassign and off-source Restore links intentionally return app-shell 404s until the follow-on confirmation pages land. This amends the unmerged
0008migration; existing disposable dev databases need a reset, as documented.Verification
pnpm testrun had 893 passes and four database timeouts. The three affected files passed serially, 12/12, with unchanged timeouts.Implemented with GPT-6 Astra in Oh My Pi.