-
Notifications
You must be signed in to change notification settings - Fork 34
Use the Provided Endpoint w/ entry selections for given Breadcrumb #979
Comments
it's now rolled out on our IT instance, but not yet integrated into |
IT (not master) |
#979 Use the Provided Endpoint w/ entry selections for given Breadcrumb
[#979](metasfresh/metasfresh-webui-frontend-legacy#979) Use the Provided Endpoint w/ entry selections for given Breadcrumb
error belongs to this issue #1008 |
Also #1009 is caused by this change. |
getWindowBreadcrumb called twice in two different components. These calls are chronologically very close each to other and simply first requests are not resolved at a moment, thus results not cached. And after this is fires second time. This doesn't happens every single refresh, but happens pretty often. |
Results of IT Tested on webui. Opened the window Product from the Whole Tree. When I opened it, the breadcrumb for Product Management was already loaded, and displayed in the inspection. => NOK When I clicked on the Product Management, nothing appeared in inspection => NOK Please, check Teo's comment above:
|
Probably this could be optimized even further. We have type=group for breacrumb path request. Which means that those items have dropdown, while type=window means that no dropdown items are defined, so no need even to try to load empty list of sub-items. But for dropdowns (e.g. type=group) we must send request to get sub-items. |
(cherry picked from commit 668efa2)
cherry-picked commit 668efa2 into the |
IT
|
Type of issue
Bug
Current behavior
Endpoint provided by the API is not used.
Expected behavior
It shall be used so we don't have to modify the frontend in future, if we want to modify the breadcrumb logic.
Steps to reproduce
Inspect the breadcrumb while clicking on nodes in menu
NOK: The whole tree is provided instead of the node you selected.
Backend counterpart: Provide Endpoint w/ entry selections for given Breadcrumb metasfresh-webui-api-legacy#465
It should have been fixed in : Improvement of Breadcrumb Navigation Dropdown entries #920
The text was updated successfully, but these errors were encountered: