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

Add support for more custom branding #27040

Draft
wants to merge 52 commits into
base: master
Choose a base branch
from
Draft

Conversation

jespino
Copy link
Member

@jespino jespino commented May 17, 2024

Summary

Ticket Link

Screenshots

Release Note


@mm-cloud-bot
Copy link

@jespino: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

I understand the commands that are listed here

@jespino jespino added the Setup Cloud Test Server Setup an on-prem test server label May 17, 2024
@jespino jespino removed the Setup Cloud Test Server Setup an on-prem test server label May 17, 2024
@jespino jespino added the Setup Cloud Test Server Setup an on-prem test server label May 18, 2024
@jespino jespino removed the Setup Cloud Test Server Setup an on-prem test server label May 18, 2024
Copy link
Contributor

@matthewbirtch matthewbirtch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really great @jespino. Amazing work!

A few things in my initial pass. I thought I would share these for now. I may have more, but this is a good starting point to fix.

  1. Can we move the fields around a bit in the system console? I'd like to put the logo fields and favicon field at the top (under site name) so all the login fields are grouped together below that.

  2. For the labels, can we have (Enterprise) at the end of the label rather than the beginning? I know you mentioned you'll be updating the labels, so let's do this as well in advance of the UI improvements.

  3. For the favicon, there area actually a lot more images we could generate for the app touch icons. I was thinking we could require a 512x512 image for the favicon and then output all the necessary images. I'm not sure how big of a lift this is to generate all these possible files though.

image
  1. In the system console config, there are two fields with the same label (Enterprise Only) Login page background color:. I think the first one is supposed to be Login page text color.
image
  1. For the 'logo for dark backgrounds' image preview in the system console, can we add a dark background to the preview container?

  2. On the login page, when I view on smaller window sizes, it looks like some colors are not getting customized properly. In the example below, you can also see that the logo for dark backgrounds in not getting applied.

image
  1. On the login page, can we remove the bottom margin on the custom brand image? There seems to be too much of a gap between the image and the title

  2. On the create account page, when there is a custom brand image, we remove the Let's get started' title and make the image really big. Can we just make this layout consistent with the login screen so that the Let's get started` title remains, but the custom brand image shows above? Also, can we left-align the text that appears below? Again, to be consistent with the login screen layout.

    • For comparison, here's the login page:
      image

    • Here's the create account page:
      image

  3. On the login/account creation pages we need to also adjust the colors on the input fields so they use the custom login form text colors. We should keep the existing opacities on the input fields for the borders and text, but use the custom color rgba values to override the default input colors. Otherwise, the input field's boundaries aren't clear and it becomes a usability issue.
    image

  4. The 'Back' button on the create account screen should use the login page button bg color instead of the login page text color

  5. The footer links need to use the login page text color (but keep existing opacities) otherwise they can become illegible (see above screenshot)

  6. I tried the Quartz theme and it looks like the logo is not flipping to the one used for light themes in the global header. Is that part supposed to be working? When using custom themes, the logo doesn't seem to swap to the appropriate dark/light either.
    image

I'll likely have more as I continue reviewing and playing around, but wanted to call these out for now.

@matthewbirtch
Copy link
Contributor

matthewbirtch commented May 20, 2024

One other item I just noticed:

Right now, I can't show the footer links unless I have custom branding enabled. This should not be the case. These footer links should always be there. The enterprise-only feature here is to be able to hide these links

@jespino
Copy link
Member Author

jespino commented May 21, 2024

  1. Done

  2. Done

  3. We can do it, not a big deal, but in my opinion is low priority for now (We can do it later with more validation).

  4. Done

5 Done

  1. The logo selection based on the background color is done, I haven't done anything else around this.

  2. I think you already fixed that

  3. Again I think you already fixed that.

  4. I think you already did it

  5. I think you already did it

  6. I don't even know if that is fixed

  7. This is fixed now

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

Successfully merging this pull request may close these issues.

None yet

3 participants