Problem/Motivation

In the 8.x-1.x branch, the search input is a button that toggles a text field to do the search.
In the 8.x-2.x and 3.x branch, it is displayed directly a text input field in the toolbar
As now we have configuration form, it is a good idea to let the user choose what will be displayed

Proposed resolution

Create a config form to the admin toolbar search so the user can choose the best approach is.

Comments

paulocs created an issue. See original summary.

paulocs’s picture

Assigned: paulocs » Unassigned
Status: Active » Needs review
StatusFileSize
new8.04 KB

I have a patch for it.
Notice that the user has to flush the cache after change the configuration form.

Cheers, Paulo.

marcusvsouza’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new56.28 KB
new65.49 KB

The patch applied properly and works as expected.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: 3211161-1.patch, failed testing. View results

paulocs’s picture

Status: Needs work » Needs review
StatusFileSize
new367 bytes
new8.56 KB

New patch and interdiff.

guilhermevp’s picture

Status: Needs review » Reviewed & tested by the community

Just moving to RTBC as it pass in test and the functionality already works as shown by comment #3.

adriancid’s picture

Thanks, I will review it later.

neclimdul’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new5.79 KB
new11.61 KB

Notice that the user has to flush the cache after change the configuration form.

That's a pretty easy fix, just add a cache tag to the cache information for the section. :)

Also fixed line endings, added the config entry in info, and added a test to show the cache tag and the toggling work.

paulocs’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!
Thanks for the improvement @neclimdul.

  • adriancid committed 93292bf on 3.x authored by neclimdul
    Issue #3211161 by paulocs, neclimdul, marcusvsouza, guilhermevp,...
adriancid’s picture

Status: Reviewed & tested by the community » Fixed

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

romainj’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

romainj’s picture

Status: Closed (fixed) » Fixed
neclimdul’s picture

Confused as to why this keeps getting marked fixed and showing back up in my feed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.