Skip to content

Improve UX for Mac and in general#17

Merged
bluestreak01 merged 12 commits intomasterfrom
mt_improve
Apr 16, 2026
Merged

Improve UX for Mac and in general#17
bluestreak01 merged 12 commits intomasterfrom
mt_improve

Conversation

@mtopolnik
Copy link
Copy Markdown
Contributor

@mtopolnik mtopolnik commented Apr 9, 2026

Summary

  • Alt-a, Alt-e for file top/bottom in editor and parquet viewer
  • Ctrl-n, Ctrl-p for find next/prev in editor
  • Esc from editor after CI download → returns to the originating CI panel
  • Add CLAUDE.md

Note: the "Search in Viewer" feature from the original commits was dropped during the merge with master, as the standalone text viewer no longer exists on master (text files now open directly in the editor).

mtopolnik and others added 12 commits April 9, 2026 14:57
# Conflicts:
#	src/app.rs
#	src/ui/help_dialog.rs
#	src/ui/mod.rs
#	src/ui/viewer_view.rs
#	src/viewer.rs
Only stash CI focus as pre_editor_focus if the user is actually on a CI
panel when the download completes. Previously, if the user had Tab'd
away to FilePanel while the download ran in the background, closing
the editor would force focus back to the CI panel.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CI's @stable toolchain rolled over to rust 1.95, which added
`collapsible_match` and tightened `unnecessary_sort_by`:

- app.rs: collapse `"diff" => if git_info.is_some()` and two
  `MouseShiftClick => if click_in_...` into match guards.
- app.rs: swap `sort_unstable_by(|a, b| b.1.cmp(&a.1))` for
  `sort_unstable_by_key(|b| Reverse(b.1))`.
- event.rs: flatten the read→send block to build `Option<AppEvent>`
  once and send it once, instead of three send sites.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds a short "Fixing issues" section to CLAUDE.md making the rule
explicit: pre-existing clippy / fmt / test failures get fixed in the
current PR, not deferred.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bin-only clippy missed lints in test code. CLAUDE.md now says
\`cargo clippy --all-targets -- -D warnings\` is the required check.

Fixed every lint that check surfaced:
- app.rs test: \`.len() > 0\` -> \`!is_empty()\`; avoid \`PathBuf::from(&home)\`
  owned-cmp by comparing against \`Path::new(&home)\`.
- fs_ops/mod.rs tests: drop \`needless_borrows_for_generic_args\` \`&\` on
  \`path.join(...)\` args to \`symlink\`/\`fs::read\`.
- gcs.rs test: remove unused \`prefix\` local.
- nfs_client.rs: move \`copy_dir_recursive\` above \`#[cfg(test)] mod tests\`
  to satisfy \`items_after_test_module\`.
- integration_remote.rs: drop unused \`webdav_available\` helper;
  \`.iter().any(|n| *n == x)\` -> \`.contains(&x)\`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bluestreak01 bluestreak01 merged commit acac3b2 into master Apr 16, 2026
5 checks passed
@bluestreak01 bluestreak01 deleted the mt_improve branch April 16, 2026 23:15
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.

2 participants