-
Notifications
You must be signed in to change notification settings - Fork 0
Improve UI: accessibility, wider cards, design polish #17
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
4fd59d1
0f37e9c
e9dfda8
2f23817
5f9f488
6ac9bec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,12 @@ | ||||||
| .PHONY: check-js check-py check-lines test setup-playwright smoke-ui full-ui stress-layout-ui export-canvas-guard-ui gemini-ui-protocol gemini-benchmark gemini-prompt-experiments gemini-health quality-dashboard maintenance-audit leave-better leave-better-ui validate | ||||||
| .PHONY: build-frontend-bundle check-js check-py check-lines test setup-playwright smoke-ui full-ui stress-layout-ui export-canvas-guard-ui gemini-ui-protocol gemini-benchmark gemini-prompt-experiments gemini-health quality-dashboard maintenance-audit leave-better leave-better-ui validate | ||||||
|
|
||||||
| PW_TMP := /tmp/pwtmp | ||||||
| PW_NODE_PATH := $(PW_TMP)/node_modules | ||||||
| PW_CLI := $(PW_NODE_PATH)/.bin/playwright | ||||||
|
|
||||||
| build-frontend-bundle: | ||||||
| python3 scripts/build_frontend_bundle.py | ||||||
|
|
||||||
| check-js: | ||||||
| node --check app/state-and-init.js | ||||||
| node --check app/splash-storage.js | ||||||
|
|
@@ -25,9 +28,9 @@ check-js: | |||||
| node --check scripts/full_ui_playwright.js | ||||||
| node --check scripts/stress_layout_playwright.js | ||||||
|
|
||||||
| check-py: | ||||||
| check-py: build-frontend-bundle | ||||||
|
||||||
| check-py: build-frontend-bundle | |
| check-py: |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # RTK - Rust Token Killer (Codex Policy) | ||
|
|
||
| ## Policy | ||
|
|
||
| Treat RTK as the default shell surface. | ||
|
|
||
| Before every shell command, first check whether RTK has an equivalent wrapper. If it does, use the RTK form instead of the raw command. | ||
|
|
||
| Only fall back to a raw command when: | ||
| - RTK has no equivalent wrapper | ||
| - you are debugging RTK itself | ||
| - you explicitly need unfiltered raw output | ||
|
|
||
| If you fall back to a raw command, briefly say why. | ||
|
|
||
| ## Preferred Rewrites | ||
|
|
||
| - `git` -> `rtk git` | ||
| - `find` -> `rtk find` | ||
| - `grep` -> `rtk grep` | ||
| - `cat`, `head`, `tail` -> `rtk read` | ||
| - `ls` -> `rtk ls` | ||
| - `tree` -> `rtk tree` | ||
| - `pytest` -> `rtk pytest` | ||
| - `npm` -> `rtk npm` | ||
| - `npx` -> `rtk npx` | ||
| - `pnpm` -> `rtk pnpm` | ||
| - `cargo` -> `rtk cargo` | ||
| - `docker` -> `rtk docker` | ||
| - `kubectl` -> `rtk kubectl` | ||
| - `go` -> `rtk go` | ||
| - `ruff` -> `rtk ruff` | ||
| - `mypy` -> `rtk mypy` | ||
| - `tsc` -> `rtk tsc` | ||
| - `eslint`, `lint` -> `rtk lint` | ||
| - `playwright` -> `rtk playwright` | ||
| - `curl` -> `rtk curl` | ||
| - `wc` -> `rtk wc` | ||
|
|
||
| ## Examples | ||
|
|
||
| ```bash | ||
| rtk git status | ||
| rtk find . -name '*.ts' | ||
| rtk grep "TODO" src | ||
| rtk read package.json | ||
| rtk pytest -q | ||
| rtk npm run build | ||
| ``` | ||
|
|
||
| ## Exceptions | ||
|
|
||
| Use `rtk proxy <cmd>` when you need the raw command behavior but still want RTK tracking. | ||
|
|
||
| ## Verification | ||
|
|
||
| ```bash | ||
| rtk --version | ||
| rtk gain | ||
| which rtk | ||
| ``` |
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.
Wiring
build_frontend_bundle.pyintocheck-pymeans a 'check' target now has side effects (generating/updating bundle outputs). In CI or local workflows this can cause surprising dirty working trees or inconsistent results; consider separating 'generate' vs 'check' (e.g., keep generation explicit, or add a follow-up verification step that asserts the generated bundle is up-to-date without modifying tracked files).