-
Notifications
You must be signed in to change notification settings - Fork 159
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
(OUI Next Theme) Log in #1529
Comments
Let's use light mode for login, but why not "Next"? |
Is login part of security dashboard plugin? |
@wbeckler "why not next" - until we cut over, it would be potentially very strange to see the new "primary" color and then land in an experience with a different "primary" color re: security plugin - I am not sure @kgcreative do you know? |
Login is provided by the security dashboards plugin, yes. IIRC it's a standalone page since the application hasn't loaded at that point |
[Triage] Hi @KrooshalUX, can you please provide more information about what actionable items you would like addressed? This is especially important if we want this for 2.10, but it is not clear what is expected on the Security repository's behalf. Thank you. |
There are two main tasks:
|
@kamingleung can you confirm if this has been decided and we're good to go ahead? |
For reference, the discussion above that I posed about defaults in 2.10 is irrelevant of the choices we make around defaults at time shipping - because once an admin changes their own defaults to |
To Kroosh's point, |
Hi @AMoo-Miki, I was looking at setting up the changes you mentioned. I went over to the login-page.tsx and tried to add:
Based off of the pattern shown here: https://github.com/opensearch-project/OpenSearch-Dashboards/blob/a52e95cbcc5075a4716274749d71d7d635704c4f/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.tsx#L76-L81. I was then going to add this: It seems like this is not the right method of handling this however... Do you have any suggestions for what I can try? I also added the opensearchDashboardsReact dependency, so I am not sure what I am missing here for the uiSettings to be accessable in the Security Dashboards. Sorry if this is obvious, but I am less familiar with the front end code. |
Hi @KrooshalUX, @AMoo-Miki, @kgcreative For the login-page I have:
This allows us to access the uiSettings from core start by modifying
I am running into an issue with the use of this setting however. From what I have seen, when this configuration is used, we need elements to swap between: From Overview.tsx
I am not sure where to get these elements from. |
Messaged Miki since it is not clear to me how to resolve the elements--I assume there are separate assets to be rendered but I do not know where to find these. |
Miki's change here: opensearch-project/oui#871 fixes the second problem |
For the last item, I have refactored OSD's serving of logos in opensearch-project/OpenSearch-Dashboards#4702 and have the changes ready to PR to this repo as soon as that is merged. |
This is complete following: #1568 |
This issue to be transferred to corresponding repository
I am working on launching new light and dark mode themes provided by OUI component library for a target launch within 2.10. These changes support the vision expressed in Future Vision for Dashboards
I have identified the following front end related issues that prevent the theme from appearing complete and potential solutions within this feature:
v7 light
,v7 dark
,next light
,next dark
)Next Dark
orv7 dark
by admin, Auto-filled text appears illegible. Auto filled text should not receive a different styling treatment as manually entered text.Next Dark
orv7 dark
by admin, OpenSearch logo should display dark mode variant (currently showing light mode variant in dark mode theme)The text was updated successfully, but these errors were encountered: