From bdbbc7e592ac6884a40c3163c9cf957ad5ab3ed7 Mon Sep 17 00:00:00 2001 From: Erik Gassler Date: Mon, 29 Jan 2024 14:43:45 -0600 Subject: [PATCH] WebUI update --- Cargo.lock | 10 +++++----- Docs/README.md | 2 +- webapp/Cargo.toml | 2 +- webapp/root_files/service-worker.js | 2 +- webapp/src/components/cards/project_cards.rs | 15 +++++++++------ 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1b0e73..e6ac82a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1785,7 +1785,7 @@ dependencies = [ [[package]] name = "webapp" -version = "0.7.2" +version = "0.7.3" dependencies = [ "serde", "webui", @@ -1794,8 +1794,8 @@ dependencies = [ [[package]] name = "webui" -version = "0.7.2" -source = "git+https://github.com/StoicDreams/RustWebUI?branch=main#22e567003545f67f8929ceab6757489717814da7" +version = "0.7.3" +source = "git+https://github.com/StoicDreams/RustWebUI?branch=main#b20706cf8ac67e59c92f657a5ddaa7dbaba266f6" dependencies = [ "async-std", "chrono", @@ -1822,8 +1822,8 @@ dependencies = [ [[package]] name = "webui_procs" -version = "0.7.2" -source = "git+https://github.com/StoicDreams/RustWebUI?branch=main#22e567003545f67f8929ceab6757489717814da7" +version = "0.7.3" +source = "git+https://github.com/StoicDreams/RustWebUI?branch=main#b20706cf8ac67e59c92f657a5ddaa7dbaba266f6" [[package]] name = "winapi" diff --git a/Docs/README.md b/Docs/README.md index fcf7e75..92db6d7 100644 --- a/Docs/README.md +++ b/Docs/README.md @@ -1,6 +1,6 @@ # Stoic Dreams -[WebUI Version: 0.7.2](https://github.com/StoicDreams/RustWebUI) +[WebUI Version: 0.7.3](https://github.com/StoicDreams/RustWebUI) Front-end website for the company, Stoic Dreams. diff --git a/webapp/Cargo.toml b/webapp/Cargo.toml index 7597ebe..9415b69 100644 --- a/webapp/Cargo.toml +++ b/webapp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "webapp" -version = "0.7.2" #syncwebui +version = "0.7.3" #syncwebui edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/webapp/root_files/service-worker.js b/webapp/root_files/service-worker.js index af9a6b7..992b982 100644 --- a/webapp/root_files/service-worker.js +++ b/webapp/root_files/service-worker.js @@ -11,7 +11,7 @@ function get_uuid() { }); } } -const currentVersion = location.host.substring(0, 9) === 'localhost' ? `${get_uuid()}` : 'webui_0.7.2'; +const currentVersion = location.host.substring(0, 9) === 'localhost' ? `${get_uuid()}` : 'webui_0.7.3'; const cacheNamePrefix = 'offline-cache-'; const cacheName = `${cacheNamePrefix}${currentVersion}`; const offlineAssetsInclude = [/\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/]; diff --git a/webapp/src/components/cards/project_cards.rs b/webapp/src/components/cards/project_cards.rs index c14a2f4..294c0d0 100644 --- a/webapp/src/components/cards/project_cards.rs +++ b/webapp/src/components/cards/project_cards.rs @@ -372,12 +372,15 @@ fn cards() -> std::collections::HashMap Html> { link="https://www.nuget.org/packages/StoicDreams.TestFramework" width={CARD_WIDTH} > - {paragraphs!( - "Nuget.org - StoicDreams.TestFramework", - "A helper framework that's designed to help strictly adhere tests to an Arrange / Act / Assert framework of testing.", - "Includes `Moq` and `FluentAssertion` libraries to help with mocking data and writing readable tests.", - "Development on Test Framework is indefinitely on hold as we have migrated away from using C# for our projects." - )} + } } as fn() -> Html),