Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Some feedback #1

@MarkosKon

Description

@MarkosKon

I know you didn't ask for it but I'll write it anyway because I like your posts.

  • If you press : in the search you get this error:
O.QueryParseError {name: "QueryParseError", message: "unrecognised field '', possible fields: 'title', 'description', 'content', 'url', 'date'"....
<p>
  <Highlighter
     searchWords={[query]}
     autoEscape={true}
     textToHighlight={description}
    />
</p>     
  • Clear the results when the input is cleared. Maybe something like this in the useEffect of search.js:
if (!searchQuery) setResults([])

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions