-
Notifications
You must be signed in to change notification settings - Fork 205
FWF-4761 [poc] Replace Recharts with Chart.js and update GraphQL #2905
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
base: develop
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍(Review updated until commit 344636c)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 344636c Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 344636c
Suggestions up to commit 7618299
|
|
||
from src.config.envs import ENVS | ||
from src.models.formio import FormModel, SubmissionsModel # Import your MongoDB models | ||
from src.models.formio import FormModel, SubmissionModel # Import your MongoDB models |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated model name to maintain a consistent naming convention.
|
from src.models.webapi.base import BaseModel | ||
from src.models.webapi.constants import WebApiTables | ||
from src.models.webapi.formprocess_mapper import FormProcessMapper | ||
from src.models.webapi.form_process_mapper import FormProcessMapper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed file to maintain a consistent naming convention.
Persistent review updated to latest commit 344636c |
Persistent review updated to latest commit 344636c |
COnverting to draft so that we look into this in detail after Current 7.2 release |
User description
Issue Tracking
JIRA: https://aottech.atlassian.net/browse/FWF-4761
Issue Type: POC
Changes
chart.js
andreact-chartjs-2
:get_form
andget_forms
queries, including tenant auth.Screenshots (if applicable)
Notes
Checklist
PR Type
Enhancement
Description
Switch metrics fetch to GraphQL POST requests
Replace Recharts with Chart.js charts and dropdown
Add
get_forms
and metrics GraphQL resolversRefactor services: merge WebAPI and Formio data
Diagram Walkthrough
File Walkthrough