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 more environment indicators #1457

Merged
merged 8 commits into from
Nov 14, 2023
Merged

Conversation

StephenHulme
Copy link
Contributor

@StephenHulme StephenHulme commented Nov 9, 2023

Updating Limber environment indicators to match recent changes in Sequencescape sanger/sequencescape#3911

Changes proposed in this pull request

  • Change navbar colour based on environment
  • Change favicon colour based on environment
  • Streamline appearence of Login/Logout details in the navbar
  • Reduce the heading size in the flash bar

Screenshots:
Development and any unknown environments
Screenshot 2023-11-09 at 16 03 14
Staging / UAT
Screenshot 2023-11-09 at 16 08 46
Training
Screenshot 2023-11-09 at 16 09 36
Production
Screenshot 2023-11-09 at 16 04 30

Favicons and flash banner
Screenshot 2023-11-09 at 16 02 02

Instructions for Reviewers

[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

Copy link

@neilsycamore neilsycamore left a comment

Choose a reason for hiding this comment

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

looks good!


it 'returns the apple icon path for the training environment' do
allow(Rails).to receive(:env).and_return('training')
expect(apple_icon).to eq('apple-icon-training.png')
Copy link
Contributor

Choose a reason for hiding this comment

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

Do these find the images correctly? Image name is apple-touch-icon-training.png

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I missed that, very well spotted! I haven't got a way of testing the touch icons, so they probably aren't working.
(In practise I'm using them as the large-scale masters to create the small-scale favicons.)
I'll fix them quickly now.

Copy link

codeclimate bot commented Nov 14, 2023

Code Climate has analyzed commit 8445c19 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 90.0% (0.0% change).

View more on Code Climate.

@StephenHulme StephenHulme merged commit e6825ba into develop Nov 14, 2023
8 checks passed
@StephenHulme StephenHulme deleted the sh51/add-environment-indicators branch November 14, 2023 11:28
@StephenHulme StephenHulme self-assigned this Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants