From c0b29e4be7f0fff59934ef6e7c52dea2ee31e0b3 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 21 Mar 2026 19:46:05 +0100 Subject: chore(version): v0.1.0 --- NEWS.md | 25 ++++++++++++++++++ Trunk.toml | 7 ++++- flake.nix | 7 +++-- index.html | 48 ++++++++++++++++++---------------- src/components/checkbox_placeholder.rs | 5 +--- src/pages/buy.rs | 2 +- src/pages/recipe.rs | 2 +- 7 files changed, 62 insertions(+), 34 deletions(-) diff --git a/NEWS.md b/NEWS.md index 3201b46..b83b9c6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -11,3 +11,28 @@ If not, see . --> - - - +## [v0.1.0](https://git.foss-syndicate.org/bpeetz/rocie/web-client/compare/32847efa04029d81f9d8cf7a37999cb3cbb1e145..v0.1.0) - 2026-03-21 +#### Features +- (**buy**) Provide basic buy interface - ([7bff227](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/7bff22756beec82b4a1470e2d325b706dc56e5f2)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**buy**) Add the framework for the /buy page - ([10152a2](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/10152a2fc2b3de942b9f08d81c81d6566003d336)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**form**) Re-write the form macro as a proc macro - ([1fc165f](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/1fc165f2a5a3b6d77da2cfea2aa05e1db1c73577)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**form**) Provide basic form framework - ([0564611](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/0564611c8e77e0f5791a3f4854bb456a8717e86a)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**treewide**) Commit MVP - ([f6a3fb9](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/f6a3fb9c4d8dd86f78c9f75a23c1ac35bf35d4eb)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**treewide**) Add further buttons - ([3a0e91b](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/3a0e91bda1e93afa33dd182c2e820c94b3e94593)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**treewide**) Make usage more intuitive - ([427ce16](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/427ce16023613536b8176e6dee7c1580a5980c97)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**treewide**) Switch to tailwindcss and add more components - ([d0263ce](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/d0263ce46160cd4152c67381fab2ee557f3aa483)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +#### Bug Fixes +- (**lib/init**) Correctly make the web-app relocatable - ([09836fa](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/09836fa8a614ee4c0b986c21e370a741ca9ec9d8)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**public/manifest.json**) Use correct json list - ([f8edd9b](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/f8edd9b58b95811ae9f397170ce6eaee8efc646c)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +#### Build system +- (**cog**) Init - ([caef83e](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/caef83e70ffea8d6d768f067fcee23ba65d5d13c)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**treewide**) Provide a working `manifest.json` file - ([cc119f1](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/cc119f1cbb0b3bbd0c5453a5b9c5ce4c7f2a5df5)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +#### Miscellaneous Chores +- (**NEWS.md**) Init - ([46aa483](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/46aa4831be5144bc8a0dda7977463d101af00eea)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**public/logo.svg**) Use correct copyright - ([e572618](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/e572618b2fc4ad4dd829fcd25214282265339970)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- (**treewide**) Apply copyright notices - ([5cfa9fa](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/5cfa9fa96401f130ff94bd74b5e247313c1c921d)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- Second version - ([fd832ce](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/fd832ce7a3660bd81b5476477ecdc2bc822df5c2)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) +- Initial Commit - ([32847ef](https://git.foss-syndicate.org/bpeetz/rocie/web-client/commit/32847efa04029d81f9d8cf7a37999cb3cbb1e145)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz) + +- - - + diff --git a/Trunk.toml b/Trunk.toml index a40dbb9..46f8435 100644 --- a/Trunk.toml +++ b/Trunk.toml @@ -11,7 +11,12 @@ [[hooks]] stage = "pre_build" command = "tailwindcss" -command_arguments = ["-i", "public/input.css", "-o", "dist/tailwindcss-output.css"] +command_arguments = [ + "-i", + "public/input.css", + "-o", + "dist/tailwindcss-output.css", +] [[hooks]] stage = "pre_build" diff --git a/flake.nix b/flake.nix index bc989d6..6049ea9 100644 --- a/flake.nix +++ b/flake.nix @@ -51,10 +51,9 @@ pkgs.pkg-config ]; - rust = - pkgs.rust-bin.stable.latest.default.override { - targets = ["wasm32-unknown-unknown"]; - }; + rust = pkgs.rust-bin.stable.latest.default.override { + targets = ["wasm32-unknown-unknown"]; + }; # NB: we don't need to overlay our custom toolchain for the *entire* # pkgs (which would require rebuidling anything else which uses rust). diff --git a/index.html b/index.html index 2a30a50..db6f2e9 100644 --- a/index.html +++ b/index.html @@ -27,11 +27,14 @@ If not, see . data-weak-refs /> -
+
. href="./dist/tailwindcss-output.css" /> - - diff --git a/src/components/checkbox_placeholder.rs b/src/components/checkbox_placeholder.rs index 2006808..27aac13 100644 --- a/src/components/checkbox_placeholder.rs +++ b/src/components/checkbox_placeholder.rs @@ -18,10 +18,7 @@ use leptos::{ use crate::components::get_id; #[component] -pub fn CheckboxPlaceholder( - label: &'static str, - node_ref: NodeRef, -) -> impl IntoView { +pub fn CheckboxPlaceholder(label: &'static str, node_ref: NodeRef) -> impl IntoView { let id = get_id(); view! { diff --git a/src/pages/buy.rs b/src/pages/buy.rs index b5349e7..bd5bdfd 100644 --- a/src/pages/buy.rs +++ b/src/pages/buy.rs @@ -41,7 +41,7 @@ pub fn Buy() -> impl IntoView { { Form! { - on_submit = |barcode_number, times| { + on_submit = |barcode_number, times| { let config = get_config!(); let navigate = use_navigate(); diff --git a/src/pages/recipe.rs b/src/pages/recipe.rs index 604aba3..0025f12 100644 --- a/src/pages/recipe.rs +++ b/src/pages/recipe.rs @@ -329,7 +329,7 @@ fn render_ingredient_ingredient_list(ingr: Ingredient) -> impl IntoView { view! { - {amount}{ingredient_one_of1.not_registered_product.name} + {amount}{ingredient_one_of1.not_registered_product.name} } .into_any() -- cgit 1.4.1