debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Consolidate Source Name Display Logic

Open darkwing opened this issue 7 years ago • 8 comments

At present we have different places where we calculate the name of a source. While we have a few useful utility functions for getting a source's file name, we are currently loose with our "(index)" logic. Example:

indexmadness

In an ideal world, I'd love if Source objects had a displayName or likewise property so we didn't have a need for different logic.

darkwing avatar Jan 11 '19 03:01 darkwing

/claim

jaril avatar Jan 14 '19 15:01 jaril

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 Jan 14 '19 15:01 claim

/unclaim

jaril avatar Feb 26 '19 17:02 jaril

Done :+1:

claim avatar Feb 26 '19 17:02 claim

/claim

anthonyx avatar Feb 26 '19 17:02 anthonyx

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 Feb 26 '19 17:02 claim

@darkwing: I'm not seeing the issue in my build of Firefox. Can you confirm if this is the case on your end? I'm wondering if it's possible a recent commit fixed the issue.

screen shot 2019-02-26 at 5 23 00 pm

anthonyx avatar Feb 27 '19 01:02 anthonyx

Ooops, sorry @ravefalcon92, I fixed it a week back: https://github.com/firefox-devtools/debugger/commit/f65d249c89f8b118188b9367c66d0f6bfee3bcbe

Sorry for not closing this!

darkwing avatar Feb 27 '19 01:02 darkwing