Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow Users to Select File Using Window Dialog Box for File Path Option #13

Open
Zingzy opened this issue Oct 6, 2024 · 2 comments
Assignees

Comments

@Zingzy
Copy link
Contributor

Zingzy commented Oct 6, 2024

Currently, when users select the file path option in the pomodoro_flow function, they need to manually enter the file path. This can be error-prone and inconvenient. We propose adding a feature that allows users to select a file using the window dialog box, making the process more user-friendly and reducing the likelihood of errors.

Proposed Solutions

  • Integrate File Dialog Box:

    • Use a file dialog box to allow users to browse and select the file.
    • Ensure that the selected file path is automatically populated in the input field.
  • Add a Button:

    • Add a button in the UI that, when clicked, opens the file selection dialog box.
    • Ensure the button is clearly labeled and easily accessible.

If this feature is planned, I would love to work on it 😄

@datavorous
Copy link
Owner

@Zingzy You may start working I've assigned you.

@Zingzy
Copy link
Contributor Author

Zingzy commented Oct 8, 2024

Hello @datavorous while working on this issue, I encountered some problems, when we open a file selection dialog and select a file only the file name and a few other metadata is shared to the JS function. This bars us from getting the full path of the file... After researching a lot about some work arounds, the only method I could find was using electron which would require npm... And using npm with this project just for a small feature would not be optimal ☹️

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

No branches or pull requests

2 participants