debugger icon indicating copy to clipboard operation
debugger copied to clipboard

[Tabs] Decouple tabs functionality from sources

Open jasonLaster opened this issue 9 years ago • 8 comments

We currently show the current selected source tab as active.

We should show a new tab when you're doing a project text search. And it should be a bit active.

This is a bit challenging because tabs are currently associated with sources and URLs

jasonLaster avatar Jul 07 '17 13:07 jasonLaster

A couple of thoughts about it

  • [x] Use the HOC pattern for tabs (i.e split to Tabs.js and Tab.js)
  • [x] Use more generic naming i.e SourceTabs to Tabs
  • [x] Separate tab actions from source actions file #3666
  • [ ] Have separate reducers for the tabs #3646
  • [ ] Remove dependencies on source urls

bomsy avatar Jul 08 '17 20:07 bomsy

Is this currently in progress?

codehag avatar Aug 04 '17 10:08 codehag

no i've not started it yet. was going to pick it up next..

bomsy avatar Aug 04 '17 10:08 bomsy

Wanted to add @ametzler's observations here as well:

"the Tab thing seems to affect more that the storybook. If I click the the '+' symbol and search the project, it does not open a new tab but loads the file in the current one"

codehag avatar Aug 04 '17 15:08 codehag

here's a great starting off point: https://github.com/devtools-html/debugger.html/pull/4199

jasonLaster avatar Oct 27 '17 20:10 jasonLaster

The PR has all but the source tests passing in Jest. The next step is to finish up the jest tests and then focus on the mochitests.

jasonLaster avatar Mar 21 '18 21:03 jasonLaster

/claim

kenjiO avatar Aug 06 '18 23:08 kenjiO

Thanks for claiming the issue! :wave:

Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.

:fox_face: Debugger team!

claim avatar Aug 06 '18 23:08 claim