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

Header myaccount updates #1646

Merged
merged 1 commit into from
May 21, 2024
Merged

Header myaccount updates #1646

merged 1 commit into from
May 21, 2024

Conversation

GlynnPhillips
Copy link
Contributor

@GlynnPhillips GlynnPhillips commented May 15, 2024

Description

Roll out the variant of the experimentalAccountEntryTest AB test as the default permanent behaviour

Justification

In early 2024 the Retention team ran an AB test to try and improve the user experience of the header by trying to reduce confusion of the difference between Settings & Account and myFT. This test was successful so we are now rolling these changes out to all users. The changes that are relevant to this PR are

  1. Add styling for the new My Account / Sign in link
  2. Rename Settings & Account to My Account
  3. Rename myFT to myFT Feed
  4. Move My Account to the top right slot, replacing the myFT logo
  5. Move myFT to the bottom right slot, replacing the old Settings & Account link

Screenshots

Anonymous user - Previous layout

Screenshot of the FT header as seen by an anonymous user in the test control

Anonymous user - New layout

Screenshot of the FT header as seen by an anonymous user in the test variant

Signed in user - Previous layout

Screenshot of the FT header as seen by an registered user in the test control

Signed in user - New layout

Screenshot of the FT header as seen by an regustered user in the test variant

Reviewer considerations

  1. This relates to the following PRs
    a. Original AB Test PR
    b. Origami navigation service data changes
  2. You can see the data changes on https://next-navigation.ft.com/v2/menus

Ticket

https://financialtimes.atlassian.net/browse/ACC-3083

@origamiserviceuser origamiserviceuser added this to Backlog in Origami ✨ May 15, 2024
@notlee notlee temporarily deployed to origami-webs-header-mya-ojoag7 May 15, 2024 13:50 Inactive
@notlee notlee temporarily deployed to origami-webs-header-mya-ojoag7 May 16, 2024 12:14 Inactive
@notlee notlee temporarily deployed to origami-webs-header-mya-ojoag7 May 16, 2024 12:20 Inactive
@@ -20,7 +20,7 @@
}

/// More visually decorated link styles
@mixin _oHeaderFancyLink() {
@mixin _oHeaderFancyLink($iconVariant: false) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reviewer notes: I am not sure on this approach but I wanted to suggest it to start the discussion.

The new Sign In and My Account link has very similar styles to that of the oHeaderFancyLink links which are historically just used on the row below and not used in this top row.

The Sign In / My Account link also introduces an icon to the link but having the fancy link hover state underline go under the icon looked wrong. Therefore the design stated for that hover state to stop before the icon.

So I have achieved that by having a new argument in this mix that allows me to alter the hover state.

Thoughts?

Screenshot 2024-05-16 at 13 20 52

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: Lets be less DRY with the my account link styles

height: $o-header-sticky-height;
min-height: $o-header-sticky-height;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reviewer notes: Here I found that the content of the top row was constrained by this height. It seemed more flexible to have it as a min height so the contents can also increase it if needed. I am not sure if theres any undesirable side effects to this?

@@ -131,20 +131,20 @@
}
}

.o-header__top-icon-link--myft {
.o-header__top-icon-link--user {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reviewer notes: These styles are used by the Sign In / My Account link in the top right. For now I have taken the approach of reusing mixins that are already in use elsewhere in the header. I am not sure if this is the correct approach but it will aid conversation on it

@GlynnPhillips GlynnPhillips marked this pull request as ready for review May 16, 2024 14:22
@GlynnPhillips GlynnPhillips requested a review from a team as a code owner May 16, 2024 14:22
<MyAccountOrSignInLink
item={myAccountAction}
variant={variant}
className="o-header__top-link--hide-m"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: This needs tidying up

return (
<a
className={`o-header__top-link ${className}`}
className={`o-header__top-icon-link o-header__top-icon-link--user`}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: Lets be less DRY with the my account link styles

@GlynnPhillips GlynnPhillips force-pushed the header-myaccount-updates branch 3 times, most recently from fc7a29f to fd11a43 Compare May 21, 2024 11:12
@notlee notlee temporarily deployed to origami-webs-header-mya-6je0ua May 21, 2024 14:45 Inactive
After a successful AB test to change the My Account & myFT entry point links we are rolling this out
as the default behaviour.

Details of the previous AB test can be found in the page-kit PR Financial-Times/dotcom-page-kit#1017

The changes included in this roll out are

1. Swapping the position of myFT and Settings & Account entry points, so Setting & Account is at the top and MyFT is below
2. Changing the name of "Settings & Account" to "My Account"
3. Adding a "user" icon next to the My Account and Sign in links
4. Adding "Feed" to the myFT link

As well as the successful test these changes are based on user research that found

1. Users think the myFT logo is just branding and not a link
2. Settings and Account was not obvious place to go as the main hub for your Account
3. My Account was a more common term for that hub
4. The user icon help to distinguish this as your space
@notlee notlee temporarily deployed to origami-webs-header-mya-6je0ua May 21, 2024 14:55 Inactive
@notlee notlee enabled auto-merge (rebase) May 21, 2024 15:09
@notlee notlee merged commit 7e9d2c8 into main May 21, 2024
9 checks passed
Origami ✨ automation moved this from Backlog to Done May 21, 2024
@notlee notlee deleted the header-myaccount-updates branch May 21, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Origami ✨
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants