You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a meta tag named awsc-session-data which contains accountId and infrastructureRegion. I would appreciate if the extension could use this data to apply background colors earlier.
Motivation
Even after setting colors with this extension, the default color of the AWS Management Console is displayed for a few seconds. This is confusing for users.
Additionally, I attempted to implement this feature, but encountered some difficulties:
The accountMenuButtonBackgroundColor was not applied correctly.
I lack knowledge about elements like span[data-testid="account-menu-button__background"] and couldn't design the proper logic.
Thank you for your excellent suggestion about using the awsc-session-data meta tag, @KojiAndoJC san!
I've verified its presence in the AWS console, and it seems to contain the right information even for Assume Role and root user scenarios. This approach looks nice for improving color application speed and make code easy to understand.
I'm considering incorporating this method in an upcoming release, but contributions are also very welcome if you'd like to implement it yourself. Your feedback is truly appreciated😀
Description
There is a meta tag named
awsc-session-data
which containsaccountId
andinfrastructureRegion
. I would appreciate if the extension could use this data to apply background colors earlier.Motivation
Even after setting colors with this extension, the default color of the AWS Management Console is displayed for a few seconds. This is confusing for users.
Additionally, I attempted to implement this feature, but encountered some difficulties:
accountMenuButtonBackgroundColor
was not applied correctly.span[data-testid="account-menu-button__background"]
and couldn't design the proper logic.You can see my implementation attempt here:
KojiAndoJC@be12332
Sign in Method
Acknowledge
The text was updated successfully, but these errors were encountered: