cedadev / search-futures

Future Search Architecture
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

UI components render based on API conformance #93

Open rsmith013 opened 2 years ago

rsmith013 commented 2 years ago

Conformance classes tell the client what the API is capable of. If we wanted the UI to be re-usable by others the UI components should react to the conformance classes reported by the API /conformance on startup. e.g. If free-text-search is not enabled, the search box should not appear.

Basically, tie UI components to specific conformance classes which enable their usage.