Commit Graph

1496 Commits (badb503d09a588573bdbcbc03fa19f52556f1f78)

Author SHA1 Message Date
Isaiah Odhner 0d7261c525 Handle error loading clipart 2020-05-11 15:49:51 -04:00
Isaiah Odhner 7dc4c817ae Improve console logs for fetching images
- Show that there's this fallback system in place, and show (eventual) success.
- Hide messages that are irrelevant when loading from blob/data URIs.
2020-05-11 14:26:58 -04:00
Isaiah Odhner 4566b14117 Disable speech recognition grammar 2020-05-11 14:02:08 -04:00
Isaiah Odhner 0119d8b228 Improve speech recognition grammar 2020-05-11 13:41:08 -04:00
Isaiah Odhner 573252cc8f Handle no clipart results 2020-05-11 13:22:21 -04:00
Isaiah Odhner 583a129fce Update readme 2020-05-11 12:12:38 -04:00
Isaiah Odhner ccc34fe5ca Show a more specific error for URL pointing to webpage 2020-05-11 11:15:55 -04:00
Isaiah Odhner e1f8100c34 Show a specific error for URL not pointing to image
This also makes it not try the WayBack Machine if it already loaded the file and just couldn't decode it as an image - which sounds good, except that websites sometimes redirect swathes of URLs to a new address, no longer relating to the image. In that case falling back to the WayBack Machine could still be useful.
2020-05-11 10:46:34 -04:00
Isaiah Odhner e773b88bcd Improve loading from URLs
- Show progress percent in status bar when loading images from URLs
- Fallback to wayback machine
- Show a nice message if you try to paste a blob URI from another domain
2020-05-11 02:31:15 -04:00
Isaiah Odhner 6ac99f15c5 Disable recognition fixes where arbitrary text is expected 2020-05-10 23:02:14 -04:00
Isaiah Odhner 702698b1f9 Control the Text tool with voice 2020-05-10 23:01:15 -04:00
Isaiah Odhner a4091bfe9d Use CORS proxy as fallback to load any image URL 2020-05-10 17:12:27 -04:00
Isaiah Odhner 2f440668b9 Make sure a new session is started for #load: URLs
Start a new session immediately and ditch the #load: URL immediately.
The trade-off is that it's worse for sharing, since you can't use File > Load From URL and then copy the address, but you can still construct and share #load: URLs if you know the syntax.
2020-05-10 16:51:01 -04:00
Isaiah Odhner 6b25a5bb64 Don't act on voice commands if page isn't visible 2020-05-10 14:28:22 -04:00
Isaiah Odhner 8f34478547 Fix split for #load: URLs 2020-05-10 13:20:58 -04:00
Isaiah Odhner 942596a8d5 Update some strings 2020-05-10 01:10:44 -04:00
Isaiah Odhner ce6c049ca3 Keep speech recognition enabled with a URL parameter 2020-05-10 00:12:52 -04:00
Isaiah Odhner 4e114d5e04 Fix exclusive URL parameters
I broke this when introducing eye gaze mode and vertical color box mode, and complicating all the URL handling.
2020-05-09 23:31:34 -04:00
Isaiah Odhner 40a267c326 Refactor URL parameter handling 2020-05-09 23:31:34 -04:00
Isaiah Odhner a2c8974d07 Handle smiley face :-) 2020-05-09 21:59:47 -04:00
Isaiah Odhner f07c60ab41 Sketch things with voice commands
- "draw a dog"
- "do a rendition of the mona lisa"
- etc.
2020-05-09 21:47:14 -04:00
Isaiah Odhner a587228c69 Improve speech recognition
- Match longest phrase (instead of using the last tool in the list of tools)
- Make sure to only match one command
- Show matched phrase in bold in the status bar
- Add more tool synonyms
- Add to and reorganize speech recognition fixes list
2020-05-08 20:34:37 -04:00
Isaiah Odhner 4b3af3c22e Simplify 2020-05-07 01:26:07 -04:00
Isaiah Odhner b5e18102bb Disable menu item for Speech Recognition when not supported 2020-05-07 00:57:48 -04:00
Isaiah Odhner 1fa0049ca6 Select tools with speech recognition 2020-05-07 00:57:48 -04:00
Isaiah Odhner 4a5f788180 Add speech recognition data for all tools 2020-05-07 00:44:14 -04:00
Isaiah Odhner e8748d867a Avoid a deprecation warning in Firefox
"Use of mozImageSmoothingEnabled is deprecated. Please use the unprefixed imageSmoothingEnabled property instead."
2020-05-07 00:44:14 -04:00
Isaiah Odhner 96366c4609 Get it working continuously without the continuous option 2020-05-07 00:44:14 -04:00
Isaiah Odhner 2abed84e51 WIP: toggle Speech Recognition from Extras menu 2020-05-07 00:44:14 -04:00
Isaiah Odhner e28d8e3399 WIP: add speech recognition
Adapted from 3a58279129/speech-color-changer/script.js
2020-05-07 00:43:37 -04:00
Isaiah Odhner 48c60a5d67 Uncover status bar in eye gaze mode 2020-04-29 20:05:59 -04:00
Isaiah Odhner 61251d6d84 Make border-radius mimicry work with color buttons in modern theme 2020-04-29 18:53:25 -04:00
Isaiah Odhner 579e4c5a74 Make hover halo copy border-radius of hovered element 2020-04-29 18:09:23 -04:00
Isaiah Odhner 13a633ab35 Improve colors box layout
under various combinations of vertical color box, eye gaze mode, and the modern theme
2020-04-29 18:09:23 -04:00
Isaiah Odhner 456ce97c94 Update TODOs 2020-04-29 17:36:33 -04:00
Isaiah Odhner 67012e3059 Improve modern theme 2020-04-29 16:27:22 -04:00
Isaiah Odhner 6f16db423e Fix menu item description 2020-04-29 14:13:07 -04:00
Isaiah Odhner 875e0cf940 Fix checkmarks affecting menu item height
in eye gaze mode with modern theme
2020-04-29 14:13:07 -04:00
Isaiah Odhner 0bf1d103ca Fix icon outside button in eye gaze mode with modern theme 2020-04-29 14:12:29 -04:00
Isaiah Odhner 1dfb265349 Try to make Travis CI tests more reliable 2020-04-29 12:11:37 -04:00
Isaiah Odhner e221be2749 Improve print stylesheet
- Preserve the aspect ratio of the canvas when it's scaled down
- Exclude things introduced by eye gaze mode
- Exclude selection/textbox, since their location relative to the canvas isn't preserved when the canvas is scaled down
2020-04-29 00:55:53 -04:00
Isaiah Odhner 20e6191eb2 Fix window dragging behavior in eye gaze mode 2020-04-28 20:26:44 -04:00
Isaiah Odhner d70c2edfc7 Enlarge menu buttons in eye gaze mode 2020-04-28 20:03:24 -04:00
Isaiah Odhner b05c6a2497 Fix tests in CI 2020-04-28 16:22:51 -04:00
Isaiah Odhner 1f130b2c80 Fix tests locally 2020-04-28 16:22:50 -04:00
Isaiah Odhner 2e7b4665c3 Accept visual changes 2020-04-28 15:53:35 -04:00
Isaiah Odhner 2d2ecfad2a Configure visual tests to be useful 2020-04-28 15:53:23 -04:00
Isaiah Odhner 87045f61a5 Add visual tests for some tools 2020-04-28 15:53:23 -04:00
Isaiah Odhner 31edf30064 Unify TODO comments 2020-04-27 20:45:47 -04:00
Isaiah Odhner 97cd1aeea1 Escape angle brackets 2020-04-27 14:33:18 -04:00