Closed Bug 1851246 Opened 1 years ago Closed 1 year ago

Storybook view of the full sidebar with all the components, dummy data, and error states

Categories

(Firefox :: Shopping, task, P3)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: jhirsch, Assigned: kpatenio)

References

(Regressed 1 open bug)

Details

(Whiteboard: [fidefe-shopping])

Attachments

(1 file)

How might we use storybook to display the full sidebar, including with error states?

This bug came from a suggestion from :abenson on Slack: "longer term, it might be nice to have an about:shopping (or similar) page that rendered the sidebar UI along with a list of links to simulate certain states/errors. (maybe)"

Severity: -- → S4
Priority: -- → P3
Whiteboard: [fidefe-shopping]

Another suggestion to consider: perhaps we should capture the actual JSON response as fixture data (either for rendering sample UI a la storybook or for testing) in case the expected results for ASINs change over time

Depends on: 1853037

Considering the number of strings used per component, it might be easier to work on this ticket if we tackle Bug 1851246 first.

Taking an initial stab at this.

And on second thought, Bug 1853037 could be worked on in parallel since it's a per-component basis and we don't necessarily have to change the existing shopping stories for this ticket.

Assignee: nobody → kpatenio
No longer depends on: 1853037
See Also: → 1853037
Attachment #9354970 - Attachment description: WIP: Bug 1851246 - add Storybook entries for shopping-container → Bug 1851246 - add Storybook entries for shopping-container
Blocks: 1851203
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f5b27964c613 add Storybook entries for shopping-container r=shopping-reviewers,reusable-components-reviewers,hjones,Gijs
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: