Alex Gleason
1101573d20
Reorganize credits dialog into accordions
2025-10-26 20:44:20 -05:00
Alex Gleason
f881a4b8a5
Add gift card support
2025-10-26 20:25:16 -05:00
Alex Gleason
a0821468e9
Remove "Offline Cache" section from Storage settings
2025-10-25 11:50:01 -05:00
Alex Gleason
ad9fdb16c2
Add mirrors to README
2025-10-25 11:38:16 -05:00
Alex Gleason
2f96db8b96
Add Service Worker to System Settings
2025-10-25 11:36:03 -05:00
Alex Gleason
84bebe02cb
Remove rollupOptions
2025-10-25 11:20:11 -05:00
Alex Gleason
caa555986a
Change ServiceWorker to prompt
2025-10-25 11:14:05 -05:00
Alex Gleason
f0b819dc33
Add Mirrors
2025-10-25 11:03:25 -05:00
Alex Gleason
e85e429ba1
Fix LightningFS Uint8Array types
2025-10-25 10:49:54 -05:00
Alex Gleason
cfa8f69ad5
Add offline support
2025-10-25 10:25:33 -05:00
Alex Gleason
51f71689fa
Fix electron FS adapter
2025-10-25 01:41:55 -05:00
Alex Gleason
b025f519be
Simplify electron scripts
2025-10-25 01:31:33 -05:00
Alex Gleason
130cb7055a
Remove isElectron
2025-10-25 01:28:19 -05:00
Alex Gleason
4bd48a65bb
Fix tests
2025-10-25 00:47:29 -05:00
Alex Gleason
51645b284a
Remove unnecessary triple-slash directives
2025-10-25 00:35:59 -05:00
Alex Gleason
1a0693e72a
Use platform-specific default paths
2025-10-25 00:34:50 -05:00
Alex Gleason
557f244991
Revert unnecessary text change in Terminal.tsx
2025-10-25 00:18:45 -05:00
Alex Gleason
16a5a79ddb
Condense electron md files
2025-10-25 00:16:38 -05:00
Alex Gleason
28665385cc
Remove unnecessary docs
2025-10-24 23:26:23 -05:00
Alex Gleason
766262ca1a
Fix ElectronFSAdapter types
2025-10-24 23:14:01 -05:00
Alex Gleason
b334680ee7
Use app://./index.html to prevent Electron from adding trailing slash
2025-10-24 23:11:19 -05:00
Alex Gleason
58b4d1562d
Fix protocol handler to strip trailing slashes
...
The URL app://index.html/ was failing because of the trailing slash.
Now strips trailing slashes before resolving file paths.
2025-10-24 23:11:05 -05:00
Alex Gleason
c833716723
Fix LightningFSAdapter types
2025-10-24 23:05:26 -05:00
Alex Gleason
446bd84742
Fix custom protocol registration
...
Protocol schemes must be registered with privileges before app.whenReady().
Added registerSchemesAsPrivileged() call and more logging.
2025-10-24 22:47:59 -05:00
Alex Gleason
8bc7fe7aeb
Add console logging for debugging load issues
2025-10-24 22:47:45 -05:00
Alex Gleason
3765e8f8c0
Add DevTools keyboard shortcuts (Ctrl+Shift+I, F12)
...
Even though we removed the menu, users need access to the inspector
for debugging. This adds keyboard shortcuts to toggle DevTools.
2025-10-24 22:47:37 -05:00
Alex Gleason
50811bde7a
Revert unnecessary CSP change
...
The font-src 'data:' addition was not needed for Electron support.
Browser mode works fine without it.
2025-10-24 19:59:58 -05:00
Alex Gleason
369ab0bf1e
Use custom protocol handler instead of base: './'
...
This is a much cleaner solution that eliminates the need for:
- Changing base: './' in vite.config.ts
- Importing assets in components
- Any workarounds for absolute paths
How it works:
- Register app:// protocol in Electron main process
- Maps app://path/to/file to dist/path/to/file
- Allows absolute paths (/) to work naturally in Electron
- No changes needed to source code or build config
Benefits:
- vite.config.ts stays clean (no base: './' hack)
- Components use normal paths: src="/shakespeare.svg"
- Works in both browser (https://) and Electron (app://)
- This is the standard Electron approach for serving local files
Reverted:
- vite.config.ts: Removed base: './'
- ShakespeareLogo: Back to src="/shakespeare.svg"
- AppShowcaseCard: Back to src="/badge.svg"
Updated:
- electron/main.js: Added protocol.registerFileProtocol('app', ...)
- electron/main.js: Changed loadURL to app://index.html
2025-10-24 19:59:16 -05:00
Alex Gleason
6cf69da69e
Remove development artifact documentation
...
These were temporary files created during the cleanup process and
should not be included in the merge to main.
2025-10-24 19:55:12 -05:00
Alex Gleason
90eb7c7bb5
Update cleanup docs with correct asset import explanation
2025-10-24 19:54:34 -05:00
Alex Gleason
d22a56d306
Fix public asset paths for Electron compatibility
...
The issue: With base: './' for Electron, absolute paths like /shakespeare.svg
don't work because they resolve to filesystem root in file:// protocol.
The solution: Import assets so Vite transforms paths at build time.
- import logo from '/shakespeare.svg' (without ?url)
- Vite automatically converts to './shakespeare.svg' with base: './'
- Works in both browser and Electron
This is cleaner than ?url suffix which is unnecessarily Vite-specific.
Fixed components:
- ShakespeareLogo: import shakespeareLogo from '/shakespeare.svg'
- AppShowcaseCard: import badgeSvg from '/badge.svg'
Added PUBLIC_ASSETS_EXPLANATION.md documenting the solution.
2025-10-24 19:54:18 -05:00
Alex Gleason
0c1d6b48df
Add merge readiness summary
2025-10-24 19:22:29 -05:00
Alex Gleason
14500596d3
Update cleanup summary with documentation changes
2025-10-24 19:21:52 -05:00
Alex Gleason
b7f366efcd
Remove development artifact documentation
...
Removed Electron docs that were development/debugging artifacts:
- .electron-build-summary.md - AI build summary
- BUGFIX-ERROR-CODES.md - Specific bug fix notes
- COMPLETE_FIX_SUMMARY.md - More bug fix notes
- ERROR-CODE-FLOW.md - Debug diagrams
- CHANGELOG.md - Development changelog
- INDEX.md - Just listed other docs
- ARCHITECTURE.md - Internal implementation details
Kept essential user/developer documentation:
- README.md - Main technical reference
- QUICKSTART.md - Build/run instructions
- QUICKSTART_FILESYSTEM.md - Quick filesystem guide
- FEATURES.md - Feature overview
- FILESYSTEM.md - Detailed filesystem docs
- REAL_TERMINAL.md - Terminal details
- INTEGRATION.md - Developer integration guide
- TROUBLESHOOTING.md - User troubleshooting
This reduces documentation from ~2,900 lines to ~1,750 lines while
keeping all essential information for users and contributors.
2025-10-24 19:21:43 -05:00
Alex Gleason
08df445cae
Clean up Electron branch: remove unnecessary changes
...
- Remove tsconfig.json modification (use triple-slash references instead)
- Remove Vite-specific ?url imports (base: './' handles assets correctly)
- Add triple-slash reference directives to files using window.electron
- Add cleanup documentation
This keeps source changes minimal while maintaining full Electron functionality.
2025-10-24 18:40:50 -05:00
Alex Gleason
0d2055dd01
Remove Electron menu
2025-10-23 23:05:21 -05:00
Alex Gleason
52f8a99654
Use OS shell for ShellTool on Electron
2025-10-23 22:51:06 -05:00
Alex Gleason
b67c1466a5
Fix creating new project in Electron
2025-10-23 21:20:45 -05:00
Alex Gleason
16cfdb555e
Merge remote-tracking branch 'origin/main' into electron
2025-10-23 15:20:27 -05:00
Alex Gleason
d75bd386aa
Make FS paths configurable
2025-10-23 14:50:05 -05:00
Alex Gleason
fa02679936
Add Electron support
2025-10-23 10:43:44 -05:00
Alex Gleason
f89a481c9c
Add Shakespeare metadata to package.json
2025-10-23 00:23:23 -05:00
Alex Gleason
7041ac3648
Fix CalVer timezone issue
2025-10-22 20:00:54 -05:00
Alex Gleason
edd8c5488b
Showcase style nitpicks
2025-10-22 18:55:57 -05:00
Alex Gleason
5628d78cc0
Display Shakespeare version at bottom of homepage
2025-10-22 18:51:05 -05:00
Alex Gleason
ee78156071
Add CalVer to Settings
2025-10-22 18:37:27 -05:00
Alex Gleason
9c3b0d2100
Fix OpenRouter UX in OnboardingDialog
2025-10-21 20:17:50 -05:00
Alex Gleason
0ff7d8ad47
Use location.origin for Edit with Shakespeare URL
2025-10-21 19:44:51 -05:00
Alex Gleason
44c5dab300
Merge branch 'edit-url-copy' into 'main'
...
Add "Copy Edit with Shakespeare URL" button to repository section
See merge request soapbox-pub/shakespeare!66
2025-10-22 00:42:11 +00:00
Alex Gleason
7879182446
Reset CreditsDialog
2025-10-21 19:41:50 -05:00