htmlui icon indicating copy to clipboard operation
htmlui copied to clipboard

feat(ui): column formatting & sorting changes

Open meld-cp opened this issue 5 months ago • 4 comments

  • Right align Size, Files and Dirs columns
  • Use toLocaleString() for Files and Dirs values
image
  • Added locale to preferences to format dates and numbers (requires PR 4741, fixes 4734)
image
  • Fixed byte representation not honored for snapshot list (fixes: 4733)
  • Added sorting to DirectoryItems Name column (fixes: 4684)

meld-cp avatar Jul 26 '25 11:07 meld-cp

@meld-cp the pipeline is failing with:


Run npm run prettier:check

> [email protected] prettier:check
> prettier --check .

Checking formatting...
[warn] src/components/DirectoryItems.jsx
[warn] src/contexts/UIPreferencesContext.tsx
[warn] src/css/App.css
[warn] src/pages/SnapshotHistory.jsx
[warn] src/pages/Snapshots.jsx
[warn] src/utils/formatutils.js
[warn] Code style issues found in 6 files. Run Prettier with --write to fix.
Error: Process completed with exit code 1.

tessus avatar Oct 04 '25 01:10 tessus

@jkowalski is the above issue the only blocker for merging?

tessus avatar Oct 04 '25 01:10 tessus

Thanks @tessus, I'm traveling, but can revisit this in a few days

meld-cp avatar Oct 04 '25 04:10 meld-cp

@meld-cp no rush, have fun travelling.

tessus avatar Oct 04 '25 06:10 tessus