Pahan Sarathchandra
Pahan Sarathchandra
Fails in Microgateway Analytics REST API Log: https://github.com/wso2/analytics-apim/runs/294450168https://github.com/wso2/analytics-apim/runs/294435165
**Description:** https://github.com/wso2/analytics-apim/blob/master/components/org.wso2.analytics.apim.widgets/APIMTopFaultyApis/src/APIMTopFaultyApis.jsx#L264 (there are multiple instances like this) `faultData` is actually an array but it is validated as an Object. So this could become `null` without failing props validation. Solution...
**Description:** Create a common theme to share across widgets **Suggested Labels:** **Suggested Assignees:** **Affected Product Version:** **OS, DB, other environment details and versions:** **Steps to reproduce:** **Related Issues:**
**Description:** All widgets have implemented as $title. **Suggested Labels:** **Suggested Assignees:** **Affected Product Version:** **OS, DB, other environment details and versions:** **Steps to reproduce:** **Related Issues:**
**Description:** We could simplify this by seperating granularity and date/time ranges **Suggested Labels:** **Suggested Assignees:** **Affected Product Version:** **OS, DB, other environment details and versions:** **Steps to reproduce:** **Related Issues:**
**Description:** Enforce eslint for all widgets **Suggested Labels:** **Suggested Assignees:** **Affected Product Version:** **OS, DB, other environment details and versions:** **Steps to reproduce:** **Related Issues:**
**Description:** Introduce automated testing for widgets as manual testing is not scalable **Suggested Labels:** **Suggested Assignees:** **Affected Product Version:** **OS, DB, other environment details and versions:** **Steps to reproduce:** **Related...
**Description:** Wrap every widget with the React error boundary to provide meaningful errors for users. **Suggested Labels:** **Suggested Assignees:** **Affected Product Version:** **OS, DB, other environment details and versions:** **Steps...
**Description:** There is one eslint config for each and every widget. We could reuse and enforce common eslint config for all widgets. **Suggested Labels:** **Suggested Assignees:** **Affected Product Version:** **OS,...
**Description:** Move boilerplate code to a common utils Examples: - loadLocale function - theme loading - Handling data, loading, and displaying messages when widget failed to load data. **Suggested Labels:**...