-
Notifications
You must be signed in to change notification settings - Fork 0
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
PADV-1050 - Integrate Metric Services #45
Conversation
@@ -39,15 +45,15 @@ const StudentsMetrics = () => { | |||
title="New students registered" | |||
/> | |||
<Card.Section> | |||
<div className="card-number">{stateMetrics.newStudentsRegistered}</div> | |||
<div className="card-number">{stateStudentsMetrics.numberOfEnrollments}</div> |
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.
Not sure about to use a div
for display data, maybe a p
or span
tag could be more appropriate.
beba27c
to
79b695e
Compare
const institution = useSelector((state) => state.main.selectedInstitution); | ||
const studentsMetrics = useSelector((state) => state.students.studentsMetrics.data); | ||
const classesMetrics = useSelector((state) => state.students.classesMetrics.data); | ||
const days = 7; // Temporal variable |
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.
You have a constant called daysWeek
. @sergivalero20
Next week | ||
</ToggleButton> | ||
<ToggleButton id="tbg-radio-3" value={3} variant="outline-primary"> | ||
<ToggleButton id="tbg-radio-3" value={3} variant="outline-primary" disabled> |
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.
Same comment. @sergivalero20
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.
@anfbermudezme It's not possible add inline comments there.
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.
@sergivalero20 , you could try this
ccc3b62
to
a2925a9
Compare
Ticket
https://agile-jira.pearson.com/browse/PADV-1050
Description
Integrate Metric Services
Changes made
Screenshots
How to test
Clone the Institution Portal MFE
Run npm install.
Run npm run start
Go to http://localhost:1980/students