Closed Robertwadelinger closed 6 months ago
@cbart have we talked to Rik about this already to get this rolling?
@RXminuS can you prioritize this (even when it means we pause the diagnostics work for a little bit)?
Sorry wasn't aware this was something I had to look at. Will try and get my dev setup working and jump on it.
@RXminuS I see PR https://github.com/sourcegraph/sourcegraph/issues/59751 is still open but the issue is closed. Do we need to land #59751 to resolve this?
Yeah https://github.com/sourcegraph/sourcegraph/pull/61338 is the PR. Aravind suggested for search team and Meadah to add docs. I've added some basic docs myself but don't think they've had the time yet to look.
If you're happy with it I can quickly resolve the conflict and merge in. Then this should be resolved
Feature request description
The options for banners in global settings gives us 3 parameters to work with. It would be helpful if we could add a fourth to define the color of the banner, for instances where a given customer levees the requirement onto us.
Example:
"notices": [
{
"message": "Your message here! [Include a link for more information](http://example.com).",
"location": "top",
"dismissible": true,
"color": #FF0000
}
]
(might also need a KV pair for banner text color)
Is your feature request related to a problem? If so, please describe.
May be an issue for some customers that have set standards on banner colors.
Describe alternatives you've considered.
Could change the CSS on each build, but that would not scale well.
Additional context
Code for Notice configuration is found here: doc/admin/config/settings.md