Esri / solutions-components

A collection of UI components for constructing webapps.
Apache License 2.0
11 stars 5 forks source link

Add ability to search in the table in Manager #764

Open azizaparveen opened 1 month ago

azizaparveen commented 1 month ago

Describe requirements

We would like to add the ability to search for records in the table in Manager. Since this is predominantly table focused app and map can be hidden in some workflows, we would like the search in the table to be independent of the map search and will not require any configuration. This search will be dependent on the full text indexing of the layer or table, Full text indexing can be created from feature layer item details /Settings/Manage indexes section https://arcgis4localgov2.maps.arcgis.com/home/item.html?id=3a80482f3ce7444d93b01ed8de682482#settings image

image

Alternatives

No response

Other Relevant Info

No response

Impact

No response

azizaparveen commented 1 month ago

cc @sarahmcdonald7

azizaparveen commented 1 month ago

@sumitzarkar we would like the search box to be in second row when full text indexing is available. image

azizaparveen commented 1 month ago

@sumitzarkar as discussed this morning, here is the design doc for the full text search and added some additional detail for this feature. fulltextsearch

azizaparveen commented 2 weeks ago

@sumitzarkar During our morning discussion today, you asked if there is selection, will the search work only within the selection set. I think that should be the case. I was looking into Table widget behavior in this scenario in Experience Builder, it searches within the selection Manager_selectionsearch

sumitzarkar commented 2 weeks ago

@azizaparveen With EXB the features are not filtered on the map, it reflects only in table.

If we would like to reflect the search on the map we have to update the layer's definitionExpression which will clear the selection.

azizaparveen commented 1 week ago

@sumitzarkar , for search bar default hint text could you please add the field aliases of the fields that have full text indexes on. The text would be, for an example "Search text in Site Subtype and Development Status fields". This will provide hint to the users. We have wide search bar and if there are too many fields we can always use... and on click that will expand. This way if any full text indexed field is hidden, users will get the awareness as well and turn their visibility on. image

sumitzarkar commented 6 hours ago

@azizaparveen

for search bar default hint text could you please add the field aliases of the fields that have full text indexes on.

We have a wide search bar and if there are too many fields we can always use...

and on click that will expand

  • This is impossible as we have no control over the placeholder. Instead, we can show complete text on hover of the search input.