-
Notifications
You must be signed in to change notification settings - Fork 35
included view: blurWhenOpen support #1249
Comments
There is another issue first: If there is no selection, quick actions are shown. => OK |
EDIT: @metas-mk advised me there will only be actions for entries with a given handling unit, so this comment is obsolete EDIT 2: @metas-mk confirmed there is an issue with Picking Tray, @teosarca will see about this I further investigated this issue and could narrow it down to no When an entry is selected (in https://w101.metasfresh.com:8443/window/540206), the QuickActions component requests {"actions":[]} Interestingly when multiple items are selected (e.g. http://w101.metasfresh.com:8081/rest/api/documentView/540206/540206-c37eb8e86b464da3b7f8cb3767bc5879/quickActions?selectedIds=1000104,1000103) this response is yielded: {"actions":[{"processId":"ADP_540874","caption":"Take out HU","description":"","quickAction":true,"defaultQuickAction":false,"disabled":true,"disabledReason":"Nur eine Zeile soll ausgewählt sein"}]}
|
@teosarca Does this also apply to row data? It currently looks like this: [
{
"...": "...",
"includedView": {
"viewId": "afterPickingHUs-4e881f59082a4a28a17a4ab3db2a5a7f",
"windowId": "afterPickingHUs"
},
"supportAttributes": false,
"supportIncludedViews": true
},
{ "...": "..." }
] |
@ottosichert nop, i did the change only on layout level. |
Okay thanks for the info. Will it be changed anytime soon? |
not planned. |
only if is needed or if u have an improvement suggestion.... |
It's not needed and I don't necessarily see an improvement here (maybe besides consistency). I would have added a fallback in my coming PR if it was planned. |
@ottosichert lili created some data for you: https://w101.metasfresh.com:8443/window/540371 |
Thansk for the data. Clicking on After clicking the quick action the view flashed but nothing changed. When refreshing the page, the entries are gone. Is this supposed to work like that? Furthermore the selection seems buggy, when selecting the item as in your screen shot everything works fine (one item selected, quick action enabled). When selecting the item below, both TU and CU are selected. Is this correct? |
[#2761](#2761) Window Partner dist orgs: link using dropship partner [#1317](#1317) AD_ChangeLog: don't log Updated and UpdatedBy [#2766](#2766) add description in c_doctype_trl [#2784](#2784) Partner Import : Add fields address3 and address4 [#1263](metasfresh/metasfresh-webui-frontend-legacy#1263) Row not selected and no actions after closing the modal view [#480](#480) Co-Product improvement in Manufacturing [#1258](metasfresh/metasfresh-webui-frontend-legacy#1258) Opening a new included view is broken (again) [#2786](#2786) Drop org.adempiere.model.virtualColumn legacy functionality [#2564](#2564) Concept for entering multiple discounts for order and subscription [#2311](#2311) Customer Invoices and Invoice Candidates adjustments [#1281](metasfresh/metasfresh-webui-frontend-legacy#1281) Translations of Photo Widget in User Window [#2763](#2763) New Window Picking Tray Clearing [#1249](metasfresh/metasfresh-webui-frontend-legacy#1249) included view: blurWhenOpen support [#1275](metasfresh/metasfresh-webui-frontend-legacy#1275) Scrolling in Modal window throws errors [#2768](#2768) Translate window for process "Change Password" into EN [#625](metasfresh/metasfresh-webui-api-legacy#625) WebUI Scheduler Window Log Subtab: Invalid Client ID=0 [#1248](metasfresh/metasfresh-webui-frontend-legacy#1248) included view: wrong selectedIds when calling quickActions [#639](metasfresh/metasfresh-webui-api-legacy#639) Can't save a new partner [#2774](#2774) Vendor Invoice Layout and Translations in WebUI [#1268](metasfresh/metasfresh-webui-frontend-legacy#1268) Sitemap broken [#1227](metasfresh/metasfresh-webui-frontend-legacy#1227) The Letter window dissapears after Print Preview [#1278](metasfresh/metasfresh-webui-frontend-legacy#1278) Shortcuts for New, Batch and Expand are broken [#2755](#2755) error on hu changing status from shipped to active [#1271](metasfresh/metasfresh-webui-frontend-legacy#1271) Open ANY included view broken [#2769](#2769) model generator: wrong columns are generated [#2750](#2750) Flatrate Import: Support tax category [#2752](#2752) Inherit C_Taxcategory_ID and IsTaxIncluded from orderline to FT [#2751](#2571) Report Translations to en_US: menu reports [#2379](#2379) Procurement Candidates generate Purchase Order [#2739](#2739) Add context into if exception happens in WorkpackageProcessorTask.processWorkpackage [#637](metasfresh/metasfresh-webui-api-legacy#637) Move Picking Tray Clearing Functionality to new window [#472](#472) Picking from Handling Unit Editor (WebUI) [#1092](metasfresh/metasfresh-webui-frontend-legacy#1092) Prepare Update to React 16 [#1223](metasfresh/metasfresh-webui-frontend-legacy#1223) Scrollbar missing in Handling Unit Editor after "Internal Usage Action" [#2726](#2726) Set correct identifiers in the table M_ShipmentSchedule (v2) [#2731](#2731) Window Design Webui: Improve window Shipment Restrictions [#2732](#2732) Window Design Webui : Add description field in sales order line [#2725](#2725) Webui Window Design: Improvements in window ESR Payment Import [#2728](#2728) Webui Design Window: Add Translations to Business Partner [#2653](#2653) Window Design Webui: Improve Businesspartner Dist-Orgs window [#2729](#2729) Window Design Webui: Add missing fields to window Tourversion [#2240](#2240) npe on zoom into header aggregation [#2730](#2730) Window Design Webui: Improvements in window Purchase order [#2740](#2740) Picking slot Rack System flag [#632](metasfresh/metasfresh-webui-api-legacy#632) HU-Trace: show all connected records me-73
IT
=> you have to select the "Picking Tray Clearing (Prototype)" breadcrumb to see the HUs from the right side (created backend task: metasfresh/metasfresh-webui-api-legacy#643) !!! @ottosichert Question: when you navigate on slots (left side), the right side is not refreshed . (e.g. there is no afterPickingHUs). Is it wanted? (for me it's ok, but just to make sure) |
@metas-lc Thanks for your feedback and sorry for my late response. I can see the right side is not refreshed after the selection on the left side changes:
@teosarca Do you know if this is wanted? |
@ottosichert in case it's exactly the same view it's OK to not be queried again. |
@teosarca okay that makes sense. Is it intended that in this case all items on the left side have the exact same Besides that, by manually altering the |
Generally speaking, no. Reason behind: when we initially developed this included view feature, we started with cases where the "included view" really depends on what row you select on main view.
thanks! |
Results of IT2
|
Is this a bug or feature request?
FR
What is the current behavior?
In a view, you click on a row so the included view is opened on the right side panel.
While the included view (on the right) is open the main view (left side) is blurred out.
If you try to click on the actions button of the main view (left side) you just close the included view instead of running the action.
Which are the steps to reproduce?
What is the expected or desired behavior?
1. Refactoring: viewLayout response
We deprectated supportIncludedView and supportIncludedViewOnSelect properties.
Please don't use them because we plan to remove them.
Instead "includedView" (map) property was introduced, which can contain following properties:
So, the substitutes of the old properties are:
2. Support "includedView" -> "blurWhenOpen" property
If true, it shall behave EXACTLY how it is now.
If false:
required for metasfresh/metasfresh#518
The text was updated successfully, but these errors were encountered: