Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1554 +/- ##
==========================================
+ Coverage 63.81% 65.18% +1.37%
==========================================
Files 69 69
Lines 6256 6205 -51
Branches 1391 1383 -8
==========================================
+ Hits 3992 4045 +53
+ Misses 2225 2117 -108
- Partials 39 43 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cc2e50c to
274ddda
Compare
cdrini
left a comment
There was a problem hiding this comment.
Got through the first half ; will finish the rest later today!
b205c70 to
1ac3b87
Compare
467afe4 to
2ed063b
Compare
3f9114e to
ae15b93
Compare
Fix renamed parameter within markRange function
2855f69 to
a738684
Compare
| if (!this.activeHighlightNodes) { // highlight selection if not already done | ||
| this.handleHighlightSave(); | ||
| } | ||
| this.br.plugins.textSelection?.textSelectionManager.showAnnotationModal(this.activeHighlightNodes, anchorEl); |
There was a problem hiding this comment.
I think we need to create the plugin annotations class matching the other plugins, so that we can attach the annotation-specific methods/data/logic to that alone.
That also keeps/fulfills the promise of BR plugins being optional. Letting people load the plugin files only if they support/want to support the associated functionality.
| this.br.plugins.textSelection?.textSelectionManager.showAnnotationModal(this.activeHighlightNodes, anchorEl); | |
| this.br.plugins.annotations.showAnnotationModal(this.activeHighlightNodes, anchorEl); |
| endTextNode.parentElement.classList.contains("BRhighlight")) { | ||
| return; | ||
| const existingMarks = []; | ||
| const walker = document.createTreeWalker( |
There was a problem hiding this comment.
Is there anyway we can re-use some of the helper methods we have? Not sure.
|
UI feedback:
|
Co-Authored-By: Sandy Chu <sandy.chu.40@gmail.com>
Co-authored-by: Sandy Chu <schu96@users.noreply.github.com>
Migrated annotation code to work with newly improved main branch