Repository navigation
Lazy-docs - #919
Lazy-docs#919edan-bainglass wants to merge 3 commits into
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #919 +/- ##
==========================================
+ Coverage 71.26% 71.28% +0.01%
==========================================
Files 114 114
Lines 7097 7097
==========================================
+ Hits 5058 5059 +1
+ Misses 2039 2038 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Thanks for the docs, it's very helpful to get the whole picture of the design, and for reviewing the PR.
I added some quick comments. I am going to review the lazy-loading PR, and may add more comments later.
| # Controller methods | ||
| # EXAMPLE | ||
| def _on_trait_change(self, change): | ||
| # Update widgets based on model changes | ||
| ... |
There was a problem hiding this comment.
I think you also need to show how the widgets in the UI trigger the model update.
There was a problem hiding this comment.
I think this is covered by two-way links
# Two-way link - trait is synchronized between widget and model
ipw.link(
(self._model, "trait"),
(widget, "value"),
)578a997 to
a65beed
Compare
1a4741c to
55fe31a
Compare
55fe31a to
3689c7c
Compare
d8bde58 to
b8d3997
Compare
b8d3997 to
c1512a0
Compare
25bfe9c to
9947992
Compare
This PR provides documentation to accompany the changes made in the lazy-loading PR (#802)