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

Update the header #557

Merged
merged 4 commits into from Oct 3, 2018
Merged

Update the header #557

merged 4 commits into from Oct 3, 2018

Conversation

tijmenb
Copy link
Contributor

@tijmenb tijmenb commented Oct 2, 2018

This:

  • adds the environment indicator (staging, integration, development) to the header. From user research we've seen that it might prevent confusion, especially because we currently show the tag in all interfaces
  • changes the production colour from blue to red (against my strong objections!!)
  • use GOV.UK Publishing as the product name (product_name is no longer configurable)

https://trello.com/c/05wMNlxg

@benthorner benthorner temporarily deployed to govuk-publishing-compon-pr-557 October 2, 2018 11:39 Inactive
@benthorner benthorner temporarily deployed to govuk-publishing-compon-pr-557 October 2, 2018 11:40 Inactive
Copy link
Contributor

@alex-ju alex-ju 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! Left two comments regarding the tag 🏷

<% if product_name %>
<span class="govuk-header__product-name">
<%= product_name %>
</span>
<% end %>
</a>

<% unless environment == "production" %>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move this inside the anchor so Assistive Tech users know what the environment is when they get to the landmark?

This will not need to be configurable because all the apps that use
this will be part of the "GOV.UK Publishing" product.
There's a bit of a consensus that we want to keep the red for
production. Personally I super disagree - I think the production
version should be a proud GOV.UK blue.
This adds the environment indicator (staging, integration, development)
to the header. From user research we've seen that it might prevent
confusion, especially because we currently show the tag in all
interfaces.
@tijmenb tijmenb changed the title Add the environment indicator to header Update the header Oct 2, 2018
Copy link
Contributor

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

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

💯

@kevindew
Copy link
Member

kevindew commented Oct 3, 2018

Aw I like the blue too.

Could we maintain the customisability of the name and whether the environment label is there in this heading, but default to "Publishing"? Reason I ask is that we've been trying to use this header for the component guide itself.

@tijmenb
Copy link
Contributor Author

tijmenb commented Oct 3, 2018

@kevindew let's try to keep the header consistent across the apps, including component guide. If it does look weird we can re-instate the blue.

@tijmenb tijmenb merged commit 96129e1 into master Oct 3, 2018
@tijmenb tijmenb deleted the environment-flag branch October 3, 2018 12:24
tijmenb added a commit that referenced this pull request Oct 4, 2018
This is to allow Signon to be called "Signon" again. We'll still use
"Publishing" as the default.

Follow up to
#557.

https://trello.com/c/05wMNlxg
tijmenb added a commit that referenced this pull request Oct 4, 2018
This is to allow Signon to be called "Signon" again. We'll still use
"Publishing" as the default.

Follow up to
#557.

https://trello.com/c/05wMNlxg
@vanitabarrett vanitabarrett mentioned this pull request Oct 4, 2018
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.

None yet

4 participants