Closed Bug 1846284 Opened 2 years ago Closed 2 years ago

[Sidebar] Create text component with links

Categories

(Firefox :: Messaging System, task, P1)

Firefox 118
task

Tracking

()

VERIFIED FIXED
118 Branch
Iteration:
118.1 - July 31 - Aug 11
Tracking Status
firefox118 --- verified

People

(Reporter: nsauermann, Assigned: nsauermann)

References

(Blocks 1 open bug)

Details

(Whiteboard: [omc])

Attachments

(1 file)

Scope of this ticket is to implement component that displays paragraph with up to 3 links. This will be used to display body copy block and legal copy section in opt-in UI in 1847641. This element should be flexible enough to appear above the button group or below the button group. This element should be flexible enough to include 1, 2, or 3 links to seperate URLs. (For example, to accommodate a link to a privacy policy, a terms of use, and a learn more (support article) link as needed.)

https://www.figma.com/file/Wu4kaHSfKSQnzkym7qek3R/Shopping-Experience-MVP?type=design&node-id=2599-83032&mode=design&t=zDGkvv89e1iCjk2a-4

Text should show correct as per designs in HCM, Dark theme, RTL (pref intl.l10n.pseudo as ‘bidi’ ) and (pref intl.l10n.pseudo as 'accented' ) accented format.

Assignee: nobody → nsauermann
Status: NEW → ASSIGNED
Iteration: --- → 118.1 - July 31 - Aug 11
Whiteboard: [omc]
Attachment #9347037 - Attachment description: WIP: Bug 1846284 - [Sidebar] Create text component with links → Bug 1846284 - [Sidebar] Create text component with links
Attachment #9347037 - Attachment description: Bug 1846284 - [Sidebar] Create text component with links → WIP: Bug 1846284 - [Sidebar] Create text component with links
Attachment #9347037 - Attachment description: WIP: Bug 1846284 - [Sidebar] Create text component with links → Bug 1846284 - [Sidebar] Create text component with links
Priority: -- → P1
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/49d2e361b23a [Sidebar] Create text component with links r=omc-reviewers,fluent-reviewers,flod,aminomancer

Sorry about that - looks like my bundle file was out of date and needed to add a bit more test coverage.

Flags: needinfo?(nsauermann)
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/753de3b5d641 [Sidebar] Create text component with links r=omc-reviewers,fluent-reviewers,flod,aminomancer
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch

Hi @Negin this task implements the ability to add up to 3 links for the Onboarding Fakespot sidebar, does this mean that the "Learn more" link should also be displayed there ? or is it something that will be implemented later on ? so far we only have the 2 links "Privacy Policy" and "Terms of use".

Flags: needinfo?(nsauermann)

Hi Rares! Thanks for asking - this would be handled in another component which will render multiple paragraphs with or without links based on the configuration of this patch. This patch specifically covers the "Legal copy" section found in Figma where we can configure as many links as possible within that section (currently it's configured for two links but this can be configured to handle more). Sorry for the lack of clarity with the initial bug description - let me know if you have any other questions.

Flags: needinfo?(nsauermann)

Nope, Thanks a lot, I will update the Flags for this issue. Verified as fixed in our latest Nightly build.

Status: RESOLVED → VERIFIED
Blocks: 1847641
Depends on: 1849577
Depends on: 1850126
Depends on: 1850801
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: