-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix stats summary table time of year bugs #247
Conversation
08bbad8
to
0305b53
Compare
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.
Looks good, works well. I'm very glad to finally have the stats table encapsulated, good job.
// This mixin is no longer relevant, since it is only used in the deprecated | ||
// component MotiDataController. Dependence on it has been removed from all other | ||
// data controllers. | ||
|
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.
Yay! Finally escaped the clutches of the mixin!
function displayError(error, displayMethod) { | ||
// Used to display any error (via `displayMethod`) generated in the | ||
// process of showing a graph or table, so it handles networking | ||
export function errorMessage(error) { |
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.
These changes seem familiar; does this branch need to be rebased?
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.
Rebasing
13a1521
to
91a21cb
Compare
Since rebase proceeded without manual merging, and follow-up change is trivial, I'm going to merge this without further review. It all works, still. |
Resolves #215
Resolves #193
Resolves #176
This PR's main effect is
StatisticalSummaryTable
. This component is extracted fromSingleDataController
and significantly refactored to fix the time of year bug and conform to React 16+ lifecycle usage.SingleDataController
gets much simpler -- much of it is gone intoStatisticalSummaryTable
. The diff is ugly though.Other effects are:
DualDataController
to native class extension styleDataControllerMixin
fromDualDataController