Commit Graph
170 Commits
Author SHA1 Message Date
James Smith 5c009bfc60 typecheck: explicit string conversion 2024-05-09 10:09:38 +01:00
James Smith c90a022f0e lint: return types and string templating 2024-05-09 10:09:38 +01:00
James Smith dbcbb7a499 lint: autocorrections 2024-05-09 10:09:38 +01:00
James Smith 350ca7af91 some typing for the progress bars 2024-05-09 10:09:38 +01:00
James Smith 1a4a5e5afa stub preventDefault 2024-05-09 10:09:38 +01:00
James Smith 7f1401d9c7 make event transfer handler type safe 2024-05-09 10:09:37 +01:00
James Smith 186f29d385 some type safety improvements 2024-05-09 10:09:37 +01:00
James Smith 3fa34828ae remove unused ObjectPreview type 2024-05-09 10:09:37 +01:00
James Smith d2e72ded5d add type hint for real canvas 2024-05-09 10:09:37 +01:00
James Smith 8e63e716af rename ObjectPreview to OffscreenRenderer 2024-05-09 10:09:37 +01:00
James Smith f422494024 no need to export 2024-05-09 10:09:37 +01:00
James Smith f1fab2490f remove deprecated event types, we can do everything with pointer 2024-05-09 10:09:36 +01:00
James Smith 491ec5ecba rename back to CanvasProxy 2024-05-09 10:09:36 +01:00
James Smith 89b284bff3 move actual offscreen canvas inside the proxy 2024-05-09 10:09:36 +01:00
James Smith 0e6cb88aec move DOMElementProxy to its own file 2024-05-09 10:09:36 +01:00
James Smith a7dec86fe3 pass UI events through to web worker 2024-05-09 10:09:35 +01:00
James Smith 16cf683da1 link up load progress and get UI to prompt loading 2024-05-09 10:09:35 +01:00
James Smith e640b83781 simplify worker communication with comlink 2024-05-09 10:09:35 +01:00
James Smith df30aa7e03 remove old commented code 2024-05-09 10:08:05 +01:00
James Smith 280f39b937 handle resizing and proper settings of canvas resolution 2024-05-09 10:08:05 +01:00
James Smith ef6313dbbd basic progress bar operational 2024-05-09 10:08:04 +01:00
James Smith 51655bbafd working offscreen rendering 2024-05-09 10:08:04 +01:00
James Smith d9c67cfe19 set aria-disabled on active indicator 2024-05-02 22:08:47 +01:00
James Smith 2e9d682ca4 fix pause state updating
and disable pause-on-focus behaviour until we can work out how to differentiate keyboard and mouse focus
2024-05-02 21:36:43 +01:00
James Smith 7a4e57607c set aria-live attribute dynamically 2024-05-02 15:28:12 +01:00
James Smith 624e93cbe2 add more accessible rotation control code 2024-05-02 15:01:44 +01:00
James Smith 036d08ddde fix aria-valuenow percentage display 2024-04-22 16:06:34 +01:00
James Smith 8954416c2c add i18n to window in typecheck 2024-02-07 15:33:00 +00:00
James Smith c5f900db05 add i18n for strings in 3d renderer javascript 2024-02-07 14:18:56 +00:00
James Smith dcb1b19006 rename root modules 2023-12-05 22:22:05 +00:00
James Smith a860573106 fix possible null renderer 2023-07-14 09:42:14 +01:00
James Smith 6ab483c28b stop rendered previews sliding around on the page 2023-07-13 22:31:05 +01:00
James Smith 3d4ef3da10 fix autoloading, accidentaly removed it! 2023-07-13 19:22:34 +01:00
James Smith 686df72c52 render only the right areas using scissor test and viewports 2023-07-13 15:25:30 +01:00
James Smith df5c0dcdf9 move animation loop out of preview object into global scope 2023-07-12 22:16:31 +01:00
James Smith f529abe011 don't use individual canvases, render into the containing div 2023-07-12 21:37:53 +01:00
James Smith 6ea44a1457 change to a single global renderer attached to the global canvas 2023-07-12 21:36:07 +01:00
James Smith 8375d3149d remove autoload on intersection change, this will be replaced 2023-07-12 21:31:24 +01:00
James Smith 96c22e0c77 use global canvas instead of individual ones 2023-07-12 19:42:17 +01:00
James Smith bbb3b41731 move settings into data-preview div, not canvas 2023-07-12 19:42:17 +01:00
James Smith 9f52f636a8 fix settings type checks 2023-07-10 16:23:31 +01:00
James Smith fd2084c7bf type fixes 2023-07-10 14:56:17 +01:00
James Smith cad20b5c42 fix grid size settings 2023-07-10 14:54:54 +01:00
James Smith 8591eb0408 refactor preview constructor 2023-07-09 01:10:12 +01:00
James Smith 30402d18ed simplify load call 2023-07-09 00:48:54 +01:00
James Smith 53abfb9000 addd autoLoad option for preview script, currently set to 10M 2023-07-09 00:47:38 +01:00
James Smith 9214c13810 click progress bar to load model 2023-07-09 00:28:52 +01:00
Don Eisele d9c9b45652 typescript 2023-03-02 23:06:41 -06:00
Don Eisele ddeb75c1ad Javascript to save keypair collapse/expand status in localstorage between pages 2023-03-02 23:02:07 -06:00
Don Eisele ac00f65359 typescript complaints 2023-01-23 00:18:05 -06:00