fork-dev / Tracker

Bug and issue tracker for Fork for Mac
506 stars 12 forks source link

Make "Hide untracked files" persistent #471

Open rburgst opened 5 years ago

rburgst commented 5 years ago

Currently Fork forgets the setting for "hide untracked files". So I have to re-check it whenever I restart fork or whenever I reopen a repository. Ideally Fork would remember on a per repository basis the status of this flag.

ppggff commented 4 years ago

Any plan to implement this feature?

ppggff commented 3 years ago

Any plan to implement this feature? And also remember the choice between 'Commit', 'Changes', 'FileTree' in 'All Commits' view?

joshgold22 commented 3 years ago

I am interested in this as well.

Every time I open Fork anew, or open another repository's view, I always switch from "All Commits" to "Local Changes" and then fish through the menu to uncheck Show untracked as well.

Please consider remembering the mode (history vs local) and the view configurations.

(Perhaps Show Ignored should persist as well for consistency, though I don't really use that one regularly. I note that View as List does persist.)

timkelty commented 2 years ago

Git already has a mechanism for this (status.showUntrackedFiles). It seems that this setting should respect that from the repo's git config.

I would say, it should not remember your selection (as it works now), but the initial state should be set from the project's status.showUntrackedFiles setting.

That way you want it to remember, you should update your .git/config

joshgold22 commented 2 years ago

I like the idea of taking the initial default from the user's config file. I would still prefer Fork to be sticky as requested in the original ticket. One reason is that I use Fork vs commandline in different ways. Another is that I don't think changing the config file is a convenient or discoverable way for a GUI user to find how to get their preferred behavior and make it stick (or to realize that Fork has given them a way they can make it stick).

timkelty commented 2 years ago

One reason is that I use Fork vs commandline in different ways

Good point.

Zzy0706 commented 1 year ago

Any update? 👀

parmentelat commented 11 months ago

plus 1 ! I must have clicked this button a zillion times already... what can we do to increase the priority on this ?

ian-h-chamberlain commented 3 months ago

One partial workaround I found that may help others, although it's not as nice as this feature would be: you can use macOS builtin functionality to set a keyboard shortcut for this button.

From System Settings > Keyboard > Keyboard Shortcuts... > App Shortcuts I added this:

Screenshot 2024-06-27 at 13 06 31

It isn't perfect, but at least is a bit quicker to press a shortcut rather than two clicks to set the option every time. Maybe you will find it useful — in any case I would still vote for this feature to make the setting persistent!

joshgold22 commented 3 months ago

Thank you for this idea @ian-h-chamberlain, I put this in right away, though I used control-H to avoid conflict with osx's Hide other applications.

parmentelat commented 3 months ago

awesome @ian-h-chamberlain :)

parmentelat commented 4 weeks ago

in https://github.com/fork-dev/TrackerWin/issues/501, @DanPristupov outlined that the windows version has had this feature since 2.0 (whenever that was) !

why on earth the mac version is that much behind (present issue being almost 6 years old), is beyond me..

DanPristupov commented 4 weeks ago

Fork for Windows 2.0 was released just 2 weeks ago. There have been no Mac updates yet.

parmentelat: why on earth the mac version is that much behind (present issue being almost 6 years old), is beyond me..

This is the wrong tone.