- Notifications
You must be signed in to change notification settings - Fork21
Description
*Legacy CFG = Current CFG on Centrifuge Chain
To support the WCFG migration process, we need to enhance the portfolio page to guide users holding legacy or WCFG tokens through the migration flow. This ticket involves adding a banner and updating the positions table button for these tokens, ensuring both elements navigate to the WCFG migration flow as depicted in the attached images.
Banner Display
Condition: On the portfolio page, check if the user holds any lefacy or WCFG tokens.
Action: If the condition is met, display a banner at the top of the portfolio section.
Content: The banner should display the following text:
Behavior: Clicking the "Migrate" button should navigate the user to the WCFG/Legacy CFG Flow migration flow.
Start your CFG migration — click here to begin the process and follow the easy steps. Migrate tokens.
Positions Table Button
Condition: In the positions table, identify rows where the token is legacy or WCFG.
Action: Replace the default button label ("Invest" or "Redeem") with "Migrate" for these tokens.
Styling: The "Migrate" button should be yellow to stand out .
Behavior: Clicking the "Migrate" button should navigate the user to the WCFG/Legacy CFG Flow migration flow.
