Add the README, screenshots, legacy CI moved to manual, cleanups

Root README for the new layout; legacy/README.md points back. Legacy Gitea and
GitHub workflows run only by hand from legacy/ and the Gitea one does not
publish unless asked. Fix compiler warnings.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-23 01:12:48 +00:00
1 parent 17f81c60c8
commit 5258ac22ad
16 files changed
+175 -26

No files matched your search

+3 -6
View File
@@ -14,7 +14,6 @@ priv struct RNode {
mut n : Int32
mut classes : String
mut attrs : Map[String, String]
mut props : Map[String, String]
mut style : String
mut children : Array[RNode]
}
@@ -32,7 +31,6 @@ fn new_rnode(n : @vdom.Node[@app.Msg]) -> RNode {
n: -1,
classes: "",
attrs: {},
props: {},
style: "",
children: [],
}
@@ -46,7 +44,6 @@ fn new_rnode(n : @vdom.Node[@app.Msg]) -> RNode {
n: -1,
classes: "",
attrs: {},
props: {},
style: "",
children: [],
}
@@ -87,7 +84,7 @@ fn update_rnode(
r.classes = classes
dom_class(r.dom, classes)
}
let attrs : Map[String, String] = {}
let attrs : Map[String, String] = Map([])
for kv in e.attrs {
attrs[kv.0] = kv.1
}
@@ -134,7 +131,7 @@ fn patch_children(
counter : Ref[Int32],
) -> Array[RNode] {
let used : Array[Bool] = Array::make(old.length(), false)
let by_key : Map[Int32, Int32] = {}
let by_key : Map[Int32, Int32] = Map([])
for i in 0..<old.length() {
if old[i].key != 0 {
by_key[old[i].key] = i
@@ -188,5 +185,5 @@ fn patch_root(
old : Array[RNode],
tree : Array[@vdom.Node[@app.Msg]],
) -> Array[RNode] {
patch_children(root, old, tree, Ref::new(0))
patch_children(root, old, tree, Ref(0))
}