Skip to content

feat: redesign the base, settings and sidebar, and add navigation and history tools - #43

Merged
thonyydev merged 7 commits into
mainfrom
redesign/base
Nov 9, 2026
Merged

thonyydev merged 7 commits into
mainfrom
redesign/base

Conversation

@thonyydev

@thonyydev thonyydev commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

The first part of the 0.2.0 redesign ("restrained" direction), plus the usability work that came with it. Seven commits, each one a step that can be read on its own.

Base and layout

  • One MotionConfig at the root follows reduced motion; pages enter with a light blur; problem notices use a warning icon; empty states get a dotted backdrop.
  • Settings shows one tab per section (Folders, Automatic organization, Categories, Custom rules, Appearance, System). Tabs with unsaved changes show a dot, also announced to screen readers. Ctrl+S saves.
  • Sidebar: Ctrl+1 to Ctrl+4 switch pages; the footer card shows the folders, the monitoring status and the version, each opening the matching tab. Hover is instant.

Files

  • Sort by name, newest or largest (remembered), clear the search with a button or Esc, file counts per category, and a "Conflicts" filter reached from "View conflicts" in the overview.
  • A double click on a row opens the preview; the view button has a tooltip.
  • "Never organize this file" adds a "Keep in place" rule for the exact name at the top of the draft rules and opens the rules tab to review and save.
  • Dates read "Today, 10:04" and "Yesterday, 23:50" (from Intl, so every language gets them).

Organizing and history

  • The review before organizing can switch to a view by destination folder. It opens in the list, which holds the checkboxes.
  • The result offers Undo (the same restore review as the history) and "Open destination folder"; the dialog is wide enough for its four buttons in one row.
  • The history can be searched by file name across every operation, with "Show in folder" for files still moved.
  • New operations join the top of the history on their own, keeping the loaded pages and the open operation. The "New operations - refresh the list" button is gone. When more than a page arrives at once, the list starts over from that page so no gap is left.
  • A click on the "files organized" notification opens the window on the history.
  • Operations that arrive while the overview or history is open slide in with a fading tint; the newest keeps a thin mark.

Native commands (all take ids or a fixed choice from the page, never a path)

  • open_folder: opens the saved source or destination, only as a folder (ShellExecuteW with the explore verb, which never runs a file).
  • reveal_movement: selects a moved file in Explorer. The path comes from the history; the movement must still be moved and the file present; the \?\ prefix is dropped (plain_path, now shared with the image preview check).
  • search_history: file names only, ignoring case in every language, newest first, up to 50.

Verification

  • npm run check, npm run lint, Vitest (291), npm run build
  • cargo fmt --check, cargo clippy -D warnings, cargo test (162)
  • Screenshots of every changed screen in both themes with mock data.
  • Native app: "Open destination folder", the preview by folder and the result dialog confirmed.

Not verified in the native app: the notification click, "Show in folder" (including paths with commas), new operations joining the history on their own, and the arrival animation with Windows reduced motion on.

🤖 Generated with Claude Code

thonyydev and others added 7 commits November 8, 2026 15:01
…on folder

- Base: one MotionConfig for reduced motion, a light blur on page entry,
  warning icons on problem notices and a dotted backdrop on empty states.
- Settings: one tab per section, showing only that section's options.
- Sidebar: Ctrl+1 to Ctrl+4 switch pages; the footer card shows the folders,
  the monitoring status and the version, each opening the matching tab.
- Files: sort by name, newest or largest (remembered), clear the search with
  a button or Esc, and file counts in the category filter.
- Open the destination folder in File Explorer from the overview and the
  organization result. The command only opens the saved source or
  destination, and only as a folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hover is the most frequent interaction, so the sidebar items change color at
once instead of fading in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…plorer

- Settings tabs with unsaved changes show a dot, also announced to screen
  readers. Ctrl+S saves the draft.
- Files: a "Conflicts" option in the filter, reached from "View conflicts"
  in the overview; a double click on a row opens the preview; the view
  button has a tooltip.
- History: "Show in folder" selects a moved file in File Explorer. The page
  sends only the operation and movement ids; the backend takes the path from
  the history, requires the file to be moved and present, and drops the
  \?\ prefix Explorer doesn't read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The organization result offers Undo, which opens the same restore review
  as the history. It is off while an automatic batch runs.
- Dates read "Today, 10:04" and "Yesterday, 23:50" by the calendar; the
  words come from Intl, so every language gets them without new strings.
- "Never organize this file" in a file's details adds a "Keep in place"
  rule for its exact name at the top of the draft rules, so broader rules
  don't win, and opens the rules tab to review and save. Names with spaces
  at the ends, which a rule can't hold, don't offer it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- History search: type part of a file name to see, across every operation,
  where each match went, newest first and up to 50, with "Show in folder"
  for files still moved. The backend compares file names only, ignoring case
  in every language (SQLite's LIKE only does so for ASCII). Screen readers
  hear a short count, not the whole list.
- A click on the "files organized" notification shows the window on the
  history; other notifications only show the window. Windows reports the
  click only while the toast is on screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The review before organizing can switch between the list and a view by
  destination folder: the destination root, one collapsible folder per
  group with its file and conflict counts, ignored files apart and files
  unchecked in the list marked. It opens in the list, which holds the
  checkboxes; closed folders render no rows. Both views share the same
  heights, also while the progress panel shows.
- In the overview and the history, an operation that arrives while the page
  is open slides in with a tint that fades, and the newest one keeps a thin
  brand mark. Reduced motion keeps only the mark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The history used to keep new operations out of a loaded list and offer a
"New operations - refresh the list" button. Now the newest page from each
snapshot is merged in: new operations join the top (with the arrival
animation) and changed ones update in place, keeping the loaded pages and
the open operation. When more than a page arrived at once, the list starts
over from that page, so no gap is left, and a pending "Load more" is
discarded. The button, the reload path and its string are gone.

The organization result dialog is wider, so its four buttons fit one row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thonyydev
thonyydev merged commit a559428 into main Nov 9, 2026
2 checks passed
@thonyydev
thonyydev deleted the redesign/base branch November 9, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant