Skip to content

Conversation

@ndg63276
Copy link
Collaborator

@ndg63276 ndg63276 commented Nov 28, 2025

JIRA ticket: LIMS-1974

Summary:

It would be useful when testing to have a visual representation of which database is in use.

Changes:

  • Change the header bar to Diamond blue (#112E4D)
  • Use the $mode flag in the config to switch between databases
  • Use the same flag to change the add a phase banner if using the dev DB
  • Ideas welcomed for better colours :)

To test:

  • Go to a visit with regular data collections, eg /dc/visit/nt40663-5
  • Set the $mode variable in the config as "production", check the header bar is blue
  • Edit the $mode to "dev", check the a green phase banner appears saying "This application is running in development mode. Data will not be persisted."

@RichB-DLS RichB-DLS assigned RichB-DLS and unassigned RichB-DLS Dec 1, 2025
@RichB-DLS RichB-DLS requested review from RichB-DLS and removed request for RichB-DLS December 1, 2025 09:09
@gfrn
Copy link
Collaborator

gfrn commented Dec 5, 2025

Looks good to me! I'm a fan of the blue, almost makes me want to switch from the default grey...

@ndg63276 ndg63276 changed the base branch from master to pre-release/2025-R5.4 December 9, 2025 10:21
@ndg63276 ndg63276 merged commit fa92243 into pre-release/2025-R5.4 Dec 9, 2025
2 of 4 checks passed
@ndg63276 ndg63276 deleted the improvement/LIMS-1974/indicate-dev-db-in-header branch December 9, 2025 10:29
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.

4 participants