Commit Graph

34 Commits (main)

Author SHA1 Message Date
Isaiah Odhner 355fba3ee2 Wrap many modules in IIFEs to track their exports 2022-01-19 00:17:32 -05:00
Isaiah Odhner 028c1198d8 Fix code formatting after auto-format 2022-01-18 20:10:37 -05:00
Isaiah Odhner 8053b38e58 Auto-format code with VS Code
Format JS and HTML using VS Code extension: https://marketplace.visualstudio.com/items?itemName=jbockle.jbockle-format-files

Dedented some files for now to make the diff intelligible:
- tools.js
- menus.js
- speech-recognition.js
- simulate-random-gestures.js
2022-01-18 19:40:58 -05:00
Isaiah Odhner 9c88f205b2 Improve message boxes
- Add icons
- Add audio
- Add padding
- Add "default button" styling logic, where the default or focused button gets a bolder border.
- Tweak some dialogs, favoring localized and accurate renditions, rather than more modern, more specific button labels.
2021-11-29 02:27:37 -05:00
Isaiah Odhner e4853fc4ae Fix help viewer icon / update deprecated icon API 2021-11-20 12:58:26 -05:00
Isaiah Odhner 847fbc394b Update os-gui to 0.3.0, unifying windowing code
Enable resizable windows! And proper dialog window styles!
Tool window titlebar text is truncated with ellipses now instead of making the window ridiculously wide for some languages, e.g. EspaƱol which reads "Herramientas" for "Tools"
2021-11-19 20:31:27 -05:00
Isaiah Odhner b3244bf65b Fix help window toolbar button layout bug
In Firefox it looked fine, but in Chrome the button text was aligned at the top instead of the bottom.
`align-items: end;` wasn't working to align a text node, so I had to wrap it in a span.
2021-08-02 18:42:09 -04:00
Isaiah Odhner 977c8c3b65 Spellcheck 2021-06-19 20:40:30 -04:00
Isaiah Odhner ae07f3f62d Integrate Tracky Mouse 2021-05-22 14:10:45 -04:00
Isaiah Odhner 7e2ed671a6 Add default focus to all windows 2021-04-01 21:22:38 -04:00
Isaiah Odhner 660e33ff3e Ensure help window stays on screen when hiding sidebar 2021-02-01 12:25:25 -05:00
Isaiah Odhner ea3b98f8d3 Improve compatibility with file: protocol 2021-01-29 21:56:07 -05:00
Isaiah Odhner 5817307cc4 Get most things localized! 2020-12-07 18:56:43 -05:00
Isaiah Odhner e30e3e4a37 Interact with windows with voice commands 2020-05-12 14:28:45 -04:00
Isaiah Odhner 1f130b2c80 Fix tests locally 2020-04-28 16:22:50 -04:00
Isaiah Odhner 31edf30064 Unify TODO comments 2020-04-27 20:45:47 -04:00
Isaiah Odhner 72436aa832 Fix showing help sidebar while window is maximized 2020-04-23 00:35:40 -04:00
Isaiah Odhner d2895ad1c7 Update help viewer from 98.js.org
- The contents sidebar is now resizable and togglable
- There's now a toolbar with working forwards/backwards buttons
- There's a new Web Help page
- The window now gets focus when clicking in the page content
- Some tweaks were needed to get this to work, like changing "drag" to "dragging", and updating relative URLs
2020-04-23 00:35:40 -04:00
Isaiah Odhner ca138e9fc1 Implement maximization for help window 2020-03-24 16:30:10 -04:00
Isaiah Odhner f70277f0bd Clean up unused parameters 2019-12-21 00:38:38 -05:00
Isaiah Odhner 024cafaad1 Use less of this
and more of this: ()=> { ... }
2019-11-03 00:27:49 -04:00
Isaiah Odhner 82b5425334 Don't use $.each or $().each 2019-10-29 21:38:32 -04:00
Isaiah Odhner 6e130de69e Use template strings
lebab --replace src/ --transform template
2019-10-29 17:16:33 -04:00
Isaiah Odhner af6e9a1242 Convert var to let and const
$ lebab --replace src/ --transform let
src/$Component.js:
59:   warning  Unable to transform var  (let)
60:   warning  Unable to transform var  (let)
97:   warning  Unable to transform var  (let)
138:  warning  Unable to transform var  (let)
src/$Window.js:
74:   warning  Unable to transform var  (let)
src/app.js:
662:  warning  Unable to transform var  (let)
460:  warning  Unable to transform var  (let)
612:  warning  Unable to transform var  (let)
613:  warning  Unable to transform var  (let)
614:  warning  Unable to transform var  (let)
src/functions.js:
756:  warning  Unable to transform var  (let)
src/image-manipulation.js:
245:  warning  Unable to transform var  (let)
826:  warning  Unable to transform var  (let)
src/imgur.js:
48:   warning  Unable to transform var  (let)
173:  warning  Unable to transform var  (let)
2019-10-29 16:46:51 -04:00
Isaiah Odhner d0e722d12c Convert to arrow functions with lebab
npm install -g lebab@3.1.0

lebab --replace src/ --transform arrow
2019-10-29 14:46:29 -04:00
Isaiah Odhner 701058ede0 Upgrade to jQuery 3.4.1 with CDN & fallback 2019-09-28 13:48:44 -04:00
Isaiah Odhner 8651176c1c Never use alert 2018-01-17 20:13:34 -05:00
Isaiah Odhner 575bff1a1e Fix 404 on default help page
Fixes #19
2017-10-25 01:58:06 -04:00
Isaiah Odhner e2fcb7c43c Fix help viewer 2015-10-15 22:15:13 -04:00
Isaiah Odhner 22643a109c Improve storage manager 2015-10-15 22:08:49 -04:00
Isaiah Odhner ab18ab4819 Select help items 2015-10-15 11:15:27 -04:00
Isaiah Odhner 0c0db73578 Only have one folder open at a time 2015-10-14 13:39:40 -04:00
Isaiah Odhner e7b0bd7bb1 Clean up 2015-10-13 22:36:25 -04:00
Isaiah Odhner e906d66917 Help Topics 2015-10-13 14:56:42 -04:00