Commit graph

1501 commits

Author SHA1 Message Date
Neil Fraser
5df55ddea0 Block(ly) Factory prompts should have defaults. Drop unused copy of colourpicker code. 2016-10-11 12:16:17 -07:00
picklesrus
c102734ccb Replace Block Factory with Blockly Factory. Save Block Factory in blockfactory_old for safety. (#691)
Keep icon.png and blocks.js back into blockfactory rather than pointing to blockfactory_old.
2016-10-11 11:25:07 -07:00
picklesrus
dad6e47f86 Fix null pointer bug from commit 7928fac3ce. In this context the options object is in "this", not workspace. (#692) 2016-10-11 11:03:03 -07:00
Rachel Fenichel
acaf81185e Mouseover behaviour fixes (#684)
* fix broken tooltips

* use bindEvent to make mouseover and mouseout work in the flyout
2016-10-11 10:55:42 -07:00
Sean Lip
e1ae3f4aa8 Add a special aria-label for 'copy to marked spot' button to indicate the cause of its being disabled. 2016-10-10 17:47:15 -07:00
Sean Lip
bd9f5743d3 Wording changes. Reinstate copy/paste blocks temporarily. 2016-10-10 17:31:28 -07:00
Sean Lip
24588447cd Remove extraneous messaage. 2016-10-10 15:38:41 -07:00
Chris Johnson
832df810c1 Stops duplicating on rename of old ID to old ID. 2016-10-09 13:11:21 -05:00
Sean Lip
27ad7eba2a Textual edits. 2016-10-07 18:56:13 -07:00
Neil Fraser
f8a916438c Resets zoom to startScale instead of 1. PR #687 2016-10-07 18:29:38 -07:00
Shannon McCabe
f7bbaaa82d JSDoc format fixes 2016-10-07 14:30:14 -07:00
Neil Fraser
e95c437919 Very quick readability pass on Blockly Factory. 2016-10-06 19:53:48 -07:00
Neil Fraser
415c6ed65e Add $ back into the ID soup. Issue #251. 2016-10-06 18:52:25 -07:00
Rachel Fenichel
157441f4b1 Add @this annotation to get/set metrics. (#639) 2016-10-06 18:06:41 -07:00
Neil Fraser
7928fac3ce Collapse the five 0/1-based index flags into one option. 2016-10-06 17:54:43 -07:00
Katelyn Mann
e6ec2d6fd9 Merge branch 'master' into develop 2016-10-06 15:54:16 -07:00
Rachel Fenichel
443991dd20 Merge pull request #676 from rachel-fenichel/bugfix/angle_picker
Fix angle picker with new touch code
2016-10-06 12:43:51 -07:00
Rachel Fenichel
e01e320205 Add comment 2016-10-06 12:43:33 -07:00
Rodrigo Queiro
90082ef495 Don't modify workspace.variableList in generators
Fixes #677.
2016-10-06 16:38:06 +02:00
Niklas Laxström
40d86e2634 Localisation updates from https://translatewiki.net. 2016-10-06 07:30:46 +02:00
Sean Lip
de9337edde Add general functionality to support reading a message after a custom button is pressed. 2016-10-05 18:21:41 -07:00
Sean Lip
891f5d846b Add message for empty workspace; minor CSS tweak. 2016-10-05 17:52:57 -07:00
Rachel Fenichel
aea6dfbc1e Merge pull request #675 from rachel-fenichel/bugfix/xml_id
add option to skip exporting block ids in XML, and use it in the workspace factory
2016-10-05 17:15:05 -07:00
Rachel Fenichel
6ee735ee6e Fix angle picker with new touch code 2016-10-05 17:03:33 -07:00
Rachel Fenichel
3f9b40ff61 add option to skip exporting block ids in XML, and use it in the workspace factory 2016-10-05 16:49:19 -07:00
Sean Lip
a91badeede Minor updates to CSS and punctuation in messages. 2016-10-05 15:58:28 -07:00
Rachel Fenichel
ca2cd7227a Merge pull request #638 from rachel-fenichel/feature/deprecated_bindevent
Deprecate bindEvent in favor of bindEventWithChecks
2016-10-05 15:13:53 -07:00
picklesrus
1e58be0cd6 Fix #636 by changing the factory_base block definition to only (#671)
span shadow blocks for output types when the dropdown to
add/change/remove output types is changed.  This way, we won't overwrite
existing blocks when loading from xml.
2016-10-05 15:04:52 -07:00
Sean Lip
8bd64948dd Introduce a FieldSegment component for handling blocks with multiple fields. 2016-10-05 12:45:50 -07:00
Neil Fraser
bd4c6d096f Use goog.array.remove 2016-10-04 21:20:07 -07:00
picklesrus
70a8bcd4df Add warning if you do not have required parts of closure available when loading BlocklyFactory. This should be temporary until #668 is fixed (#669) 2016-10-04 16:26:09 -07:00
picklesrus
58774811b3 Replace guts of buggy hasVariableField method and just ask the block for variables instead. (#667) 2016-10-04 16:18:29 -07:00
Rachel Fenichel
4126972b55 Merge pull request #663 from picklesrus/develop-fix-xml-load
Fix #648. It was calling method on the wrong object. Broken by refact…
2016-10-04 13:19:19 -07:00
Katelyn Mann
e5635325d5 Fix #648. It was calling method on the wrong object. Broken by refactoring in #606. 2016-10-04 13:17:09 -07:00
Rachel Fenichel
bec41c0065 Merge pull request #662 from picklesrus/develop-fix-json
Fix #643 to make exported json valid
2016-10-04 11:28:57 -07:00
Katelyn Mann
f680800b97 Fix #643 to make exported json valid 2016-10-04 11:04:06 -07:00
Sean Lip
5a11ce8842 Make delete sound louder for Accessible Blockly. 2016-10-03 15:37:30 -07:00
Troy McKinnon
ad3541992e add a few type definitions 2016-09-30 16:26:44 -05:00
Sean Lip
966cda6088 Make aria-levels 1-indexed. Allow pressing Enter to go down a level, and pressing Escape to go up a level. Add a guard against incorrect status message when reaching the top of the outermost level. 2016-09-29 15:31:13 -07:00
Neil Fraser
48f181e1e3 Merge branch 'pr/657' into develop 2016-09-28 23:13:22 -07:00
Neil Fraser
c0b3a765f7 Merge branch 'develop' into pr/657 2016-09-28 23:10:57 -07:00
Neil Fraser
8dd96a24f2 Merge branch 'master' into develop 2016-09-28 23:07:08 -07:00
Neil Fraser
918da99f39 Wrapping lines > 80 char. 2016-09-28 23:06:09 -07:00
Chris Johnson
90d924b84a Adds default def comment only if comments enabled. 2016-09-29 00:49:06 -05:00
Niklas Laxström
0fb77e09d0 Localisation updates from https://translatewiki.net. 2016-09-29 07:23:00 +02:00
Rachel Fenichel
3d6a9b8a4d Merge pull request #655 from google/RoboErikG-chkBox-uc
Make field checkbox setValue case insensitive
2016-09-28 16:26:53 -07:00
RoboErikG
5b3eb8a9e5 Update field_checkbox.js 2016-09-28 16:25:24 -07:00
Neil Fraser
13c5d9b3dd Improve bubble arrow paths for extreme ratios. 2016-09-27 18:26:29 -07:00
Sean Lip
972e3b00eb Make help text clearer and less verbose. 2016-09-27 12:05:12 -07:00
Sean Lip
298f237d7b Update notification messages. 2016-09-27 11:06:24 -07:00