Fix #314: milestones page rework #317
No reviewers
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!317
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-314"
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?
Reworks the milestones page card layout (
web/src/pages/Milestones.jsx) per #314:Open milestone cards: title is now a plain heading (+ state chip + counts), progress bar and
MilestoneIssueslist unchanged, then a footer row with an explicit "View N issues" button LEFT (an<A class="btn">to the same?milestone=<id>filter the old title-link used) and Close / Delete RIGHT-aligned (ml-auto), Delete styledbtn danger(red, both themes — existingui.cssrule). No typed-confirm added (kept existing no-confirm behavior).Closed milestones: collapse to a single line each in a muted "Closed" section below the open cards — linked title (same filter href), Reopen button, open/closed counts right-aligned. No progress bar, no issues list, no Delete. Trade (as the issue anticipates): a closed milestone is deleted after reopening, or via the API.
Notes / implementer's calls:
card/btn/chip/mutedtokens; footer/closed rowsflex-wrap+ truncated closed titles for 390px widths.splitMilestones,milestoneFilterHref,milestoneTotalinweb/src/lib/milestones.js).Tests:
node --test web/test/unit/*.test.js— 600 pass, 0 fail (4 new tests for the helpers);vite buildgreen; no new deps. Live-browser check not performed (shared obscura daemon blocks loopback; per task instructions did not start a daemon) — markup uses only existing theme tokens and semantic controls.