Fix #211: ls-style file list #219
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!219
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-211"
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?
Implements #211: the Code tab file list becomes ls -la-style columns [mode] [size-num] [size-unit] [type] [name] -> [last modified, right-aligned].
Decisions (law 12, also documented in code comments):
. file / d dir / l symlink / m submodule(issue examples.rw-rw-r--/drwxrwxr-x, eza-style). The #29m---------glyph already reads as lead-m+ nine no-bits dashes, so submodules are unchanged. Canonical modes decide alone; the ls-treetypeonly disambiguates non-canonical fallback strings.B/KB/MB/GB/…over 1024-steps per the issue examples (414 B,17 KB,18 MB— NOT SI/decimal).fmtSizekeeps its #27/#29 lowercase single-string form for inline call sites; both share one ladder (scaleSteps) so they cannot drift.log -1 -- <path>per row (N+1, unbounded) — deliberately not done. Every row shares the containing commit's stamp via one extracommits?n=1at the resolved sha (immutable, Infinity cache, shared across dir navigations); rows paint from the tree payload first and date cells fill in when it lands — first paint never blocked. Rendered with the #133 DateTime component (relative text + local wall-time title).Verification:
node --test web/test/unit/*.test.js: 423/423 pass (format.test.js holds the new mode/size-split/kind contracts and pins fmtSize unchanged; date-source helper latestActivity covered by activity.test.js).pnpm --dir web run build: clean (vite + esbuild SDK).