Closed Bug 1901573 Opened 1 year ago Closed 1 year ago

The fxview-tab-list stories do not correctly render the meatball button

Categories

(Toolkit :: UI Widgets, defect, P3)

defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- wontfix
firefox127 --- wontfix
firefox128 --- wontfix
firefox129 --- wontfix
firefox130 --- fixed

People

(Reporter: tgiles, Assigned: lee.isaacy, Mentored)

References

(Regression)

Details

(Keywords: good-first-bug, regression, Whiteboard: [recomp] [lang=js])

Attachments

(1 file)

In the fxview-tab-list stories, there is a menu button that appears next to each row. However, the "..." icon is not being rendered due to a missing secondaryActionClass="options-button" in the story file. We should determine if this is the correct fix for this issue. If so, this would definitely be a good-first-bug.

Summary: The " → The fxview-tab-list stories do not correctly render the meatball button

Hey Kelly, do you recall the secondary action button being styled correctly in Storybook? Trying to determine if this has always been broken or if something regressed it. Seems like the quick fix is to throw secondaryActionClass="options-button" in the story file, but I don't know if that's the proper fix for this.
Thanks!

Flags: needinfo?(kcochrane)

Hey, Tim! Yeah it was likely introduced here. You'd want to add secondaryActionClass of "options-button" for every variant except for the recently closed variant which would need a secondaryActionClass of "dismiss-button". Sorry we never caught that!

Flags: needinfo?(kcochrane) → needinfo?(tgiles)

Just happened to stumble upon it when looking into something else, appreciate the quick response!

For the person who works on this bug:

  • You will need to add secondaryActionClass to the Template in fxview-tab-list.stories.mjs
  • You will need to add .secondaryActionClass=${secondaryActionClass} in the <fxview-tab-list> element
  • You'll need to add secondaryActionClass: "options-button" to each variant's args except for the RecentlyClosed variant. That variant needs secondaryActionClass: "dismiss-button".

Feel free to needinfo me with any questions.

Mentor: tgiles
Severity: -- → N/A
Flags: needinfo?(tgiles)
Keywords: good-first-bug
Priority: -- → P3
Whiteboard: [recomp] → [recomp] [lang=js]
Type: task → defect
Keywords: regression
Regressed by: 1857298
Severity: N/A → S4

:nsharpley, since you are the author of the regressor, bug 1857298, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(nsharpley)

This is a regression only in Storybook, it's not a high priority fix. Clearing needinfo accordingly.

Nikki, if you want to fix this, then feel free to. Seems like a good-first-bug to me though (even if it is a regression technically).

Flags: needinfo?(nsharpley)

This would be a great first bug! Thanks for flagging. All the info needed to sort it is above.

Mentor: tgiles → nsharpley

Set release status flags based on info from the regressing bug 1857298

Assignee: nobody → lee.isaacy
Attachment #9411131 - Attachment description: WIP: <Bug 1901573 - The fxview-tab-list stories do not correctly render the meatball button> → Bug 1901573 - The fxview-tab-list stories do not correctly render the meatball button. r?nsharpley!

Hi, I want to get involved with more contributions and I was wondering if there were any other bugs or projects that would be good for me to work on. Please let me know!

Flags: needinfo?(nsharpley)

Hi Isaac, that's great to hear! A good place to start is searching with the keyword "good-first-bug". Here's a list of potential bugs Mozilla wide that might be good to work on: https://bugzilla.mozilla.org/buglist.cgi?keywords=good-first-bug&resolution=---&list_id=17113179

If there is a particular component that interests you more, you can narrow the search down by including that in the advanced search settings.

Side note, your patch is ready to land if you check back on Phabricator :)

Flags: needinfo?(nsharpley)
Pushed by scunnane@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4a190501fc81 The fxview-tab-list stories do not correctly render the meatball button. r=nsharpley
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

The patch landed in nightly and beta is affected.
:lee.isaacy, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox129 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(lee.isaacy)
Flags: needinfo?(lee.isaacy)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: