Skip to content

Inconsistent Folder Selection Handling and UI Glitches in MechType Tauri #2

@SurajRaika

Description

@SurajRaika

Issue Description:

Folder Selection Error:

When: User clicks "Select Folder" but doesn't select a folder (cancels the dialog).
Problem: Rust sends an error message.
Proposed Solution:
Display a user-friendly notification on the frontend using the error message received from Rust.
The notification should clearly state: "No folder was selected. Please choose a valid folder to proceed."

Invalid Folder Selection:

When: User selects a folder that is not valid (e.g., doesn't exist, incorrect format).
Problem: Rust sends a message to the frontend.
Proposed Solution:
Display a user-friendly notification on the frontend using the message received from Rust.
The notification should provide specific guidance:
"The selected folder is invalid (e.g., doesn't exist, incorrect format). Please choose a valid folder."

Search Bar UI Glitch:

Problem: Once the search bar is opened, it cannot be closed.
Proposed Solution:
Implement a clear closing mechanism for the search bar (e.g., an "X" button or clicking outside the search area).

Additional Information (Optional):

Provide any relevant screenshots or code snippets demonstrating the issues.
If applicable, include reproduction steps that consistently trigger the errors.

Setup Project :
https://tauri.app/v1/guides/getting-started/prerequisites/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions