Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Table of contents

Definition

Status

NOT STARTED IN DESIGN IN DEVELOPMENT COMPLETED

RBIberia Owner

Paula

RBI Owner

Luke

Open questions

We need to constantly make this section become empty.

We need to add the brand icons for each of the account menu options. Several LD flags control this (Hainzenreder, Diego not sure there will be a tech limitation and we will need same icons for both brands and cannot customize in sanity, since this is set through LD flags today)

https://app.launchdarkly.com/default/staging-plk/features/enable-account-sections-variations/targeting

https://app.launchdarkly.com/default/staging-plk/features/enable-settings-geolocation/targeting

Read info here + the account line of “settings” that we developed as part of coupon geolocation

Hainzenreder, Diego and Fisher, Luke to decide if this is hidden behind LD flag or not

Requirements

Problem statement

The menu items located in the customer's profile on Popeyes are unclear. They do not present a clear hierarchy of first and second level links, as well as it is not evident that they are clickable. The current app also uses icons that identify each area, and this is not available in the new version. 

Acceptance criteria

  • Icons are displayed on first-level menu items and with the arrow after the label

  • There is greater emphasis on the links for " Encuentra tu restaurante" and " Inicia sesión o crea tu cuenta" 

  • Second-level icons are highlighted

Success metrics

Solution

Potential

  • Add icons for each menu item. 

  • Prioritize the importance of each link with 2 different solutions: 

  • Orange color for the first level 

  • Underline for the second level 

Design

Figma design here: PLK - BK

Development

The items of menu are controlled by feature flags, to activate all flags, you can add true in hard-code.

This menu it is in src/pages/account/index.tsx

Each item of menu are compost by component ArrowLink src/components/arrow-link/arrow-link.tsx

On the component ArrowLink we can add two new props, because this component is used in others locals, so we will to add “customIcon" and “nameIcon" props and these props are optional. And in the component for account/index we add these props, "customIcon“ with the value of flag created in the task 1 and name icon with name of icon in component-library. Case true the prop is true and show the new icon.

We need to restructure the component ArrowLink for case is true show new icon and case false not changed the layout.

Attention, because the font label, color of label and icons changed and now the colors changed according to brand. (look figma) - The colors used have in file primitives.ts, for intl-whitelabel and ctg-components-library.

Assumptions

Release

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.