这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mosuem
Copy link
Owner

@mosuem mosuem commented Jul 25, 2023

Rather large PR, switching from storing snapshots of all issues to storing their diffs. This enables gathering of statistics.

It is a non-breaking change, as it just adds a new item to the firebase storage.

@mosuem mosuem requested a review from devoncarew July 25, 2023 14:48
return other;
}

DiffNode operator +(DiffNode other) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't see any guidance around operator overloading in the effective dart doc, but I tend to avoid it for non-numeric types.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I love operator overloading for building DSLs ;) I will have to think about this..

@devoncarew
Copy link
Collaborator

Rather large PR, switching from storing snapshots of all issues to storing their diffs. This enables gathering of statistics.

Can you describe a bit more how this works / how you're using the diffs?

@mosuem
Copy link
Owner Author

mosuem commented Jul 26, 2023

I added some more code to showcase how the diffs could be used to compute time series of any property.

Tested that it is non-breaking through mosuem/dart_pr_dashboard#29

@devoncarew
Copy link
Collaborator

No concerns w/ landing this if you want to iterate, but from an off-line discussion:

  • we may want to switch to using the github timeline api to answer some historical questions in order to have less to build and maintain ourselves
  • it could be useful to start w/ a mockup of what a final 'dart health' dashboard would look like; that would let us work backwards and see what engineering we'll need to support that dashboard

@mosuem mosuem closed this Jul 31, 2023
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