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

feat: add installName userconfig #2866

Merged
merged 7 commits into from
May 23, 2024
Merged

feat: add installName userconfig #2866

merged 7 commits into from
May 23, 2024

Conversation

krocheck
Copy link
Member

@krocheck krocheck commented May 18, 2024

This adds a userconfig field called installName that defaults to "Bitfocus Companion" but when modified changes the browser titles and adds the name to the left of the version in the Admin header.

The functionality can be useful in larger show networks when users might be configuring or utilizing Companion on more than one machine.

image

Closes #2813 and partially responds to #2498

TODO:

  • Add documentation

@krocheck krocheck requested review from Julusian and dnmeid May 18, 2024 00:29
Copy link
Member

@Julusian Julusian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering what the default value should be.
Do we need to bake in 'Bitfocus Companion' as the default value, or would it be better to have an empty string, with that default inserted at the place of using it?
I've never been that keen on how the default page name is 'PAGE', giving that value some special properties.

Part of me wants this when unset to use the hostname of the machine, but I'm not sure that would be a good idea

@krocheck
Copy link
Member Author

I can switch this to be empty by default and replace/override 'Bitfocus Companion' in the title bar instead if that's preferred.

@krocheck
Copy link
Member Author

@Julusian I think this is ready to go now if you want to give a fresh look.

@krocheck krocheck merged commit 9bfc71f into main May 23, 2024
7 of 8 checks passed
@krocheck krocheck deleted the feat/document-titles branch May 23, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow changing of browser page/tab title
2 participants