Skip to content

Commit

Permalink
WebUI updated with support for left panel Navigation pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgassler committed Jan 31, 2024
1 parent 4631c0f commit 6952a71
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 132 deletions.
18 changes: 10 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Docs/README.md
@@ -1,6 +1,6 @@
# Task Story

[WebUI Version: 0.7.7](https://github.com/StoicDreams/RustWebUI)
[WebUI Version: 0.7.12](https://github.com/StoicDreams/RustWebUI)

Simple task management tool focused around Continuous Agile Software Engineering practices and methodologies.

Expand Down
2 changes: 1 addition & 1 deletion webapp/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "webapp"
version = "0.7.7" #syncwebui
version = "0.7.12" #syncwebui
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 0 additions & 2 deletions webapp/index.html
Expand Up @@ -16,7 +16,6 @@

<link href="https://cdn.myfi.ws/css/webui.css" rel="stylesheet" />

<link data-trunk href="js/webui.js" rel="copy-file" />
<link data-trunk href="root_files" rel="copy-dir" />
<link data-trunk href="d" rel="copy-dir" data-target-path="d" />

Expand All @@ -36,7 +35,6 @@
<meta name="twitter:description" content="Task Story is in early development.">
<meta name="twitter:image" content="https://www.taskstory.com/Logo.svg">

<script src="webui.js" type="text/javascript"></script>
<script src="https://kit.fontawesome.com/dcc8a385b9.js" crossorigin="anonymous"></script>
<script src="https://cdn.myfi.ws/highlight/highlight.min.js"></script>
<link data-trunk href="css/app.css" rel="css" />
Expand Down
118 changes: 0 additions & 118 deletions webapp/js/webui.js

This file was deleted.

2 changes: 1 addition & 1 deletion webapp/root_files/service-worker.js
Expand Up @@ -11,7 +11,7 @@ function get_uuid() {
});
}
}
const currentVersion = location.host.substring(0, 9) === 'localhost' ? `${get_uuid()}` : 'webui_0.7.7';
const currentVersion = location.host.substring(0, 9) === 'localhost' ? `${get_uuid()}` : 'webui_0.7.12';
const cacheNamePrefix = 'offline-cache-';
const cacheName = `${cacheNamePrefix}${currentVersion}`;
const offlineAssetsInclude = [/\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/];
Expand Down
1 change: 1 addition & 0 deletions webapp/src/main.rs
@@ -1,3 +1,4 @@
#![allow(unused)] // TODO: Remove me when needing to check for dead code / unused methods/variables.
mod components;
mod nav_menu;
mod pages;
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/nav_menu.rs
Expand Up @@ -74,7 +74,7 @@ pub(crate) fn get_nav_routing() -> Vec<NavRoute> {
fn nav_menu_render(_contexts: Contexts) -> Html {
html! {
<>
<Paper class="d-flex pa-1 justify-center ml-a mr-a" style="height:160px">
<Paper class="logo d-flex pa-1 justify-center ml-a mr-a">
<img src="Logo.svg" title="Web UI Logo" />
</Paper>
<NavDisplay routes={get_nav_routing()} class="d-flex flex-column pa-1" />
Expand Down

0 comments on commit 6952a71

Please sign in to comment.