Skip to content

Filehandling#24

Merged
bnlawrence merged 6 commits intomainfrom
filehandling
Mar 12, 2026
Merged

Filehandling#24
bnlawrence merged 6 commits intomainfrom
filehandling

Conversation

@bnlawrence
Copy link
Copy Markdown
Contributor

This addresses issues #17, #18, and #22.
It also handles some new settings and begins a slight improvement in the tray icon.

Copy link
Copy Markdown
Contributor

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 addresses issues #17, #18, and #22 by adding glob and URI file-open modes, moving field selection info to the plot area, adding a collapse method documentation link, and introducing new configurable settings for field list rows, coordinate slider visibility, and default plot output format/filename.

Changes:

  • Added glob file open dialog and URI stub, replaced combined file/folder picker with separate file and folder pickers
  • Moved selection info display from left panel to the right-hand plot area, using __repr__ for field details
  • Added new settings (field list rows, coordinate slider rows, plot filename template, plot format) with validation and UI controls

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
xconv2/xconv_cf_interface.py Simplified field_info to use str(x) instead of manual coordinate/cell assembly
xconv2/ui/settings_store.py Added defaults and validation for new settings
xconv2/ui/selection_controller.py Use custom InputDialogCustom with doc link for collapse methods
xconv2/ui/plot_view_controller.py Added plot_info_output widget; multi-format save dialog
xconv2/ui/menu_controller.py Added "Open Glob..." and "Open URIs..." menu actions
xconv2/ui/field_metadata_controller.py Route selection info to new right-panel widget
xconv2/ui/dialogs.py New InputDialogCustom and OpenGlobDialog classes
xconv2/ui/init.py Export new dialog classes
xconv2/core_window.py Glob/URI handlers, new settings accessors, layout restructuring, tray icon update
xconv2/assets/cf-logo-box.svg New box-style app icon
xconv2/assets/cf-logo-box.png New box-style app icon (raster)

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

You can also share your feedback on Copilot code review. Take the survey.

Bryan Lawrence and others added 2 commits March 12, 2026 18:04
Fix default format options following review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bnlawrence bnlawrence merged commit f4f4665 into main Mar 12, 2026
3 checks passed
@bnlawrence bnlawrence deleted the filehandling branch March 12, 2026 18:08
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