urbit / foundation-design-system

A system of design variables, Markdoc and React components intended for Urbit Foundation projects.
MIT License
2 stars 1 forks source link

Search really needs to be componentised #20

Closed matildepark closed 1 year ago

matildepark commented 1 year ago

Search is probably the last remaining huge component that differs weirdly per site and it is already unscalable for changes.

It has different renders depending on the source of the search, and depending on the site in question other sites are treated as "remote". Best componentisation would include all the possible providers, list one as "us" and through that dictate the order. Search result itself should also be a component.