Jeremiah Saunders
f020b54fd0
fix: bring comments and bubbles to the front on click ( #8451 )
...
* Bring comment to the block layer when clicked
* Bring bubbles to front when clicked
2024-08-02 13:09:30 -07:00
Chang Min Bark
4cdca28fe5
fix: added id to rendered ws comments; made getCommentById public; added blocklyDraggable class to ws comments ( #8358 )
2024-07-15 18:39:39 -07:00
John Nesky
9b2ab79e73
fix: Only hide WidgetDiv if it is associated with the affected workspace. ( #8150 )
...
* Associate a workspace with WidgetDiv.
* Minor fixes after merging.
* Hide widget if owner is in an unknown workspace.
2024-05-20 12:48:05 -07:00
Beka Westberg
139b4b993f
fix: creating comments in RTL ( #8153 )
2024-05-20 09:54:30 -07:00
Neil Fraser
70ca676c24
fix: Properly size comments. ( #8158 )
...
* Properly size comments.
Fixes multiple rendering and sizing issues across different browsers.
Tip: `text-overflow: hidden;` is not legal CSS and did nothing.
Resolves #8142
2024-05-20 09:30:38 -07:00
Beka Westberg
69db8a63d6
fix: comment size not respecting collapsed-ness ( #8136 )
...
* fix: comment size not respecting collapsed-ness
* chore: fix tests the only way I know how, by adding explicit clock ticks
2024-05-17 13:23:13 -07:00
Beka Westberg
44db3edce3
fix: comment move events and snapping ( #8127 )
2024-05-17 08:26:23 -07:00
Sam El-Husseini
23af202796
fix: workspace comment bounding box affecting RTL zoom ( #8125 )
2024-05-16 10:36:36 -07:00
Neil Fraser
c0298652af
feat: Add snapping to workspace comments. ( #8070 )
...
Now that there are two things that snap (blocks and WS comments), the alignment code in being moved to a common place.
2024-05-12 23:16:26 +02:00
Beka Westberg
e21bb99ff1
feat!: Add context menu options for workspace comments ( #8035 )
...
* feat: add context menu support and migrate easy options
* feat: pass events to context menu options
* chore: migrate final comment context menu option
* feat: add exports for comment context menu items
* chore: PR comments
2024-04-17 13:02:53 -07:00
Beka Westberg
dabb11f4cb
feat!: add ability to copy and paste workspace comments ( #8024 )
...
* chore: add support for copying and pasting workspace comments
* chore: fix build
* fix: PR comments
2024-04-15 14:43:58 -07:00
Beka Westberg
d554053bd0
feat: add ability to delete workspace comments ( #8023 )
2024-04-11 13:22:50 -07:00
Beka Westberg
e1cbddd860
feat: visual comment selection ( #7996 )
...
* feat: add visually highlighting selected comment
* chore: TSDoc
2024-04-05 13:39:20 -07:00
Beka Westberg
ed403d0b77
feat!: change gestures to look at selected when dragging ( #7991 )
...
* feat: change gestures to look at selected when dragging
* chore: fix tests
* chore: format
* chore: PR comments
2024-04-04 08:52:43 -07:00
Beka Westberg
e75a4fb1d3
fix: comment move and change events ( #7947 )
...
* fix: comment move event
* feat: add support for a drag reason
* fix: comment change events
* chore: add tests for move and change events
2024-04-03 12:58:04 -07:00
Beka Westberg
f7bdfa2062
feat: support dragging comments in the gesture ( #7977 )
...
* feat: add dragging of comments in gesture
* chore: fix naming problems
2024-04-02 20:08:27 +00:00
Beka Westberg
9effba5ee1
feat: make comment a draggable ( #7976 )
...
* feat: add drag strategy
* chore: use draggable
2024-04-01 10:25:43 -07:00
Beka Westberg
fd1a02ff37
feat: have RenderedWorkspaceComment implement IBoundedElement and IRenderedElement ( #7919 )
...
* feat: implement IBoundedElement
* feat: implement IRenderedElement
2024-03-20 08:27:32 -07:00
Beka Westberg
93acb62456
feat: rendered workspace comment ( #7918 )
...
* feat: add basic rendered workspace comment
* feat: add updating the view and model
* feat: add support for setting editability
* feat: add moveTo support
* feat: add disposing
* chore: add tsdoc
* fix: disposing of the comment when the delete icon is clicked
* feat: add isDeadOrDying
2024-03-19 10:52:27 -07:00