Commit 1fba9c5
authored
refactor!: Update and modernize plugins for Blockly v12. (#2468)
* refactor: Update ContinuousFlyout for compatibility with new flyout API.
* chore: Rename ContinuousFlyout.js to ContinuousFlyout.ts.
* chore: Rename ContinuousToolbox.js to ContinuousToolbox.ts.
* chore: Rename ContinuousMetricsFlyout.js to ContinuousMetricsFlyout.ts.
* chore: Rename ContinuousCategory.js to ContinuousCategory.ts.
* chore: Rename ContinuousMetrics.js to ContinuousMetrics.ts.
* chore: Rename index.js to index.ts.
* refactor: Convert ContinuousToolbox to Typescript
* chore: Name RecyclableBlockFlyoutInflater.ts consistently with other files.
* refactor: Add and use a function for registering the continuous toolbox.
* chore: Improve docs.
* feat: Add support for autoclosing continuous toolboxes.
* fix: Fix bug when making configuration changes in the playground.
* refactor: Update visibility on RecyclableBlockFlyoutInflater.
* fix: Use the recycleEligibilityChecker callback if set.
* refactor: Make converting toolbox items to flyout items more extensible.
* chore: Remove debugging.
* fix: Debounce flyout refreshes.
* chore: Remove unused import.
* chore: Fix TSDoc args.
* chore: Add TSDoc for registration function.
* refactor: Clean up implementation of recordScrollPositions.
* chore: Fix TSDoc.
* chore: Remove unneeded underscores in symbol names.
* chore: Suppress unavoidable lint errors.
* fix: Fix alignment when jumping to a category.
* fix: Fix injection options and documentation.
* chore: Fix typo.
* refactor: Make the ContinuousFlyoutMetrics class and file name consistent.
* fix: Update flyout contents in response to procedure mutations.
* refactor: Make the RecyclableBlockFlyoutInflater inert for non-continuous flyouts.
* fix: Fix alignment of toolbox labels.
* chore: Update to use Blockly v12 beta.
* chore: Update plugins for compatibility with Blockly v12.
* fix: Fix tests for v12 compatibility.
* fix: Fix bug that could cause scroll jank when interrupting an animated scroll.
* chore: Revert errant test change.
* refactor: Update continuous-toolbox for latest flyout API changes.
* chore: Update Blockly dependency to 12.0.0-beta.1.
* chore: Clarify comments.
* chore: Make guard clauses single-line.
* refactor: Improve typings for getViewMetrics().
* fix: Fix missing return.
* chore: Add comment clarifying FlyoutButton weirdness.
* chore: Improve formatting.
* refactor: Use direct field access instead of pass-through setters.
* fix: Check for modern mutations when determining block recyclability.
* chore: Add comment clarifying flyout positioning checks.
* fix: Remove explicit public visibility annotations.
* fix: Don't recycle blocks with any mutation-related methods.
* chore: Add some information about block recycling to the README.
* chore: Improve continuous toolbox README.1 parent 27d9fc9 commit 1fba9c5
30 files changed
Lines changed: 2181 additions & 1244 deletions
File tree
- plugins
- content-highlight/src
- continuous-toolbox
- src
- test
- field-bitmap/src
- field-colour/src
- field-date/src
- workspace-minimap/src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1237 | 1237 | | |
1238 | 1238 | | |
1239 | 1239 | | |
| 1240 | + | |
1240 | 1241 | | |
1241 | 1242 | | |
1242 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
| 36 | + | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | | - | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
48 | 68 | | |
49 | 69 | | |
50 | 70 | | |
0 commit comments