-
Notifications
You must be signed in to change notification settings - Fork 34
Add/ Remove KPI Widget functionality for User Dashboard #905
Comments
We need to prepare the API first. |
NOTE: as discussed, i've unified GET /kpis/available and GET /targetIndicators/available. |
…dicators + dnd widget wrapper
From endpoints: POST /rest/api/dashboard/targetIndicators/new I am getting:
for KPIS: 1000004, and for TI: 1000002 |
checking.... |
fixed, shall work now. |
@teosarca How can we set position of widget when adding new one? |
we can't :( I am thinking to add "position" field on wdyt? |
#462 see metasfresh/metasfresh-webui-frontend-legacy#905 (comment) (cherry picked from commit fc5edb3)
metasfresh/metasfresh-webui-api-legacy#474 is rolleded out. API shall be available on w101 |
Quick checked to change KPIs order (same issue on target indicators too). The problem is with that endpoint call. To change the order of KPIs or target indicators, please use:
The PATCH request body shall look like: [
{
"op": "replace",
"path": "orderedItemIds",
"value": { itemId1, itemId2 .... itemIdLast}
}
] |
As discussed on skype: we should somehow unify |
checking |
UPDATE: implemented "position" support in metasfresh/metasfresh-webui-api-legacy#486 |
[#905](metasfresh/metasfresh-webui-frontend-legacy#905) Add/ Remove KPI Widget functionality for User Dashboard [#486](metasfresh/metasfresh-webui-api-legacy#486) dashboard: support "position" when PATCHing a dashboard item [#482](metasfresh/metasfresh-webui-api-legacy#482) No Role Error for new User [#481](metasfresh/metasfresh-webui-api-legacy#481) Sticky empty Filter in modal overlay. [#485](metasfresh/metasfresh-webui-api-legacy#485) backend: refactor sticky filters [#949](metasfresh/metasfresh-webui-frontend-legacy#949) Board: adding a card as last is not user friendly] [#469](metasfresh/metasfresh-webui-api-legacy#469) Picking prototype (v2) [#923](metasfresh/metasfresh-webui-frontend-legacy#923) Packageables window: up/down arrows are working weird [#945](metasfresh/metasfresh-webui-frontend-legacy#945) dashboard: react to websocket notifications [#933](metasfresh/metasfresh-webui-frontend-legacy#933) Disable quick actions button while running the action (v2) me.45
Results of IT Tested on mf15releasetest Adding and removing KPI widgets works correcty in webui. |
Type of issue
Feature request
Current behavior
Currently, the User Dashboard is static. The Widgets are shown and can only by moved, but not removed and not added.
Expected behavior
Similar to the new Dashboard/ Swimland Functionality, a functionality shall be provided for the user to add/ remove KPI widgets from the board.
The text was updated successfully, but these errors were encountered: