Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search with autocomplete #25

Open
9 of 10 tasks
sashachabin opened this issue Sep 7, 2022 · 1 comment
Open
9 of 10 tasks

Add search with autocomplete #25

sashachabin opened this issue Sep 7, 2022 · 1 comment

Comments

@sashachabin
Copy link
Member

sashachabin commented Sep 7, 2022

image

Example data

[
  {
    "section": "Section name"
    "section_id": "section-name-1",
    "items": [
        {
            "page": "Page name 1",
            "page_id": "page-name-1",
            "text": "<b>Lorem Ipsum</b> is simply dummy text of the printing and typesetting industry"
        },
        {
            "page": "Page name 1",
            "page_id": "page-name-2",
            "text": "containing <b>Lorem Ipsum</b> passages, and more recently with desktop publishing software"
        }
    ]
  }
]
  • Search input
    • Search ≥ 2 symbols
    • Search all keys
  • Search items
    • Section link. Show section title if more than 1 page
    • Page link
    • Output content
    • Highlight
    • Link to anchor (need block id and #anchor from back-end)

Design
https://www.figma.com/file/VpUQ8aZanmAIbwlSt5UTKH/%F0%9F%9A%B2-Ekaterinburg.design?node-id=3405%3A3302

@sashachabin
Copy link
Member Author

We have disabled the searchbar. To continue its development, you can revert this changes:

https://github.com/ekaterinburgdev/guides/pull/119/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants