Alex Gleason
c5605c9be8
Derive private iframe.diy subdomains with HMAC-SHA256
...
The project ID used for the preview iframe subdomain is AI-generated
from user input. Using it directly as the iframe.diy subdomain lets
a crafted project name produce a subdomain that collides with another
project's origin, gaining access to its localStorage/IndexedDB.
Introduce a persistent random seed in localStorage (shakespeare:seed)
and derive the subdomain as base36(HMAC-SHA256(seed, prefix|identifier)).
The prefix ("preview") domain-separates different use-cases.
The subdomain is stable per device+project but unpredictable to
third parties.
2026-04-06 00:46:01 -05:00
Alex Gleason
819813a000
Replace local-shakespeare.dev with iframe.diy for preview pane
2026-04-05 23:34:15 -05:00
Alex Gleason
9f60a72621
Add "Build" button back to preview pane
2026-01-21 14:29:49 -06:00
Alex Gleason
79759af337
Merge branch 'ppqFeedback' into 'main'
...
PPQ Feedback
See merge request soapbox-pub/shakespeare!97
2026-01-21 19:53:27 +00:00
Alex Gleason
c95a1a3278
Remove legacy refresh from Preview Pane
2026-01-21 12:49:40 -06:00
lemonknowsall
f1e2823882
make log pane horizontal
2026-01-16 22:50:31 -08:00
lemonknowsall
4842ac8fa4
resizeable log pane
2026-01-16 22:50:31 -08:00
lemonknowsall
eb381bc37e
add copy all button to logs popover
2026-01-16 14:41:00 -08:00
lemonknowsall
a4271de370
add icon tooltips for info on hover
2026-01-16 13:48:55 -08:00
Alex Gleason
74c0be9d5d
Move branch selector into Code section
2025-12-28 18:00:01 -06:00
Alex Gleason
932db9107d
Display text labels near Preview Pane icons
2025-12-25 05:50:16 -06:00
Alex Gleason
95eea4230d
Add build project button back to the UI
2025-12-23 14:12:31 -06:00
Alex Gleason
a8796e6197
Fix lint errors for the 50th time
2025-12-23 08:58:20 -06:00
Alex Gleason
028d22c7c9
DeployPopover
2025-12-23 08:13:29 -06:00
Alex Gleason
07807ea1bf
Fix PreviewPane style issue
2025-12-20 22:46:20 -06:00
Alex Gleason
8c7c2694c4
Add device toggle to preview bar
2025-12-20 18:57:16 -06:00
Alex Gleason
e012c74b41
Change preview fullscreen icon
2025-12-20 16:42:15 -06:00
Alex Gleason
45038c9b96
Allow easy navigating in address bar
2025-12-20 16:24:23 -06:00
Alex Gleason
7322b0ff41
Move refresh button into browser address bar, move fullscreen to the left
2025-12-20 14:43:19 -06:00
lemonknowsall
7478be317c
add full-screen preview mode
2025-12-19 20:19:03 -08:00
Chad Curtis
8bad3cfc81
Allow form submission in iframes
2025-12-06 20:33:01 +00:00
Alex Gleason
9a288c38c7
Allow duplicating a project
2025-12-04 19:47:12 -06:00
Alex Gleason
1f570a0d8f
Merge remote-tracking branch 'origin/main' into parseImageURLs
2025-11-23 11:30:50 -06:00
Alex Gleason
199043e4bc
Add Terminal to System Settings
2025-11-23 11:02:07 -06:00
lemonknowsall
e88b8c90d9
prevent image loading and add image-off logo for code preview
2025-11-16 17:44:17 -08:00
Alex Gleason
ef6962d7c7
Progressively rebuild when files change
2025-11-04 17:22:12 -06:00
Alex Gleason
d75bd386aa
Make FS paths configurable
2025-10-23 14:50:05 -05:00
Alex Gleason
430b7028ab
Fix PreviewPane deploy icon
2025-10-18 22:13:12 -05:00
Alex Gleason
a379de544a
Add support for multiple deployment providers
2025-10-17 12:04:39 -05:00
Alex Gleason
45b0ae836a
Make iframe previewDomain configurable
2025-10-08 15:01:40 -05:00
Alex Gleason
d9a4efe2b2
eslint --fix
2025-10-04 15:18:03 -05:00
Alex Gleason
4e163a032f
Safe area inset improvements
2025-10-03 23:56:38 -05:00
Chad Curtis
97f5481ec7
Only clear console messages when project actually changes.
2025-10-02 20:58:56 +00:00
Chad Curtis
111ab724e5
Remove and simplify some logic.
2025-10-02 20:15:30 +00:00
Chad Curtis
23c3cead89
Move non-tool logic out of tool file.
2025-10-02 20:09:09 +00:00
Chad Curtis
945c4209e8
Remove frivilous UI updates.
2025-10-02 20:02:16 +00:00
Chad Curtis
7574085213
Refactor console error to be provider level, tracking error via boolean rather than full logs as state.
2025-10-02 19:58:53 +00:00
Alex Gleason
b04c1440b5
Improve display of buttons
2025-09-29 18:01:49 -05:00
Alex Gleason
5fa16115fd
Rebuild project after saving file
...
Fixes https://gitlab.com/soapbox-pub/shakespeare/-/issues/53
2025-09-29 17:51:25 -05:00
lemonknowsall
7a11137aed
save nav padding for terminal
2025-09-27 20:59:59 -07:00
lemonknowsall
1d0231bc03
file viewer scrolling
2025-09-27 20:59:46 -07:00
Alex Gleason
fc6a70793f
Fix scrolling the virtual terminal on mobile
2025-09-26 21:22:16 -05:00
Alex Gleason
48dfd2d99e
Fix mobile terminal issues
2025-09-26 19:00:07 -05:00
Alex Gleason
cb971955ae
Improve terminal UX
2025-09-26 18:51:25 -05:00
Alex Gleason
dc50d41928
Add virtual terminal to Code tab
2025-09-26 17:39:12 -05:00
Chad Curtis
92e2ac1ce5
further reduction and removal.
2025-09-25 16:16:01 +00:00
Chad Curtis
e81fb33ffe
Add light/dark theme awareness to console output popover.
2025-09-25 05:27:52 +00:00
Chad Curtis
9a65d5d086
clean up remaining id reference + space
2025-09-25 05:25:02 +00:00
Chad Curtis
61d5a5fefc
Further simplify console messages
2025-09-25 05:19:06 +00:00
Chad Curtis
7ab30af944
Simplify console message handling and reduce code complexity
...
- Remove unused useErrorDetection.ts hook (154 lines)
- Remove separate console.ts type file, consolidate into ReadConsoleMessagesTool
- Simplify console message state management in PreviewPane
- Remove redundant console clearing logic in ProjectView
- Streamline copy functionality in console UI
- Clean up imports and formatting
Preserves all functionality while reducing code complexity and maintenance burden.
2025-09-25 04:46:47 +00:00