Following T350417 and T350195 we should be able to render the client preferences either in a dropdown or the sidebar. This task will make it possible to change the default or move the menus between locations.
Pre-work
- check with Jennifer whether the click tracking ID should be the same or different depending on where the menu is positioned (
either in dropdown or outside dropdown). if they are supposed to be different please edit the Acceptance criteria in this ticket.
Acceptance criteria
- When I append ?vectorclientpreferences=1 to a URL, I see the client preferences in the sidebar or user menu.
[]When I append ?vectorclientpreferences=0 to a URL ?vectorclientpreferences=0 I do not see it at all.
[]When I am an anonymous user I do not see it at all.
- When I append ?vectorclientprefspinned=0 to a URL I see the client preferences in the top right
- When I append ?vectorclientprefspinned=1 to a URL I see the client preferences in the sidebar.
- I should be able to click "hide" to move it to the dropdown
- As a logged in user, my preference persists across page views.
- Make sure click tracking is functioning for interactions with both types of settings - each selection of an option should have an associated click tracking event
TODO
- Create ClientPreferencePinned feature
- Update client pref to match existing pinnable element conventions (i.e. use PinnableContainer, PinnableHeader PHP components and templates)
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T351141#9362427 |
2 | ✅ | T351141#9376344 |
3 | ✅ | T351141#9376344 |
4 | ✅ | T351141#9362427 |
5 | ✅ | T351141#9362427 |
6 | ✅ | T351141#9362427 |
7 | ✅ | T351141#9362427 |
8 | ✅ | T351141#9362427 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T351141#9381788 |
2 | ✅ | T351141#9381788 |
3 | ✅ | T351141#9381788 |
4 | ❌ | T351141#9381788 |
5 | ❌ | T351141#9381788 |
6 | ✅ | T351141#9381788 |
7 | ✅ | T351141#9381788 |
8 | ✅ | T351141#9381788 |