debugger icon indicating copy to clipboard operation
debugger copied to clipboard

rename TabTarget to Target

Open codehag opened this issue 8 years ago • 9 comments

As part of the fission work, we have migrated TabTarget to being named just "Target" -- it would be great if the debugger had the same naming scheme

Files affected: https://github.com/devtools-html/debugger.html/search?q=tabtarget&unscoped_q=tabtarget

Original issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1503628

codehag avatar Nov 06 '18 14:11 codehag

@codehag these changes look like they will either land in devtools-core/launchpad or could land in m-c and be backported.

jasonLaster avatar Nov 06 '18 15:11 jasonLaster

I would like to try addressing this.

baronKilljoy avatar Dec 19 '18 21:12 baronKilljoy

/claim

baronKilljoy avatar Dec 19 '18 21:12 baronKilljoy

Thanks for claiming the issue! :wave:

!!! Please check your email and confirm the invitation

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 Dec 19 '18 21:12 claim

I think that this change requires renaming TabTarget in devtools-core/devtools-connection.

https://github.com/devtools-html/devtools-core/blob/master/packages/devtools-connection/src/target.js

I'm worried about the challenges of keeping devtools-core/devtools-connection in sync. My guess is that there are now other changes we will need to do as well. Maybe we should step back and re-evaluate in january?

jasonLaster avatar Dec 19 '18 21:12 jasonLaster

@baronKilljoy if you want to experiment with different approaches you're more than welcome, but be for warned this can be quite challenging and there are plenty of issues out there :)

jasonLaster avatar Dec 19 '18 21:12 jasonLaster

I saw this as a quick turn around, and am fine patching on multiple projects. However, I agree a comprehensive list will be useful. Plus I already found one issue in commands.js there is a tabTarget object called TabTarget. The change is simple but will need to know your variable naming rules. Ill back out changes I made and kept an eye on this thread to see what decision is made.

baronKilljoy avatar Dec 19 '18 22:12 baronKilljoy

Is anybody working on this, or can Itake this up?

sresthas avatar Jan 31 '19 16:01 sresthas

@twisted-sres i think is a tough bug to work on. Just changed the labels

jasonLaster avatar Jan 31 '19 19:01 jasonLaster