Neil Fraser
0ecbcde9fc
chore: Use .includes and .startsWith, not .indexOf ( #7936 )
...
Easier to read than the diverse collection of `=== 0` and `!== -1` and `> -1` tests.
2024-03-15 00:03:55 +01:00
Rachel Fenichel
84218fe9b1
Merge pull request #7903 from google/rachel-fenichel-patch-2
...
chore: fix spelling in common.ts
2024-03-08 15:11:19 -08:00
Rachel Fenichel
3fccb75885
chore: format
2024-03-08 15:08:15 -08:00
Beka Westberg
8dee571469
chore: make getters for grid attributes public and update inline docs ( #7865 )
2024-03-08 09:16:18 -08:00
Beka Westberg
848415e48f
fix: connection dancing ( #7899 )
...
* fix: special case zelos for connection previewing
* chore: add TODO
2024-03-08 08:45:11 -08:00
Beka Westberg
7c7dfd003f
fix: shouldPreventMove not being respected ( #7894 )
...
* fix: shouldPreventMove not being respected
* fix: PR comments
2024-03-07 10:14:03 -08:00
Rachel Fenichel
ccd29be4c4
chore: fix spelling in common.ts
...
definiton -> definition
2024-03-06 11:37:38 -08:00
Beka Westberg
a517317b77
fix: restore respecting snap radius ( #7873 )
2024-02-21 10:13:03 -08:00
Beka Westberg
0e3a6e9705
fix: insertion marker drag scaling ( #7874 )
...
* fix: insertion marker drag scaling
* chore: added docs for other params
2024-02-20 14:27:00 -08:00
Beka Westberg
673b042639
chore: move connection previewer out of subfolder ( #7835 )
2024-02-16 08:31:55 -08:00
Rachel Fenichel
64803ff1ba
Merge pull request #7854 from elvisvoer/develop
...
fix: typo in Click event class docs
2024-02-15 17:05:02 -08:00
Beka Westberg
9e46ed77ae
fix: connection previewer disposing too early
2024-02-15 23:26:25 +00:00
Elvis Adomnica
a2228939ca
fix: typo in Click event class docs
2024-02-15 11:17:31 +01:00
Beka Westberg
7557504693
fix: disposing of connection previewer ( #7834 )
2024-02-07 13:01:31 -08:00
Beka Westberg
bb8b2728e7
feat: make grid options togglable ( #7828 )
2024-02-07 11:48:09 -08:00
Beka Westberg
e67dd0ddf3
fix: insertion marker previewer finding wrong connection for different conn counts ( #7833 )
2024-02-05 15:36:10 -08:00
Beka Westberg
506970ab30
fix: destroy connection highlight when the connection is disposed ( #7830 )
2024-02-02 14:48:40 -08: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
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
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