Skip to content

BS website search that saves results #33338

Closed

Description

@nathan-daugherty

This isn't related to Bootstrap code, but to the documentation website, so I apologize if this isn't the right place to submit that kind of feature request.

The search can be cumbersome because you type in a topic like "Lists" and multiple results show without any distinction. Click one and find it's not the one you want, so you have to re-type "lists." What is a better user experience in my opinion is to somehow save the search so you can just go back to see the results and click on another one.

Activity

  1. added
    docsDocumentation site and its content
    help-wantedMaintainers would welcome a contribution
    and removed
    featureNew feature, or a change to how an existing one works
    on Mar 12, 2021
  2. alpadev commented on Mar 16, 2021

    @alpadev
    Contributor

    @mdo The next version of DocSearch (currently alpha - documentation) features recently searched items.

    image

    As a workaround for the current version we could open links in a new tab (maybe not the best but simpliest thing to do). Alternatively save the search value in the local storage or manipulate the url e.g. ...?search=value and make docsearch aware of that.

    Not sure whats the best thing to do. AFAICT there are already some projects using it e.g. those based on Docusaurus 2

  3. XhmikosR commented on Mar 16, 2021

    @XhmikosR
    Member

    I think the best solution would be moving the new docsearch versions as soon as it's stable. Right now we do have custom styles, so we'd need to adapt our docs to drop any no-longer needed stuff.

  4. mdo commented on Mar 19, 2021

    @mdo
    Member

    Agreed on the next stable Algolia version.

  5. added
    v5v5, the v5-dev branch
    on Apr 14, 2022
  6. added
    has-prAn open pull request addresses it
    on Apr 14, 2022
  7. added 3 commits that reference this issue on Apr 20, 2022
    ccbf35b
    a74c88e
    1c78620
  8. added a commit that references this issue on May 6, 2022
    7c67bf3
  9. added a commit that references this issue on May 6, 2022
    6b49d26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation site and its contenthas-prAn open pull request addresses ithelp-wantedMaintainers would welcome a contributionv5v5, the v5-dev branch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions