Closed IanMayo closed 8 months ago
Hello, @IanMayo.
We can set a variable
in .env
file. Which will be different for development and production environment. With the help of this variable we can change color of UI accordingly.
Sure, ok. Let's do that.
Do you think you can have it done by Monday lunch-time (UK hours)?
Sure, ok. Let's do that.
Do you think you can have it done by Monday lunch-time (UK hours)?
Sure.
In Development
In Production
Please confirm me is it okay? In development, the UI color of complete app will be red and in the top Appbar the [VAL_DEV] will be shown. In production, the UI color of complete app will be the default color of the app and in the top Appbar [VAL] will be shown.
Yes - that's a great solution. I look forward to being impressed by how few lines of code it is!
Only 5 to 7 lines of code.
Re-open, since users want stylised welcome screen too (red backdrop and name of system)
Hi @IanMayo, Could you please give me an idea about this? If we add a red color to the background, it will look like this: I am just checking. Because I think it does not look better. And also, where do I need to add the system name?
No - it's the login panel we need to style. This is so that users recognise they are logging into the testing instance, and not the real instance (since they could have different accounts/passwords).
Oh, and it would be Welcome to VAL-TEST
The software-testing guy reported a
Fail
because it wasn't easy to tell if he was on a test server or a publication server.Since VAL is unaware of the infrastructure it is installed upon I couldn't really think of a way of resolving this, and once testing was complete the issue would go away anyway.
But, today the clients and I discussed wider use of the test server, by a slightly wider body of users.
So, I think this has become more important.
Could you have a think about this please? How about if:
VAL-DEV
.How does that sound?
Note: for this, we wouldn't just look for
VAL-DEV
in the server part of the URL, we'd look in the whole of the window-URL. So, to test this, we'd just to a free-text search forVAL-DEV
, and that would trigger the UI colors to change. I think.'..Update: user requested that we also have suitable clarifying signage on the login/welcome screen to. Have demoted from
bug
toenhancement
as this fix isn't urgent.