Open ItsSim opened 1 year ago
Instead of the complex dot indicator state, a better approach would be:
Use localStorage to store the last time the user has accessed the Installer tab.
If it's been > 24hr (which is when the "new remesh pack available" status expires) and there is currently a remesh available, show the dot indicator.
When the user clicks the Installer tab, save the current timestamp and hide the dot.
Is your feature request related to a problem? Please describe. When (for example) the remesh package is updated, the user has no way of knowing it was updated without checking the installer tab periodically.
Describe the solution you'd like There should be a way to set a notification dot or indicator for any tab in the launcher. Adding a notification dot to the sidebar would promptly let the user know that they should check out the tab.
Additional context
Implementation
fsolauncher_ui/client.js
to set a notification dot, passing in the tab id as a parameter. The notification dot should automatically be dismissed when the user enters said tab.fsolauncher/library/ipc-bridge.js
and its handler infsolauncher_ui/client.js
so that a notification dot can be set from the node.js side.fsolauncher_ui/client.js
. Use remesh package version to identify if a notification dot has already been dismissed for that particular version.Example notification dot on the installer tab, in the sidebar: