Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

Table of Contents

Definition

Status

Status
titleNOT STARTED
Status
colourBlue
titleIN DESIGN
Status
colourBlue
titleIN DEVELOPMENT
Status
colourGreen
titleCOMPLETED

RBIberia Owner

Paula

RBI Owner

Luke

Open questions

Info

We need to constantly make this section become empty.

...

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

...

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

The items Each item of menu are compost by component ArrowLink, so we need to create a new component for icons, we don’t change the ArrowLink because this component is used in other locals src/components/arrow-link/arrow-link.tsx.

On the component ArrowLink we have two components, one case is external link and one case not external link, we will use the not external link StyledLink, and we can add a new prop, because this component is used in others locals, so we will to add “prefixIcon or (other name)” prop and this prop is optional. And in the component for account/index we add this prop, "prefixIcon“ with icon name and this name is of icon in component-library. And into ArrowLink add flag for task 1 for validate if show or not the icon.

Into ArrowLink we have two validations, one for has a name icon, and other for flag is true, if two fields is ok, so show 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