-
Notifications
You must be signed in to change notification settings - Fork 175
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
Adding more branding customization options #1078
base: master
Are you sure you want to change the base?
Conversation
Could you tell, why do you want to hide information about Turnilo licensing and source? Info and feedback menu is a convenient way to do that. |
@mkuthan Our use case for this would be a non commercial but external facing portal, which will be used by our clients to do their analysis - which might be the same for many other Turnilo users. |
Gr8 :) If the "Info & Feedback" is misleading we could fix it instead of hiding. I'm open for the discussion about better placement and content of "Info & Feedback" dialog. |
Sure @mkuthan :), can we rename it to 'About Turnilo' permanently? If yes, I can do the changes for both the places, and remove the hide config. Although removing it from the header, and having it in the side navbar is something, that would work best for us. |
The svg logo is inlined in the configuration file, couldn’t you just inline their desired text in svg in text node? You’d get more freedom because you could also in-line some styles. |
As a developer, I found it easy to code this much rather than design that svg. I would say this config is more convenient. |
@adrianmroz @mkuthan
|
It is hardly a design task:
I am against adding additional flags that conflict with previously defined. New configuration options puts a lot of burden on maintainers. |
What if both options would be configured? Show warning, thrown an error or silently skip one of the settings? |
@adrianmroz-allegro @adrianmroz @mkuthan We should silently skip one with documentation clearly mentioning which config takes precedence. Is it okay if I rename |
Adding following options for branding:
customLogoText
- Use text directly instead ofcustomLogoSvg
.hideInfoAndFeedback
- Hide info & feedback buttons from header & side bar.Works on local, will need help adding tests.
Docs - https://github.com/allegro/turnilo/pull/1078/files#diff-810bf688e1aff85985ea4b886f0ffcb3dcb7a46d9e199db78ae63a6a561147a1R64
Results
Sidebar - 'Analytics Demo' is the value of
Header - 'Analytics Demo' is the value of `customization.customLogoText`. 'Info & Feedback' on right side hidden.customization.customLogoText
. 'Info & Feedback' link hidden.