Skip to content
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

Setting theme for Ntlm dialog #2266

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

melissaahn
Copy link
Contributor

@melissaahn melissaahn commented Dec 28, 2023

Summary

We've received various issues regarding the text in the Ntlm dialog being invisible on certain Teams devices.
From some of my debugging, it seems that the dialog will inherit the styling of the host app. In an effort to help resolve these issues and to help keep the styling consistent, this PR creates and enforces a theme upon the Ntlm dialog that hardcodes the text to be black and the background of the dialog window to be white.
I verified that the dialog theme is consistent among three of our test apps, and loaded a site that invokes a test http auth request (https://www.httpwatch.com/httpgallery/authentication/) for testing.

@melissaahn melissaahn requested a review from a team as a code owner December 28, 2023 01:00
@rpdome
Copy link
Member

rpdome commented Dec 28, 2023

Are we currently forcing only text or background color?

Dialog theme should be determined by the app, but it's weird for the text to be white-on-white (or black-on-black).

@melissaahn
Copy link
Contributor Author

melissaahn commented Dec 28, 2023

Are we currently forcing only text or background color?

Dialog theme should be determined by the app, but it's weird for the text to be white-on-white (or black-on-black).

Forcing text to be black and window background color to be white (updated description). We've gotten at least two incidents in the past regarding a white-on-white issue in the edittext, both on Teams devices iirc. I can't say I'm totally sure that this theme will fix the issue, but it should at least bring some consistency to the dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants