From 0db8ed4867f18d2b3f840d9005577f49106dcad4 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sat, 18 Apr 2026 15:07:54 +0200 Subject: [PATCH 1/5] added header for tags in wiki pages Signed-off-by: Stephan Richter --- frontend/src/routes/wiki/View.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/wiki/View.svelte b/frontend/src/routes/wiki/View.svelte index c06b385b..fb65d20a 100644 --- a/frontend/src/routes/wiki/View.svelte +++ b/frontend/src/routes/wiki/View.svelte @@ -198,7 +198,10 @@ {/if} {/if} patch({content:s})} store_id="wiki/{page.id}/description" /> - +id)} /> +
+

{t('tags')}

+ +id)} /> +

{t('notes')}

From 877547df0ddb4283465a1c063afff1fa71890de1 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sat, 18 Apr 2026 15:28:21 +0200 Subject: [PATCH 2/5] bugfix: now trimming tags on creation Signed-off-by: Stephan Richter --- tags/src/main/java/de/srsoftware/umbrella/tags/TagModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags/src/main/java/de/srsoftware/umbrella/tags/TagModule.java b/tags/src/main/java/de/srsoftware/umbrella/tags/TagModule.java index cf985419..cfea00a7 100644 --- a/tags/src/main/java/de/srsoftware/umbrella/tags/TagModule.java +++ b/tags/src/main/java/de/srsoftware/umbrella/tags/TagModule.java @@ -144,7 +144,7 @@ public class TagModule extends BaseHandler implements TagService { @Override public void save(String module, long entityId, Collection userIds, Collection tags) { - tagDb.save(userIds,module,entityId,tags); + tagDb.save(userIds,module,entityId,tags.stream().map(String::trim).toList()); } @Override From ff65cfd958fc57cbac5f502c6abc258a7653670d Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sat, 18 Apr 2026 15:36:35 +0200 Subject: [PATCH 3/5] bugfix: now trimming tags on creation Signed-off-by: Stephan Richter --- frontend/src/routes/tags/TagList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/tags/TagList.svelte b/frontend/src/routes/tags/TagList.svelte index a9b0d9b7..10bbc6fa 100644 --- a/frontend/src/routes/tags/TagList.svelte +++ b/frontend/src/routes/tags/TagList.svelte @@ -88,7 +88,7 @@ } async function onCommit(wrapped){ - addTag(wrapped.display); + addTag(wrapped.display.trim()); } function onSelect(dummy){} From dbfd50bfa9b52412aa028a04075fc3bc80f91528 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sun, 19 Apr 2026 10:40:03 +0200 Subject: [PATCH 4/5] html improvement Signed-off-by: Stephan Richter --- frontend/src/routes/stock/Index.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/routes/stock/Index.svelte b/frontend/src/routes/stock/Index.svelte index 7ab1c641..fc96623e 100644 --- a/frontend/src/routes/stock/Index.svelte +++ b/frontend/src/routes/stock/Index.svelte @@ -278,11 +278,11 @@
{#if item && data && data.users}
- {t('tags')} +

{t('tags')}

- {t('notes')} +

{t('notes')}

{/if} From ff618f75fa8c59986cb8fa12bca665eb9bdb6018 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sun, 19 Apr 2026 11:07:47 +0200 Subject: [PATCH 5/5] css work Signed-off-by: Stephan Richter --- frontend/src/routes/stock/Index.svelte | 2 +- web/src/main/resources/web/css/default.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/stock/Index.svelte b/frontend/src/routes/stock/Index.svelte index fc96623e..62b11c6c 100644 --- a/frontend/src/routes/stock/Index.svelte +++ b/frontend/src/routes/stock/Index.svelte @@ -241,7 +241,7 @@

{t('Stock')}

-
+
{#if top_level} {#each top_level as realm,idx} diff --git a/web/src/main/resources/web/css/default.css b/web/src/main/resources/web/css/default.css index c9b88337..e0593db4 100644 --- a/web/src/main/resources/web/css/default.css +++ b/web/src/main/resources/web/css/default.css @@ -524,6 +524,10 @@ a.wikilink{ grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right] } +.stock.grid3{ + grid-template-columns: [left] 1fr [first] 1fr [second] 2fr [right] +} + .grid3 .locations { grid-row-end: span 3; }