Beka Westberg
fc4228ce03
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
2024-03-11 12:12:35 -07:00
Beka Westberg
48228e47e3
chore: merge develop into v11 to fix CI ( #7893 )
...
* fix: destroy connection highlight when the connection is disposed (#7830 )
* fix: fix reference docs toc generation (#7832 )
* fix: insertion marker previewer finding wrong connection for different conn counts (#7833 )
* feat: make grid options togglable (#7828 )
* chore(deps): Bump prettier from 3.1.1 to 3.2.5 (#7831 )
Bumps [prettier](https://github.com/prettier/prettier ) from 3.1.1 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.1.1...3.2.5 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: disposing of connection previewer (#7834 )
* fix: typo in Click event class docs
* chore: rollup of updates from translatewiki for 10.4.0 (#7856 )
* chore: update metadata for v10.4.0 (#7857 )
* release: update version number to 10.4.0
* fix: connection previewer disposing too early
* Merge pull request #7859 from BeksOmega/fix/previewer-disposing
fix: connection previewer disposing too early
(cherry picked from commit da3ec253bf )
* release: update version number to 10.4.1
* chore: move connection previewer out of subfolder (#7835 )
* chore(deps-dev): Bump undici from 5.26.3 to 5.28.3 (#7862 )
Bumps [undici](https://github.com/nodejs/undici ) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: update webdriverio to fix chrome endpoint issue (#7875 )
* fix: insertion marker drag scaling (#7874 )
* fix: insertion marker drag scaling
* chore: added docs for other params
* fix: restore respecting snap radius (#7873 )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Maribeth Bottorff <maribethb@google.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Elvis Adomnica <elvis.adomnica@gmail.com >
Co-authored-by: Rachel Fenichel <fenichel@google.com >
2024-03-08 14:24:58 -08:00
Beka Westberg
abe4cf98f2
chore: fix v11 branch build ( #7836 )
...
* chore: fix render management lint
* fix: build
2024-02-07 09:30:44 -08:00
Beka Westberg
b2b12f42fd
merge develop into rc/v11.0.0
2024-02-02 22:14:46 +00:00
Beka Westberg
919778eb56
fix: have the connection previewer use the registry ( #7800 )
2024-02-02 11:55:14 -08:00
Beka Westberg
018df03715
chore: deprecate insertion marker manager and related methods ( #7797 )
2024-02-02 11:55:14 -08:00
Beka Westberg
702eed42db
fix: highlighting connections in zelos, also highlight connections moving ( #7795 )
...
* fix: remove zelos highlight override
* feat: add isHighlighted to rendered connection
* feat: add refreshing connection highlighting
* chore: remove highlight and unhighlight connection APIs
* chore: PR comments
2024-02-02 11:55:14 -08:00
Beka Westberg
0b344e7fab
feat: update block dragger to use connection previewer ( #7793 )
...
* chore: reorganize drag logic
* chore: implement would delete block logic
* fix: just use snap radius.
Turns out the numbers are the same.
* chore: add connection previewing
* fix: applying connections
* chore: remove dragged connection manager from block dragger
* fix: deleting blocks
2024-02-02 11:55:14 -08:00
Beka Westberg
038c4afec0
feat: insertion marker previewer ( #7792 )
...
* chore: add noop InsertionMarkerPreviewer
* feat: add previewing replacements
* feat: add previewing insertions
* feat: add highlighting of connections to previewer
* fix: disabling events in the connection previewer
* chore: fixup docs
* chore: typo
2024-02-02 11:55:14 -08:00
Beka Westberg
f2c06fa907
chore: delete highlight path from connection ( #7796 )
2024-02-02 11:55:14 -08:00
Beka Westberg
318621d3c0
feat: add connection highlighting to zelos ( #7781 )
...
* feat: add connection highlighting to zelos
* fix: drawing outputs
* chore: cleanup
2024-02-02 11:55:14 -08:00
Beka Westberg
461dfac05a
feat: connection highlighting in geras and thrasos ( #7698 )
...
* chore: move connection highlighting into the geras renderer
* chore: remove IConnectionHighlighter interface
* chore: format
* chore: fixup
* chore: format
* fix: PR comments
2024-02-02 11:55:14 -08:00
Beka Westberg
2c95c4202c
feat: connection highlighter interface ( #7638 )
...
* feat: add connection highlighter interface
* fix: remove unnecessary method from the path object interface
2024-02-02 11:55:14 -08:00
Beka Westberg
dc9aa1befb
feat: add connection previewer interface ( #7637 )
...
* feat: add connection previewer interface
* chore: PR comments
2024-02-02 11:55:14 -08:00
Beka Westberg
016bc7397f
fix: export save and load procedure ( #7806 )
2024-01-25 15:43:34 -08:00
Ebrahim Haji
ff45a36835
fix: shadow blocks with variable fields are not allowed to be deserialized from XML ( #7802 )
2024-01-23 08:51:24 -08:00
Beka Westberg
5db9b5bf11
fix: block initialization ( #7777 )
...
* fix: reorganize initialization
* chore: fix failing tests
* fix: tests
* chore: format
* chore: remove console trace
2024-01-23 08:48:08 -08:00
Beka Westberg
8c5f32b2f9
fix: bump neighbours performance regression ( #7748 )
...
* fix: move bumping neighbours to the end of rendering
* chore: remove scheduleSnapAndBump
* chore: remove references to bumpNeighbours
* chore: work on fixing tests
* fix: bump neighbours event grouping
* chore: format
* chore: readd deprecation import
* fix: move event ordering
* chore: undeprecate bumpNeighbours
* fix: bumping during drag due to insertion markers
* chore: tests
* chore: PR feedback
* chore: docs
* chore: typo
2024-01-23 08:48:08 -08:00
Beka Westberg
43f6df92a3
fix!: rendered meaning ( #7747 )
...
* fix: make rendered strictly for differentiating blocksvgs
* chore: fix references to rendered
* chore: fix tests
* chore: delete TODO
2024-01-23 08:48:08 -08:00
Beka Westberg
f317068aeb
fix: have insertion markers use json serialization ( #7730 )
2024-01-23 08:48:08 -08:00
Beka Westberg
75007a064c
chore!: delete deprecations for v11. ( #7732 )
...
* chore: delete basic deprecations
* chore: remove deprecated align enum
* chore: remove generator deprecation
* chore: format
2024-01-23 08:48:08 -08:00
Beka Westberg
2e1297e765
fix: snap to grid immediately ( #7745 )
2024-01-23 08:48:08 -08:00
Beka Westberg
b1ef6ae601
feat!: modify icons to use the rendering queue ( #7743 )
2024-01-23 08:48:08 -08:00
Beka Westberg
0ad0adfb75
feat!: add serialization hooks to procedure models ( #7740 )
...
* feat!: add serialization hooks to procedure models
* chore: fix tests
* chore: remove internal functions
* fix: add state interfaces back
2024-01-23 08:48:08 -08:00
Ebrahim Haji
e715269f0b
fix: prevent block change event firing if editing is cancelled by using keypress ( #7794 )
...
* fix: prevent block change event firing if editing is cancelled
* refactor: formatted the code to specifications for commit 251c796d
ran npm run format
2024-01-19 08:13:32 -08:00
Maribeth Bottorff
49f65a235c
fix: first block dragged from flyout will have same id ( #7788 )
2024-01-17 12:05:49 -08:00
Beka Westberg
0d1245c646
fix: cancelling all renders on triggering queued renders ( #7787 )
2024-01-16 14:23:58 -08:00
Beka Westberg
5ade042e95
fix: triggering flyout show from field render causing infinite loop ( #7784 )
...
* fix: triggering flyout show from field render causing infinite loop
* chore: add tests for triggering queued renders
2024-01-12 13:43:55 -08:00
truongductri01
7243b48d47
feat: add muted option ( #7714 )
...
* feat: add muted option
* fix: linter
* Update core/workspace_audio.ts
Co-authored-by: Beka Westberg <bwestberg@google.com >
* Update core/workspace_audio.ts
Co-authored-by: Beka Westberg <bwestberg@google.com >
* Update core/workspace_audio.ts
Co-authored-by: Beka Westberg <bwestberg@google.com >
* Update core/workspace_audio.ts
Co-authored-by: Beka Westberg <bwestberg@google.com >
---------
Co-authored-by: Beka Westberg <bwestberg@google.com >
2024-01-11 08:35:09 -08:00
Ebrahim Haji
2ebc6e14bc
fix: prevent console logging duplicate deprecation warnings ( #7733 )
...
* (feat): added Set to prevent console logging multiple deprecation warnings #7719
* feat!: added Set to prevent console logging multiple deprecation warnings #7719
* refactor: renamed variable and rewrote comment
Edited By Cpcallen
Co-authored-by: Christopher Allen <cpcallen+github@gmail.com >
* refactor: added guard clause and rewrote comment
Edited By Cpcallen
Co-authored-by: Christopher Allen <cpcallen+github@gmail.com >
* refactor: removed checkMsg Variable name and replaced it with previousWarnings
* refactor: removed checkMsg Variable name and replaced it with previousWarnings
---------
Co-authored-by: Christopher Allen <cpcallen+github@gmail.com >
2024-01-09 21:20:41 +00:00
Neerajkumar
fe0dc8694f
fix: prevent flyout block highlighting during workspace drag ( #7720 )
2023-12-18 10:28:37 -08:00
Maribeth Bottorff
a3053955d3
feat: make fields and icons optionally clickable in flyouts ( #7672 )
...
* feat: add ability to click fields in flyouts
* feat: control if icons are clickable in flyouts
* fix: make default icons not clickable in flyout
* fix: use booleans like a real programmer
2023-12-06 19:02:45 +00:00
Beka Westberg
a2a041f212
fix: reenable showing empty flyouts ( #7695 )
2023-12-05 14:24:38 -08:00
Beka Westberg
45cc1e8fea
fix: mutator coordinates not respecting flyout ( #7690 )
...
* fix: mutator coordinates not respecting flyout
* chore: fixup conditionals
2023-12-05 10:51:21 -08:00
Ananta Bastola
0836a1db10
fix: release dummy wheel listener on workspace dispose ( #7693 )
...
fix #7674
2023-12-05 09:42:35 -08:00
truongductri01
96a354b46b
feat: added intermediate event change ( #7671 )
...
* feat: added intermediate event change
* fix: update prettier format for the code
* fix: update comment style
* fix: update test statements
2023-12-04 13:10:09 -08:00
Beka Westberg
71ded9dd89
fix: trashcan flyout opening on drag ( #7691 )
2023-12-04 11:14:19 -08:00
dependabot[bot]
80be8bc04c
chore(deps): Bump prettier from 3.0.3 to 3.1.0 ( #7658 )
...
* chore(deps): Bump prettier from 3.0.3 to 3.1.0
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: format
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Beka Westberg <bwestberg@google.com >
2023-11-27 13:25:51 -08:00
Maribeth Bottorff
e6de8581dd
fix: disabled render status after serialization ( #7650 )
...
* fix: disabled render status after serialization
* chore: format
* chore: better names
* chore: format
2023-11-17 23:58:35 +00:00
Cassidy
a2b895f7a9
fix: update setShadow TSDoc for Block and BlockSvg ( #7639 )
...
* fix: update setShadow TSDoc for Block and BlockSvg
* fix: Wrap comment lines at col 80
* fix: Corrected formatting with Prettier
2023-11-10 10:28:51 -08:00
Beka Westberg
02cd1c6a1b
fix: blocks being dragged behind toolbox ( #7619 )
...
* fix: add layer manager to fix dragging
* chore: fix block animations
* chore: add tests
* chore: format
2023-11-08 15:25:45 -08:00
Beka Westberg
d8eb7b56bb
fix: make autoclose toggleable for flyouts ( #7634 )
...
* fix: add basic autoclose toggling support
* fix: drag areas being incorrect
* fix: blocks getting bumped around when dragged into flyout area
* fix: respect always-open flyouts attached to toolboxes
* fix: flyout not hiding on ws click
* fix: have all flyouts filter for capacity
* chore: cleanup
* fix: view metrics not respecting flyout
* chore: fix change detectors
* fix: trashcan not firing close event on click
2023-11-07 13:12:21 -08:00
Beka Westberg
0ad57f4fd3
fix: shadows in insertion markers being displayed as shadows ( #7609 )
...
* fix: shadows in insertion markers being displayed as shadows
* chore: add unit tests
* chore: remove only
2023-11-03 11:19:30 -07:00
Apoorv Garg
9d117674ce
Fix : #7416 ( #7628 )
2023-11-02 08:31:17 -07:00
Siddheya Kulkarni
1b498681dd
feat: add css classes to icons ( #7626 )
...
* Update comment_icon.ts
* Update mutator_icon.ts
* Update warning_icon.ts
* Update comment_icon.ts
* Update mutator_icon.ts
* Update warning_icon.ts
* Update core/icons/comment_icon.ts
Co-authored-by: Beka Westberg <bwestberg@google.com >
* Update mutator_icon.ts
* Update warning_icon.ts
---------
Co-authored-by: Beka Westberg <bwestberg@google.com >
2023-11-02 08:25:24 -07:00
Apoorv Garg
10024bd54e
fix: prevent crash when clicking on a field to delete a block ( #7621 )
...
* Fix : #7587
* Fix: Lint error
* Fix: Move expression out of loop
* Fix: No need to use temp variable
2023-11-01 09:59:21 -07:00
Trey Pisano
73841995ec
fix: flyout id is different than first placed block ( #7618 )
...
* add saveIds param and logic to save correctly
* remove whitespace
* add saveIds to recursive calls
* run format
* change name from addIds to saveIds
* add saveIds test
* change blockId on false saveIds to undefined
2023-11-01 08:52:27 -07:00
Apoorv Garg
37bfcbc31e
Fix : #7557 ( #7622 )
2023-10-31 11:40:15 -07:00
Beka Westberg
910abf1bb8
feat: add tooltip support for icons ( #7608 )
2023-10-31 10:44:49 -07:00
Beka Westberg
7d2c307fed
fix: widget positioning ( #7507 )
...
* chore: delete dead code
* chore: moves location updating into the block
* chore: change dragging to use update component locations
* fix: field widgets not being moved when blocks are editted
* chore: remove unnecessary resizeEditor_ calls
* chore: format
* chore: fix build
* fix: tests
* chore: PR comments
* chore: format
2023-10-26 09:47:39 -07:00