Show text cursor for editable text pattern
Categories
(DevTools :: Netmonitor, task, P5)
Tracking
(firefox74 fixed)
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: Harald, Assigned: martin)
References
Details
(Keywords: good-first-bug)
Attachments
(3 files)
What were you doing?
- Hover the pattern value in a Blocking entry
What happened?
Default cursor.
What should have happened?
Text cursor, similar to XHR Breakpoints.
Comment 1•5 years ago
|
||
This should be simple to fix.
-
The blocking label is using
.request-blocking-label
CSS
https://searchfox.org/mozilla-central/rev/3300072e993ae05d50d5c63d815260367eaf9179/devtools/client/netmonitor/src/components/request-blocking/RequestBlockingPanel.js#116 -
There is already a CSS selector for it:
https://searchfox.org/mozilla-central/rev/3300072e993ae05d50d5c63d815260367eaf9179/devtools/client/netmonitor/src/assets/styles/RequestBlockingPanel.css#29
So, the text cursor should be specified in it.
Honza
Comment 2•5 years ago
|
||
Here is the related part of the UI.
Honza
Comment 3•5 years ago
|
||
Hi, I'm a first time contributor and I'd like to claim this bug as a part of a class project. I can see from the above that the preliminary investigation was already in place, but where can I find build instructions to test and see it for myself?
Thanks!
Comment 4•5 years ago
|
||
Thanks for the help!
Here is docs for contributors/developers.
https://docs.firefox-dev.tools/
Honza
Comment 5•5 years ago
|
||
Okay, I've added text: cursor into the CSS selector, and it looks to be building and displaying the text cursor correctly. I also ran ./mach test all and nothing failed, so I think it's alright. Are there any other checks or tests I should be running?
Thanks,
Kevin
Comment 6•5 years ago
|
||
Excellent!
The next step: please send the patch so, we can review it and land if it's ok:
https://docs.firefox-dev.tools/contributing/making-prs.html
Honza
Comment 7•5 years ago
|
||
Sounds good, can I just put you as a reviewer Honza?
Kevin
Assignee | ||
Comment 8•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 9•4 years ago
|
||
Screenshot showing the text cursor on the label.
Comment 10•4 years ago
|
||
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d091fe1fb2f Show text cursor on the request blocking label to show it is editable. r=Honza
Comment 11•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•