-
Notifications
You must be signed in to change notification settings - Fork 34
Implement Zoom-into in webUI #720
Comments
How it shall work?
The endpoint will return something like: Basically the result has 2 properties:
Important
Why not providing the ZoomInfo on each field, when we fetch the document data?The main reason is because we would need extra computation to figure out which is the actual windowId where we need to zoom. |
How do we want achieve a context menu over widgets? Most of them are editable inputs so the replacing native context menu would be limiting default functionalities. @cadavre We need your help here. |
I think going into context menu "Zoom in" is not a good follow-up of Swing's client. ;) This is how I see we can do it: and As an addition to above I would like to add something like [ctrl]+click widget to "zoom in". Possible @damianprzygodzki ? |
@cadavre yes, it is possible. But i am thinking - you should be focused inside widget then, shouldnt we be consistent and proceed like with devices section (tab navigation)? |
I guess it should be possible even without focus. Imagine when someone is browsing document – already filled and want to go to Business Partner to check other documents. Simple go with mouse over widget and click to open. Also remember about case with widget read-only – cannot be focused, but still we want to have possibility to zoom-in. |
Yes, sorry, you are right. We can proceed this way. |
Hi guys, Have you also considered?
I am really not sure if that's a good idea, but i would really want to have your input. |
Labels are also not a bad idea. What I would do is add some small "go into record" icon next to label that is enabled to "zoom in". Wdyt? |
or in case the widget supports zoomInto, we could render the label as a browser link. To be honest i am really not sure and I think we would not be able to decide now. |
I would not really change label style to link. But afaik I think approach with labels would be fastest. @damianprzygodzki ? |
And what is the difference between |
Both ideas are ok, but i would go with icon-button to avoid problems with labels on small resolutions. |
as discussed, let's go with the label approach.
The document shall be opened in a new browser tab. |
@teosarca We need just document path (windowId, documentId). Could we just provide in layout (or we should use data for it, like with
And bam. Thats it. No additional calls. Because my concern is that after click on label, we can experience a lag before actual redirect because before opening new tab we have to wait for your response. It would be great to avoid that. The additional windowLayout are just useless bytes, because we init app in new browser tab. |
Basically we cannot provide the windowId because it needs computation. |
Implement Zoom-into in webUI #720
testing on w101: zoom from sales order to price syste breaks bread crumb navigation: found out its jumping to the wrong window @teosarca how do I configure which window he zooms to ?
afai see we have to configure the zoom targets to windows that are part of the menu. tested:
todo testcase: |
[#357](metasfresh/metasfresh-webui-api-legacy#357) Manufacturing Quickaction: Issue selected HU w/ TU Quantity parm [#720](metasfresh/metasfresh-webui-frontend-legacy#720) Implement Zoom-into in webUI [#354](metasfresh/metasfresh-webui-api-legacy#354) Support for Record_ID buttons [#216](metasfresh/metasfresh-webui-frontend-legacy#216) Button <record_id> does not open according window [#356](metasfresh/metasfresh-webui-api-legacy#356) Manufacturing Quickaction: Reverse Issue / Receipt [#724](metasfresh/metasfresh-webui-frontend-legacy#724) Login role selection keyboard down does not scroll automatically [#1502](#1502) Drop the CU-TU assignment for "No PI" (M_HU_ID=100) [#725](metasfresh/metasfresh-webui-frontend-legacy#725) Sidelist closes when doubleclick [#360](metasfresh/metasfresh-webui-api-legacy#360) Material receipt candidates: Error while Receving HUs for a particular case [#727](metasfresh/metasfresh-webui-frontend-legacy#727) Grid view: reset current page to 1 when filtering [#716](metasfresh/metasfresh-webui-frontend-legacy#716) Image widget: button to clear current image [#717](metasfresh/metasfresh-webui-frontend-legacy#717) Sidelist's scrollbar is on wrong container. [#705](metasfresh/metasfresh-webui-frontend-legacy#705) Debug/Fix why /window/540189 shows empty [#351](metasfresh/metasfresh-webui-api-legacy#351) Fix NPE when opening Materialdisposition [#352](metasfresh/metasfresh-webui-api-legacy#352) Introduce JSONLayoutType.primaryLongLabels [#1460](#1460) The Bestellkontrolle barcodes shall be generated and persisted in database [#719](metasfresh/metasfresh-webui-frontend-legacy#719) Document references: group them by their top level menu [metasfresh/metasfresh-admin/#3](metasfresh/metasfresh-admin-legacy#3) create docker image for metasfresh-admin [#348](metasfresh/metasfresh-webui-api-legacy#348) backend: Implement Zoom-into in webUI [#280](metasfresh/metasfresh-webui-api-legacy#280) Scan of Barcode "Bestellkontrolle" for Manufacturing execution [#255](metasfresh/metasfresh-webui-api-legacy#255) Document fields: when receiving empty string values from frontend, convert them to nulls [#1179](#1179) Process logs are not displayed in Swing me-45
Quick tested
|
Add error notification to zoomInto #720
IT
checked several zoom into, from both document view and advance edit and they work fine |
@metas-lc hi lili. No. 4 is OK. For No. 3. Can u please create a follow up task. thx. |
@metas-mk Thank you. Created task for No. 3 metasfresh/metasfresh#1620 |
Type of issue
Feature request
Current behavior
Currently there is no Zoom-into functionality in WebUI (that thing that in Swing can be used w/ right-mouse "Springe zu" and opens the window and record for the selected ID)
Expected behavior
Have that functionality or similar in WebUI.
Idea: In detail view have the labels then as links to zoom-into. let's solve that first, can think later about grid-view zoom-into.
belongs to metasfresh/metasfresh-webui-api-legacy#348
The text was updated successfully, but these errors were encountered: