This issue report is manually copied and pasted from qgis/QGIS#61752 that was superseded by qgis/QGIS#64170 (which unfortunately failed to generate automatic issue report)
Authors: @nyalldawson @jonathanlurie
CAUTION: The description below may not match actual implementation; it comes from the initial implementation of the feature.
Description
This work is a follow up on @ValentinBuira 's drag and drop support in Model Designer qgis/QGIS#60664
It essentially adds some visual feedback to it. Here is a global view:
Now let's see some detailed view of a processing box:
And of a parameter box:
-
Bullets are now color coded by type of data
- blue rgb(34, 157, 214) --> numerical types (numbers, matrices, vectors, distances, durations, etc.)
- green rgb(51, 201, 28) --> boolean
- kaki (greenish yellow) rgb(180, 180, 0) --> vector geometries and vector layers. This includes meshes, point clouds, extents, vector tiles and anything that contains some sort of geometry
- turquoise rgb(0, 180, 180) --> raster images and raster layers
- purple rgb(128, 68, 201) --> enums
- slate blueish rgb(100, 100, 255) --> everything text: strings, date, CRS, HTML
- dark gray rgb(80, 80, 80) --> everything file system
- mid gray rgb(128, 128, 128) --> the rest that is difficult to find a category for (mode datails here https://github.com/camptocamp/QGIS/blob/model-designer-update/src/gui/processing/models/qgsmodelgraphicitem.cpp#L232)
-
rubber bands have the same color coding as bullets
-
Bullets are just outlined when holding the default value, or filled if configured with a non-default value (or a linked to a parameter box)
-
The label of each param is followed by its configured value. It used to update only after the whole mode was ran, now it updates whenever the user updates the value or plugs a parameter box
-
values that are enums are displaying the human-friendly label of the corresponding enum value (and not just the index of it)
-
values that are coming from a plugged box clearly display value from "" (when a parameter) or " from "
-
parameter boxes also display the type and value on their "out" section when unfolded
Note: color choice can obviously be discussed and when I picked those it was a mix of randomness and looking-alrightness. I am particularly interested in feedback from colorblind users, so that we can represent types that are very different with colors that are very different for colorblinds too.
This issue report is manually copied and pasted from qgis/QGIS#61752 that was superseded by qgis/QGIS#64170 (which unfortunately failed to generate automatic issue report)
Authors: @nyalldawson @jonathanlurie
CAUTION: The description below may not match actual implementation; it comes from the initial implementation of the feature.
Description
This work is a follow up on @ValentinBuira 's drag and drop support in Model Designer qgis/QGIS#60664
It essentially adds some visual feedback to it. Here is a global view:
Now let's see some detailed view of a processing box:
And of a parameter box:
Bullets are now color coded by type of data
rubber bands have the same color coding as bullets
Bullets are just outlined when holding the default value, or filled if configured with a non-default value (or a linked to a parameter box)
The label of each param is followed by its configured value. It used to update only after the whole mode was ran, now it updates whenever the user updates the value or plugs a parameter box
values that are enums are displaying the human-friendly label of the corresponding enum value (and not just the index of it)
values that are coming from a plugged box clearly display value from "" (when a parameter) or " from "
parameter boxes also display the type and value on their "out" section when unfolded
Note: color choice can obviously be discussed and when I picked those it was a mix of randomness and looking-alrightness. I am particularly interested in feedback from colorblind users, so that we can represent types that are very different with colors that are very different for colorblinds too.