Esri / Esri/calcite-react

Documentation: Better search

Open
#361 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
51
Forks
13
PR merge metrics
No merged PRs in 30d

Description

## Expected Behavior
If a user is not sure where in the documentation the headers (h1, h2, h3, etc) are located - they search "H3" (or similar tag), for example, in the documentation search box and would like to quickly see the results.

## Current Behavior
Right now, doing that yields no results, so I have to click through every single topic until I find the right one (`Elements`!)
![image](https://user-images.githubusercontent.com/209355/77951245-41ff7b80-72b9-11ea-8e47-b2958ec3bafe.png)

## Possible Solution
Some sort of full-text or partial-full-text search would be much better I think. I know there are potential issues with this, for example what if I search the word `Item`? `Item` is used extensively in the example code so there would be way too many matches to be helpful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.