27 Commits

Author SHA1 Message Date
Leyang
fdbdb7d426
style(chrome-extension): opt chrome logo icon (#614) 2025-04-22 15:39:17 +08:00
Leyang
b76211bd5d
feat: android playground (#542)
* refactor: android api

* refactor: enhance Android agent to accept options for device connection

* fix: type error

* fix: click after clearInput

* fix: click before clearInput

* feat: android playground

* feat: support npx package name

* feat: android playground joint

* fix: git ignore conflicts

* feat: ensure adb server is running before initializing adb client

* fix: deps consistency

* ci: add android playground

* feat: integrate shared constants and improve server configuration in android playground

* feat: android playground style

* feat: style opt

* feat: add @rsbuild/plugin-svgr dependency and improve URI handling in adb

* feat: remove unused water flow scripts and update comments to English

* feat: download report file

* feat: standalone android playground

* feat: use dynamic import

* feat: migrate CSS to LESS and remove unused styles in chrome extension and report

* feat: enhance Android playground with ScrcpyPlayer ref integration and device management improvements

* feat: optimize styles and layout in Android playground and visualizer components

* chore: add bin back

* chore: update build script to exclude documentation generation

* feat: add not ready message to PlaygroundResult for improved user guidance

* feat: add error handling for screenshot capture in Android page

* docs: update readme

* feat: add PNG validation for screenshot buffer in Android page

* feat: enhance UI components with improved styling and tooltips in ScrcpyPlayer and PromptInput

* docs: update uri parameter description in integrate-with-android documentation and improve uri handling in launch function

* style: update primary color to #2B83FF across multiple components and adjust margin in App.less

* refactor: replace userConfig with globalConfig for environment configuration management and update related functions

* feat: integrate server validation logic in App, AdbDevice, and ScrcpyPlayer components for improved connection handling

* style: enhance player component layout with overflow handling and margin adjustments

* style: refine player component layout with flex adjustments and improved spacing

* feat: add midscene model name display and improve layout in EnvConfig component

* feat: integrate ShinyText component for enhanced loading progress display in PlaygroundResult

* test: add test for isValidPNGImageBuffer

* style: remove background color from App.less and adjust AI config override behavior in env.ts

---------

Co-authored-by: yutao <yutao.tao@bytedance.com>
2025-04-17 17:44:11 +08:00
Zhou Xiao
814f99ca48
refactor(visualizer): optimize extension logic (#525) 2025-04-02 19:12:52 +08:00
Zhou Xiao
16d6efa1f0
refactor(report): make the report page an app type to improve the development experience (#513) 2025-03-31 18:46:35 +08:00
Zhou Xiao
5d63ef9151
refactor: switch bundle type to bundleless (#437) 2025-03-07 17:20:18 +08:00
yuyutaotao
a114e707d1
feat: show pointer position in chrome extension (#286)
---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2025-01-17 18:19:22 +08:00
yuyutaotao
ae49685348
feat: add bridge mode for extension (#228) 2025-01-07 11:10:28 +08:00
yuyutaotao
fabe28b6d7
chore: adjust the report UI (#163) 2024-11-18 17:29:52 +08:00
yuyutaotao
9e1eef5cfd
feat: Build a chrome extension for playground (#140) 2024-11-05 11:49:21 +08:00
yuyutaotao
c288baa448
feat: make playground working in the browser (#135)
---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2024-10-28 11:04:40 +08:00
yuyutaotao
7d4f9847f5
feat: add a playground page to debug (#131)
* fix: fix the Player style when the locator is failed

* feat: add Playground UI

---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2024-10-21 16:30:07 +08:00
yuyutaotao
45e4417e2c
feat: add a button for replay-all in report page (#115)
* feat: add a button for replay-all

* fix: refresh Player when switching cases
2024-10-14 10:59:08 +08:00
yuyutaotao
f9dc0f698e
feat(ai-model): merge ai planning and insight call to accelerate the aiAction (#97)
---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>

* feat(ai-model): optimize AI model for element inspection

* feat(ai-model): optimize AI model and add quick answer functionality

---------

Co-authored-by: yuyutaotao <167746126+yuyutaotao@users.noreply.github.com>

* feat(ai-model): implement quick answer functionality for element inspection

---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2024-10-12 12:09:25 +08:00
yuyutaotao
a903745151
feat: add replay panel for visualization (#96)
* feat: add replay panel

* feat: add subtitle to the replay widget

* fix: fit the mobile page

* feat: only show player in Planning

* feat: reorder the panel

* chore: optimize test list switch

---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2024-09-26 13:51:10 +08:00
yuyutaotao
704a0b8a52
feat(web-extract): extract some <div />s as container (#80) 2024-08-31 08:17:50 +08:00
yuyutaotao
9c5a7a123c
feat(report): optimize report content (#55)
Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2024-08-15 17:59:43 +08:00
yuyutaotao
59081e33e7
feat: correct the captitalization (#33)
* feat: correct the captitalization

* workflow(ci): fix lint error

---------

Co-authored-by: zhouxiao.shaw <zhouxiao.shaw@bytedance.com>
2024-08-05 11:03:32 +08:00
Zhou xiao
e1ae31ac17
workflow(ci): optimize biome lint (#31)
* workflow(ci): format code

* workflow(ci): format code

* workflow(ci): format code

* workflow(ci): format code

* workflow(ci): format code
2024-08-04 08:28:19 +08:00
yuyutaotao
ebc84849aa
feat: update docs (#25) 2024-08-02 16:05:53 +08:00
yuyutaotao
8ae566c781
update doc (#21)
* fix: page size

* feat: update quick start

* feat: update quick start

* feat: update quick start

* feat: update quick start
2024-08-02 10:11:29 +08:00
yuyutaotao
23752c2a95
doc: update API docs (#17)
* feat: puppeteer integration

* feat: export puppeteer agent

* fix: bug of insight visualizer

* feat: merge main

* feat: update docs, and some tiny bugfix

* feat: update showcase

* feat: update docs

* feat: add Chinese docs

* feat: update visualization tool

* feat: update part of the integration doc
2024-08-01 16:07:58 +08:00
Zhou xiao
855f7403a3
feat(report): supports playwright test report generation (#15)
* chore: collect playwright test data

* feat: init

* feat(visualizer-report): add visualizer-report project

* feat(visualizer-report): add visualizer-report project

* chore: add report test data

* chore: add report test data

* chore: optimize generate playwright test data

* chore: optimize report logic

* chore: optimize report logic

* chore: optimize report logic

* chore: optimize report logic

* chore: optimize report logic

* chore(cd): ignore unless code

* chore: modify test command

* chore: optimize sidebar content

* chore: optimize report logic
2024-07-28 17:24:09 +08:00
yuyutaotao
beeebba0fc
feat(web): export puppeteer integration (#11)
* feat: puppeteer integration

* feat: export puppeteer agent

* fix: bug of insight visualizer
2024-07-28 08:49:57 +08:00
yuyutaotao
b16b14f65e
Feat/rename env key (#9)
* feat: rename insight.find -> insight.locate

* feat: rename the env key for model name

* fix: ci
2024-07-25 13:40:46 +08:00
yuyutaotao
49cb1ac7a1
feat(web): playwright integration (#5)
* feat: use a resizable layout

* feat: update visualizer

* fix: resize bug

* feat: add .query for playwright integration

* fix: ts error
2024-07-25 10:47:02 +08:00
Zhou xiao
7aa233b49d
docs(visualization): Fixed svg rendering not working properly but visual pages not rendering (#3) 2024-07-24 10:32:27 +08:00
zhouxiao.shaw
fa50c3bdae feat: AI-driven browser and visualization 2024-07-23 16:25:11 +08:00