portainer/app/azure/Dashboard
itsconquest a894e3182a
refactor(azure/aci): migrate dashboard view to react [EE-2189] (#6518)
* refactor(azure/aci): migrate dashboard view to react [EE-2189]

* move aggregate function to azure utils file

* fix type

* introduce dashboard item component

* add error notificatons

* hide resource groups widget if failed to load

* make dashboard a default export

* revert mistake

* refactor based on suggestions

* use object for error data instead of array

* return unused utils file

* move length calculations out of return statement

* only return first error of resource groups queries

* refactor imports/exports, fix bug with errors & add test

* WIP dashboard tests

* allow mocking multiple resource groups

* test for total number of resource groups

* update lock file to fix lint action issue

* finish dashboard tests

* dashboarditem story

* fix(auth): remove caching of user

* add option for link to dashboard item

* rename dashboard test case to match file

* remove optional link and update storybook

* create aria label based on already provided text

* change param name to be clearer
2022-02-25 12:22:56 +13:00
..
DashboardView.test.tsx refactor(azure/aci): migrate dashboard view to react [EE-2189] (#6518) 2022-02-25 12:22:56 +13:00
DashboardView.tsx refactor(azure/aci): migrate dashboard view to react [EE-2189] (#6518) 2022-02-25 12:22:56 +13:00
index.ts refactor(azure/aci): migrate dashboard view to react [EE-2189] (#6518) 2022-02-25 12:22:56 +13:00