-
-
Notifications
You must be signed in to change notification settings - Fork 372
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
Feature request: Customize header image / text #431
Comments
It would be nice, but it is not so simple. Think that you will need to change the favicon as well. |
Let me specify an override template ejs file?
On Thu, Jul 14, 2022 at 7:36 PM Felix Mosheev ***@***.***> wrote:
It wound be nice, but it is not so simple.
Think that you will meed to change the favicon as well.
How do you think that the best option will be?
Allowing users to pass castomization object with logo url?
—
Reply to this email directly, view it on GitHub
<#431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHGIHCWYYPDXRNME2X2CSTVUCXBTANCNFSM53T2DL6Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Thank you,
James D. Wilson
https://jameswilson.name
|
It can be possible :] |
Just came here to say that I agree, this would be a great feature—and to share why it would be useful in my case. My use case would be: to add some way to visually distinguish between different instances of bull-board. For example, we have separate deployments of bullmq for our development/staging/production environments, and we have bull-board running on each, to view/interact with the different queues in each environment. I often find that I have multiple browser tabs open with bull-board in different environments, and it can be quite easy to mistake one environment's dashboard for another. So having a way to make one say "Production" somewhere at the top vs "Development"—possibly using different colors even—would make a meaningful difference. |
@davejhilton thank you for sharing your use-case, I think that allowing to pass custom Each minor / patch version you will need to update your ejs file (asset hashes)... |
BTW, you can modify the final html as you wish by providing a custom ServerAdapter, for example, for Express adapter, bull-board/packages/express/src/ExpressAdapter.ts Lines 89 to 91 in e52e83d
|
Thanks for that last note Felix that might fit my use case.
On Sun, Jul 17, 2022 at 2:17 AM Felix Mosheev ***@***.***> wrote:
BTW, you can modify the final html as you wish by providing a custom
ServerAdapter, for example, for Express adapter,
You can copy the one that is provided, and change the viewHandler here
https://github.com/felixmosh/bull-board/blob/e52e83dc070b70ff8f95908808278075325c5964/packages/express/src/ExpressAdapter.ts#L89-L91
—
Reply to this email directly, view it on GitHub
<#431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHGIHBURLVYU56K33V5OHTVUOXQNANCNFSM53T2DL6Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Thank you,
James D. Wilson
https://jameswilson.name
|
Oh, I hadn't thought of that! This should actually work perfectly for the (minimal) changes I need. Thanks! |
I'm closing this issue since I don't think that it is a good practice to expose internals |
Vote to leave open and allow passing in custom title, CSS class of logo, image url. |
Lets vote for it :] |
Closing this since there is no demand for this. |
It would be nice to be able to pass in alternative text or CSS class or image for the header.
The text was updated successfully, but these errors were encountered: