51 Commits

Author SHA1 Message Date
hulthe 7501f1e824 Compile rust inside flatpak build context 2026-06-21 20:48:11 +02:00
hulthe 81e7cb08ed Update default list of favorite goods 2026-03-22 21:02:39 +01:00
hulthe acb607b5d7 Fix GoodButtons alignment without GridLayout 2026-03-22 20:56:06 +01:00
hulthe bc28b25c8e Fix wasm32 2026-03-22 12:03:03 +01:00
hulthe bada5982c8 Add connection status indicator 2026-03-22 11:40:32 +01:00
hulthe 9257a6e52a Revert "Fix GoodButtons alignment"
This reverts commit 11b96cd172.

The commit works in LIVE_PREVIEW mode, but not otherwise.
2026-03-21 23:11:59 +01:00
hulthe ea17945298 Detect dark mode when running in browser 2026-03-21 23:00:04 +01:00
hulthe 11b96cd172 Fix GoodButtons alignment 2026-03-21 22:55:08 +01:00
hulthe 16306cbba5 Fix list item backgrounds in cosmic-white style 2026-03-21 22:41:36 +01:00
hulthe 17f7690789 Fix clippy lints 2026-03-21 22:30:05 +01:00
hulthe 0287561e2f Update slint 2026-03-21 22:27:52 +01:00
hulthe c00e3205cd Add network permissions to android gui 2026-01-11 10:22:47 +01:00
hulthe 6c69a9696b Allow gui web to be served through iframes 2026-01-11 10:22:47 +01:00
ide 9b74e6ee85 implemented amounts in gui 2026-01-04 00:30:35 +01:00
hulthe 4b3b8f4fe5 Make inputting nicer 2026-01-03 21:07:54 +01:00
hulthe de3383efdb Make scroll views scrollable with touch 2026-01-03 21:07:26 +01:00
hulthe d739f53ce7 Replace TextEdit with LineEdit 2026-01-03 21:06:42 +01:00
hulthe d73510c52e gui: Replace Box with Layout 2026-01-03 21:06:14 +01:00
hulthe 3d49e4d88c gui-web: Use the document url as the the API url 2026-01-03 21:05:11 +01:00
hulthe 66d768c1ff Add README.md with (very) basic instructions 2026-01-03 21:04:44 +01:00
hulthe 7ce7762a94 Make it build for Android 2026-01-03 21:04:10 +01:00
hulthe 894f5c5e20 Move wasm main to wasm.rs 2026-01-03 20:56:41 +01:00
hulthe 314a3b455c Fix viewport height on mobile browsers 2025-12-30 20:05:40 +01:00
hulthe 7c78d35aaa Fix web gui scaling on mobile 2025-12-30 20:05:25 +01:00
hulthe 2e869b76ef Add some padding to Done button 2025-12-30 20:05:08 +01:00
hulthe 61073283a5 Remove default margin in index.html 2025-12-29 22:23:00 +01:00
hulthe c3deb04a14 dockerfile: Bundle the gui as a web application 2025-12-29 19:27:48 +01:00
hulthe 9230b79cdb Add .dockerignore
This stops the docker build cache from being invalidated when these
files changes, and it avoids copying the giant target folder into the
docker build context.
2025-12-29 19:27:10 +01:00
hulthe 759c37d76c Serve gui from server
The server will serve all files in the ./www directory relative to
itself. The ./www/pkg is populated when running

    wasm-pack build --release --target web

from the /gui directory
2025-12-29 19:25:33 +01:00
hulthe 70b097905c Add symlinks from srv to gui for web files
To allow the server to conveniently server the gui when developing
2025-12-29 19:15:55 +01:00
hulthe 0624b37f5a Set background color in index.html to match Slint 2025-12-29 19:15:18 +01:00
hulthe 8f30e7d8bf Fix web gui size 2025-12-29 19:05:14 +01:00
hulthe 258ae03cec Make it run in browser 2025-12-28 23:24:18 +01:00
hulthe ac82875a3d Add refresh button 2025-12-28 22:18:06 +01:00
hulthe 3656db7e98 Add default data volume to Dockerfile 2025-12-28 21:45:06 +01:00
ide 5c88c876b3 added database 2025-12-28 19:54:32 +01:00
hulthe 62996052f2 Add dockerfile 2025-12-28 15:10:48 +01:00
hulthe 245246d083 Rename crate folders 2025-12-28 14:51:24 +01:00
hulthe f15bba480a Fix warnings 2025-12-28 14:08:54 +01:00
hulthe 9624425a62 gui: Change default view 2025-12-28 14:07:12 +01:00
ide a97cd03eb3 made server address configurable 2025-12-28 13:59:00 +01:00
ide f413f27bf0 sync list updates with server 2025-12-27 22:58:07 +01:00
hulthe 169c6f89cd Add icon to flatpak 2025-12-22 07:52:33 +01:00
hulthe e15b50b3b4 Add flatpak script 2025-12-22 00:02:51 +01:00
hulthe 35e26f7642 Use rustls over openssl to simplify cross compilation 2025-12-20 20:43:26 +01:00
hulthe 22f829f579 Load shopping list from server on app startup 2025-12-20 20:35:54 +01:00
ide 8059ab7b85 Simple server completed 2025-12-20 15:01:47 +01:00
hulthe cecf95771b Work on UI 2025-12-14 19:59:53 +01:00
hulthe dd66f2f4f0 Enable slint live preview 2025-12-14 19:59:42 +01:00
hulthe e965518284 Add basic slint app 2025-12-14 19:09:13 +01:00