Commit Graph

136 Commits

Author SHA1 Message Date
Christopher Allen 8ab8536739 refactor: Migrate Blockly.ConnectionType to named exports (#5533)
* refactor: Migrate Blockly.ConnectionType to named exports
* Add corresponding information to renamings.js
2021-09-24 17:38:08 +01:00
Himanshu 3629ed5f65 refactor: Rename Blockly.connectionTypes to Blockly.ConnectionType (#5407)
* Renamed Blockly.connectionTypes to Blockly.ConnectionType
* Renamed core/connection_types.js to connection_type.js
* Add entry to renamings.js for renaming of Blockly.connectionTypes

Co-authored-by: Christopher Allen <cpcallen+git@google.com>
2021-09-24 12:45:10 +01:00
alschmiedt 73580b0ddb chore: named exports for keyboard_nav* files (#5517) 2021-09-22 11:25:38 -07:00
Rachel Fenichel 3adfaaf6d9 chore: named exports for block* files (#5512)
* chore: named export for block.js

* chore: named export for block_drag_surface.js

* chore: named export for block_dragger.js

* chore: named export for block_svg.js

* Fix import ordering

* chore: fix imports using requireType

* Remove extra require
2021-09-22 08:46:19 -07:00
alschmiedt cf091351d8 chore: remove deprecateLegacyNamespace from keyboard nav files
* chore: Remove deprecateLegacyNamespace & fix tests

* chore: export from the blockly file
2021-09-21 17:18:34 -07:00
Monica Kozbial bec82da358 Remove require destructuring (#5294) 2021-08-03 15:07:14 -07:00
kozbial 667048b3f5 Add eslint disable and make ASTNode a requireType 2021-07-28 10:52:20 -07:00
kozbial 1a83b75846 clang-format core/keyboard_nav/marker.js 2021-07-28 10:52:20 -07:00
kozbial 50f7293f2d Migrate core/keyboard_nav/marker.js named requires 2021-07-28 10:52:20 -07:00
kozbial 014316431e Migrate core/keyboard_nav/marker.js to goog.module 2021-07-28 10:52:20 -07:00
kozbial 3837440564 Migrate core/keyboard_nav/marker.js to ES6 const/let 2021-07-28 10:52:20 -07:00
kozbial fabba95beb Adding blocks to case statements in core/keyboard_nav/ast_node.js 2021-07-27 15:34:50 -07:00
kozbial d9edeca432 Update for loop syntax in core/keyboard_nav/ast_node.js 2021-07-27 15:34:50 -07:00
kozbial 02f1055c44 Add eslint disable lines to core/keyboard_nav/ast_node.js 2021-07-27 15:34:50 -07:00
kozbial c19ce37a4a clang-format core/keyboard_nav/ast_node.js 2021-07-27 15:34:50 -07:00
kozbial e79faf4147 Migrate core/keyboard_nav/ast_node.js named requires 2021-07-27 15:34:50 -07:00
kozbial ec06ea6586 Migrate core/keyboard_nav/ast_node.js to goog.module 2021-07-27 15:34:50 -07:00
kozbial e6bd6cabb1 Migrate core/keyboard_nav/ast_node.js to ES6 const/let 2021-07-27 15:34:50 -07:00
Aaron Dodson ee565f16d6 Silence unused variable warnings for requires used in JSDoc 2021-07-22 10:41:55 -07:00
Monica Kozbial c6650f0b83 Remove need for require instead of requireType for Block in ASTNode (#5157) 2021-07-21 16:53:08 -07:00
Rachel Fenichel cf7a8b95b8 Remove extra requires of Blockly.constants 2021-07-21 15:35:19 -07:00
kozbial ecec6daf80 clang-format core/keyboard_nav/tab_navigate_cursor.js 2021-07-21 10:26:15 -07:00
kozbial 9a6a92bf52 Migrate core/keyboard_nav/tab_navigate_cursor.js named requires 2021-07-21 10:26:15 -07:00
kozbial f282c57323 Migrate core/keyboard_nav/tab_navigate_cursor.js to goog.module 2021-07-21 10:26:15 -07:00
kozbial 9d6cbe96d3 Migrate core/keyboard_nav/tab_navigate_cursor.js to ES6 const/let 2021-07-21 10:26:15 -07:00
kozbial c9f2a92ace Migrate core/keyboard_nav/cursor.js named requires 2021-07-20 10:58:08 -07:00
kozbial e50c60bfdb Migrate core/keyboard_nav/cursor.js to goog.module 2021-07-20 10:58:08 -07:00
kozbial 317a2e6f53 Migrate core/keyboard_nav/cursor.js to ES6 const/let 2021-07-20 10:58:08 -07:00
kozbial 2ef8b2c86b clang-format core/keyboard_nav/basic_cursor.js 2021-07-20 10:42:03 -07:00
kozbial 4a3d67abeb Migrate core/keyboard_nav/basic_cursor.js named requires 2021-07-20 10:42:03 -07:00
kozbial 29cfb470aa Migrate core/keyboard_nav/basic_cursor.js to goog.module 2021-07-20 10:42:03 -07:00
kozbial 09b020e62f Migrate core/keyboard_nav/basic_cursor.js to ES6 const/let 2021-07-20 10:42:03 -07:00
Sam El-Husseini 63d26dc186 Add extra requires check (#4677)
* Add extra requires check
2021-03-05 09:50:51 -08:00
Rachel Fenichel 1c372188de Fix tests 2021-03-04 10:23:20 -08:00
Rachel Fenichel 7f8c875b29 Fix lint 2021-03-04 10:23:20 -08:00
Rachel Fenichel 750b62030b First pass at creating connectionTypes and inputTYpes 2021-03-04 10:22:24 -08:00
Sam El-Husseini ab8a11784d Fix event related missing requires (#4656)
* Fix event related missing requires
2021-02-25 14:28:11 -08:00
Rachel Fenichel 9c5521122c Fix keyboard nav requireTypes 2021-02-17 11:45:33 -08:00
alschmiedt efdcb89b5c Register cursors (#4599) 2021-01-21 16:01:31 -08:00
alschmiedt a3adc42e8a Remove keyboard navigation from core (#4593) 2021-01-19 11:50:51 -08:00
alschmiedt f1498e7f07 Keyboard shortcuts (#4421)
* Adds shortcut registry and removes action and key map (#4398)

* Adds Shortcut tests and refactored navigation tests (#4412)

* Adds shortcut items (#4408)

* Add shortcuts for navigation (#4409)

* Add final keyboard shortcut cleanup (#4413)
2020-11-02 13:30:05 -08:00
alschmiedt edbd6991b4 Small fixes to the toolbox (#4380) 2020-10-19 09:43:41 -07:00
Sam El-Husseini fba35d342c Add missing require Blockly.constants (#4366) 2020-10-12 17:56:42 -04:00
alschmiedt d01169fa79 Toolbox Rewrite (#4223)
Rewrite the toolbox in order to get rid of old closure code and make it easier to extend.

Co-authored-by: Maribeth Bottorff <maribethb@google.com>
2020-09-02 08:13:07 -07:00
Rachel Fenichel 809148b435 Fix compiler errors 2020-07-16 17:40:13 -06:00
Rachel Fenichel 7288c66294 Rename connectionTypeChecker->connectionChecker 2020-07-16 17:40:13 -06:00
Rachel Fenichel e24f3cef9b Add isDragging to canConnectWithReason and delete newly unused code paths. 2020-07-16 17:40:13 -06:00
Rachel Fenichel e3c8d834cb Add todos and rebuild 2020-07-16 17:40:13 -06:00
Rachel Fenichel bb8348befd Move to a single canConnect function, and update tests 2020-07-16 17:40:12 -06:00
Rachel Fenichel c743a92bb9 Start work on connection type checker 2020-07-16 17:40:12 -06:00