aw-watcher-web icon indicating copy to clipboard operation
aw-watcher-web copied to clipboard

Add profile name functionality to heartbeat and settings

Open thalesac opened this issue 6 months ago • 3 comments

Allow users to set a custom profile name, which can improve the identification of user sessions and preferences. E.g. Work profile for client X, Personal, etc.

  • Introduced getDisplayProfileName to retrieve the profile name in the heartbeat function.
  • Added a new input field for custom profile name in the settings interface.
  • Implemented generateProfileIdentifier

[!IMPORTANT] Adds custom profile name functionality to heartbeat and settings, including UI input and storage handling.

  • Behavior:
    • Adds profileName to heartbeat data in heartbeat.ts using getDisplayProfileName().
    • Initializes profile identifier in main.ts with generateProfileIdentifier().
  • Settings UI:
    • Adds input field for profileName in index.html.
    • Handles saving and restoring profileName in main.ts.
  • Storage:
    • Implements getCustomProfileName, setCustomProfileName, and getDisplayProfileName in storage.ts.
    • Adds generateProfileIdentifier to create unique profile identifiers.
  • Misc:
    • Adds a custom Vite plugin in vite.config.ts to copy logo files during build.

This description was created by Ellipsis for 116d29b446bc854469ca00a3084385314552507c. You can customize this summary. It will automatically update as commits are pushed.

thalesac avatar Jun 11 '25 12:06 thalesac

@BelKed just updated with your request. THanks for looking into it!

image

thalesac avatar Jun 20 '25 20:06 thalesac

friendly bump in case this is forgotten @BelKed

thalesac avatar Jul 15 '25 04:07 thalesac

I'm not a repo owner/maintainer, @ErikBjare is 😁

BelKed avatar Jul 15 '25 09:07 BelKed