Commit Graph

29 Commits

Author SHA1 Message Date
Neil Fraser
5a8969f855 fix: Zelos comments shouldn't be bold (#8141)
Resolves #8061
2024-05-17 21:33:52 +02:00
Beka Westberg
3ea330b981 fix: comment view styling (#7965) 2024-03-27 11:19:00 -07:00
Beka Westberg
fc4228ce03 feat: add comment view (for workspace comments, and block comments for partners) (#7914)
* feat: add basic comment view

* feat: add icons to comment

* chore: add text area to comment view

* feat: add getting size

* feat: add collapsing comment view

* feat: add setting editability

* feat: add location and text hooks.

* feat: add changing the size

* feat: resizing

* feat: add collapsing

* feat: add disposing

* feat: add cursors

* feat: add moving to the front

* chore: split construction into subprocedures

* chore: split resizing into subprocedures

* feat: handle RTL

* chore: add doc comments throughout file

* chore: reduce css specificity where possible

* chore: format

* feat: add remove change listener methods

* chore: add tests for listeners

* feat: add disposing accessors

* chore: add coordinate system notes

* chore: add issues to TODOs where possible

* chore: remove suite.only
2024-03-11 12:12:35 -07:00
Sam El-Husseini
c868a86bdd Field dropdown with an SVG arrow (#3442)
* Add SVG arrow as an option on the dropdown field
2019-11-14 15:00:49 -08:00
Rachel Fenichel
6f4476c962 Textarea Field, Multiline Block (from acbart) (#2663)
* Field Textarea, text_multiline block, generators
2019-09-11 17:57:46 -07:00
ImgBotApp
583dfea6dd [ImgBot] optimizes images
*Total -- 61.18kb -> 44.41kb (27.42%)

/demos/headless/icon.png -- 4.26kb -> 1.80kb (57.72%)
/demos/interpreter/icon.png -- 3.13kb -> 1.71kb (45.13%)
/tests/media/g.png -- 1.14kb -> 0.66kb (42.17%)
/tests/media/50px.png -- 1.55kb -> 0.93kb (40.31%)
/demos/graph/icon.png -- 1.72kb -> 1.03kb (40.01%)
/tests/media/30px.png -- 1.10kb -> 0.67kb (39.4%)
/media/sprites.png -- 4.05kb -> 2.53kb (37.41%)
/tests/media/m.png -- 1.02kb -> 0.65kb (36.49%)
/tests/media/c.png -- 0.84kb -> 0.59kb (29.21%)
/tests/media/b.png -- 0.75kb -> 0.55kb (26.79%)
/demos/accessible/icon.png -- 1.38kb -> 1.01kb (26.69%)
/demos/generator/icon.png -- 3.52kb -> 2.61kb (25.64%)
/tests/media/a.png -- 0.76kb -> 0.57kb (25.45%)
/demos/fixed/icon.png -- 2.06kb -> 1.57kb (24.08%)
/tests/media/d.png -- 0.72kb -> 0.55kb (23.58%)
/demos/resizable/icon.png -- 3.18kb -> 2.47kb (22.27%)
/demos/toolbox/icon.png -- 2.76kb -> 2.16kb (21.83%)
/demos/rtl/icon.png -- 3.07kb -> 2.41kb (21.46%)
/tests/media/200px.png -- 2.11kb -> 1.67kb (21.06%)
/appengine/apple-touch-icon.png -- 3.93kb -> 3.15kb (19.78%)
/demos/code/icon.png -- 3.95kb -> 3.19kb (19.44%)
/demos/blockfactory_old/icon.png -- 4.34kb -> 3.55kb (18.17%)
/demos/maxBlocks/icon.png -- 1.96kb -> 1.61kb (17.87%)
/tests/media/k.png -- 0.60kb -> 0.50kb (16.18%)
/demos/plane/icon.png -- 3.32kb -> 2.80kb (15.63%)
/demos/storage/icon.png -- 3.19kb -> 2.71kb (14.99%)
/media/quote0.png -- 0.78kb -> 0.75kb (3.14%)
2018-09-23 13:31:54 -07:00
Andrew n marshall
46ee2d90fb Moving media/test_* files (PR #2004)
...to tests/media/.
2018-08-15 14:42:53 -07:00
Andrew n marshall
d9a7f84b98 Adding test blocks into the playground (#1629)
The new toolbox option includes a number of test blocks
largely pulled from the android project, testing various
configurations and edge cases.
2018-02-16 11:14:40 -08:00
Sean Lip
93af9c59b3 Add functionality for playing audio files. 2016-08-09 17:29:53 -07:00
Sean Lip
408e306ffc Update aria labels. In the process, refactor lists to comply with HTML5 spec to avoid ChromeVox getting confused about how many elements are in a list. 2016-07-28 17:47:43 -07:00
M
6474fcd774 AccessibleBlockly (#354)
* adding a folder in demos for blind and setting up the package.json file for development. Adding package.json to .gitignore

* removing gitignore~ file

* copied blind blockly demo code over. set up a new dev environment. Up for review: the blind blockly demo code. Much of the drop downs don't actually do anything, but a general look at the way angular is used would be helpful in shaping future development.

* adding an index file that was being ignored by .gitignore

* adding required angular files and libraries previously ignored by git add --a for some unknown reason.

* starting work on toolbox

* got workspace and toolbox connected. Copy to workspace annd copy to clipboard working at 80%.

* cleaning up autogenerated files

* adding my own files. Not sure why the test files are being added.

* cleaning up comments

* removed empty html_formatter.html file from project and put on git ignore list. The file is used on my end to help with formatting the html in javascript files.

* getting rid of unnecessary html_formatter file

* removing merge conflicts

* cleaned up comments

* cleaned up comments, organized file structure, made ToolboxXML a file that can be changed by other developers porting this code, added copyright and file summaries to js files, linted files, moved third party libraries to lib folder

* removing lint files that shouldn't be tracked.

* Made the clipboard a service instead of multiple pieces embedded within the app. Not sold on the name ClipboardService. Open to suggestions.

* syncing up demo updates

* adding insert block menus above and below appropriate blocks.

* hacky version of getting code to run.

* changing toolbox to be a menu. making both the toolbox and workspace ordered lists

* adding new folder dev-old containing a version of blind blockly that uses nested lists for the toolbox

* getting rid of menubar experiment

* adding treeview shenanigans part 1

* adding treeview experiment page and finishing up treeview.

* getting a treeview implementation working in the toolbox

* creating a fishfood folder for fishfood development

* making first level of fishfood

* fixing something

* adding index file for fishfood

* beginning merging the treeview system.

* creating two treeviews

* fishfood level 1 without working music blocks

* fixes to treeview navigation

* final fishfood features done

* adding support for toolboxes without categories

* beginning integration of Sean's new music code

* adding Sean's music blocks and beginning music_player integration.

* merged Sean's music block code into fishfood

* merged Sean's music code and fixed treeview bug with toolbox when no categories

* adding blank_demo

* fixing tab navigation.

* fixing bug with shift-tab. New bug found in alt+tab not opening dropdown?

* fixing labels

* fixing bugs and finding more.

* removing dropdowns in favor of buttons part 1. Still need to change field options.

* index.html for blank_demo

* beginning cleanup

* adding blockly- prefix to label ids.

* integrating AccessibleBlockly with Blockly library.

* remove closure library

* removing testing files that aren't in develop

* removing all demo stuff for a later pull request

* removing gitignore file that doesn't exist in developer branch

* syncing with develop branch files

* removing music files from this pull request

* doing some lint cleanup

* rolling back accidental package.json change

* removing var blocklyApp = blocklyApp || {} from each extraneous file

* adding last debug statement

* changed name of inputType function

* renaming _service arguments

* fixing function names

* fixing all comments.

* fixing minor comments

* renaming variables, etc

* fixing bugs that break demo. Adding the run code and clear workspace buttons back to the workspaceview as their current position breaks tab navigation.

* fixing minor comments

* fixing function names, etc.

* adding comments to getInputTypeLabel function

* removing addClass() calls from the template

* small change to clipboardService

* splitting getCategoryDependantId into two functions: getCategoryId and setActiveDesc

* fixing minor bug with last commit

* using conditional attributes to remove setActiveAttributes function from treeService and do same work in template.

* deleting unnecessary comment created in previous commit.

* adding a utilsService to remove duplicated code.

* changing function names in utilsService

* changing delete to [delete] to allow HTMLText functions to return an empty string instead of undefined. Also renaming concatStringWithSpaces to generateAriaLabelledByAttr

* generating ids in ngOnInit instead of on the fly, allowing us to use [attr.aria-labelledBy] in the template instead of using setLabelledBy(element). Deleting function utilsService.setLabelledBy.

* fixing small bug with tree service left arrow: was throwing an error when you can't go any further left.

* reformatting html to make it easier to read.

* moving from importing the xml file to using an xml toolbox in the demo.

* fixing minor bugs and removing code relevant only to the music game.

* minor fixes

* adding alerts to copy, paste, and mark actions. renaming blocklyApp.TreeView to blocklyApp.WorkspaceTreeView

* Beginning to add Blockly.msg strings.

* making sure index file is being tracked

* adding all demo bits

* removing demo files from this pull request

* fixing providers, some linting, and removing getInfo() function.

* adding small todo comment for sll@

* adding minimal Accessible Blockly demo

* removing demo: accidentally committed to wrong branch

* fixing Blockly.Msg string bugs

* fixing TODOs

* package file changed by an automerge. Changing back.

* addressing sll's comments. Creating shim for utilsService functions.

* fixing comments, changing fieldview to deal with this.field.

* fixing clipboard service bug

* fixing focus bug when editing a text input.

* fixed clipboard bug and added README

* fixing workspaceview not to implement on runCode() function and adding note to README
2016-05-23 16:42:18 -07:00
Neil Fraser
19263bdd5b Vectorize icons. 2015-12-13 11:06:15 +01:00
Neil Fraser
96e130d113 Remove old realtime files. 2015-12-02 22:37:55 -08:00
Neil Fraser
37777828f4 Fix disconnect sound in FF. 2015-09-22 11:14:25 -07:00
Neil Fraser
c14951c928 Add disconnect sound and animation. 2015-09-20 14:28:39 -07:00
Neil Fraser
5b7fec7092 Add zooming feature.
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser
6218777acc Reduce image sizes by using greyscale. 2015-05-10 15:13:50 -07:00
Neil Fraser
2619bdd8eb Reduce file size of quote images. 2015-04-14 16:34:17 -07:00
Neil Fraser
0d376386f2 Replace 8-tooth gear with 6-tooth gear for mutator icon. 2015-03-26 14:21:14 -07:00
Neil Fraser
e2af14c32f Replace drawn icons with images (issue 45). 2015-03-25 23:58:58 -07:00
Neil Fraser
1916f2351d Remove failed attempt at spriting icons. 2015-03-25 17:24:28 -07:00
Neil Fraser
3e12c1ea5e Render sprites from vectors. Remove blurry shadow from trash. 2015-03-23 23:55:13 -07:00
Neil Fraser
7da8998d5a Fix broken mouse cursor in Safari. 2014-12-16 15:58:08 -08:00
Neil Fraser
208e49c9e6 Add red 'X' to mouse cursor if blocks are over the trash can. 2014-11-26 12:03:21 -08:00
Neil Fraser
1235c1e80c Fade out trashcan when closed. 2014-11-24 15:08:19 -08:00
Jordi Orlando
df7814f4d8 Updated delete icon to Material Design
Copied from the official Google Material Design icon repo
2014-10-31 19:25:07 -05:00
Neil Fraser
d1eb6f607b Adding new files for latest version. 2014-09-08 14:32:07 -07:00
Neil Fraser
d998a1c8ec Update to latest version. 2014-09-08 14:26:52 -07:00
ellen.spertus
a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00