-
Notifications
You must be signed in to change notification settings - Fork 9
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
Change over time chart #1973
Change over time chart #1973
Conversation
src/interface/src/app/treatments/change-over-time-chart/change-over-time-chart.component.html
Outdated
Show resolved
Hide resolved
src/interface/src/app/treatments/change-over-time-chart/change-over-time-chart.component.ts
Outdated
Show resolved
Hide resolved
src/interface/src/app/treatments/direct-impacts.state.service.ts
Outdated
Show resolved
Hide resolved
src/interface/src/app/treatments/change-over-time-chart/change-over-time-chart.component.ts
Show resolved
Hide resolved
src/interface/src/app/treatments/change-over-time-chart/change-over-time-chart.component.ts
Outdated
Show resolved
Hide resolved
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.
Looking good! One last thing, my comment about DirectImpactsStateService
|
||
@Injectable() |
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.
We don't want to do this. this is provided by the module, so its not bundled on the main chunk
@@ -44,6 +44,7 @@ | |||
"chartjs-plugin-datalabels": "^2.2.0", | |||
"esri-leaflet": "^3.0.12", | |||
"esri-leaflet-vector": "^4.2.4", | |||
"fast-deep-equal": "^3.1.3", |
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.
question, are we using this dependency?
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.
yeah, that's for the deepEqual
in the distinctUntilChanged
piece. We also don't have anything similar anywhere else, so I thought we could use this, and later maybe replace some JSON.stringify() comparisons we've got.
I think there are a few things we should adjust when the new dialog component is in place, but otherwise, this seems to be working fine.