Document the "destructive" button variant in Storybook
Categories
(Toolkit :: UI Widgets, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: hjones, Assigned: imlata1111, Mentored, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
We support a red "destructive" button variant via the .danger-button class. This variant isn't very widely used, should still be documented alongside the other buttons in Storybook.
To work effectively on this bug, you'll need to get Storybook running locally. Instructions for how to do that can be found here.
Once you have Storybook up and running, take a look at this code in button.stories.mjs. What we want to do is add a DestructiveButton
or DangerButton
story where the "danger-button" class gets added here.
If you're a contributor who hasn't worked with Storybook or Lit before and you're wondering what's going on here it might be helpful to familiarize yourself with the documentation for those libraries before starting this task.
Comment 1•2 years ago
|
||
I want to work on this. I am already looking into it.
Reporter | ||
Comment 2•2 years ago
|
||
Hey, that's great. I'll assign this bug to you for now while you look into it. If you run into issues or have any questions you can use the form below to request information from me, or reach out to me and my teammates in the #reusable-components channel on Matrix.
Comment 3•2 years ago
|
||
thank you!
Comment 4•2 years ago
|
||
Hi, i have completed the task and committed my changes with hg commit. Is there anything else i have to do to get my changes to you?
Reporter | ||
Comment 5•2 years ago
|
||
Hey - so the next step is to run moz-phab submit
to submit your code for review. You can take a look at this guide to make sure that your commit message is referencing the bug number and following our other conventions (you can omit the [devtools]
from the message, but otherwise everything in that document applies here). Thanks!
Reporter | ||
Comment 6•2 years ago
|
||
Hey Adepeju Orefejo are you still planning on submitting your code for review? If not I may open this bug up again so another Outreachy applicant can try to fix it. Let me know if you're still working on it and if you need any help!
hey Hanna! Can I work on this bug? The bug I am working on is in review and discussion. They might take more time. In the meanwhile, can I work on this? Otherwise, if there are any open bugs that need attention, I would be happy to take a look and see if I can help.
Hey Hanna! I am not actively working on any other bug, Can I work on this?
Reporter | ||
Comment 9•2 years ago
|
||
Hey Lata feel free to take a look and submit a patch if you think you have a fix for this.
Just a note - if you want information from someone you can use the "Request information from" inputs at the bottom of this form. People won't always see comments and are more likely to respond to needinfo requests.
Assignee | ||
Comment 10•2 years ago
|
||
Okay Hanna! Thanks. I'm working on this.
Assignee | ||
Comment 11•2 years ago
|
||
Reporter | ||
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
bugherder |
Description
•