-
Notifications
You must be signed in to change notification settings - Fork 34
Make the parameter names visible in filters #411
Comments
The filters have type secondary from the default, what means that the label and the input are sized with ratio 1:3. We cannot allow to auto-size labels in secondary input due to layout assumptions. Also we cannot fix the width of label to some length, because there is too much cases to fill them all. What we can do here to display more is to provide from API type of widget like primary and then do not use fallback to secondary and achieve the 100% width label above the input. What it may cause is doubled height of filters dropdown. |
@metas-rc Do we have some new decision made here? Or can we close issue? |
Check with "primary" layout and it looks like this (see screenshot).
@metas-mk wdyt? |
Let' try to get rid of the most big filters. We already started in material receipt to only have specialty filters where most of parms are already set as constants. If we manage to do that, I believe that we can go the path of primary layout BUT not for flags (looks horrible). WDYT? |
Than please just change it on API side to secondary for flags. So it is no more frontend issue, can we close it? |
Hi @damianprzygodzki
|
@teosarca so change the type property to be inside the parameters - it is resposible for single widget. we cannot differentiate and display one widget different than others. We wanted to make generic widgets and thats the way they are working, property 'type' is defining their design. It relay on API side. |
I think that frontend gives you now full ability to manipulate widgets layout in filters, so i am adding integrated flag instead of mf turn. |
pls fix the checkboxes layout. |
It is fixed, also with buttons, labels and switches. Isnt it working? |
didn't check it... thought it wasn't since i didn't see any commits since last talked. moving it to testing then... |
Thank you |
[#332](metasfresh/metasfresh-webui-api-legacy#332) Empties window without pre-selection possible [#695](metasfresh/metasfresh-webui-frontend-legacy#695) Lager photo preview screen/ modal overlay [#328](metasfresh/metasfresh-webui-api-legacy#328) Manufacturing receipt mandatory Field not filled [#1388](#1388) HU from Cost Collector is locked and cannot be selected anymore after the CC was reversed [#683](metasfresh/metasfresh-webui-frontend-legacy#683) Tooltip on first level breadcrumb [#682](metasfresh/metasfresh-webui-frontend-legacy#682) Sidelist opening shall automatically have the first line selected [#322](metasfresh/metasfresh-webui-api-legacy#322) Manufacturing Issue/Receipt: Fix Qty and QtyPlan columns [#676](metasfresh/metasfresh-webui-frontend-legacy#676) Process result: implement openDocument as modal [#1358](#1358) Drop de.metas.order.callout.CheckDouble [#411](metasfresh/metasfresh-webui-frontend-legacy#411) Make the parameter names visible in filters
IT |
Due to our auto-generator of UI, we always keep label to input proportion 1:3 in secondary type inputs (this means also always for checkbox, switch and button widgets). Filter window uses same UI generator as document window – the difference is document window is simply wider – it gives it more space for label. Solution might also be making filter container wider but it won't solve other cases with ellipsis for checkboxes (like users with lower screen resolutions). @metas-lc keep in mind we cannot adjust widgets per window because we use one, single and unified UI generator – making change in one place makes the changes in all of them. Please propose your solution in this perspective (look at @damianprzygodzki proposal above). |
as discussed, the backend shall provide (layout) type:"different type" (TBD) . |
IT |
Type of issue
Current behavior
Expected behavior
Steps to reproduce
Please check the pic below:
The text was updated successfully, but these errors were encountered: