Open ctot-nondef opened 4 months ago
Wishlist for the initial (filter) window:
list of features (similar to the VICAV feature lists, I have asked the researchers to try to put the features into categories like Phonology etc.) (either make them selectable here -> selected = column for this feature is added OR have a dropdown like in the example https://www.shadcn-vue.com/docs/components/data-table)
list of associated filter values -> question how to best display these, the number of possible feature values is very unbalanced, some features have 3 possible values, others have up to 49 a very simple example (number of items = number of values, having this is not necessary):
selecting these feature values would apply filtering logic to the table and map -> only show rows that contain at least one of these selected values & only display markers for the visible rows
for each (selected?) feature there should be a color picker for the marker color, ideally also a symbol picker For reference, this is what the initial prototype looked like for the Feature "Treatment of Qāf", but with color and symbol pickers for each possible feature value combination, we have decided to abandon that approach because it adds unnecessary complexity. e.g. this particular feature has 9 possible values, but about 30 unique combinations, while most of the complex combinations only occur at one location
(- issue to solve for the map: locations with several different feature values (do we create one marker, but what to do about the colors then OR create several overlapping markers and use some kind of marker clustering solution?))
allow the user save & load the settings -> would it be a solution if the user can save a geojson that contains the filtered locations with only the selected liguistic features / feature values and the marker choices?
attempt persist filter + color coding settings into the URL, check if state needs to be compressed, ie with brotli
Results of meeting with the researchers and showing them the current table/ map: