Commit Graph

55 Commits

Author SHA1 Message Date
4a191a59f4 feat(frontend): add mobile device detection and warning modal
Add mobile device detection to prevent confusion when users try to download desktop applications on mobile devices. The download button now displays "Download for Desktop" on mobile and shows a warning modal explaining that the executables are for desktop platforms only. The warning is shown once per session and can be acknowledged to proceed with viewing download options.
2025-12-11 18:18:55 -06:00
b4022ff9db chore: add bacon config and improve dev workflow
- Add bacon.toml for Rust development watching with keybindings
- Update Justfile to use bacon for dev watching
- Configure frontend to build to ./public for backend serving
- Improve Justfile organization with comments and better task separation
- Add dev-backend and dev-frontend tasks for separate workflows
- Minor formatting fix in backend/src/state.rs
2025-12-11 17:58:10 -06:00
fd474767ae feat(frontend): add platform icons and improve download button UX
Replace generic download icon with platform-specific icons (Windows,
macOS, Linux) using react-icons. Show detected platform name in the
main download button text and disable auto-download when platform
cannot be detected, requiring manual selection from dropdown instead.
2025-12-11 17:40:04 -06:00
006055cb7f chore: add Justfile, apply clippy fixes, add frontend type checking
- Add Justfile with comprehensive development workflow commands (check,
lint, build, docker, etc.)
- Add @astrojs/check and typescript dependencies for frontend type
checking
2025-12-11 12:15:51 -06:00
d20f298da5 feat: fetch builds logs for Railway on startup 2025-08-20 17:40:09 -05:00
8431290ea7 fix: RAILWAY_PUBLIC_DOMAIN envvar not resolving, add fallback & warning, change Dockerfile interpolation 2025-08-20 16:45:18 -05:00
eed66f96d7 Use proper buildLog variable for download button 2025-01-06 15:37:47 -06:00
cdbc474819 Pass ARG RAILWAY_PUBLIC_DOMAIN 2025-01-02 16:56:06 -06:00
a5e93f2afc debug log RAILWAY_PUBLIC_DOMAIN 2025-01-02 16:46:30 -06:00
8e0ca95c8a Use buildLog href 2025-01-02 15:54:06 -06:00
e68384abcf Use connectionStatus enum properly, further improve mobile scaling for screen-sm basis 2025-01-02 15:46:42 -06:00
721d0afc73 Add reconnection option, prevent autoplay, remove state on disconnect, mobile height adjustment 2025-01-02 15:40:58 -06:00
f18f4a0c7c Finish up highlight, minor increase in time, switch to react-use-webhook, client only rendering 2025-01-02 15:21:29 -06:00
178eb40c1a animate-pulse-border 2025-01-02 14:55:35 -06:00
bb224eed43 Audio via ref, DownloadButton key, highlight by token not index, deleteDownload onClick 2025-01-02 14:55:26 -06:00
d71433fa52 Fix minor react/badge issues 2025-01-02 14:54:56 -06:00
0663d38834 Remove unnecessary logs, switch to simple window.open download, suppressHydrationWarning 2025-01-02 13:46:02 -06:00
2a2daefd8c DownloadButton progress 2025-01-02 13:33:40 -06:00
5f2dcfa5c9 build log inte gration, delete-download-token name, fix className 2025-01-02 13:33:17 -06:00
3de98ca7e2 class vs className 2025-01-02 10:39:30 -06:00
e61c4715e1 Switch from preact to react 2025-01-02 10:36:58 -06:00
e8fe3e8ec9 Setup websocket reconnection logic 2025-01-01 11:21:32 -06:00
846a9adb51 fix preact.devtools config 2024-12-23 20:24:58 -06:00
45bd617ba7 Remove extra type, fix deleteDownload type for useSocket 2024-12-23 19:12:20 -06:00
f98c9ccc71 Switch cookie id to u32 as well 2024-12-23 18:52:26 -06:00
a8725ea5cb toHex, basic deleteDownload func, fix badge display token 2024-12-23 18:49:50 -06:00
841203b0a6 fix process.env/import.meta.env usages, TODO linting, fix Emboldened hexadecimal null handling 2024-12-23 18:13:27 -06:00
44ada518b5 Fix nullable executables type 2024-12-23 18:06:39 -06:00
697970f9db Send session id, first message working, Session.send_message, rename buffering variables 2024-12-23 18:05:06 -06:00
8323f2e3fe TODO deflate compress.sh 2024-12-23 17:02:20 -06:00
e5e2a013f5 Setup executable JSON ws message 2024-12-23 16:59:28 -06:00
81c509b0b0 Remove unused download badge, add Executable types to useSocket 2024-12-23 16:50:33 -06:00
e0a6625373 Minor useSocket rename 2024-12-23 16:47:57 -06:00
9315fbd985 Rename StatefulDemo, move socket handling to useSocket, Emboldened skeleton 2024-12-23 16:14:15 -06:00
9a54104bdd Add TODOs for planning 2024-12-23 14:12:48 -06:00
b7b010ba3e use CORS websocket in dev mode 2024-12-23 13:44:21 -06:00
152635d7db platform detection type + func 2024-12-23 13:35:56 -06:00
4eeb9ddcef clientside websocket connect, increase volume 2024-12-23 12:43:59 -06:00
88e3ef7551 Switch timeout back to intended timing 2024-12-22 17:00:22 -06:00
842ea651c4 Move globals.scss into Base.astro, fix inter vs sans tailwind font definitions 2024-12-22 16:32:49 -06:00
902afb925b Ensure font-inter works, googlefont import directive 2024-12-22 15:51:32 -06:00
e80c8b1c4f Add badge highlighting with animated border transitions, use className in BadgeProps 2024-12-22 15:28:49 -06:00
069471145a Place assets under /assets 2024-12-22 12:33:11 -06:00
ef2a41f1f4 Emboldened component, copyToClipboard 2024-12-22 12:31:37 -06:00
b88296c410 improve display views, add random generation for demo version, improve badge flex, add ephemeral note 2024-12-22 10:28:50 -06:00
9f142327b9 Fix non-functional class prop 2024-12-22 09:55:10 -06:00
51e05474ec pluralize, improve SessionData typing 2024-12-22 09:53:49 -06:00
9f67603bbe preload notify.wav 2024-12-22 09:04:46 -06:00
6f7139d5d7 overhaul frontend, typography, noise pattern, badge, notify audio 2024-12-22 08:51:15 -06:00
a0417e0b19 Set proper site URL, preact devtools, sitemap, robots.txt 2024-12-22 03:08:44 -06:00