Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/pn-10851 - web api call for Sender Dashboard #1202

Merged
merged 14 commits into from
May 9, 2024

Conversation

ghost
Copy link

@ghost ghost commented May 9, 2024

Short description

This PR also includes changes made for pn-data-viz library configuration (Feature/pn-10451)

List of changes proposed in this pull request

  • add types for echarts
  • add default theme for PnEcharts
  • add route for sender dashboard page (Statistics.page.tsx)
  • add FiledNotificationsStatistics component to test PnEcharts
  • change Statistics.page.ts
  • add Statistics menu item
  • add getStatistics action to start web api call
  • add getStatistics api call and the relative mock to simulate the server response
  • change statistics/reducers.ts to manage and store the response

How to test

  • login into pa-webapp
  • verify the Statistics menu item is available and works (follow the route on click)
  • verity the FiledNotificationsStatistics renders properly on the destination page
  • using Redux DevTools verify the "statistics" state got filled with mock data (mocked api call)

@ghost ghost requested review from ZorbaDimatteo, AndreaCimini90 and a team as code owners May 9, 2024 13:21
@ghost ghost removed the request for review from AndreaCimini90 May 9, 2024 13:22
@ZorbaDimatteo ZorbaDimatteo merged commit ad87fff into develop May 9, 2024
5 checks passed
@ZorbaDimatteo ZorbaDimatteo deleted the feature/PN-10851 branch May 9, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant