Commit Graph

39 Commits

Author SHA1 Message Date
𝑾𝒖𝒙𝒉
f7aa3ec692
chore: Update scripts/visual-regression/report-template.html (#51672) 2024-11-18 11:44:26 +08:00
𝑾𝒖𝒙𝒉
8f99da85ac
chore: Improve visual regression report (#51633) 2024-11-14 15:47:22 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 (#50690)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
afc163
2f64ecf7a8
test: enable codecov bundle analysis (#50384) 2024-08-13 13:32:17 +08:00
vagusX
05083493b0
chore: retry upload add delay (#50302) 2024-08-08 14:48:18 +08:00
vagusX
1ace7e22bf
test: fix test:visual-regression when moving imgs (#50253) 2024-08-05 20:10:01 +08:00
vagusX
cbdbed3013
test: set maxWorkers for test:visual-regression (#50219)
* test: set maxWorkers for test:visual-regression

* chore: print args

* chore: set max-workers to 4

* test: use move instead of copy

* chore: set max-workers to 2
2024-08-03 20:24:15 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color (#50050)
* refactor: support type update

* chore: update clear style

* chore: bump color picker

* chore: use slider

* chore: bump color picker

* chore: range slider

* chore: layout

* chore: useModeColor

* chore: simplify

* chore: bump color picker

* refactor: event

* chore: tmp lock check

* chore: of it

* chore: update ts def

* chore: update ts def

* chore: remove useless ts

* chore: linear

* chore: adjust style

* chore: rm useless code

* chore: fill color

* chore: basic linear

* chore: support toStr

* chore: limit minCount

* chore: use cache

* chore: drag support:

* chore: yes

* chore: update demo

* chore: useLayoutEffect instead

* chore: fix click to add point

* chore: add smmoth

* chore: support of locale

* chore: add locale

* chore: fix lint

* chore: adjust style

* chore: fix lint

* chore: fix style

* test: fix test case

* chore: fix popover

* test: fix test case

* chore: fix test

* test: clean up

* chore: fix lint

* chore: fix lint

* chore: fix lint

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* chore: fix docs

* docs: update demo desc

* chore: enhance hover range

* fix: delete not working

* chore: fix lint

* test: coverage

* test: coverage

* chore: clean up

* chore: adjust

* chore: highlight

* chore: adjust style

* chore: fix lint

* chore: update demo

* chore: memo perf

* refactor: up to down colors

* test: update snapshot
2024-07-29 16:38:50 +08:00
vagusX
6202187d6b
ci: we can skip a single file uploading error when uploading a folder… (#50108)
* ci: we can skip a single file uploading error when uploading a folder in scripts/visual-regression/upload.js

* chore: update
2024-07-27 16:58:27 +08:00
柚子
d540893dd0
type: remove type assertions (#49859)
* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* type: Remove type assertions

* fix: Correct CSS property order and media feature notation

---------

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>
2024-07-14 18:31:13 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors (#49536)
* chore: add boime lint

* fix lint

* use files ignore

* revert change

* ignore clarity.js

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* add yml file

* Update clarity.js

Signed-off-by: afc163 <afc163@gmail.com>

* add npm run lint:biome

* add npm run lint:biome

* fix test case

* fix ts errors

* fix ts errors

* fix lint and add .lintstagedrc

* shorten prop name

* chore: update package.json

* update biome.json

* chore: remove stylelint

* chore: useOptionalChain

* fix lint

* biome format

* prettier all code

* prettier all code

* fix site test

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
二货爱吃白萝卜
37e758cbd0
feat: Visual diff support approve progress (#48994)
* refactor: adjust failed build

* feat: approve check

* chore: checkbox accept

* chore: update check

* chore: clean up

* chore: typo
2024-05-20 19:55:59 +08:00
vagusX
7c23e51400
docs: fix wrong anchor for form#dependencies (#48570)
* docs: fix wrong anchor for form#dependencies

* test: update snapshot

* scripts: add new badcases to reporter

* scripts: added one

* scripts: copy new added imgs

* scripts: fix filename

* scripts: fix path

* scripts: fix src and dest
2024-04-23 15:50:48 +08:00
vagusX
b42ffe64f4
scripts(visual-regression): show target filename (#48444)
* scripts(visual-regression): show target filename

* feat: update

* feat: show filename

* feat: update
2024-04-15 14:40:10 +08:00
vagusX
0072587f14
scripts: fix tar esm issue (#48442)
* Update build.ts

Signed-off-by: vagusX <vagusxl@gmail.com>

* Update build.ts

Signed-off-by: vagusX <vagusxl@gmail.com>

---------

Signed-off-by: vagusX <vagusxl@gmail.com>
2024-04-14 11:09:47 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
lijianan
dfd0106994
site: rewrite inline-style => cssinjs (#48018) 2024-03-22 15:43:15 +08:00
叶枫
d1da5f7f8f
feat: preview image (#47930)
* feat: preview image

* feat: test

* feat: download false

* feat: review
2024-03-20 13:34:04 +08:00
MadCcc
dd3e1b2a2e
chore: fix snapshots upload (#47509) 2024-02-21 09:43:23 +08:00
003debe36d
chore: imrpove local visual regression report path (#47362) 2024-02-06 12:52:43 +08:00
二货爱吃白萝卜
c3c9cfd652
chore: fix diff report (#47349)
* chore: fix diff report

* Update scripts/visual-regression/build.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-02-05 21:08:36 +08:00
afc163
a12bea1834
test: improve Visual Regression UI (#47345) 2024-02-05 14:29:44 +08:00
afc163
2455128e73
test: improve Visual Regression UI (#47344) 2024-02-05 13:35:16 +08:00
vagusX
057e81f11d
scripts: set correct content-type when uploading image (#47263)
* scripts: set correct content-type when uploading image

* chore: update
2024-01-31 18:39:58 +08:00
vagusX
e7d4d65c0f
workflow: update upload.js with retry (#47018)
Signed-off-by: vagusX <vagusxl@gmail.com>
2024-01-18 14:05:46 +08:00
vagusX
46abe90272
test: improve image-diff resize (#46986)
* ci: enable splitTheme

* chore: remove blue border

* test: improve image-diff when size is different
2024-01-15 19:22:33 +08:00
二货爱吃白萝卜
eff720837c
test: Update image snapshot logic (#46529)
* test: mix snapshot

* test: clean up

* test: fix order

* test: fix test logic

* test: fix reset

* test: refactor code

* test: clean fetch

* chore: lint

* test: clean up

* test: delay check

* chore: refactor fetch

* docs: update diff html

* test: add ssr support

* chore: part use ssr

* chore: update style

* chore: slice of it

* docs: fix cut
2023-12-21 10:30:08 +08:00
vagusX
c920c9df07
ci: fix failed comment stage for visual-diff (#46510) 2023-12-18 17:10:22 +08:00
vagusX
61a14d6a1e
ci: exit with 1 when bad cases existing (#46503) 2023-12-18 14:25:40 +08:00
vagusX
43563cff8b fix: types 2023-12-15 21:24:20 +08:00
vagusX
053b957f03 scripts: support run visual-regression diff locally 2023-12-15 21:06:40 +08:00
vagusX
984527f04f
ci: fix-wrong-arg-name (#46453) 2023-12-14 17:41:57 +08:00
vagusX
80ceeb6f2c
ci: feature compare to feature (#46451) 2023-12-14 17:02:31 +08:00
vagusX
7f6008f4e1
ci: view full visual-regression report in a new tab (#46444) 2023-12-14 12:03:37 +08:00
叶枫
a3ec2936a5
styles: report add top styles (#46433) 2023-12-13 20:42:55 +08:00
vagusX
b2fb234655
ci: compare css-var and css-in-js to the same css-in-js png in master (#46416) 2023-12-13 12:42:24 +08:00
vagusX
ca93a6f2e9
ci: fix visual-diff report charset issue in html (#46380) 2023-12-11 17:37:07 +08:00
vagusX
578664a911
ci: fix visual-regression-upload.js position (#46363) 2023-12-10 13:13:36 +08:00
vagusX
8d7e0bc922
feat: new visual regression implements (#46127) 2023-12-09 21:49:47 +08:00