Skip to content

Conversation

@Revathyvenugopal162
Copy link
Contributor

@Revathyvenugopal162 Revathyvenugopal162 commented May 25, 2023

  • added the scroll bar
  • highlight with color with all suggestions
  • added the version index
  • clear the search bar when the drop down index changes.
  • Add more suggestions
    image

@github-actions github-actions bot added documentation bug Defects or glitches reported by users or developers labels May 25, 2023
Copy link
Member

@jorgepiloto jorgepiloto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting some last changes. Style looks good! Thanks, @Revathyvenugopal162.

@Revathyvenugopal162 Revathyvenugopal162 marked this pull request as ready for review July 19, 2023 16:32
Comment on lines +51 to +65
// Listen for changes in the dropdown selector and update the index uid and suggestion accordingly
document
.getElementById("indexUidSelector")
.addEventListener("change", function () {
theSearchBar.indexUid = this.value;
theSearchBar.inputSelector = "#search-bar-input";
theSearchBar.suggestionIndexUid = this.value;
theSearchBar.autocomplete.autocomplete.setVal("");
});

// Listen for changes in the search bar input and update the suggestion accordingly
document
.getElementById("search-bar-input")
.addEventListener("change", function () {
theSearchBar.suggestionIndexUid =
document.getElementById("indexUidSelector").value;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should definitely help us to improve the suggestion provided to users.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for handling that.

Copy link
Member

@RobPasMue RobPasMue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@jorgepiloto jorgepiloto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work, @Revathyvenugopal162!

@Revathyvenugopal162 Revathyvenugopal162 merged commit fca1ab9 into main Jul 21, 2023
@Revathyvenugopal162 Revathyvenugopal162 deleted the fix/search-clear branch July 21, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Defects or glitches reported by users or developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants