5265 Commits

Author SHA1 Message Date
duzc2dtw@gmail.com
0ee877b4bf fix indent 2017-12-09 02:09:58 +08:00
duzc2dtw@gmail.com
f770b29491 fix #1173 2017-12-09 02:03:28 +08:00
Tianwei Du
63143d6eff Merge pull request #1 from google/develop
Develop
2017-12-09 02:01:36 +08:00
Tianwei Du
492462e1d4 Develop (#1481)
* variables_dynamic

* make test , and i18n

* Issue #1470

* Blockly.Constants.VariablesDynamic.CUSTOM_CONTEXT_MENU_VARIABLE_MUTATION
to make sure setCheck before event trigger

* Update built files from develop.

* fix copyright ,quotes , comments ,  and optimize some flow.

* quotes,change UI , change category custom name

* single setter , remove mutator , colour typo , typed variables create button message

* undo the indent edits.
2017-12-08 08:53:24 -08:00
duzc2dtw@gmail.com
8022d7e24b undo the indent edits. 2017-12-08 11:59:45 +08:00
Rachel Fenichel
77a47aee94 Fix html escaping and flyouts opening 2017-12-07 16:08:00 -08:00
Rachel Fenichel
404373e53a Merge pull request #1496 from rachel-fenichel/bugfix/1467
Fix #1467
2017-12-07 15:06:37 -08:00
Rachel Fenichel
73253ea64f Respond to review comments in variable_map 2017-12-07 13:12:20 -08:00
Rachel Fenichel
cc6eeb8c68 Clean up TODOs and move potential variable map to the flyout workspace 2017-12-07 10:43:12 -08:00
duzc2dtw@gmail.com
b642317b0f single setter , remove mutator , colour typo , typed variables create button message 2017-12-07 15:40:28 +08:00
Rachel Fenichel
7ef19b6851 Fix #1467 2017-12-06 17:00:22 -08:00
Rachel Fenichel
3cecc0f604 Avoid spurious rename event 2017-12-06 16:57:46 -08:00
Rachel Fenichel
0909af76e5 Fix missing events for variable creation 2017-12-06 16:41:17 -08:00
Rachel Fenichel
abc83b12d7 Fix checkmarks when the variable dropdown is open. 2017-12-06 16:07:21 -08:00
Rachel Fenichel
637a909de7 Tests 2017-12-06 15:56:18 -08:00
Rachel Fenichel
38d134aa4f Tests 2017-12-06 15:49:20 -08:00
Rachel Fenichel
1506a36b58 Fix events for variable renaming 2017-12-06 14:41:56 -08:00
duzc2dtw@gmail.com
a42c1bca74 quotes,change UI , change category custom name 2017-12-06 16:24:34 +08:00
Rachel Fenichel
90e79c6ba9 Remove ws.updateVariableStore and tests, and ws.getVariableUses 2017-12-05 13:52:01 -08:00
Rachel Fenichel
5169b2da18 Get rid of workspace.deleteVariable 2017-12-05 13:44:08 -08:00
Rachel Fenichel
e4844cd120 Move getOrCreateVariable to variables.js 2017-12-05 13:08:01 -08:00
duzc2dtw@gmail.com
cb380f9989 fix copyright ,quotes , comments , and optimize some flow. 2017-12-05 11:14:45 +08:00
Rachel Fenichel
39e689b458 Fix default variable name 2017-12-04 15:52:53 -08:00
Rachel Fenichel
c802125d37 Make unique variable names in the flyout 2017-12-04 15:46:44 -08:00
Rachel Fenichel
6bb048d1bb All tests pass 2017-12-04 14:29:16 -08:00
Rachel Fenichel
d1c2401fcf All but XML tests now pass 2017-12-04 14:19:19 -08:00
Rachel Fenichel
1d78d7be45 Merge pull request #1483 from DubeySandeep/ScrollableDropdowns
Added scrollable functionality to dropdown menu
2017-12-04 10:39:43 -08:00
picklesrus
d1886572d0 Fix #1487 and only add the delete cursor if the block is not deletabl… (#1491)
* Fix #1487 and only add the delete cursor if the block is not deletable. Also add a grab cursor when it is not deletable so the cursor keeps the grab hand when over the toolbox.  This changes the toolbox api slightly, but the methods it touches are @package so it should be okay.
2017-12-04 10:36:47 -08:00
translatewiki.net
f86b2dacd6 Localisation updates from https://translatewiki.net. 2017-12-04 09:17:35 +01:00
Sandeep Dubey
2dd8c1f669 Made the changes asked by the reviewer 2017-12-03 02:40:11 +05:30
Ken
c53dec9786 Remove "fake some drags!"
Removed the button, the "fakeDrag" and "fakeManyDrags" and "fakeDragWrapper", and the "fakeDragStack" list.
2017-12-02 11:47:46 +08:00
Rachel Fenichel
a8a83a77a7 Move code from renameVariableInternal to renameVariableById 2017-12-01 16:22:52 -08:00
Rachel Fenichel
b78264a33e Update tests in workspace_test. Get rid of renameVariable 2017-12-01 16:21:19 -08:00
Rachel Fenichel
494c4882be Fix variable_map_test and variable_model_test 2017-12-01 14:05:37 -08:00
Rachel Fenichel
fa02e56c17 Fix tests in field_variable_test.js 2017-12-01 14:04:10 -08:00
duzc2dtw@gmail.com
4ce03b4799 Update built files from develop. 2017-12-01 17:48:37 +08:00
Rachel Fenichel
25913884ab Delete by id 2017-11-30 17:21:12 -08:00
Rachel Fenichel
112fcccb31 Fix renaming 2017-11-30 17:12:39 -08:00
Rachel Fenichel
86e88aae92 Can now create a variable with the button in the flyout; drag a block with a variable out of the flyout; handle default variable names; and import and export variables 2017-11-30 16:30:58 -08:00
Rachel Fenichel
3c76028e14 Add TODOs and fix return type 2017-11-30 13:16:17 -08:00
Rachel Fenichel
b870c3ccb9 Allow variables of different types to share the same name. 2017-11-30 13:16:16 -08:00
Rachel Fenichel
a6603b462a Merge pull request #1489 from rachel-fenichel/cleanup/field_to_dom
Blockly.Xml code cleanup : fields
2017-11-30 13:12:00 -08:00
Rachel Fenichel
222407c6ce Extract code for domToField_ 2017-11-30 12:08:01 -08:00
Rachel Fenichel
d73337ad73 Extract fieldToDom into its own function 2017-11-30 11:24:57 -08:00
translatewiki.net
6e5f9b77f6 Localisation updates from https://translatewiki.net. 2017-11-30 08:29:54 +01:00
duzc2dtw@gmail.com
fc985d3c9e Blockly.Constants.VariablesDynamic.CUSTOM_CONTEXT_MENU_VARIABLE_MUTATION
to make sure setCheck before event trigger
2017-11-27 22:33:30 +08:00
translatewiki.net
85a5c3c24c Localisation updates from https://translatewiki.net. 2017-11-27 07:52:41 +01:00
duzc2dtw@gmail.com
03220b1fa5 Issue #1470 2017-11-26 09:54:50 +08:00
duzc2dtw@gmail.com
090d0ed7df make test , and i18n 2017-11-25 01:22:14 +08:00
duzc2dtw@gmail.com
24a305db08 variables_dynamic 2017-11-25 00:55:59 +08:00