Skip to content

feat(native): draw mockups with lich's own components in gockup - #1269

Merged
omartelo merged 1 commit into
mainfrom
gockup-design-system
Dec 3, 2026
Merged

omartelo merged 1 commit into
mainfrom
gockup-design-system

Conversation

@omartelo

@omartelo omartelo commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Adds `native/gockup-lich`, an adapter that gives gockup lich's own design system: the primitives of `native/ui` and the app's own pieces (chat, diff, dialogs, toasts), so a mockup of a lich screen is drawn by the code that draws the screen.

  • It is its own Go module, so neither `lich` nor `lich-native` gains a dependency. CI does not build it.
  • To use it, import the directory with gockup's `add_design_system` under the name `lich`.
  • `testdata/kit.gockup` shows every component, and the test fails when one is registered and not shown.

No CHANGELOG entry: nothing a person using lich can see.

Test plan

  • `gofmt -l .`, `go vet ./...`, `go fix -diff ./...` and `go mod tidy -diff` clean in `native/gockup-lich`
  • `go test ./...` green in `native/gockup-lich`

@omartelo
omartelo merged commit 9c52fde into main Dec 3, 2026
7 checks passed
@omartelo
omartelo deleted the gockup-design-system branch December 3, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant