Closed Bug 1567372 Opened 6 years ago Closed 6 years ago

Add a reverse search button to the Editor Toolbar

Categories

(DevTools :: Console, task, P3)

task

Tracking

(firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: nchevobbe, Assigned: armando.ferreira)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [console-editor])

Attachments

(4 files, 5 obsolete files)

it should be similar to the one we'll have in the inline input

Whiteboard: [console-editor]

Armando, would you be interested by this bug?

Flags: needinfo?(armando.ferreira)

Of course! I will start working on it. Can you please assign it to me? (:

Flags: needinfo?(armando.ferreira) → needinfo?(nchevobbe)
Assignee: nobody → armando.ferreira
Status: NEW → ASSIGNED
Flags: needinfo?(nchevobbe)

Hi Nicolas,

Hope your are doing well!

Can you please give me a little bit more of explanation? I can't find any reverse search button in the inline input :(

Flags: needinfo?(nchevobbe)
Attached image reverse-search.svg (obsolete) —

Sure, sorry.
So for now the button i'm talking about in comment 0 does not exist in the input yet.
You can use the icon I attached here.

To see how to add an icon, you may want to look how it's done for the Run button icon: https://searchfox.org/mozilla-central/search?q=run.svg&case=false&regexp=false&path=

Let me know if you have other questions :)

Flags: needinfo?(nchevobbe)
Attached image reverse-search.svg

This should be close to the final version of the icon :)

Attachment #9089295 - Attachment is obsolete: true
Attached image reverse-search-button-suggestion-1.png (obsolete) —
Attached image reverse-search-button-suggestion-2.png (obsolete) —
Attached image reverse-search-button-suggestion-3.png (obsolete) —
Attached image reverse-search-button-suggestion-4.png (obsolete) —

Hi Nicolas,

I attached some suggestions about the new location of the reverse search button. My friend and I think that it looks better if the Reverse Search button is placed before the Run button as showed in reverse-search-button-suggestion-4.png.

What are your opinions? :)
Let me know what will be the best location for the new reverse search button.

Flags: needinfo?(nchevobbe)

Thanks a lot Armando!
So I think it looks better in 4.png, but it may not be the place it makes the most sense?
Since this button is related to history, it should be grouped with the navigation buttons. With that in mind, I think 3.png looks the best.
We might want to add a separator between the search and the close button so we emphasize the fact that the 3 buttons are part of the same group

▶︎ Run                         ˄ ˅ 🔍  |  ✖️

Here's an example of separator devtools/client/webconsole/components/FilterBar/FilterBar.js#264-266

Flags: needinfo?(nchevobbe)
Attachment #9090866 - Attachment is obsolete: true
Attachment #9090867 - Attachment is obsolete: true
Attachment #9090868 - Attachment is obsolete: true
Attachment #9090870 - Attachment is obsolete: true

Hi Nicolas,

Thanks for your comments! :) What do you think about the final design? I place the reverse search button after the history navigation buttons and added the separator between the close button and the reverse search button.

I think now it looks better. Let me know if you have any other suggestions

Flags: needinfo?(nchevobbe)

Here is how it will look like without the tool tip

I like the last one as well. The alignment with search navigation and separator to the close button segments it better.

Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c05c17a1b9b1 Add a reverse search button to the Editor Toolbar. r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: