Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
260e09a
chore: solid refactor plans and fix tokens
marlonmarcello Jun 11, 2026
daf1d9a
chore: add solid-js, @opentui/solid, @opentui/keymap deps and JSX config
marlonmarcello Jun 11, 2026
8a71dd4
feat: expand tokens.ts with full palette and semantic tokens
marlonmarcello Jun 11, 2026
9cefbd9
feat: create ThemeProvider and useTheme context
marlonmarcello Jun 11, 2026
cda63da
feat: create keymap module and upgrade @opentui/core to v0.4.1
marlonmarcello Jun 11, 2026
b8594d5
feat: create DialogProvider with stack-based overlay dialogs
marlonmarcello Jun 11, 2026
f914f76
feat: create UpdateDialog component
marlonmarcello Jun 11, 2026
450018e
feat: convert TUI to Solid JSX with dialog, status bar, and command p…
marlonmarcello Jun 11, 2026
f93fd8e
chore: mentions token origin
marlonmarcello Jun 12, 2026
459efc7
refactor: removes theme provider
marlonmarcello Jun 12, 2026
037b330
refactor: remove unnecessary keymap wrapper
marlonmarcello Jun 12, 2026
e75b3a2
feature: adds 'routing'
marlonmarcello Jun 12, 2026
485b0f5
refactor: entrypoint simplified
marlonmarcello Jun 12, 2026
f563583
fix: PR template note
marlonmarcello Jun 12, 2026
743152d
chore: changeset
marlonmarcello Jun 12, 2026
27d6720
fix: removes prop drilling for version
marlonmarcello Jun 12, 2026
c1a8310
refactor: simplify consts and props
marlonmarcello Jun 12, 2026
a3a3340
chore: documentation
marlonmarcello Jun 12, 2026
c305409
chore: wip notes
marlonmarcello Jun 12, 2026
8bcbe76
chore: clean up plan
marlonmarcello Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/five-aliens-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wtc": minor
---

refactor: solidJS bindings
10 changes: 5 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Summary

-
Description

## Type of Change

Expand All @@ -12,11 +12,11 @@

## Local Verification

- [ ] `bun run fmt`
- [ ] `bun run lint`
- [ ] `bun run fmt:check`
- [ ] `bun run check`
- [ ] `bun test`
- [ ] `bun run build` if this affects CLI, install, release, update, or native TUI packaging behavior
- [ ] `bun run build`

## Release Impact

Expand All @@ -27,8 +27,8 @@
- [ ] Updates build/release packaging
- [ ] Breaking change

## Notes

<!--
- Do not commit generated binaries or release artifacts.
- Do not edit `package.json` versions manually in feature/fix PRs.
- Releases are created by merging the automated Changesets version PR; `.github/workflows/release.yml` handles tagging, binaries, and release assets.
-->
236 changes: 236 additions & 0 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
{
"lsp": {
"oxlint": {
"initialization_options": {
"settings": {
"configPath": null,
"run": "onType",
"disableNestedConfig": false,
"fixKind": "safe_fix",
"unusedDisableDirectives": "deny"
}
}
},
"oxfmt": {
"initialization_options": {
"settings": {
"fmt.configPath": null,
"run": "onSave"
}
}
}
},
"languages": {
"CSS": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"GraphQL": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"Handlebars": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"HTML": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"JavaScript": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
},
{
"code_action": "source.fixAll.oxc"
}
]
},
"JSON": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"JSON5": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"JSONC": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"Less": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"Markdown": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"MDX": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"SCSS": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"TypeScript": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"TSX": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"Vue.js": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
},
"YAML": {
"format_on_save": "on",
"prettier": {
"allowed": false
},
"formatter": [
{
"language_server": {
"name": "oxfmt"
}
}
]
}
}
}
24 changes: 12 additions & 12 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ Before making changes, read these files for context:

## Tech Stack

| Concern | Choice |
| ----------------- | ------------------------------------------------ |
| Runtime | Bun |
| TUI | `@opentui/core` (functional API, no React/Solid) |
| CLI parser | yargs |
| Linter | oxlint |
| Formatter | oxfmt |
| Test runner | bun test |
| Pre-commit | husky + lint-staged |
| Release versions | Changesets |
| Encryption | Web Crypto (AES-256-GCM + PBKDF2) |
| Config validation | zod |
| Concern | Choice |
| ----------------- | --------------------------------- |
| Runtime | Bun |
| TUI | `@opentui/solid` + `solid-js` |
| CLI parser | yargs |
| Linter | oxlint |
| Formatter | oxfmt |
| Test runner | bun test |
| Pre-commit | husky + lint-staged |
| Release versions | Changesets |
| Encryption | Web Crypto (AES-256-GCM + PBKDF2) |
| Config validation | zod |

## Conventions

Expand Down
13 changes: 8 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- [Bun](https://bun.com/)

Useful resources:

- [OpenTUI Docs](https://opentui.com/)

## Development Setup

```bash
Expand Down Expand Up @@ -72,15 +76,14 @@ bun install --os="*" --cpu="*" @opentui/core
Run the generated binary directly from the repository root:

```bash
./dist/wtc-linux-x64 --version
./dist/wtc-linux-x64 --help
./dist/wtc-linux-x64
cd ./dist
wtc-linux-x64 --version
wtc-linux-x64 --help
wtc-linux-x64
```

Use the filename that matches your platform. The dashboard starts with no arguments. Press `Ctrl+C` to exit.

Generated binaries live in `dist/`, which is ignored by git.

## CI/CD and Releases

CI runs automatically on pull requests targeting `main`.
Expand Down
Loading
Loading