hubs
hubs copied to clipboard
Test plan for custom themes
Sign into an admin account.
Go to the admin panel.
Go to App Settings.
Go to THEMES.
Paste this json
into the box.
[
{
"id": "hubs-default",
"default": true,
"name": "Hubs Default",
"variables": {}
},
{
"id": "hubs-dark-mode",
"darkModeDefault": true,
"name": "Hubs Dark Mode",
"variables": {
"text1-color": "#ffffff",
"text1-color-hover": "#E7E7E7",
"text1-color-pressed": "#DBDBDB",
"text2-color": "#E7E7E7",
"text2-color-hover": "#F5F5F5",
"text2-color-pressed": "#DBDBDB",
"text3-color": "#BBBBBB",
"text3-color-hover": "#C7C7C7",
"text3-color-pressed": "#ADADAD",
"text4-color": "#E7E7E7",
"basic-color": "#3A4048",
"basic-color-hover": "#4B5562",
"basic-color-pressed": "#636F80",
"basic-border-color": "#5D646C",
"secondary-color": "#3A4048",
"secondary-color-hover": "#5D646C",
"secondary-color-pressed": "#282C31",
"background1-color": "#15171B",
"background2-color": "#282C31",
"background3-color": "#3A4048",
"background4-color": "#5D646C",
"loading-screen-background": "radial-gradient(50% 50% at 50% 50%, #15171B 0%, #282C31 100%)",
"border1-color": "#3A4048",
"border2-color": "#5D646C",
"border3-color": "#5D646C",
"outline-color": "#ffffff",
"action-color": "#ff3464",
"action-color-highlight": "#ff74a4",
"background-hover-color": "#aaaaaa",
"notice-background-color": "#2f80ed"
}
}
]
In a separate tab, go to a new room.
Go to "preferences".
Go to "misc"
Try each of the themes
[ Return to the tab where the admin panel is. ]
Change the "text1-color"
for the dark mode theme.
Click "save"
[ In the room tab ]
Refresh the page.
Try select the dark mode theme again.
Confirm that a new text color is used.
[ In the admin panel ]
Add extra characters to the end of the JSON blob.
Confirm that you get this warning message.
Click "save".
[ In the room tab ]
Refresh the page.
Confirm that there are no themes to select from.
Open the web console and find this message:
Confirm that the client does not break -- that you can still use the UI and it displays correctly with the default Hubs theme.
┆Issue is synchronized with this Jira Task
I'd suggest we have QA convert this to an actual test plan, if it's not already covered, and we close this issue, since it's not actually an actionable bug or enhancement. @SV-AndreiC