Add profile name functionality to heartbeat and settings
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
getDisplayProfileNameto 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
profileNameto heartbeat data inheartbeat.tsusinggetDisplayProfileName().- Initializes profile identifier in
main.tswithgenerateProfileIdentifier().- Settings UI:
- Adds input field for
profileNameinindex.html.- Handles saving and restoring
profileNameinmain.ts.- Storage:
- Implements
getCustomProfileName,setCustomProfileName, andgetDisplayProfileNameinstorage.ts.- Adds
generateProfileIdentifierto create unique profile identifiers.- Misc:
- Adds a custom Vite plugin in
vite.config.tsto copy logo files during build.This description was created by
for 116d29b446bc854469ca00a3084385314552507c. You can customize this summary. It will automatically update as commits are pushed.
@BelKed just updated with your request. THanks for looking into it!
friendly bump in case this is forgotten @BelKed
I'm not a repo owner/maintainer, @ErikBjare is 😁