Open Bug 1178771 Opened 11 years ago Updated 3 years ago

Shortcut key for filter input

Categories

(DevTools :: JSON Viewer, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

Details

(Whiteboard: [btpp-backlog] )

Attachments

(1 file)

There is no keyboard shortcut for focusing the filter field. When you implement this we should indicate what the shortcut is in the filter field's placeholder text. We need to figure out which shortcut we could possibly use for this feature. See also this comment: https://bugzilla.mozilla.org/show_bug.cgi?id=1132203#c74 Honza
One interesting thought I had was: override CMD/Ctrl+F and CMD/Ctrl+G for the page.
(In reply to Jeff Griffiths (:canuckistani) from comment #1) > One interesting thought I had was: override CMD/Ctrl+F and CMD/Ctrl+G for > the page. I like it! We could also override only CMD/Ctrl+F, so the other one can be used to open the find-bar... Honza
(In reply to Jan Honza Odvarko [:Honza] from comment #2) > (In reply to Jeff Griffiths (:canuckistani) from comment #1) > > One interesting thought I had was: override CMD/Ctrl+F and CMD/Ctrl+G for > > the page. > I like it! > > We could also override only CMD/Ctrl+F, so the other one can be > used to open the find-bar... Hrm, CMD/Ctrl+G almost universally means 'find next' - I think if we're going to override we should go all in. Having some shortcuts work like a web page and others custom seems more confusing.
Component: Developer Tools → Developer Tools: JSON Viewer
Priority: -- → P3
Summary: Shortcut for JSON response viewer filter field → Shortcut key for filter input
Whiteboard: [btpp-backlog]
Product: Firefox → DevTools

This looks like a great feature. It definitely makes sense to me that ctrl + f would work, not sure I understand the part about ctrl + g. Could we get a decision here to move it forward?

Flags: needinfo?(odvarko)
Severity: normal → S3

I agree with the comment #3

Let's override CMD/Ctrl+F and CMD/Ctrl+G for the page.

CMD/Ctrl+F - focus the JSON Viewer search box
CMD/Ctrl+G - find next

Flags: needinfo?(odvarko)
Assignee: nobody → cczac1
Status: NEW → ASSIGNED

Hi Alex, I added a question for you on phabricator, just adding the needinfo here to make sure you get the ping :)

Flags: needinfo?(poirot.alex)

Holding onto this one for just a little bit longer. Depending on the outcome of bug 1792803 I may be unblocked from using key-shortcuts so I don't want to try landing the hacky version quite yet.

Just replied on phabricator. I was busy with other things, but I'll try to get bug 1792803 to move forward again. But do not hesitate to workaround for now.

Flags: needinfo?(poirot.alex)

Apologies, I'm experiencing health issues and need to step away.

Assignee: cczac1 → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: