[Tabs] Decouple tabs functionality from sources
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
A couple of thoughts about it
- [x] Use the HOC pattern for tabs (i.e split to
Tabs.jsandTab.js) - [x] Use more generic naming i.e
SourceTabstoTabs - [x] Separate tab actions from source actions file #3666
- [ ] Have separate reducers for the tabs #3646
- [ ] Remove dependencies on source urls
Is this currently in progress?
no i've not started it yet. was going to pick it up next..
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"
here's a great starting off point: https://github.com/devtools-html/debugger.html/pull/4199
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.
/claim
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!