Skip to content

Add file selection instruction#586

Merged
Bujee415 merged 1 commit intomasterfrom
improve/update-file-selection-view
Jun 18, 2025
Merged

Add file selection instruction#586
Bujee415 merged 1 commit intomasterfrom
improve/update-file-selection-view

Conversation

@YukiMatsuzawa
Copy link
Copy Markdown
Contributor

PR Classification

Enhancement of user interface elements and feedback mechanisms.

PR Summary

This pull request updates the tooltip for a button and introduces new UI elements to improve user interaction.

  • DatasetFileSettingView.xaml: Updated tooltip content to remove specific format mention.
  • DatasetFileSettingView.xaml: Added a Viewbox with a TextBlock that prompts users to select files or drag and drop when no files are present.

Modified tooltip content for clarity and added a new Viewbox
with a TextBlock to guide users on file selection via 'Browse'
or drag-and-drop. The TextBlock visibility is conditional based
on the file selection count. Additionally, a read-only TextBox
was introduced to display supporting messages.
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 enhances the user interface by updating tooltip text and adding a new UI element that displays a file selection instruction when no files are present.

  • Updated tooltip content in DatasetFileSettingView.xaml to remove outdated format information.
  • Added a Viewbox with a TextBlock to prompt users to select files or drag and drop when no files are available.
Comments suppressed due to low confidence (1)

src/MSDIAL5/MsdialGuiApp/View/Setting/DatasetFileSettingView.xaml:258

  • [nitpick] Consider externalizing this user instruction text to a resource file for easier localization and future maintenance.
                Click 'Browse' to select files or drag and drop here

@Bujee415 Bujee415 merged commit a6b0bb2 into master Jun 18, 2025
9 checks passed
@Bujee415 Bujee415 deleted the improve/update-file-selection-view branch June 18, 2025 08:16
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.

3 participants