-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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(ui): Inject Custom CSS #6282
Conversation
Signed-off-by: Daisuke Taniwaki <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Daisuke Taniwaki <[email protected]>
Signed-off-by: Daisuke Taniwaki <[email protected]>
Signed-off-by: Daisuke Taniwaki <[email protected]>
Signed-off-by: Daisuke Taniwaki <[email protected]>
Signed-off-by: Daisuke Taniwaki <[email protected]>
@@ -6,29 +6,27 @@ import ( | |||
"strings" | |||
) | |||
|
|||
var ( | |||
extraPath = "/extra/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any good path for extra files?
Signed-off-by: Daisuke Taniwaki <[email protected]>
I updated the code so the server won't return 304 on removed extra files. |
I suggest doing this different.
This would be less flexible, but flexible enough. |
Thank you for your suggestion. I have 2 questions for the env idea. What env should we use for a locally running argo server? We could have 2 argo servers with different instance ID in the production. Should we use different env names like prod_1 and prod_2? |
However, the env idea is also good. I'd like to hear other people's thoughts too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
Hmm... No other comments. @jessesuen Do you have any thought about the compatibility with ArgoCD? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to revisit this. I like the idea of applying different CSS depending on the environment (e.g. production vs pre-production) or organisation (e.g. dev-ops vs stream processing or other part of your org).
There is a risk of combinatorial explosion of different CSS. So I think we should have themes. E.g. "dark" and "light" and supply the CSS with the app.
Don't worry about Argo CD compatibility. We don't aim for that except in patterns and style.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there any progress on this? |
This appears to have bene abandoned. Would you like to pick up the work? |
where @dtaniwaki |
Checklist:
Fixes #1451
You can test this feature by executing the following commands.