-
Notifications
You must be signed in to change notification settings - Fork 0
chore(dev→main): routine PR cadence for CodeRabbit review #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
286731e
09b48e0
61adbd5
7679d2d
0c19ccf
f6bdc09
480a645
2d8ddb4
fc4bae0
fb13048
bfecee9
066bb8e
ebbd050
0020f26
b08a226
691d504
4e5c3fd
7013cc3
7dd14c7
5fa28ca
b1ff334
4bbdb10
871b295
dc5edcf
1c2b2c5
6369ec4
a02843a
e95c059
dd68c6d
57952b8
9757d66
3b29008
0d361e5
6e254de
2e7559b
3a9a52d
5747b62
66ac5c5
f2ad72b
d58f1a1
2b9353e
b881d66
91e935c
bf62c93
627a5b3
80291a0
29c3c18
6fc68dd
69d1cb1
69ed7cd
57647a3
6152c55
860b5a2
28dd465
e9ec57c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,3 +2,4 @@ | |
| .vscode/ | ||
| *.log | ||
| .core/ | ||
| dist/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,19 @@ | ||
| [](https://pkg.go.dev/forge.lthn.ai/core/go-html) | ||
| [](https://pkg.go.dev/dappco.re/go/core/html) | ||
| [](LICENSE.md) | ||
| [](go.mod) | ||
|
|
||
| # go-html | ||
|
|
||
| HLCRF DOM compositor with grammar pipeline integration for server-side HTML generation and optional WASM client rendering. Provides a type-safe node tree (El, Text, Raw, If, Each, Switch, Entitled, AriaLabel, AltText), a five-slot Header/Left/Content/Right/Footer layout compositor with deterministic `data-block` path IDs and ARIA roles, a responsive multi-variant wrapper, a server-side grammar pipeline (StripTags, GrammarImprint via go-i18n reversal, CompareVariants), a build-time Web Component codegen CLI, and a WASM module (2.90 MB raw, 842 KB gzip) exposing `renderToString()`. | ||
| HLCRF DOM compositor with grammar pipeline integration for server-side HTML generation and optional WASM client rendering. Provides a type-safe node tree (El, Text, Raw, If, Each, Switch, Entitled, AriaLabel, AltText, TabIndex, AutoFocus, Role), a five-slot Header/Left/Content/Right/Footer layout compositor with deterministic `data-block` path IDs and ARIA roles, a responsive multi-variant wrapper, a server-side grammar pipeline (StripTags, GrammarImprint via go-i18n reversal, CompareVariants), a build-time Web Component codegen CLI with optional TypeScript declarations, and a WASM module (2.90 MB raw, 842 KB gzip) exposing `renderToString()`. | ||
|
|
||
| **Module**: `forge.lthn.ai/core/go-html` | ||
| **Module**: `dappco.re/go/core/html` | ||
| **Licence**: EUPL-1.2 | ||
| **Language**: Go 1.25 | ||
| **Language**: Go 1.26 | ||
|
|
||
| ## Quick Start | ||
|
|
||
| ```go | ||
| import "forge.lthn.ai/core/go-html" | ||
| import html "dappco.re/go/core/html" | ||
|
|
||
|
Comment on lines
15
to
17
|
||
| page := html.NewLayout("HCF"). | ||
| H(html.El("nav", html.Text("i18n.label.navigation"))). | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| version: '3' | ||
|
|
||
| tasks: | ||
| wasm:build: | ||
| desc: Build the browser/Node/Deno render WASM module. | ||
| env: | ||
| GOWORK: off | ||
| GOFLAGS: -mod=readonly | ||
| cmds: | ||
| - mkdir -p dist | ||
| - GOOS=js GOARCH=wasm go build -o dist/render.wasm ./cmd/wasm/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README still references
dappco.re/go/core/html(badge + module line), but go.mod declaresmodule dappco.re/go/html. Update README to the correct module path to avoid broken pkg.go.dev links and copy/paste imports.