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: 717 performance section #21

Open
wants to merge 5 commits into
base: feature/add-event-tracker-map-with-merge
Choose a base branch
from

Conversation

delemaf
Copy link
Contributor

@delemaf delemaf commented Sep 16, 2024

📌 References

  • Issue: Closes #?

📝 Implementation

📹 Screenshots/Screen capture

🔥 Notes to the tester

@delemaf delemaf changed the base branch from development to feature/performace-overview-table-link-indicators September 16, 2024 13:54
@9sneha-n 9sneha-n changed the base branch from feature/performace-overview-table-link-indicators to feature/add-event-tracker-map-with-merge October 1, 2024 16:51
@9sneha-n 9sneha-n marked this pull request as ready for review October 1, 2024 16:52
return apiToFuture(
this.api.analytics.get({
dimension: [
`dx:${INDICATORS_717_PERFORMANCE.map(({ id }) => id).join(";")}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future we can get these Program Indicators from DataStore like Maps.

this.api.analytics.get({
dimension: [
`dx:${INDICATORS_717_PERFORMANCE.map(({ id }) => id).join(";")}`,
"pe:THIS_YEAR",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Period dimension has to be this year?

const percent = percentObj ? percentObj.value : 0;
const count = countObj ? countObj.value : 0;

let color: "green" | "red" | "grey" | "normal" | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe better to create a function to get the color

Copy link
Contributor

@anagperal anagperal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @9sneha-n ! Just a couple of comments (or now that Florian is not here should I chage it?)

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.

3 participants