Commit graph

1,661 commits

Author SHA1 Message Date
Xon
dbb3aaf6fa Adjust caching checks 2024-08-17 21:21:42 +08:00
Xon
136411eb67 Adjust caching checks 2024-08-17 21:18:46 +08:00
Xon
4297f0a638 Adjust caching checks 2024-08-17 21:16:44 +08:00
Xon
e72284fd0d Adjust timeouts 2024-08-17 21:12:36 +08:00
Xon
4380e442e4 Fix extracting playright version 2024-08-17 21:10:02 +08:00
Xon
545d880e2c Fix wrong key for caching playwright data & reduce e2e test log spam 2024-08-17 21:07:32 +08:00
Xon
9a13075234 Run e2e tests on local host and not a fixed ipv4 2024-08-17 21:00:39 +08:00
Xon
1803822061 Compile JS files 2024-08-17 20:54:46 +08:00
Xon
d77d83694c Correctly setup templates 2024-08-17 20:53:48 +08:00
Xon
2f74d5ec52 Move code around to remind the reduce dependencies between templates.ts and choices.ts. Fix overriding some notice templates didn't work 2024-08-17 20:48:46 +08:00
Xon
687895f54c Fix unit tests no supplying the template renderer with the context they are expecting 2024-08-17 20:43:14 +08:00
Xon
fc6f905432 JSDOM support 'ch' character widths 2024-08-17 20:27:52 +08:00
Xon
2ef3d9f215 Add aria-label as required from the label[for] which points at an element. A config.labelId overrides this 2024-08-17 20:12:40 +08:00
Xon
fc3a78cf05 Fix incorrect label[for] attributes in tests 2024-08-17 19:49:30 +08:00
Xon
f2afdbb69f Fix test:e2e/test:e2e:all not starting the webserver 2024-08-17 19:19:16 +08:00
Xon
6733bfc1b8 Fix unit tests 2024-08-17 19:11:49 +08:00
Xon
93c39e9646 Disable large set of tests, and increase workers since workers ahve 2 cores 2024-08-17 19:08:07 +08:00
Xon
6b8af9b86b Update playwright test name 2024-08-17 19:01:45 +08:00
Xon
b0568d3d1b Compile JS files 2024-08-17 18:55:18 +08:00
Xon
20509c012d Fix coverage report 2024-08-17 18:54:00 +08:00
Xon
84212c97bc Do not remove aria-haspopup/aria-expanded for select mode when disabling choices 2024-08-17 18:47:41 +08:00
Xon
68513e7802 Improve aria/roles tagging for text elements. Improves aria lighthouse score #1169 2024-08-17 18:36:26 +08:00
Xon
635453a66a Do not add role="option" in text mode 2024-08-17 18:10:37 +08:00
Xon
f048531ebe More aggressively adjust aria elements when the choices object is disabled. Improves aria lighthouse score #1169 2024-08-17 17:57:41 +08:00
Xon
591d5f47a7 Minor byte shaving 2024-08-17 17:50:19 +08:00
Xon
f746d359b7 Darken color used on white backgrouns 2024-08-17 17:14:13 +08:00
Xon
99b4ebbf58 Improve contrast on default CSS by darkening primary item selection color #924 2024-08-17 17:11:08 +08:00
Xon
d70ced067c Adjust test pages for better lighthouse accessibility score 2024-08-17 17:01:06 +08:00
Xon
d744e4bb60 Restore select-multiple test file 2024-08-17 16:59:03 +08:00
Xon
5f7ff0d3bb Add role="option" for custom template examples #1169 2024-08-17 16:45:14 +08:00
Xon
5eb8680883 Fix [aria-*] attributes do not match their roles #1169 2024-08-17 07:03:04 +08:00
Xon
573a669d3f Compile JS files 2024-08-17 02:25:45 +08:00
Xon
9a23be17f3 Switch from string literal type to effectively valueOf<NoticeTypes> to intern strings 2024-08-17 02:19:23 +08:00
Xon
362d0e5ffc Switch from string literal type to effectively valueOf<NoticeTypes> to intern strings 2024-08-17 02:10:54 +08:00
Xon
f59bc946a6 Improve handling when no choices might be in the dropdown 2024-08-17 02:00:44 +08:00
Xon
b0263c13ab Items being added/removed are also changing the selection flags. 2024-08-17 01:23:36 +08:00
Xon
302b84dfe2 Move to using parameterized projects for bundle variation testing, works with tooling better 2024-08-17 00:51:50 +08:00
Xon
241e456fe2 Move vitest.config.ts to default location for better tooling compatibility 2024-08-17 00:49:21 +08:00
Xon
9cb71d6b6b Update vitest to run project tests not everything looking like a test 2024-08-17 00:42:03 +08:00
Xon
df9251dadb Setup tests to use node.js type information 2024-08-16 23:54:06 +08:00
Xon
a628ccbd4d Compile js files 2024-08-16 19:57:28 +08:00
Xon
2de66b77da Merge branch 'v11.0.x' 2024-08-16 19:55:38 +08:00
Xon
1e9d0dbf91 Compile js files 2024-08-16 19:55:08 +08:00
Xon
0f9e6bc501 Update unit tests 2024-08-16 19:38:43 +08:00
Xon
f305960d72 Rename e2e test folder so it sorts after the unit tests 2024-08-16 19:36:43 +08:00
Xon
0a15dcbcfb Byte shaving notice code 2024-08-16 19:34:05 +08:00
Xon
d692f2ba38 Byte shaving by de-duping notice/string config function handling 2024-08-16 19:18:07 +08:00
Xon
038e987e99 Ignore byte shaving from git blame 2024-08-16 18:37:18 +08:00
Xon
e9382df0ae Byte shaving by conditionally hoisting variables 2024-08-16 18:36:15 +08:00
Xon
b1a782a410 Update documentation 2024-08-16 17:58:49 +08:00