Commit Graph

2716 Commits

Author SHA1 Message Date
Beka Westberg
87f4799be7 Remove last FieldLabel call and fix adding dummy inputs to json (#4601)
* Change insertFieldAt to use registry

* Fix adding dummy input for non field_ prefixed fields

* Remove bad new keyword

* Add type cast
2021-02-05 16:03:32 -08:00
Rachel Fenichel
ef5cc2e021 Merge pull request #4608 from rachel-fenichel/renderer_requires
Renderer requires and requireTypes
2021-02-02 12:27:05 -08:00
Monica Kozbial
17d7d1b449 Use ScrollbarPair and WorkspaceDragger in flyouts (#4607)
* Use ScrollbarPair for flyouts

* Address PR comments

* Fix compile error
2021-02-02 11:46:06 -08:00
Rachel Fenichel
3c43738999 Add missing requireTypes to zelos 2021-02-02 11:38:08 -08:00
Rachel Fenichel
9ce06fb7d3 Add missing requireTypes for core/renderers/measurables 2021-02-02 11:38:08 -08:00
Rachel Fenichel
b2052aeff4 Add requireTypes for renderers/common 2021-02-02 11:38:08 -08:00
Rachel Fenichel
6791e1aff2 Fix missing requires and requireTypes in zelos 2021-02-02 11:38:08 -08:00
Rachel Fenichel
1f4891e309 Fix missing requires and requireTypes in thrasos 2021-02-02 11:38:08 -08:00
Rachel Fenichel
52c77c70d6 Fix missing require and requireTypes in geras 2021-02-02 11:38:08 -08:00
Beka Westberg
75f118b4f9 Refactor interpolate_ into multiple functions & remove direct new Field call (#4585)
* Refactor interpolation

* Added docs

* Add tests

* Add test for dummy input after field not prefixed with field_

* Fix typings

* Pr comments
2021-01-22 12:44:50 -08:00
alschmiedt
efdcb89b5c Register cursors (#4599) 2021-01-21 16:01:31 -08:00
Monica Kozbial
c94f40d02b Connecting block to parent in domToBlockHeadless_ (#4461)
* Attaching parent before setting field values when processing xml
2021-01-20 09:48:37 -08:00
alschmiedt
a3adc42e8a Remove keyboard navigation from core (#4593) 2021-01-19 11:50:51 -08:00
Rachel Fenichel
a9ea08aba9 Merge pull request #4583 from rachel-fenichel/stricter-missing-requires
More missing requires
2021-01-12 13:27:22 -08:00
Rachel Fenichel
c9be2402bd More missing requires 2021-01-12 12:38:21 -08:00
Monica Kozbial
540ab16842 Fix serialization of workspace comment events and add tests (#4578)
* Fix serialization of workspace comment events and add tests
2021-01-11 16:14:34 -08:00
Monica Kozbial
faf953b18b Process xml tags in an explicit order in domToBlockHeadless_ (#4571)
* Process xml tags in an explicit order in domToBlockHeadless_
2021-01-11 15:58:45 -08:00
alschmiedt
fe0f401977 Fix collapsing bug and add tests (#4568) 2021-01-11 09:05:59 -08:00
Rachel Fenichel
9c8ab4f8c8 Merge pull request #4576 from rachel-fenichel/stricter-missing-requires
Add some missing requires and requireTypes
2021-01-08 15:16:06 -08:00
Rachel Fenichel
40928634e5 Add some missing requires and requireTypes 2021-01-08 15:03:55 -08:00
Sam El-Husseini
3a3ca0b0eb Always access properties on Blockly.utils.global using quotes (#4574) 2021-01-08 14:48:17 -08:00
Gagik Papikyan
e4decd8f08 Added maxLines config option to MultilineInput (#4477)
* Added maxLines config option

* Made maxLines_ protected

* Added parentheses

* fontsize fix

* Enabled scrollbars at overflow of y axis

* Added ellipsis handling for overflow Y

* Deleted unused variable

* Added an explanation comment
2021-01-07 13:53:51 -08:00
Sam El-Husseini
7ebb53968c Update typings script and fix two typing issues: (#4542) 2020-12-16 19:29:20 -08:00
Monica Kozbial
4922cdccd3 Make isInsertionMarker public (#4525) 2020-12-11 15:56:00 -08:00
alschmiedt
1043257f87 Fix ios12 bug (#4517)
* Changes mousedown to click event
2020-12-11 09:47:35 -08:00
alschmiedt
a4e6cfe393 Fix undo (#4511) 2020-12-10 09:02:00 -08:00
alschmiedt
45478bdbe9 Add a remove all key mapping function (#4498) 2020-12-09 16:50:10 -08:00
Monica Kozbial
29b96d8d35 Fix ui event checks (#4512) 2020-12-08 16:21:52 -08:00
Maribeth Bottorff
2de6c9ec7a Make sure el can be blurred before doing so (#4506) 2020-12-08 16:07:58 -08:00
alschmiedt
ede19163b4 Remove deprecated functions in comment.js (#4496) 2020-12-07 10:44:49 -08:00
Monica Kozbial
6510e49162 Add warning to blockToCode (#4492)
* Add warning to blockToCode

* Address PR comments
2020-12-07 10:38:32 -08:00
Monica Kozbial
dd977b295b Preventing workspace click when trashcan is clicked (#4497) 2020-12-07 10:38:04 -08:00
alschmiedt
697f7a2365 Move where a non editable bubble is created (#4495) 2020-12-04 12:36:42 -08:00
Monica Kozbial
adb521f705 Remove TODO and add workspace comment create event (#4494) 2020-12-03 12:55:21 -08:00
Monica Kozbial
b8cfab62e8 Remove warning from Block bumpNeighbors (#4484)
* Remove warning
2020-12-02 16:39:30 -08:00
Monica Kozbial
5a3b99a08c Updating JsDoc in response to comment (#4491) 2020-12-02 16:13:53 -08:00
Monica Kozbial
bbca82cffb Add info to JsDoc for blockToCode (#4490) 2020-12-02 15:27:48 -08:00
alschmiedt
520aa600a6 Remove deprecated field functions (#4489) 2020-12-02 14:54:28 -08:00
jossie
80c1fb8703 fix #3596:Textarea of comment missing scrollbars (#4447) 2020-12-02 09:30:03 -08:00
alschmiedt
ded97db12e Fix statement input height bug (#4486) 2020-12-01 10:26:46 -08:00
alschmiedt
97117bdb12 Update method names in shortcut registry (#4479) 2020-11-30 10:52:09 -08:00
Maribeth Bottorff
b5c77137bd factor out getX and getY methods for flyouts (#4463) 2020-11-19 10:12:06 -08:00
Monica Kozbial
31cf78abc9 Make FieldDropdown menu_ field protected (#4453) 2020-11-18 14:21:13 -08:00
Monica Kozbial
a523dacacb Link to multiline text field documentation in JSDoc (#4455)
* Link to FieldMultilineTextInput documentation in JSDoc

* Remove TODO
2020-11-17 13:49:03 -08:00
Beka Westberg
7a4470f486 Add mutator bump back in (#4450) 2020-11-17 11:44:55 -08:00
Monica Kozbial
e6cdbf9a5d Add fix for display text on multiline text block (#4454) 2020-11-16 17:19:42 -08:00
Beka Westberg
76192da16e Fixes pitch field not working with prompt (#4436) 2020-11-09 10:50:21 -08:00
Monica Kozbial
8361268c63 Refactor field_variable_tests to use dev-tools (#4417)
* Refactor field_variable_tests to use dev-tools
2020-11-06 11:35:00 -08:00
Monica Kozbial
637497148d Renaming ui event properties and updating documentation for consistency (#4432)
* Renaming properties and updating documentation for consistency

* Update more properties

* fix tests
2020-11-05 11:40:17 -08:00
Monica Kozbial
40ef586260 Refactoring Ui events in core (#4418)
* Ui events base (#4370)

* Add constants for new ui event types

* Add property to indicate an event as UI event

* Click events (#4372)

* Creating new ui base class.

* Refactor theme event (#4391)

* Add themeName property to theme event

* Refactor marker move events. (#4389)

* Refactor trashcan open event (#4392)

* Refactor selected event (#4387)

* Refactor toolbox item change event (#4394)

* Refactor bubble open events (#4390)

* Refactor block drag event (#4388)

* Viewport events (#4395)

* Fix event filtering for ui events (#4401)

* Move events to new directory and rename Ui events base (#4400)

* Move events to new directory and rename Ui events base

* Add missing fromJson implementation for click event (#4410)

* Adding serialization tests for events

* Zoom controls event (#4407)

* Refactor zoom event

* Rename IS_UI_EVENT to isUiEvent
2020-11-04 14:43:54 -08:00