Closed Bug 785889 Opened 12 years ago Closed 12 years ago

Make search related keyboard shortcuts discoverable

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 18

People

(Reporter: vporof, Assigned: vporof)

References

Details

(Whiteboard: [fixed-in-fx-team])

Attachments

(2 files, 3 obsolete files)

Follow up for bug 779732. Should add them both in the "Filter Scripts" searchbox and the operators popup.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P2
Depends on: 779732
Depends on: 780073
Attached patch v1 (obsolete) (deleted) — Splinter Review
Attachment #655916 - Flags: review?(rcampbell)
mq: 0 785650 - Make it easier to stop searching for scripts in the Debugger 1 779732 - Make search operations in the debugger more intuitive 2 785883 - Pressing up/down/tab when filtering scripts should have expected behavior 3 780073 - Add keyboard shortcut tooltips across the debugger UI, part 1 4 780073 - Add keyboard shortcut tooltips across the debugger UI, part 2 5 785889 - Make search related keyboard shortcuts discoverable
Needs a slight rebase.
Depends on: 785883
Attached patch v2 (obsolete) (deleted) — Splinter Review
Rebased and qfolded on top of 780073.
Attachment #655916 - Attachment is obsolete: true
Attachment #655916 - Flags: review?(rcampbell)
Attachment #656889 - Flags: review?(rcampbell)
Attached patch v2.1 (deleted) — Splinter Review
Needed another rebase because of the merge.
Attachment #656889 - Attachment is obsolete: true
Attachment #656889 - Flags: review?(rcampbell)
Attachment #656972 - Flags: review?(rcampbell)
Comment on attachment 656972 [details] [diff] [review] v2.1 Rob's leaving!
Attachment #656972 - Flags: review?(rcampbell) → review?(past)
Comment on attachment 656972 [details] [diff] [review] v2.1 Review of attachment 656972 [details] [diff] [review]: ----------------------------------------------------------------- Victor, if I understand it correctly, most of the changes in this patch are necessary in order to avoid preprocessing the string files and do it in JS instead? Axel, am I right to understand that you guys would not like it the other way around? Also, is there anything we need to do after removing strings or reusing (slightly modified) old strings in a new name? These changes look good to me, except for the regression below. r=me with that fixed. On a tangential note, the "fullscreen" button is now the only one without a tooltip. ::: browser/devtools/scratchpad/scratchpad.js @@ -49,5 @@ > - // XXX bug 779642 Use "Cmd-" literal vs cloverleaf meta-key until > - // Orion adds variable height lines > - // elemString += keysbundle.GetStringFromName("VK_META_CMD") + > - // keysbundle.GetStringFromName("MODIFIER_SEPARATOR"); > - elemString += "Cmd-"; You didn't copy this over to LayoutHelpers.jsm, effectively regressing bug 779642.
Attachment #656972 - Flags: review?(past)
Attachment #656972 - Flags: review+
Attachment #656972 - Flags: feedback?(l10n)
Comment on attachment 656972 [details] [diff] [review] v2.1 To be frank, I don't understand what this patch is actually doing. You could leave the items in the DTD if you had definitions of the keys as DTD entries, not sure if there are or not. Nit, I like hg blame to be useful, this patch comes with a host of whitespace changes.
Attachment #656972 - Flags: feedback?(l10n)
(In reply to Axel Hecht [:Pike] from comment #10) > Comment on attachment 656972 [details] [diff] [review] > v2.1 > > To be frank, I don't understand what this patch is actually doing. > > You could leave the items in the DTD if you had definitions of the keys as > DTD entries, not sure if there are or not. > > Nit, I like hg blame to be useful, this patch comes with a host of > whitespace changes. This patch makes sure that shortcuts appear in the tooltips across debugger UI elements. This means, for example, that hovering Step Out shows ⇧F8 and so on. To display the modifier(s) in this case (and some others), moved some strings from .DTD to .properties, to compute these special characters in JS. (In reply to Panos Astithas [:past] from comment #9) > Comment on attachment 656972 [details] [diff] [review] > v2.1 > > Review of attachment 656972 [details] [diff] [review]: > ----------------------------------------------------------------- > > Victor, if I understand it correctly, most of the changes in this patch are > necessary in order to avoid preprocessing the string files and do it in JS > instead? > Yes, just like with Scratchpad. > Axel, am I right to understand that you guys would not like it the other way > around? Also, is there anything we need to do after removing strings or > reusing (slightly modified) old strings in a new name? > > These changes look good to me, except for the regression below. r=me with > that fixed. Nice catch! > > On a tangential note, the "fullscreen" button is now the only one without a > tooltip. I think I'll add this here as well, to avoid a two-liner followup.
Attached patch v2.2 (obsolete) (deleted) — Splinter Review
Addressed comments.
Attached patch v2.3 (deleted) — Splinter Review
Also added tooltips for the expand/collapse panes button.
Attachment #660121 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: