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

Always use the non-numbered contents list #853

Merged
merged 1 commit into from
Mar 28, 2018

Conversation

tijmenb
Copy link
Contributor

@tijmenb tijmenb commented Mar 28, 2018

This removes the GuideChapterNav A/B test. We've tested this and we'll keep the B version.

https://trello.com/c/ndUiAA1y

@tijmenb tijmenb temporarily deployed to government-frontend-pr-853 March 28, 2018 14:04 Inactive
<ol
class="column-half"
<% if i == 1 %>
start="<%= content_item.parts_navigation_second_list_start %>"
Copy link
Contributor

Choose a reason for hiding this comment

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

This can also be removed!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not anymore, since we're keeping the old style nav for travel advice.

<% if show_alternate_guide_chapters? %>
<%= render "components/contents-list", aria_label: navigation_label, contents: content_item.part_link_elements %>
<% else %>
<nav role="navigation" class="grid-row part-navigation" aria-label="<%= navigation_label %>" data-module="track-click">
Copy link
Contributor

Choose a reason for hiding this comment

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

Are there any styles that can be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not anymore, since we're keeping the old style nav for travel advice.

This removes the GuideChapterNav A/B test. We've tested this and we'll
keep the B version. Except for travel advice, which keeps its
navigation.

https://trello.com/c/ndUiAA1y
Copy link
Contributor

@sihugh sihugh left a comment

Choose a reason for hiding this comment

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

Travel advice tests still refer to the old style 👍

@tijmenb tijmenb merged commit 9120ddc into master Mar 28, 2018
@tijmenb tijmenb deleted the use-b-variant-of-component branch March 28, 2018 15:10
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