Commit Graph

34 Commits

Author SHA1 Message Date
Kurt Hutten
8efae75699 Remove console log 2021-03-17 19:44:08 +11:00
Frank Noirot
02dcb60d5e added multiplication by device pixel ratio to render 2021-03-17 00:20:31 -04:00
Kurt Hutten
01bc76e09a Encode code into url to make sharing snippets easy
resolves #253
2021-03-16 20:26:58 +11:00
Kurt Hutten
b6867fc8a8 Move viewport state into openscad controller 2021-03-14 17:41:29 +11:00
Frank Noirot
785025fca8 initial commit with full-size image, but broken OpenSCAD image source size. 2021-03-13 20:37:02 -05:00
Kurt Hutten
df3f492aee Add default camera settings 2021-03-14 10:23:24 +11:00
Kurt Hutten
a2454a3f80 Remove openscad specific state from ideState 2021-03-14 09:49:58 +11:00
Kurt Hutten
44c8192d81 Add ctrl|meta + s for generating new preview 2021-03-14 09:38:22 +11:00
Kurt Hutten
d7ebb00c3b Couple of tweaks 2021-03-14 08:59:29 +11:00
Kurt Hutten
1de49b66dc Fix OpenSCAD move sync
Hard to capture in a title. when you move the object with right-click drag, that axis move away from the shape.

resolves #241
2021-03-13 17:29:26 +11:00
Kurt Hutten
39f408bd49 Move local development openSCAD url to env vars
I think this make it easier to swap between using the aws endpoint and
local endpoint but without having to worry about accidentally committing
the local endpoint if you absent mindedly staging everything, and it
still defaults to aws so it's easy setup for anyone doing a fresh clone.

add OPENSCAD_BASE_URL="http://localhost:8080" to you .env file.

You will have to restart yarn rw dev for the url to swap over though.

Resolves #242
2021-03-13 17:26:09 +11:00
Kurt Hutten
e5149f2c95 Tidy up 2021-03-13 17:10:15 +11:00
Kurt Hutten
d3e7012669 Add debounce to image fetch, add loading spinner other polish
related #235
2021-03-12 18:54:17 +11:00
Kurt Hutten
10062513fd set up local development for openscad lamdas
and make a start on combining with Three.js IdeViewer
Resolves #227

related #231
2021-03-10 08:14:32 +11:00
Kurt Hutten
6f5d078eb9 Merge branch 'main' into franknoirot/218 2021-03-09 19:31:11 +11:00
Frank Noirot
f6981b41b1 added react-mosaic-component to IdeContainer.js 2021-03-09 01:44:14 -05:00
Kurt Hutten
63c2a79a5d Create and deploy simple openscad api
A minimal frontend integration has been added to as a POC

resolves #219 and #222
2021-03-07 17:32:18 +11:00
Frank Noirot
fe8cc63c3b added comments to get a proper commit in 2021-03-04 23:34:19 -05:00
Frank Noirot
661797b9a3 Showing state being passed into useIdeState dispatch middleware to change ideType. 2021-03-04 23:06:07 -05:00
Kurt Hutten
6097866034 Add ide scaffold or ideas
related to #218
2021-03-04 21:46:40 +11:00
Kurt Hutten
794ff480fd capture image on initial save
similar to #111
2021-02-27 13:24:48 +11:00
Frank Noirot
3cae431e61 Reverted to screenshot confirmation flow, fixed layout bug, updated language to Save 2021-02-26 20:02:52 -05:00
Frank Noirot
7fab53d200 removed unused code 2021-02-25 21:26:25 -05:00
Frank Noirot
2ea8d5c2b5 added initial capture popup UI, added ability to download capture 2021-02-25 04:04:35 -05:00
Frank Noirot
6e6425735f Began building out screenshot capture feature. 2021-02-25 01:50:03 -05:00
Kurt Hutten
bb70b29324 Update integration to use bundled version of CascadeStudio
resolves #139
2021-01-24 21:24:49 +11:00
Kurt Hutten
81dd970d42 issue-193 Stop backspace key from going back a page in IDE
Using the 3d view could mean the user forgets that the editor has lost
focus, so trying to back space to delete characters they were just using
results in it going back to the previous page in the browser and the
user looses their work.

resolves #193
2020-12-31 18:08:26 +11:00
Kurt Hutten
62b26b969e Get parts on profile to update when user saves a new part 2020-12-30 12:45:47 +11:00
Kurt Hutten
d3d73ca475 issue-129 Update signin/up ui-ux
Getting rid of the netlify widgit and rolling our own, gives us the
flexibility to also add the username into the signup process as well
as allow the user to opt into the newsletter at the same time.

Auth is still netlify, via their "gotrue", we're just handling the more
of it.
2020-12-05 18:20:07 +11:00
Kurt Hutten
5c177753a7 hot patch 2020-11-17 19:19:16 +11:00
Kurt Hutten
5ea1bdf69f Fix CascadeStudio integration
resolves #95
2020-11-14 12:00:55 +11:00
Kurt Hutten
39898270df Lint project 2020-11-11 06:09:14 +11:00
Kurt Hutten
8107c7dcea Enforce userName and title can only containing aphlanumeric and dashes
Enforce data integrity basically, important since they're used for urls
I could do url encoding, but the idea is the the url looks good so
its helping keep the feel of the website
2020-11-08 17:56:08 +11:00
Kurt Hutten
9ff1d5043d Hook up reactions data 2020-11-08 15:41:59 +11:00