fix(#590): the My-shares heading is the basename the pure fn already carried #592
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-590"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One field.
groupShares()returns bothpathandname— and its test for "each group carries the basename for its heading" was green the whole time — butsharesRenderMine()putg.pathin the heading. The fix rendersg.nameand keeps the full path as the heading'stitle, so two files with one basename in different folders stay distinguishable on hover.New:
web/test/shares-view.test.js— the glue, not the mapping: liftssharesRenderMine(plus the pure block andshareRoleBadge) and renders it against a fake DOM. Three claims: heading is the basename; full path survives astitle; same basename in two folders yields two groups with distinct titles. This is the fourth instance of pure-block-right-wiring-wrong in the #571 slice, and the same lift-the-glue pattern assettings-load.test.js.Red witnessed: heading rendered
/home/nikola-test/moverini; workflow aborts if the test passes pre-fix. Green: all three, plus the full web suite and the #389 extract gate.