changelogs.md


box/box-annotations

Repository  -  API  -  Source

2.2.0

June 5, 2018
  • Fix: Ensure pending annotations are destroyed on re-render (#194) (1422357), closes #194
  • Fix: Functional tests (#193) (82bf717), closes #193
  • Fix: if annotation click is outside the doc, ignore (#192) (b74484b), closes #192

2.1.0

May 29, 2018
  • Fix: Hiding annotations for the image viewer (#189) (71aea4b), closes #189
  • Fix: Mobile point annotation behavior (#191) (2416212), closes #191
  • Fix: Prevent loss of dialog header when adding an annotation on android (#187) (a33cf4a), closes #187
  • Fix: reset selection when entering annotation mode (#190) (f16a273), closes #190

2.0.0

May 15, 2018
  • Breaking: Remove hover behavior to display dialogs (#155) (4850702), closes #155
  • Chore: New issue/feature request templates (#188) (efde642), closes #188

1.6.0

May 1, 2018
  • Fix: functional tests (#185) (664bfe3), closes #185
  • Fix: Functional tests + cleanup annotations after Features (#186) (ea868c4), closes #186
  • Fix: Use BRUI CSS for create dialog textarea (#184) (8faef28), closes #184
  • New: Add basic UI tests for point & highlight comment annotations (#182) (44597de), closes #182

1.5.0

April 24, 2018
  • Update: dependencies (#177) (5599ca6), closes #177
  • Chore: Add tests to select/delete drawing (#180) (90af909), closes #180
  • Chore: Ensure all new drawings get deleted in functional tests (#181) (8339dbf), closes #181
  • Chore: Prefix box-react-ui css with .ba-annotation-dialog (#178) (29cc0fd), closes #178
  • Fix: Replace {1} with user name on drawing save (#179) (408b495), closes #179

1.4.0

April 17, 2018
  • Chore: Add .ba-annotations-loaded to preview when load completes (#167) (7f62860), closes #167
  • Chore: Add basic drawing annotations test (#169) (a35853d), closes #169
  • Chore: change release script remote to be release (#176) (ba0e1c9), closes #176
  • Chore: Email preview-alert@box.com on functional-tests failure (aea1cfa)
  • Chore: Enable drawing annotations in functional tests express app (#171) (628cd20), closes #171
  • Chore: Functional test fixes (#172) (580e1d7), closes #172
  • Chore: Increase timeout for plain highlight functional tests (308025e)
  • Chore: Prefix imported styles to avoid leaking (#165) (629ecab), closes #165
  • Chore: unregister pending threads on destroy (#173) (0b93e82), closes #173
  • Fix: Allow textarea to be interactable in certain scenarios (#174) (9ce5b0a), closes #174
  • Fix: Change remaining CSS selectors to use ba- prefix (#164) (baf4ebc), closes #164
  • Fix: firefox comment collapse on mouseout (#175) (c63f087), closes #175
  • Fix: Only preventDefault() on mobile dialog button clicks (#170) (a926d0e), closes #170
  • Fix: quadpoint CSS selectors (#163) (f881b6e), closes #163
  • Increase selenium timeout (6ae7e32)
  • Update .travis.yml (a2aa15e)
  • Update .travis.yml (e395350)
  • New: Add plain highlight functional tests (#168) (b8b29aa), closes #168
  • New: Setup selenium functional UI framework (#158) (db9a320), closes #158

1.3.0

April 10, 2018
  • Chore: Only reset to upstream/master for major/minor releases (#160) (e6e619c)
  • Chore: Removing DrawingModeController dependency on DocDrawingThread (#161) (a1c582d)
  • Fix: Create highlight dialog is misaligned on first highlight (#159) (d4d4fdd)

1.2.0

April 3, 2018
  • Fix: Cleaning up incorrect selectors (#157) (1710ece)
  • Fix: Mobile dialog doesn't properly close on delete cancel/confirm (#148) (523217a), closes #148
  • Chore: Add nsp to scan from known vulnerabilities (#153) (5db437d)
  • Chore: Group CSS constants in a more readable manner (#150) (b110632)
  • Chore: Remove -x tag in release script (#151) (abbaf03)
  • Chore: Run eslint on test files (#149) (75277fc)
  • Chore: Use decode keydown from box-react-ui to prevent duplication (#152) (c54de5e)
  • Chore: Use node 8 for building (#154) (df7a4e5)
  • Docs: Updating issue template (#156) (a303ac4)

1.1.0

March 27, 2018
  • New: More detailed documentation (#146) (dea85de)
  • Fix: Highlighting and highlighting again clears highlight (#147) (499bc5f)

1.0.0

March 20, 2018
  • Breaking: Enable draw annotations by default for document filetypes (#143) (727d085)
  • Fix: Binds handlers appropriately for desktop/touch/mobile devices (#139) (cf69943)
  • Fix: Cleanup hiding/closing of the mobile dialog (#141) (99ccc22)
  • Fix: Don't save empty drawing threads (#138) (a15a7ec)
  • Chore: Don't allow selection of saved thread in draw mode (#140) (b0afeb4)

0.16.0

March 13, 2018
  • Fix: Draw annotation mode bugs (#131) (7430e54)
  • Fix: Ensure isMobile and hasTouch gets passed on to all dialogs (#136) (b3f7ec3)
  • Fix: Move dependencies to dev dependencies (#133) (bffe5c1)
  • Fix: Re-draw drawing thread boundary on path change (#135) (d4f44ea)
  • Revert "New: Enable draw annotations by default (#115)" (#134) (93f92af)
  • Chore: Cleanup instantiation documentation in README (#132) (f5ff695)

0.15.0

March 7, 2018
  • Fix: Pass event to resetHighlightSelection to reset dialog (#129) (89c84d8), closes #129
  • Fix: Pending highlight is not cleared on powerpoint page scroll (#125) (777678a), closes #125
  • Fix: Prevent default behavior during mobile point annotation mode (#130) (ad3d0b2), closes #130
  • Chore: Clean up all tests (#124) (01d5650), closes #124

0.14.0

February 27, 2018
  • Chore: Adding yarn install before common package.json scripts (#122) (ee5fd57)
  • Update dependencies to enable Greenkeeper 🌴 (#120) (13ee8ff)
  • New: Continuous Point Annotation Mode (#105) (496f651)
  • New: Enable draw annotations by default (#115) (4994699)
  • New: enable travis CI on greenkeeper branches (#118) (4e0cd67)

0.13.0

February 13, 2018
  • Fix: Focus dialog textareas on show() (#113) (f8bfd66)
  • Fix: Maintain bp prefix for preview classes (#116) (1d1a393), closes #116
  • Chore: Prepending CSS classes with ba instead of bp (#112) (2a39741)

0.12.0

February 6, 2018
  • Chore: add flags to bash scripts to bail on errors (#106) (d8ac7a5)
  • Chore: Position based on first annotation in thread (#104) (4035853)
  • Fix: ability to create highlight annotations on a Microsoft Surface (#108) (a8c613a)
  • Fix: Cancel button while creating new point annotation (#109) (77c26d7)
  • Fix: Create point dialog doesn't stop propogating click event on mobile (#111) (0ce0153)
  • Fix: Do not redraw deleted highlight threads (#107) (0d970d0)
  • Fix: Escape key properly destroys pending point annotation (#114) (5a2985c)

0.11.0

January 31, 2018
  • Fix: Cleanup page thread access methods (#103) (3922c96)

0.10.0

January 23, 2018
  • Fix: Filter out illegal types from viewer options (#101) (ad66486)
  • Fix: Mobile cleanup (#102) (c599aea)
  • Chore: Use box-react-ui for base CSS styles (#92) (1644d5b)
  • New: Store all page highlight threads as an rbush tree (#100) (86d0468)

0.9.0

January 11, 2018
  • Fix: Do not destroy pending point threads on mobile re-render (#99) (3d6f0ef)
  • Fix: Stop propagating drawing selection event after first click (#97) (d8c134b)

0.8.0

January 3, 2018
  • Fix: Clear both highlight canvases when deleting highlights (#96) (cabcba1)
  • Fix: Don't deactivate dialog when canceling new annotation (#91) (788d1de)
  • Fix: Drawing buttons styling (#82) (400c6ff)
  • Fix: Ensure drawing dialog is setup on first save (#81) (9da70ab)
  • Fix: Extra padding on escaped comment newlines (#95) (0e62bce)
  • Fix: More accurate dialog placement for highlights (#83) (8b768a9)
  • Fix: Only reset current page highlights on selection change (#79) (662f2ea)
  • Fix: Remove fixed position of mobile header (#85) (6ca5c01), closes #85
  • Fix: Render highlight comments on their own canvas (#93) (9eeeace)
  • Fix: Safety checks if no threads are registered in the draw controller (#88) (3e54845)
  • Fix: set textarea.placeholder when generating dialogs (#74) (496a545)
  • Fix: Show the appropriate buttons in mobile create highlight dialog (#75) (8114d0c)
  • Fix: Uncaught errors in drawingModeController.handleSelection() (#87) (e0240f6)
  • Chore: Enforce Lato font for annotation dialogs (#76) (55b25b3)
  • Chore: Move threadmap entirely to mode controllers (#71) (00989ac)
  • Chore: Moving rotateAnnotations() into ImageAnnotator (#94) (b9dd7b1)
  • Chore: Now respect newline and symbols (#73) (b7f52d2)
  • Update: README.md & variable names in BoxAnnotations.js (#89) (ab62d18)
  • Update: THIRD_PARTY_LICENSES (#90) (4b0d97f)
  • Update ISSUE_TEMPLATE.md (8806f91)
  • Update package.json (418d368)
  • Update package.json (5ffb68d)

0.7.0

December 12, 2017
  • New: Generate webpack build for annotations.js/css (#59) (0b6e44d)
  • Update release.sh (02baf38)
  • Fix: BoxAnnotations module export (#66) (443dcbe)
  • Fix: Don't add text areas without canAnnotate permissions (#62) (9d1db9e)
  • Fix: Enable drawingSelection & highlightMouseMove handlers for read-only permissions (#61) (33bda6a)
  • Fix: Ensure annotation layer is before point annotations (#63) (8e0f27b)
  • Fix: Ensure mobile header doesn't get hidden when keyboard hides (#69) (e5a1749)
  • Fix: Scroll to bottom of mobile dialogs (#70) (7a33849)
  • Fix: Use correct build script in publish.sh (#64) (4e8fe9d)
  • New: Allow BoxAnnotations to be instantiated independently and passed into Preview as an option (#68 (8c1637a)
  • Chore: Ignore proper files in .ignore files (#67) (36606cc)
  • Update: Exporting BoxAnnotations correctly in npm package (#65) (f501edc)

0.6.0

December 5, 2017
  • Update: packages (#60) (dbb1b79)
  • Create .vscode/settings.json (df9fb5d)
  • Create ISSUE_TEMPLATE.md (e4334fc)
  • Update CONTRIBUTING.md (f340c37)
  • Update README.md (4d53d04)
  • Fix: Clarify separation between plain and comment highlights (#58) (496ceec)
  • Fix: Don't collapse dialog text area when a comment is deleted (#53) (f7fbad0)
  • Fix: Ensure point annotations are set up even when highlights are disabled (#57) (93681b5)
  • Fix: Iterate through dialog buttons NodeList in an IE compatible way (#54) (789d78b)
  • Fix: Publish script to reset to latest tag instead of to master (#55) (182233a)
  • Fix: Scrolling to bottom of flipped dialogs (#56) (89b50e2)
  • Chore: Remove redundant point dialog positioning (#52) (ce3538a)
  • Chore: Renaming annotator classes names to be more generic (#51) (21cc74c)

0.5.0

November 27, 2017
  • Chore: Disable dialog actions until annotation is saved on the server (#48) (6dbcda2)
  • Chore: Remove autobind from base classes (#44) (639f8d2)
  • Chore: Remove autobind from doc classes (#46) (d7ded88)
  • Chore: Remove autobind from Image classes (#45) (1dda3a4)
  • Chore: Remove NPM install from release/publish scripts (#50) (48822c4)
  • Update: Remaining packages (#49) (4dab273)
  • Update: Sinon to v4.1.2 & remove autobind-decorator (#47) (eea7dcf)

0.4.0

November 21, 2017
  • Chore: Cleanup annotations permissions (#40) (a52ed54)
  • Fix: Activate annotation dialog on post (#42) (bc001be)
  • Fix: Disable highlight creation when the mobile shared dialog is visible (#35) (de7f392)
  • Fix: Don't clear reply textarea when annotation is added to dialog (#36) (1f88d55)
  • Fix: Ensure commentbox event listeners are bound properly (#37) (fcce638)
  • Fix: Prevent creation of highlights when a point annotation is pending (#41) (42e29ce)
  • Fix: Validate pendingThreadID when calling onSelectionChange() (#39) (10c1c98)
  • Update: packages (#43) (97a91c3)
  • Fix: Ensure newly created threads are set as inactive while saving (#38) (8072fa8)

0.3.0

November 14, 2017
  • Chore: Add conventional-changelog-releaser (#34) (624e0bd)
  • Chore: Do not clear out node_modules on when publishing npm package (#30) (08c180d)
  • Fix: Do not select drawings when creating a point annotation on top (#28) (07fc4c1)
  • Fix: Drawing CSS (#23) (0493fcd)
  • Fix: fix highlight selection and typos (#21) (ca54d5e), closes #21
  • Fix: Hide createHighlightDialog on page re-render (#31) (0b74717)
  • Fix: Match width of reply textarea with comments (#33) (5f0f29b)
  • Fix: Only registering thread with controller on save (#22) (ff75bf1)
  • Fix: Only show create dialog when creating new point annotations (#29) (4822ece)
  • Fix: only show newly created annotation dialog on hover (#25) (0ba1965)
  • Fix: Position create dialog properly near page edges (#32) (968efb3)
  • Fix: release script should use correct remote branch (#20) (8bd12a5)
  • Fix: Scrolling on highlight dialogs in powerpoints (#24) (b21ed0e)
  • Fix: Validation message fails to get displayed when user clicks on 'Post' without entering any comme (d90e72c)
  • Fix: Hide mobile dialog on first outside click (#26) (01ec48b)

0.2.0

November 8, 2017
  • Chore: Cleaning up mobile phone drawing CSS (#17) (b125b8b)
  • Chore: Move controllers into a separate folder (#18) (3efa19f)
  • Chore: Paging draw threads in the controller's internal thread map (#6) (fc52e9e)
  • Chore: Refactoring annotation mode logic into controllers (#15) (2be6ba3)
  • Chore: Separate fetching and rendering of annotations (#16) (328681e)
  • Chore: Store threads.annotations as an object by annotationID (#5) (080c0f3)
  • Update README.md (#14) (0b55fe6)

0.1.0

October 30, 2017
  • Fix: Invalidate draw/highlight annotations without properly structured locations (#9) (39a9493)
  • Fix: Matching create highlight dialog to standard dialog (#8) (d3a351a)
  • Fix: Move createHighlightDialog.isVisible check to DocAnnotator.js (#13) (31643cd)
  • Chore: Cleanup from separating Annotations from Preview (#12) (08abdc8)
  • Chore: Migrating annotations code into repo (3521db1)
  • Chore: Update README.md & CHANGELOG.md (#11) (32f690a)
  • Update: Documentation & license updates (#10) (294bd6d)
  • Initial commit (ef5245b)
  • Update README.md (ee7cf59)
  • New: Building as npm package (253ea03)
  • New: Copying annotations code from box/box-content-preview (12aaab4)

0.0.11

October 26, 2017
  • Chore: Migrating annotations code into repo (b2cd9b1)
  • New: Building as npm package (253ea03)
  • New: Copying annotations code from box/box-content-preview (12aaab4)
  • Initial commit (ef5245b)