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

Enhanced Tray icon #526

Open
3 of 4 tasks
jgresham opened this issue Mar 27, 2024 · 1 comment
Open
3 of 4 tasks

Enhanced Tray icon #526

jgresham opened this issue Mar 27, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request in-progress A dev has started working on this

Comments

@jgresham
Copy link
Member

jgresham commented Mar 27, 2024

Feature details

The current tray icon is a minimal implementation. Enhancing it with additional functionality describe in comment #520 (comment)

  • Colored icons for errors (red), warnings (yellow), notifications (grey)
  • Clicking on a node list-item from the tray menu should open the app with that node selected in the sidebar.
  • Using the "Quit" menu item should probably prompt the user with an "are you sure?" type of alert informing them of the implications (nodes will stop syncing etc) either by opening the app with the alert displayed in the app or if not possible through an OS system alert? I'm assuming this would shut down all NN related processes until the app gets relaunched.
  • Explore if Electron allows a custom Tray menu UI instead of the standard mac menu items which only support a text string
@jgresham jgresham added the enhancement New feature or request label Mar 27, 2024
@corn-potage corn-potage self-assigned this May 2, 2024
@corn-potage corn-potage added the in-progress A dev has started working on this label Jun 9, 2024
@jgresham
Copy link
Member Author

Notes remaining after merging PR #597

Notes:

currently not a react component but javascript creating html nodes in the custom window; had difficulty and will need more time to figure that out
couldn't get colored notification icon to work
need more time to figure out a better way to handle granular node statuses such as "Initializing", "Syncing", etc so it can be used the same way in Tray, NodePackageScreen, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in-progress A dev has started working on this
Projects
None yet
Development

No branches or pull requests

2 participants