-
Notifications
You must be signed in to change notification settings - Fork 41
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
188651851 v3 DI Multiple Y Attributes #1683
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1683 +/- ##
==========================================
- Coverage 85.81% 85.78% -0.04%
==========================================
Files 607 607
Lines 30840 30957 +117
Branches 8535 8506 -29
==========================================
+ Hits 26465 26555 +90
- Misses 4057 4080 +23
- Partials 318 322 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
codap-v3 Run #5546
Run Properties:
|
Project |
codap-v3
|
Branch Review |
main
|
Run status |
Passed #5546
|
Run duration | 06m 14s |
Commit |
6c2e921d88: 188651851 v3 DI Multiple Y Attributes (#1683)
|
Committer | Teale Fristoe |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
36
|
Skipped |
0
|
Passing |
220
|
View all changes introduced in this branch ↗︎ |
…ltiple y-attributes the `graphDataConfigurationModel` has the desired number of subArrays in its filteredCases array.
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.
👍 LGTM
PT Story: https://www.pivotaltracker.com/story/show/188651851
This PR adds support for multiple y attributes in graph API requests.
yAttributeIDs
oryAttirbuteNames
increate component
requests.yAttributeIDs
andyAttributeNames
are now included in responses toget component
requests for graphs.yAttributeIDs
oryAttributeNames
inupdate component
requests.Additional bug fixes:
get component
responses was fixed in this PR. Previously, attribute ids returned were v3 format, that is, strings starting with "ATTR". Now attribute ids returned are in v2 format, just the number part.create component type: table
requests is now destroyed after a snapshot is taken of it. Previously, this model was not being garbage collected and reactions associated it were continuing to fire.GraphDataConfigurationModel
now overrideshandleDataSetChange
, a function called in a reaction defined inDataConfigurationModel
. The base function always sets the number offilteredCases
to one, which was preventing dots for multiple y attributes from showing up on freshly created graphs. Now, the proper number offilteredCases
is set for graphs when the dataset changes.