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

Toggle hidden files #1689

Merged
merged 20 commits into from
Jan 4, 2021
Merged

Toggle hidden files #1689

merged 20 commits into from
Jan 4, 2021

Conversation

adrianre12
Copy link
Contributor

Description:

This is a continuation of kgentile's PR #1282
I have attempted to address the outstanding requested changes.

Fixes #1278

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

This is the dialog/testdata folder not showing hidden files
image

Clicking Options button pops up a list, at the moment only one entry Show Hidden Files. Clicking this refreshes the file dialog and shows the hidden files. I have included the file .hidden in the testdata folder and ensured it works on windows and Linux.

image

Copy link
Member

@Jacalz Jacalz left a comment

Choose a reason for hiding this comment

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

Thank you very much for the PR and the great work you have done in effort of continuing the work of the other PR. I just had a quick look and suggested some changes. This is all I have time with, but I hope that the suggestions makes sense :)

dialog/file.go Outdated Show resolved Hide resolved
dialog/file.go Outdated Show resolved Hide resolved
dialog/file.go Outdated Show resolved Hide resolved
dialog/file.go Outdated Show resolved Hide resolved
dialog/file.go Outdated Show resolved Hide resolved
dialog/file.go Outdated Show resolved Hide resolved
dialog/file.go Show resolved Hide resolved
@adrianre12
Copy link
Contributor Author

adrianre12 commented Dec 27, 2020 via email

dialog/file_test.go Outdated Show resolved Hide resolved
@charlesdaniels
Copy link
Member

This might need to be a separate PR, but we should consider also having a keyboard shortcut/shortcuts. I believe that on macOS, this is command+shift+n, and on Linux it's normally control+h. We might want to either support both and/or toggle it by OS.

I don't think this is a blocker for merging this PR, but if it's going to be separated, we should move this into an issue.

dialog/file.go Outdated Show resolved Hide resolved
@andydotxyz andydotxyz added blocker Items that would block a forthcoming release FileDialog Improvements to the builtin file dialogs and removed blocker Items that would block a forthcoming release labels Dec 29, 2020
Co-authored-by: Stuart Scott <stuart.murray.scott@gmail.com>
@adrianre12 adrianre12 requested a review from Jacalz December 30, 2020 11:38
@andydotxyz andydotxyz mentioned this pull request Dec 30, 2020
5 tasks
@Jacalz
Copy link
Member

Jacalz commented Jan 2, 2021

The tests are failing on animations. I think you might need to rebase on develop to get that fixed (if I remember correctly).

@Jacalz
Copy link
Member

Jacalz commented Jan 4, 2021

@adrianre12 Could you please rebase on develop?

@adrianre12
Copy link
Contributor Author

adrianre12 commented Jan 4, 2021 via email

Copy link
Member

@Jacalz Jacalz left a comment

Choose a reason for hiding this comment

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

This looks good now. Thank you 👍

@Jacalz Jacalz merged commit cefdf6f into fyne-io:develop Jan 4, 2021
@adrianre12 adrianre12 deleted the toggle-hidden-files branch January 21, 2021 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FileDialog Improvements to the builtin file dialogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants