Plots2: UI improvements Planning Issue : Searchbar and Search Results page

Created on 11 May 2019  ยท  62Comments  ยท  Source: publiclab/plots2

New Searhbar ?
Hi @jywarren Regarding this, I wanted to ask that What would be new design of searhbar.
Should it be something like below ?
ff
cc : @gautamig54
Checklists

Searchbar

  • [ ] Add further after discussion regarding UI

Search Results

  • [x] two column @CleverFool77
  • [x] Pill or Tab design in left column to choose between search by options @CleverFool77

    • [x] a topmost button labelled "All", which is highlighted when Search results are returned
    • [x] a 2nd button labelled "People"
    • [x] a 3rd button labelled "By Type", that expands into a dropdown
    • [x] the drop down menu should have items "Questions" "Wikis" "Notes"
  • [ ] Sort By date option @gautamig54

  • [ ] try the search by google option and display results of google search @CleverFool77

  • [ ] showing "featured results" for search terms (and thinking of how we can store them)
  • [ ] showing "related tags" in the top of the search results
  • [ ] showing the # of results per type

  • [ ] make the navbar search go to /search?q=____ instead of /search/_____

  • [ ] replacing the main Content search view with Google search results currently stored in wiki page at https://publiclab.org/w/search
  • [ ] adding related tags based on the query
  • [ ] adding a listener so that as you type new queries, it updates related tags (this will be harder but I have some code for it, and we can do in follow-up!)

  • [ ] let's show a spinner icon while it loads the autocomplete results! (as shown below) - say, replacing the magnifying glass icon?

  • [ ] Let's change the inline heading "Tags" to "Topics"
  • [ ] let's put the actual tagname in a badge so it's recognizable as a topic...?
  • [ ] can we filter out powertags from the tags autocomplete
design gsoc outreachy summer-of-code

Most helpful comment

Wow awesome designs and great collaboration going on here @gautamig54 @CleverFool77 :tada:
The controller is https://github.com/publiclab/plots2/blob/master/app/controllers/search_controller.rb and the apis that serve this are found here https://github.com/publiclab/plots2/blob/master/app/services/ Feel free to ping me if you have any questions tough I guess @milaaraujo and @stefannibrasil understand the apis better.

All 62 comments

Hi! This is looking great. I think more is coming via @ebarry but just wanted to note this great search results page design by @IshaGupta18 here:

https://publiclab.org/notes/IshaGupta18/03-22-2019/outreachy-19-proposal-public-lab-ui-improvements#Part+9:+Search+results

We have a page in the shared mockups presentation for search results UI where @ebarry and I built on that design idea a bit too:

Screen Shot 2019-05-13 at 12 51 33 PM

This is all a bit more to do with displaying the results rather than the search input form but is still related. Thank you!!!

Also noting relation to #5719!

HI @jywarren
The design of search results UI looks great.
I haven been thinking about results of search, and had similar design UI for that.
I've updated the issue regarding search results UI and added todos checklists.
What I am curious about the searhbar.
Is there gonna be a new minimal search UI like google or we'll have a searchbar in navbar only.

I think we've worried about the redundancy of the navbar search with the
in-page search box. What do you think is a good way forward?

On Tue, May 14, 2019 at 10:53 AM Lekhika Dugtal notifications@github.com
wrote:

HI @jywarren https://github.com/jywarren
The design of search results UI looks great.
I haven been thinking about results of search, and had similar design UI
for that.
I've updated the issue regarding search results UI and added todos
checklists.
What I am curious about the searhbar.
Is there gonna be a new minimal search UI like google or we'll have a
searchbar in navbar only.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AAAF6J7PJSLITE2A6SHZWNDPVLG4RA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLXUKY#issuecomment-492272171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6J6LJ4QNIMMQO4NZWULPVLG4RANCNFSM4HMITELQ
.

Thank you for the appreciation!

On Tue, May 14, 2019, 10:28 PM Jeffrey Warren notifications@github.com
wrote:

I think we've worried about the redundancy of the navbar search with the
in-page search box. What do you think is a good way forward?

On Tue, May 14, 2019 at 10:53 AM Lekhika Dugtal notifications@github.com
wrote:

HI @jywarren https://github.com/jywarren
The design of search results UI looks great.
I haven been thinking about results of search, and had similar design UI
for that.
I've updated the issue regarding search results UI and added todos
checklists.
What I am curious about the searhbar.
Is there gonna be a new minimal search UI like google or we'll have a
searchbar in navbar only.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AAAF6J7PJSLITE2A6SHZWNDPVLG4RA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLXUKY#issuecomment-492272171
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAAF6J6LJ4QNIMMQO4NZWULPVLG4RANCNFSM4HMITELQ

.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AJXHQZ34YJEKTJ3RT34WI7TPVLVUHA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVMDZ4A#issuecomment-492322032,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJXHQZ2BWLEECIIR7LMLA5DPVLVUHANCNFSM4HMITELQ
.

Hi @jywarren ,
Maybe we can just have search option in navbar which would link to another page.
At newpage, we can have minimal search bar like google and we can do various search by option , there itself.
What do you think about this ?

Hi @gautamig54
As I can see gsoc starts later than outeachy and you have exams too.
So I'll begin the work for design. I have done assignments for checklists for myself.
Thanks !!

@CleverFool77 I am done with my exams. Let's start with the UI implementation. Let's take it one by one. I will get started with the people's page. Thanks!

Hi @gautmig54 How about we take two issues together. Both people section and questions page sideways. What do you think?
So that if checklists of one section are dependent on each other and we are unable to move forward. At that time, we can work on different checklist from different issue.
But in real, let's take people section first. I'll do the assignment then.
Thanks.

Hi @jywarren @gauravano
I was going through the search results UI section.
I did some chnages to code and did this (below)
Screenshot from 2019-05-19 22-48-17

Is pill size correct or is there need to chnage this.
Should the design be like this only ? I need suggestion so that I can move forward.
Thanks !!!!

@CleverFool77 I think it will look better if you can reduce the pill size and shift the left column downwards.

Hi @gautamig54 So should it be 3/4 of what it is right now ?
Screenshot from 2019-05-20 12-37-18

Smaller pill size
Screenshot from 2019-05-20 13-16-33

Hey this looks pretty great!

@CleverFool77 The original width of the pill looks better. Maybe you can try altering the height of the pills and also centre align the text in the them.

Hi @gautamig54 Thanks for your opinion.
let's wait for @jywarren's view regarding this.
Then I'll proceed further and fix it.
Thanks.

Hi! need to catch up here... sorry! Hopefully today, and @ebarry has input too. But wanted to link in this side-issue where we are thinking that the typeahead search might only return tag results, as shown in the mockup:

Screen Shot 2019-05-13 at 12 51 33 PM

That's covered in this issue: https://github.com/publiclab/plots2/issues/5719

Thanks!

Hi, the pills look good; are they using the standard Bootstrap vertical navs with pills? https://getbootstrap.com/docs/4.3/components/navs/#vertical

In general, using the defaults with as little extra CSS as possible will be great to keep our long-term maintenance low. But this is looking great. We will be wanting also to begin to show fewer types in the nav - just "Content" and "People" -- although we can approach this step by step!

Other parts of the mockup:

  • [ ] showing "featured results" for search terms (and thinking of how we can store them)
  • [ ] showing "related tags" in the top of the search results
  • [ ] showing the # of results per type (let's do this after consolidating the types, so it's less work ๐Ÿ˜„)

How does this sound?

For featured results, we could:

  1. keep a text document with searchterms and nids in 2 columns, or comma-separated
  2. use tags like featured-search:searchterm -- but this is kind of ugly and wouldn't work for search terms that include punctuation or spaces
  3. we could keep the text document in a Feature: https://github.com/publiclab/plots2/blob/master/doc/DATA_MODEL.md#features although we'd have to be very careful to put in only well-formatted data, or it could break the search page

Hi, the pills look good; are they using the standard Bootstrap vertical navs with pills? https://getbootstrap.com/docs/4.3/components/navs/#vertical

In general, using the defaults with as little extra CSS as possible will be great to keep our long-term maintenance low. But this is looking great. We will be wanting also to begin to show fewer types in the nav - just "Content" and "People" -- although we can approach this step by step!

Other parts of the mockup:

  • [ ] showing "featured results" for search terms (and thinking of how we can store them)
  • [ ] showing "related tags" in the top of the search results
  • [ ] showing the # of results per type (let's do this after consolidating the types, so it's less work smile)

How does this sound?

hi @jywarren
regarding pills, I used standard bootstrap4 classes.
As you said that according to new style guide, there would be fewer options which is content and people.
So should I code the UI for new style guide with fewer options, Or should I follow the method which is still being followed which has 6-7 options ?
regarding other parts, me and @gautamig54 will add them as checklist in this issue.

I have added the other features in the checklist.
@CleverFool77 Let's discuss them and get to work!
Thanks!

I have added the other features in the checklist.
@CleverFool77 Let's discuss them and get to work!
Thanks!

Great :+1:

Let's aim for the 2 types. This will require some controller changes as
well, though! Do you feel like you're able to read through how the
controller works to provide different types, and the API documentation to
show notes+questions+wikis together as "content"? @milaaraujo
and @cesswairimu may know more about these and could potentially offer some
input?

On Mon, May 20, 2019 at 1:24 PM Lekhika Dugtal notifications@github.com
wrote:

Hi, the pills look good; are they using the standard Bootstrap vertical
navs with pills?
https://getbootstrap.com/docs/4.3/components/navs/#vertical

In general, using the defaults with as little extra CSS as possible will
be great to keep our long-term maintenance low. But this is looking great.
We will be wanting also to begin to show fewer types in the nav - just
"Content" and "People" -- although we can approach this step by step!

Other parts of the mockup:

  • showing "featured results" for search terms (and thinking of how we
    can store them)
  • showing "related tags" in the top of the search results
  • showing the # of results per type (let's do this after consolidating
    the types, so it's less work smile)

How does this sound?

hi @jywarren https://github.com/jywarren
regarding pills, I used standard bootstrap4 classes.
As you said that according to new style guide, there would be fewer
options which is content and people.
So should I code the UI for new style guide with fewer options, Or should
I follow the method which is still being followed which has 6-7 options ?
regarding other parts, me and @gautamig54 https://github.com/gautamig54
will add them as checklist in this issue.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AAAF6JYGM3WNAOEOZVEUY4LPWLNDDA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZQPYI#issuecomment-494077921,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6J4Y4VRNMA345IAJG6LPWLNDDANCNFSM4HMITELQ
.

Wow awesome designs and great collaboration going on here @gautamig54 @CleverFool77 :tada:
The controller is https://github.com/publiclab/plots2/blob/master/app/controllers/search_controller.rb and the apis that serve this are found here https://github.com/publiclab/plots2/blob/master/app/services/ Feel free to ping me if you have any questions tough I guess @milaaraujo and @stefannibrasil understand the apis better.

Sure @cesswairimu
Right now, I'm going through it.
If I came across any issues. I'll surely ping you and others
Thanks !!!!

Hi @jywarren According to new style guide. There will be only fewer options consist of people and content . So Is this new pill content alias for All content tab of earlier design or Is it specific pill consisting of some information including notes and other ? And other options should be removed ?
cc : @gautamig54
Thanks !!!

Hi, the pills look good; are they using the standard Bootstrap vertical navs with pills? https://getbootstrap.com/docs/4.3/components/navs/#vertical

In general, using the defaults with as little extra CSS as possible will be great to keep our long-term maintenance low. But this is looking great. We will be wanting also to begin to show fewer types in the nav - just "Content" and "People" -- although we can approach this step by step!

Other parts of the mockup:

  • [ ] showing "featured results" for search terms (and thinking of how we can store them)
  • [ ] showing "related tags" in the top of the search results
  • [ ] showing the # of results per type (let's do this after consolidating the types, so it's less work smile)

How does this sound?

And Hi once again @jywarren
I wanted to ask that what would be specific point to consider a result as a featured result.
I mean kinda the distinction which will be used to consider a feature result.

Is this new pill content alias for All content tab of earlier design

Yes, that's right!

I wanted to ask that what would be specific point to consider a result as a featured result.
I mean kinda the distinction which will be used to consider a feature result.

We're planning to make a system whereby some results can be automatically displayed at the top if a certain set of keywords is input. It'll be a little bit like "pinning" them, but we will probably not use tags to accomplish it. Probably we'll have a set of key/value pairs we'll make editable, so like:

keyword,featured_nid
software,124312
workshops,3252

We'd then want to make sure they weren't /also/ shown in the results below. So in that respect it'll be similar to the pinning code in https://github.com/publiclab/plots2/blob/master/app/models/concerns/node_shared.rb

Sorry it took me a little while to get back to you! Thanks!

Actually sorry, to clarify:

Is this new pill content alias for All content tab of earlier design

Yes, that's right!

Actually we are going to just show "people" in the one tab and then flatten "notes, questions and wiki pages" (all of them based on the Node model, after all) into a combined single display called "Content".

I'm especially thinking of this method:

https://github.com/publiclab/plots2/blob/master/app/services/search_service.rb#L58-L60

Instead of this method:

https://github.com/publiclab/plots2/blob/master/app/services/search_service.rb#L5-L25

And, noting on

try the search by google option and display results of google search

There's a page here which successfully demonstrates this -- using a wiki -- https://publiclab.org/wiki/search

Hi @jywarren I was working on search section today. So I wanted to ask that Is people tab alias for profiles ?
eg -
All content to Content
profiles to people

Screenshot from 2019-06-05 17-53-53

hi @CleverFool77 , yes what you mapped is correct:

All content to Content
profiles to people

Hi @ebarry
I pushed the latest changes to https://github.com/publiclab/plots2/pull/5747

Screenshot from 2019-06-05 20-29-10

Such nice looking work @CleverFool77 !
I was just looking back at the checklist at the very top of this document, and wondering if we could update our priorities now that a couple weeks have gone by?

Sure @ebarry We were working on other sections. So this section got delayed. Right now, we are working on questions section. Now we'll proceed with the search section and Both of them would go side by side.

Hi @ebarry You can go though the progress of project here https://github.com/publiclab/plots2/projects/10 and suggest us that which section parts can be prioritised.
Thanks !!

Thank you, that project board looks cool!!!

From your checklist above, i suggest we prioritize this:

  • [ ] try the search by google option and display results of google search

So that the main Search page result can look like this:

Screen Shot 2019-06-05 at 2 39 47 PM

The defining aspects of this mockup are:

  • [ ] maintain a vertical pill nav at left as you already have going with:

    • [ ] a topmost button labelled "All", which is highlighted when Search results are returned

    • [ ] a 2nd button labelled "People"

    • [ ] a 3rd button labelled "By Type", that expands into a dropdown https://getbootstrap.com/docs/4.0/components/navs/#pills-with-dropdowns

    • [ ] the drop down menu should have items "Questions" "Wikis" "Notes"

  • [ ] hold a space for Featured Results -- but we haven't built it yet, so don't worry too much!
  • [ ] display Google-for-non-profit search results

From this Search Results page, clicking "By Type" or one of the dropdown categories would lead to https://publiclab.org/search/advanced. Here's what the display of custom wiki page search results could look like on that page:

Screen Shot 2019-06-05 at 2 40 08 PM

The by type search seems to be a new design. Thanks @ebarry
I'll soon push the the changes with new designs.
I wanted to ask that Does Places and tags would be included in By type search ?

Hi, all - noting that the code for running the Google-backed search is at
https://publiclab.org/w/search running already, and if you use a parameter
q you can initiate it with a search term, like:
https://publiclab.org/w/search?q=balloon

The code to make this work can be found on the "raw" view of that page:
https://publiclab.org/notes/raw/19093 (i had just been prototyping it in a
wiki page)

On Wed, Jun 5, 2019 at 3:09 PM Lekhika Dugtal notifications@github.com
wrote:

The by type search seems to be a new design. Thanks @ebarry
https://github.com/ebarry
I'll soon push the the changes with new designs.
I wanted to ask that Does Places and tags would be included in By type
search ?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AAAF6J7CC4MOOYPAXJEXBGDPZAFONA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXAW4IY#issuecomment-499215907,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6JYSH4DMAM6SSRWERULPZAFONANCNFSM4HMITELQ
.

Hi @CleverFool77, thanks for writing back!

i'm not sure about places.

For tags, also not sure, but maybe for now, let's explore offering the Tag Search through the Search Bar:

Looking closely, very closely, at the mockup, it can be seen that typing a word into the search bar triggers autosuggested tags. Then there are four ways to advance:

1) from the dropdown, choose a tag which goes to the particular tag page (/tag/name)
2) from the dropdown, choose the "View More Results" to go to the main Search page
3) click the "magnifying glass icon" to go to the main Search page
4) press "enter" to go to the main Search page

Hi, just noting that tags will be omitted in favor of showing tags on each
search results page along the top in blue pills, as in the mock-up.

On Wed, Jun 5, 2019, 4:59 PM Liz Barry notifications@github.com wrote:

Hi @CleverFool77 https://github.com/CleverFool77, thanks for writing
back!

i'm not sure about places.

For tags, also not sure, but maybe for now, let's explore offering the
Tag Search through the Search Bar:

Looking closely, very closely, at the mockup, it can be seen that typing a
word into the search bar triggers autosuggested tags. Then there are four
ways to advance:

  1. from the dropdown, choose a tag which goes to the particular tag
    page (/tag/name)
  2. from the dropdown, choose the "View More Results" to go to the main
    Search page
  3. click the "magnifying glass icon" to go to the main Search page
  4. press "enter" to go to the main Search page

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AAAF6J5A2FCRGGDF77JK5M3PZASHJA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXA75TA#issuecomment-499252940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6JYAYBH2WPKCRL25LCTPZASHJANCNFSM4HMITELQ
.

Places at the moment will be a type of wiki page, so should be omitted in
favor of that display. So places and tags can just be left out!

On Wed, Jun 5, 2019, 8:36 PM Jeffrey Warren jeff@unterbahn.com wrote:

Hi, just noting that tags will be omitted in favor of showing tags on each
search results page along the top in blue pills, as in the mock-up.

On Wed, Jun 5, 2019, 4:59 PM Liz Barry notifications@github.com wrote:

Hi @CleverFool77 https://github.com/CleverFool77, thanks for writing
back!

i'm not sure about places.

For tags, also not sure, but maybe for now, let's explore offering the
Tag Search through the Search Bar:

Looking closely, very closely, at the mockup, it can be seen that typing
a word into the search bar triggers autosuggested tags. Then there are four
ways to advance:

  1. from the dropdown, choose a tag which goes to the particular tag
    page (/tag/name)
  2. from the dropdown, choose the "View More Results" to go to the
    main Search page
  3. click the "magnifying glass icon" to go to the main Search page
  4. press "enter" to go to the main Search page

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AAAF6J5A2FCRGGDF77JK5M3PZASHJA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXA75TA#issuecomment-499252940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6JYAYBH2WPKCRL25LCTPZASHJANCNFSM4HMITELQ
.

Hi @jywarren @ebarry I wanted to ask that regarding google search, it should be link as per the UI and then the results from google search will be displayed in second column of UI ?

Hi @ebarry @jywarren

I was trying out the code, So I wanted to ask instead of search box, I should have Try with Google search link which would have action of google search (Similar to UI which you posted above ) or Should it be just searchbox like below ? And the other results for intra search would be hidden when google search results are shown ?

Screenshot from 2019-06-06 16-20-59

Hmm, can you show a quick mock-up? I was hoping Google search would seem
like the "default" to people for the time being. I think it's a little odd
that navbar search would still exist but we could see how it works... it'll
offer tag search results and then offer to continue in the Google search
with the "view all results" entry, so even if it's a little odd I think
people will still be routed eventually back to the full Google search input
once they interact with it.

On Thu, Jun 6, 2019, 3:55 AM Lekhika Dugtal notifications@github.com
wrote:

Hi @ebarry https://github.com/ebarry @jywarren
https://github.com/jywarren

I was trying out the code, So I wanted to ask instead of search box, I
should have Try with Google search link which would have action of google
search (Similar to UI which you posted above ) ? And the other results for intra
search would be hidden when google search results are shown ?

[image: Screenshot from 2019-06-06 16-20-59]
https://user-images.githubusercontent.com/26685258/59027624-22551d80-8877-11e9-846e-1a377a6093a7.png

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AAAF6J7ZPODP22MJCYYG4TDPZDUGDA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXCPMLI#issuecomment-499447341,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6J3LK45HDUR3TJPDRUDPZDUGDANCNFSM4HMITELQ
.

Hi @jywarren
I did add screenshot in comment above.
How do you want Google search to be ? default be like ? Similar to Try your search with Google as it appears in UI and then get the Google results ?
or View All entry be a button leading to action of custom google search

Oh I see, sorry! So, let's try to not show "Google" unless it is a lot of work to remove it. How does that sound?

Ohkk!! I'm still pretty confused about the UI , so I'll show the mockup first then let's see and do the further changes.

Thank you @CleverFool77 !!!

Hi @gautamig54 Can you look over some of the parts for search section here ?
Thanks !!!

Sure! I will take up the # of results and the sort by issues.
Sorry for missing this one out.
Thanks!

Hi @jywarren I wanted to ask that as per the documentation https://developers.google.com/custom-search/docs/element, the search can be triggered either through searchbox or url in programmatic execution .
Is searchresults-only tag from componentConfig which is triggered by a <a> tag has Try the search with Google line ?

So we need to execute the params[:query] for which we are doing search, to be executed for google search triggered by id given to above <a>?

Let's add a few more for the navbar search, if it's OK!

  • [ ] let's show a spinner icon while it loads the autocomplete results! (as shown below) - say, replacing the magnifying glass icon?
  • [ ] Let's change the inline heading "Tags" to "Topics"
  • [ ] let's put the actual tagname in a badge so it's recognizable as a topic...?
  • [ ] can we filter out powertags from the tags autocomplete (@ebarry is this right?)

image

Would become:

image

<ul class="typeahead dropdown-menu" role="listbox">
<li class="dropdown-header">TOPICS</li>
<li class="active"><a class="dropdown-item" href="#" role="option"><span style="font-size:100%" class="badge badge-primary">education</span></a></li>

This looks cool. I'll add them to list @jywarren
Hi @rexagod I need help in JavaScript for triggering the Custom Google search with click on link.

Sure thing, @CleverFool77! Can you link me to the code?

https://github.com/publiclab/plots2/issues/5708#issuecomment-499220582

https://github.com/publiclab/plots2/issues/5708#issuecomment-499447341

https://github.com/publiclab/plots2/issues/5708#issuecomment-501729804

I was using the code from the links by @jywarren in the method I wrote. I tried from api documentation to find a method of triggering search without search box and link.
But I'm not sure about the usage of the url part searching without searchbox from documentation

But I'm not sure about the usage of the url part searching without searchbox from documentation

Hello, @CleverFool77. I take it that the parameter search implementation is what's causing the problem here?

If that's the case, how about attaching an onload listener for window.location.href and parse that for parameters then use those parameters to trigger a search (the same way you do for onclick for the searchbar)?

What do you think?

Thank you so much @rexagod
Yes I guess this method will work, I'll try it out :thinking:
Thanks :smiley:

Done here!!! Yay!

AMAZING!!!!!!!! The new Search Bar is working great and it's so fun to use!

+1 336-269-1539 / @lizbarry http://twitter.com/lizbarry / lizbarry.net

On Mon, Aug 26, 2019 at 4:29 PM Jeffrey Warren notifications@github.com
wrote:

Closed #5708 https://github.com/publiclab/plots2/issues/5708.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5708?email_source=notifications&email_token=AABHNH6TUSSPDHQCF4S67I3QGQ4JHA5CNFSM4HMITEL2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTIJJGYI#event-2584908641,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABHNH6T6H7Y724S6NKY2Y3QGQ4JHANCNFSM4HMITELQ
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grvsachdeva picture grvsachdeva  ยท  3Comments

milaaraujo picture milaaraujo  ยท  3Comments

RuthNjeri picture RuthNjeri  ยท  3Comments

jywarren picture jywarren  ยท  3Comments

keshavsethi picture keshavsethi  ยท  3Comments