Commit Graph

42 Commits

Author SHA1 Message Date
ICheered
d0841c4c85 Lazily load ModulePromise, make rethrowIfCritical standalone 2023-08-04 14:15:01 +02:00
ICheered
6e09c9d037 Create camera wrapper around functions 2023-08-03 18:18:43 +02:00
ICheered
0a18222462 Add build files and documentation 2023-08-02 21:28:44 +02:00
WORMSS
415140d633 Update ops.js
Removed redundant type
2022-02-22 20:49:27 +00:00
Ingvar Stepanyan
39405c8011 Favicon fixup 2022-02-09 17:18:21 +00:00
Ingvar Stepanyan
38b872a4c9 Add favicon 2022-02-09 17:13:16 +00:00
Ingvar Stepanyan
9f3dc533af Link to both features in caniuse 2022-02-09 16:55:03 +00:00
Ingvar Stepanyan
52155461a9 Push missing file 2022-02-09 16:54:16 +00:00
Ingvar Stepanyan
02208afca8 Add a fallback for unsupported browsers 2022-02-09 13:25:01 +00:00
Ingvar Stepanyan
6bad06e549 Split loading & connecting messages 2022-02-09 13:16:52 +00:00
Ingvar Stepanyan
8e53ff7139 Add .prettierrc 2022-01-27 16:11:56 +00:00
Ingvar Stepanyan
09e6dfda26 Add link to the repo from the starting page 2022-01-27 13:43:28 +00:00
Ingvar Stepanyan
91b85b5f1e More styling tweaks 2022-01-17 21:58:16 +00:00
Ingvar Stepanyan
e544071f85 Slightly better separation between settings & preview 2022-01-17 21:30:00 +00:00
Ingvar Stepanyan
e6cb4fc269 Switch readonly values to readonly inputs
It fits better in the layout after all.
2022-01-17 20:19:53 +00:00
Ingvar Stepanyan
473e41f423 Upgrade & pin Preact version 2022-01-17 20:12:37 +00:00
Ingvar Stepanyan
ee5732b3a2 Alignment fixes 2022-01-17 20:05:09 +00:00
Ingvar Stepanyan
3b9eca1046 Add link to the future blog post 2022-01-17 19:28:29 +00:00
Ingvar Stepanyan
aee7344f03 Link to Github 2022-01-17 19:07:41 +00:00
Ingvar Stepanyan
1fae9d8431 Update index.html 2022-01-17 13:46:35 +00:00
Ingvar Stepanyan
6e84c3ead9 OSS boilterplate 2021-12-07 12:56:41 +00:00
Ingvar Stepanyan
b682303c75 Move more things to the ui folder 2021-11-30 19:15:29 +00:00
Ingvar Stepanyan
d843ebe522 Try to increase timeout 2021-09-14 13:19:07 +00:00
Ingvar Stepanyan
e1b0fae48c Revert "Rely on upstream timeout"
This reverts commit f7f0c8c470.
2021-09-14 13:00:54 +00:00
Ingvar Stepanyan
f7f0c8c470 Rely on upstream timeout 2021-09-14 11:20:38 +00:00
Ingvar Stepanyan
43f7e941b3 Move canvas update to slightly better position 2021-08-06 23:58:43 +00:00
Ingvar Stepanyan
8600639023 Further fixes; improve error handling 2021-08-06 13:48:08 +00:00
Ingvar Stepanyan
8f30a60c2e Add handling for "camera actions" 3rd checkbox state 2021-07-26 15:00:35 +00:00
Ingvar Stepanyan
36ed35192c Consume all pending events at once 2021-07-26 13:25:51 +00:00
Ingvar Stepanyan
92c785dc73 Fix in-progress config rendering 2021-07-26 13:24:35 +00:00
Ingvar Stepanyan
e3ea463db5 Integrate supported ops into the UI 2021-07-26 13:09:10 +00:00
Ingvar Stepanyan
c41c0962d5 Use requestIdleCallback for config updates 2021-07-23 20:09:20 +00:00
Ingvar Stepanyan
dfcb610df1 Remove console.log 2021-07-23 20:05:26 +00:00
Ingvar Stepanyan
ca75f61289 Check for pending events before updating the config
Small optimisation that significantly reduces number of config updates.
2021-07-23 20:04:32 +00:00
Ingvar Stepanyan
a8fa8cdf4c Gracefully handle unsupported capture 2021-07-23 19:19:40 +00:00
Ingvar Stepanyan
fcb67b1517 Gracefully handle unsupported preview operation 2021-07-23 17:22:29 +00:00
Ingvar Stepanyan
585001bd4e Optimise Widget rendering
Names and lists of values should always remain the same, only update on value/readonly changes.
2021-07-23 17:01:40 +00:00
Ingvar Stepanyan
7b37bed6f2 Add stats.js for the preview panel when ?debug is on 2021-07-22 17:40:30 +00:00
Ingvar Stepanyan
4371da9270 Extract CaptureButton; allow non-singletone connections 2021-07-21 16:38:18 +00:00
Ingvar Stepanyan
73148dbc11 Split out Preview component
- Self-host the wrapper div.
 - Make component accept getPreview as an async function prop.
 - Explicitly dispose ResizeObserver on unmount.
 - Move to a new file.
2021-07-21 15:26:59 +00:00
Ingvar Stepanyan
686dba0812 Detach Widget from setValue impl 2021-07-21 14:47:52 +00:00
Ingvar Stepanyan
70a35d1b70 Extract some modules 2021-07-21 14:37:57 +00:00