metasfresh / metasfresh-webui-frontend-legacy

metasfresh Webui Frontend
GNU General Public License v2.0
57 stars 34 forks source link

frontend: Document included tab: pluggable actions to start a process #2157

Closed teosarca closed 5 years ago

teosarca commented 5 years ago

Is this a bug or feature request?

FR backend task: https://github.com/metasfresh/metasfresh-webui-api/issues/1134

What is the current behavior?

Which are the steps to reproduce?

What is the expected or desired behavior?

image

teosarca commented 5 years ago

Backend is ready.

Basically, each time an included tab is activated, please fetch tab's top actions using http://w101.metasfresh.com:8080/swagger-ui.html#/window-rest-controller/getIncludedTabTopActionsUsingGET endpoint.

Render those actions.

When user clicks on one of them, the action shall be called like any other action that we have.

siemiatj commented 5 years ago

Related to #1009

teosarca commented 5 years ago

quick tested, works i.e. Open/Create a new sales order. In the order line tabs you shall have the Products proposal button. Press on it, the products proposal modal shall be opened. image

image

teosarca commented 5 years ago

found following issue:

siemiatj commented 5 years ago

Looks like I've introduced an error trying to fix something else. Should the row selection influence the products proposal modal in any way ? Cause no matter which row I select I'm always getting the same results. Data sent with the request looks fine though.

screen shot 2019-02-13 at 17 45 38

teosarca commented 5 years ago

Should the row selection influence the products proposal modal in any way ?

Nop, in that case not. "More products..." shall be shown no matter what rows are selected.

metas-dh commented 5 years ago

Results of IT1 tested in mf15

Sales order: