Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Edit embed field config to allow marking a field as searchable #1533

Closed
jwalgran opened this issue Nov 29, 2021 · 1 comment
Closed

Edit embed field config to allow marking a field as searchable #1533

jwalgran opened this issue Nov 29, 2021 · 1 comment
Assignees

Comments

@jwalgran
Copy link
Contributor

Overview

Edit embed field config to allow marking a field as searchable and add model and API support for persistence.

Describe the solution you'd like

  • Model changes
    • Add searchable to EmbedField, non null default False
    • Add text_search_label to EmbedConfig, nullable string
    • Add custom_text to FacilityIndex, nullable string
  • Update API to allow passing a searchable value
  • Update UI to allow making embed fields as "Searchable"
@TaiWilkin
Copy link
Contributor

TaiWilkin commented Jan 21, 2022

Design notes: Use a checkbox to the right of the fields (but before the hidden draggable buttons). Distance between right checkbox and textbox slightly larger than between left checkbox and textbox. Make this disabled and a very pale grey unless a box is marked 'visible'; deselect the checkbox if a box was visible and searchable but is marked invisible. Have a 'header'/label above the list of fields' checkboxes marked 'Searchable' with an 'i' icon; on hover, show instructions/definition for searchability.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants