Following the React Migration, the Parameters component will now get some attention on UX/UI and this topic will be for discussion on it and also on implementation details.
Currently the component has two contexts: Edit and view mode.
Core points I have in mind:
Parameter Setting button on edit mode
Make the sort-ability feature more noticeable*
Improve mobile experience (may be a good opportunity to that as the component is on the Dashboard an on the Query page)
* This has been a sort of “hidden feature” so far:
I had no idea the widgets could be reordered! Do you know if any of the react drag-and drop libraries support touch interface dragging (on a smartphone or tablet e.g.)?
I agree. This is something we can implement right away, right?
Right after the React migration, yes.
Also, the tooltip would have to show up even for titles that don’t get ellipsised cause there’s no simple way to determine ellipsis occurring (it’s an entirely css feature) so let’s add a 1-2 sec mouseEnterDelay till it shows up.
Why show the data type to the user?
Showing the datatype allows me to omit a “settings” button (cause I can’t find it a proper unobtrusive location / design) and instead introduce editing via hover and click. (only a concept right now)
It’s also valuable because our documentation specifically calls out features of different data types for parameters. Displaying this information to the user suggests that the data type is a useful piece of information (they otherwise might ignore it).
I notice in the most recent animation that on hover the POPULATION parameter name doesn’t expand out. Is that a bug?
I’d like to see a draft of how this looks with Query Based Dropdown List Parameters.
How do you display the type name without cutting it off
Do you have an easy way to display the linked query name?
It would be nice if from the parameter widget there was an easy way to jump to the linked query.
Another option is to use the parameters sidebar, as discussed here:
In the sidebar, we can have a place for a “parameters catalog” (parameters you can use) and currently used parameters, where you can also open their settings. I assume that there it will be easier to find a spot for the settings dialog trigger.