Skip to content

Search components & library abstractions #290

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

Open
3 of 5 tasks
joepio opened this issue Jan 31, 2023 · 0 comments
Open
3 of 5 tasks

Search components & library abstractions #290

joepio opened this issue Jan 31, 2023 · 0 comments

Comments

@joepio
Copy link
Member

joepio commented Jan 31, 2023

Building a custom GUI for domain-specific search + filtering can be quite the hassle. Atomic Data and Atomic Server provide a few opportunities to make this process easier than ever.

  • Atomic-Server has full-text search built in. We don't need an extra elasticsearch application - it's fully embedded.
  • Atomic Schema allows for highly standardized descriptions of properties and data models, which can be used to generate filter attributes.

We should make it really easy for developers to build their own search app. This means:

  • Provide abstractions for managing search state and building queries. At its core, this is probably a .search method and a big searchOpts object.
    • For react, this means a new hook: useServerSearch
    • For svetelkit, this means a store.
  • Provide ready-to-use components. These should be stylable. Most important is generating filters based on a class definition.
  • They should work with atomic-data-browser, of course.

I've used a bunch of libraries in the past that offer similar features, such as searchkit and algolia's instantsearch that could provide some inspiration.

@joepio joepio mentioned this issue Mar 9, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant