Skip to content

Version 0.2.1#3

Merged
rsgalloway merged 8 commits intomasterfrom
feature/ui-polish-2
Apr 6, 2026
Merged

Version 0.2.1#3
rsgalloway merged 8 commits intomasterfrom
feature/ui-polish-2

Conversation

@rsgalloway
Copy link
Copy Markdown
Owner

@rsgalloway rsgalloway commented Apr 6, 2026

This pull request updates the application to version 0.2.1 and introduces several user interface enhancements, including a new application icon, improved About dialog, and significant improvements to hidden-file controls and tree navigation. It also adds a toolbar menu, preferences stub, and polish to the browser's selection and focus behaviors.

UI/UX Improvements:

  • Added a packaged application icon (sview_icon.png), set it as the window icon, and displayed it in the About dialog for a more polished appearance. [1] [2] [3] [4] [5]
  • Introduced a toolbar menu button with a dropdown menu containing File, Edit, and Help actions; also added a stub Preferences dialog accessible from the menu. [1] [2] [3] [4]
  • Improved selection and focus behavior: after loading items, the first item is auto-selected in both icon and table views; focus is restored to the appropriate widget after navigation. [1] [2] [3] [4] [5] [6]

Hidden Files and Tree Navigation:

  • Added a "Show Hidden Files" toggle to the Edit menu and toolbar menu; this state is persisted and updates both the directory tree and file browser views in real time. [1] [2] [3] [4] [5] [6] [7]
  • Refined the directory tree and browser filtering logic to respect the hidden-files setting and improve usability when navigating folders. [1] [2] [3] [4] [5]

Other Notable Changes:

  • Table sorting now prioritizes directories over files, and selection is cleared and reset when items are refreshed for a more intuitive experience. [1] [2]
  • Updated version numbers and changelog to reflect the new release. [1] [2] [3]

These changes collectively enhance the application's usability, visual polish, and user control over file visibility and navigation.

@rsgalloway rsgalloway self-assigned this Apr 6, 2026
@rsgalloway rsgalloway added the enhancement New feature or request label Apr 6, 2026
@rsgalloway rsgalloway marked this pull request as ready for review April 6, 2026 04:48
@rsgalloway rsgalloway requested a review from Copilot April 6, 2026 04:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps sview to v0.2.1 and focuses on UI polish: adding a packaged app icon (used for the window and About dialog), improving hidden-file controls across the tree and browser views, and refining selection/focus behavior for smoother navigation.

Changes:

  • Add a packaged application icon and wire it into app/window + About dialog UI.
  • Add “Show Hidden Files” state (persisted) and update tree + browser filtering to respect it.
  • Improve navigation UX (auto-select first item; focus restoration; directory-first sorting in the table).

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
sview/qt/tree.py Adds hidden-directory filtering and custom key navigation for the directory tree.
sview/qt/table.py Adds directory-first sorting via a custom table item and resets/auto-selects after refresh.
sview/qt/icon_view.py Auto-focuses the first item after loading items.
sview/qt/main_window.py Adds toolbar menu button, hidden-files toggle + persistence, focus restoration, and enhanced About dialog with icon.
sview/qt/app.py Sets the application/window icon from the packaged PNG.
sview/qt/sview_icon.png Adds the application icon asset to the repo/package.
sview/__init__.py Bumps __version__ to 0.2.1.
pyproject.toml Bumps project version and includes the icon in package data.
CHANGELOG.md Adds a 0.2.1 changelog entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rsgalloway rsgalloway merged commit e75a72b into master Apr 6, 2026
36 checks passed
@rsgalloway rsgalloway deleted the feature/ui-polish-2 branch April 6, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants