Commit Graph

1606 Commits

Author SHA1 Message Date
Rachel Fenichel
25ca1bccff Merge pull request #767 from rachel-fenichel/feature/register_button_callbacks_on_workspace
Associate flyout button callbacks directly with workspaces
2016-12-08 14:11:18 -08:00
Rachel Fenichel
086fd720b2 Associate flyout button callbacks directly with workspaces 2016-12-08 13:05:19 -08:00
Neil Fraser
5b86b9792d Don't get Toolbox element unless needed. 2016-12-07 00:22:46 -08:00
Sean Lip
09980308ec Remove premature focus on buttons in modal dialogs, since this prevents readout of the dialog text. 2016-12-05 18:12:48 -08:00
Sean Lip
2a172c761c Standardize indentation. 2016-12-05 17:54:12 -08:00
Sean Lip
51f42ef5a3 Remove some functions from utilsService and consolidate code in workspace-tree.component.js. 2016-12-05 17:52:45 -08:00
Sean Lip
04785a2222 Clean up the sidebar file and remove unneeded code. 2016-12-05 17:39:03 -08:00
Sean Lip
7b7e62e3e2 When adding a new block group from the toolbox modal, only show blocks with no output connections. 2016-12-05 16:39:12 -08:00
Rachel Fenichel
c9a6dcdfd9 Merge pull request #764 from rachel-fenichel/cleanup/semicolon
fix missing semicolon
2016-12-05 16:13:07 -08:00
Rachel Fenichel
17258990fd fix missing semicolon 2016-12-05 16:11:59 -08:00
Rachel Fenichel
885490b835 Merge pull request #761 from rachel-fenichel/feature/label_classes_2
Add classes to labels with web-style attribute in xml
2016-12-05 15:16:57 -08:00
Rachel Fenichel
729c442c31 lint 2016-12-05 15:14:02 -08:00
Neil Fraser
97644fdf04 Improve comments. 2016-12-03 06:34:18 -08:00
Rachel Fenichel
7f4efe4ebe createSvgElement is now in utils. fix two calls. 2016-12-02 14:12:34 -08:00
Rachel Fenichel
7b783dc30a change 'class' to 'web-style' 2016-12-02 14:08:50 -08:00
Rachel Fenichel
1bac79791e console.log -> console.warn 2016-12-02 14:04:02 -08:00
Rachel Fenichel
ff87c76557 Don't make labels clickable 2016-12-02 14:03:49 -08:00
Rachel Fenichel
effc1d5f1c Add ability to specify a css class for labels and buttons 2016-12-02 14:01:36 -08:00
Sean Lip
e13ce31282 Change dropdowns to select fields instead of lists of buttons. 2016-12-01 14:56:09 -08:00
Neil Fraser
0b7da4b576 Merge pull request #754 from google/paternity
When user edits text in a field, set text, not value.
2016-11-30 17:59:03 -08:00
Sean Lip
10efda6d9c Refactor and simplify marked spot logic. 2016-11-30 16:45:06 -08:00
Sean Lip
4c30b91bc6 Remove clipboard functionality. 2016-11-30 15:31:19 -08:00
Sean Lip
69d4ebb6dd Improve styling of sidebar buttons. 2016-11-29 19:01:34 -08:00
Sean Lip
65bad28f61 Minor refactoring. Remove unused dependencies. 2016-11-29 18:50:31 -08:00
Sean Lip
4e623631dd Update config options for sidebar buttons. 2016-11-29 18:24:50 -08:00
Sean Lip
b75925004c Do some refactoring and tidy-up. Pull some hardcoded strings out for i18n purposes; remove unused strings. 2016-11-28 18:57:44 -08:00
Sean Lip
aa49539059 Remove unavailable blocks from toolbox modal. Hide unnecessary category name in a toolbox without categories. 2016-11-28 18:24:31 -08:00
Sean Lip
02a94a11f2 Merge pull request #755 from google/seanlip-rebuild
Rebuild Blockly.
2016-11-28 17:46:45 -08:00
Sean Lip
05b5c3bc62 Rebuild Blockly. 2016-11-28 17:29:24 -08:00
Sean Lip
89e9f370b7 Add information regarding target screen reader and browser. 2016-11-28 16:37:12 -08:00
Sean Lip
664e6dcf7e Set focus correctly when toolbox modal is dismissed. 2016-11-28 16:34:52 -08:00
Sean Lip
3b24391768 Do not show disabled actions in the block options modal. 2016-11-28 16:01:15 -08:00
Sean Lip
36b0213533 Streamline the logic for block selection callbacks in the toolbox modal. 2016-11-28 14:26:38 -08:00
Neil Fraser
ac0105cb4d Set the text not the value when closing a text editor.
Also rename variables for clarity.
2016-11-24 10:39:13 -08:00
Neil Fraser
065e801a08 When user edits text in a field, set text, not value.
Existing text-editable fields don’t care (dropdown care, but are not
text-editable).  But a note picker needs to set its value to 60 if text
is set to ‘C4’.
2016-11-24 07:29:39 -08:00
Sean Lip
e8e8de93bb Handle the finer points for setting focus correctly after deleting blocks from the workspace. 2016-11-22 17:58:37 -08:00
Sean Lip
5c79d2f36f When the workspace is empty, make it easy for the user to add a new group of blocks to it. 2016-11-22 15:53:45 -08:00
Neil Fraser
a66d274169 Fix broken highlighting when highlighted block is deleted. Issue 752. 2016-11-21 01:18:28 -08:00
Neil Fraser
4cda20dbbf Fix speling. 2016-11-19 02:40:11 -08:00
Neil Fraser
fbd9276e9c Lint 2016-11-18 20:26:56 -08:00
Neil Fraser
531b6caf5d Stop some blocks from throwing errors in headless workspaces. 2016-11-18 13:32:31 -08:00
Sean Lip
10a8844980 Add warning sounds when the user reaches a boundary of the workspace. 2016-11-17 17:45:42 -08:00
Sean Lip
602c1ba56e Delete the on-screen toolbox. 2016-11-17 17:45:12 -08:00
Sean Lip
cf9a4fbdf4 Allow attaching blocks to a marked spot from the toolbox modal. This is the last prerequisite for removal of the existing on-screen toolbox. 2016-11-17 17:12:27 -08:00
Sean Lip
df56c64f4f Fix some bugs arising in the toolbox modal for the no-categories case. 2016-11-17 16:13:43 -08:00
Sean Lip
6ab1244560 Add a contextual modal for the toolbox. 2016-11-17 15:58:23 -08:00
Neil Fraser
0e9651ee88 Fix conflict between 'utils' and 'image dropdown' merges. 2016-11-16 17:56:25 -08:00
Sean Lip
a027ec8573 Move away from using a common modal service, since the block options and the toolbox modals are going to end up behaving fairly differently. 2016-11-16 16:47:26 -08:00
Andrew n marshall
dd95203cdc controls_ifelse: Remove right-align. Remove Boolean check on statements. (#749) 2016-11-16 09:55:58 -08:00
Neil Fraser
8fba5cd044 Fix selection border on blocks that have been highlighted. 2016-11-15 17:49:51 -08:00