profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Clicking on the meatball button should toggle the state of the dialog

Open past opened this issue 7 years ago • 6 comments

When the meta information dialog is open, clicking on the meatball button again should hide the dialog. This is the most common interaction behavior for such a button, but at the very least it shouldn't re-animate the dialog.

past avatar Dec 06 '18 18:12 past

For what it's worth, I took a stab at this a long while back for the ArrowPanel component, and it was harder than it looked, so this is probably not a good first bug. I can't remember the issue, but I had trouble syncing up the state management of when it was open. This could be a good issue for someone more familiar with React/Redux and state management, even if they don't know the codebase.

gregtatum avatar Dec 10 '18 19:12 gregtatum

I wonder why it should go to Redux. I feel like this is some local state that could stay entirely in ButtonWithPanel.

On another note, we also discussed with somebody (maybe Markus?) that the "..." icon is weird and we should rather make the whole text "Firefox XXX" the trigger button.

julienw avatar Dec 11 '18 11:12 julienw

On another note, we also discussed with somebody (maybe Markus?) that the "..." icon is weird and we should rather make the whole text "Firefox XXX" the trigger button.

That was probably me; I'm sure I said this to someone.

fqueze avatar Jan 18 '19 15:01 fqueze

Looking at the code this can stay within buttonWithPanel. We have all the state we need already.

julienw avatar Mar 01 '19 14:03 julienw

I would like to work on this.

vansjyo avatar Mar 04 '19 17:03 vansjyo

Assigning since there is a PR #1816.

canova avatar Mar 05 '19 12:03 canova