feat: add comment view (for workspace comments, and block comments for partners) (#7914)

* feat: add basic comment view

* feat: add icons to comment

* chore: add text area to comment view

* feat: add getting size

* feat: add collapsing comment view

* feat: add setting editability

* feat: add location and text hooks.

* feat: add changing the size

* feat: resizing

* feat: add collapsing

* feat: add disposing

* feat: add cursors

* feat: add moving to the front

* chore: split construction into subprocedures

* chore: split resizing into subprocedures

* feat: handle RTL

* chore: add doc comments throughout file

* chore: reduce css specificity where possible

* chore: format

* feat: add remove change listener methods

* chore: add tests for listeners

* feat: add disposing accessors

* chore: add coordinate system notes

* chore: add issues to TODOs where possible

* chore: remove suite.only
This commit is contained in:
Beka Westberg
2024-03-11 19:12:35 +00:00
committed by GitHub
parent 48228e47e3
commit fc4228ce03
9 changed files with 1193 additions and 235 deletions

7
core/comments.ts Normal file
View File

@@ -0,0 +1,7 @@
/**
* @license
* Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
export {CommentView} from './comments/comment_view.js';