Commit Graph

19 Commits

Author SHA1 Message Date
sen d6464dcef3 [playground/actionbook-web-test]feat: add browser web testing skill with json-ui reports
Add actionbook-web-test skill — a declarative YAML-driven browser testing
framework for Claude Code. Includes:

- SKILL.md with full execution flow, selector strategy, and recovery logic
- YAML workflow format with 17+ assertion types
- json-ui report generation with per-test collapsible sections and
  base64-embedded screenshots for every test (PASS/FAIL/SKIP)
- generate-report.mjs script for building report JSON from execution results
- Reference docs for workflow format, assertion types, and report structure
2026-03-13 21:35:25 +08:00
AlexZ 2aa1350ba5 [packages/json-ui]fix: add SRI integrity hashes to Prism.js CDN resources
- Add integrity and crossorigin attributes to all Prism.js CDN links
- Addresses CodeQL security warning about external resource loading
- Ensures CDN resources cannot be tampered with (supply chain security)
- Uses SHA-384 hashes for all CSS and JS resources

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-27 02:19:23 +08:00
AlexZ f0a0c8501a [packages/json-ui]feat: add syntax highlighting, code wrapping, and language switcher control
- Add showLanguageSwitcher prop to Report component
- Fix markdown code block rendering (support ```lang syntax)
- Integrate Prism.js for syntax highlighting (9 languages)
- Add automatic theme switching (light/dark)
- Enable code wrapping with white-space: pre-wrap
- Add enhanced CSS for code blocks
2026-02-26 23:56:20 +08:00
mcfn 7593924c07 [packages/json-ui]fix: keep hero before first section without switcher 2026-02-20 10:56:31 +08:00
mcfn b7b71f8329 [skills/active-research]fix: make reports english-first and hide lang switcher when not needed 2026-02-20 09:37:15 +08:00
Adcent e2a2746842 fix(json-ui): restore i18n switch fallback and escape code icon 2026-02-13 00:19:02 +08:00
Adcent 132c9058af style(json-ui): reduce hero chip height for cleaner title bar 2026-02-13 00:03:10 +08:00
Adcent 30df89ad40 style(json-ui): set default badge to ACTIVE_RESEARCH_REPORT.ARX 2026-02-13 00:01:50 +08:00
Adcent 389694e894 style(json-ui): use academic-style default header badge 2026-02-13 00:00:35 +08:00
Adcent 4608965bc2 fix(json-ui): replace meaningless header badge fallback 2026-02-12 23:58:59 +08:00
Adcent c46fba0e91 feat(json-ui): move lang switch into header and add hero title 2026-02-12 23:55:02 +08:00
Adcent b603c32cb2 refactor(json-ui): keep top-right language switch fixed 2026-02-12 23:44:29 +08:00
Adcent f03f3d3b3c style(json-ui): adopt sharp wireframe report theme 2026-02-12 23:37:54 +08:00
Adcent c8321b6d57 fix(json-ui): link header brand to actionbook.dev 2026-02-12 23:34:00 +08:00
Adcent ea759f4aa0 refactor(json-ui): shift generated report to editorial minimal style 2026-02-12 23:27:37 +08:00
Adcent cf58321155 feat(json-ui): modernize generated report page styling 2026-02-12 22:03:47 +08:00
AlexZ 70e4ae0533 [packages/json-ui][playground/deep-research]feat: fix Table i18n rendering, add dependency declarations, prepare npm publish
- Fix Table and ResultsTable components to use renderI18n() instead of
  String() for cell values, resolving [object Object] in rendered HTML
- Prepare json-ui package.json for npm publishing (publishConfig, repo,
  license Apache-2.0, prepublishOnly hook)
- Add dependencies and setup fields to deep-research plugin.json
  declaring @actionbookdev/cli and @actionbookdev/json-ui as required
- Update SKILL.md render step to prefer npx as primary method
- Add json-ui install step to README, update troubleshooting table
- Add Dependencies section to README with one-command install

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 11:34:58 +08:00
AlexZ 50d4539057 fixed codex review issue 2026-01-30 03:01:20 +08:00
AlexZ b83d097512 add json-ui skills 2026-01-30 02:36:12 +08:00