nuclear icon indicating copy to clipboard operation
nuclear copied to clipboard

Add option to hide tray/menu bar icon

Open mariobrostech opened this issue 3 years ago • 12 comments

Hi,

Is there any way that an option could be added to hide the tray icon on Windows and the menu bar icon on macOS/Linux if you don't wish to have it enabled?

Thanks in advance!

mariobrostech avatar Feb 08 '22 19:02 mariobrostech

I have other things I want to work on but I don't see why not if anyone wants to contribute this option.

nukeop avatar Feb 08 '22 19:02 nukeop

Hello, I tried figuring this one out as one of my first public contributions. I've managed to make a toggle switch for showing the icon in the feature/toggle-tray-icon branch in my fork. At the moment it only shows/hides the icon after restarting. Also it's still using it's prettyName value in the settings menu. The program seems to be running normally still but npm test is failing a single test right now on my end.

COZMIKDX avatar Feb 11 '22 09:02 COZMIKDX

Can you please add tests for this feature? And if you open a pull request, we can run CI to figure out which tests are failing and why.

nukeop avatar Feb 11 '22 09:02 nukeop

I'll try making some tests. Could you point me towards where some examples are in the project so I can look at how they are made? As for the pull request, should I do it now or after the tests are made?

COZMIKDX avatar Feb 11 '22 17:02 COZMIKDX

You can look at any file with .test. Feel free to open a PR whenever you want.

nukeop avatar Feb 11 '22 18:02 nukeop

Hi can i work on this issue. @nukeop

hilalsidhic avatar Aug 06 '22 17:08 hilalsidhic

Sure, just please read the contribution guidelines first: https://nukeop.gitbook.io/nuclear/contributing/contribution-guidelines

nukeop avatar Aug 06 '22 17:08 nukeop

If this has yet to be completed, would I be able to work on it? @nukeop

aeum1016 avatar Sep 12 '22 21:09 aeum1016

Alright, the comment above applies.

nukeop avatar Sep 12 '22 21:09 nukeop

@nukeop I have a couple of questions. The first is that I'm failing a test right now, but it seems like the last merged pull request on the main repo also failed this test so I'm not sure what I should do about that. Also, same as the last person, I'm still using the pretty name and don't know whether I should be adding translations or not. I'll put in a pull request really soon if you want to go from there as well. Thanks.

aeum1016 avatar Sep 25 '22 22:09 aeum1016

Please just open a pull request for context.

nukeop avatar Sep 25 '22 22:09 nukeop

#1323 No tests yet, but I'd like some guidance on what to do from here.

aeum1016 avatar Sep 25 '22 22:09 aeum1016