-
Notifications
You must be signed in to change notification settings - Fork 22
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
Move logic out of canvas #138
Conversation
Updates should be requested on the Canvas now.
Canvas field is still set, though.
One less method to worry about.
Just one idle handler for all updates.
19d6a6b
to
df0e4ef
Compare
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 0.24%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Let us know what you think of it by mentioning @sourcery-ai in a comment. |
PR Type
What kind of change does this PR introduce?
noapi changes)What is the current behavior?
Item instances contain a reference to their Canvas
Issue Number: N/A
What is the new behavior?
Item
still has a canvas reference, but it's not exposed.Item.normalize()
is gone.View
.Segment
now depends on a canvas, not onView
.Does this PR introduce a breaking change?
Other information