Commit Graph
5 Commits
Author SHA1 Message Date
SHAIK KHADEER BASHA e1a1af0226 Label each variable anchor and offset for screen readers (#2395)
Follow-up to #2393. In each `text-variable-anchor-offset` row, the
anchor dropdown and both offset fields shared the property name as their
accessible label, so a screen reader announced the same name for every
control in every row. Each control's label now adds its row and what it
edits to the property label, for example "… row 2 X offset".

The labels go through `t()` like the other strings in the component. I
didn't add them to `src/locales/*`; they fall back to English until
translated.

There's no visual change; only the `aria-label` attributes differ.

**Performance:** none. Only the label strings change.

## Launch Checklist

 - [x] Briefly describe the changes in this PR.
 - [x] Link to related issues: follow-up to #2393.
- [x] Include before/after visuals or gifs if this PR includes visual
changes: no visual change.
- [x] Write tests for all new functionality: an e2e test in
`layers-list.spec.ts` that adds a second row and checks the anchor, X
offset and Y offset labels. It fails on `main`.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

Tested locally: `npm run lint` clean, `npx tsc --noEmit` clean, `npx
vitest run` (57 passed) and `npx playwright test
e2e/layers-list.spec.ts` (48 passed). The new test fails when I run it
against `main`. I didn't run the full e2e suite locally (it times out on
Windows with several workers); it passes in CI on this PR.

Assisted-By: Claude Opus 5.5 (Claude Code). It helped write the change,
the test and this description. I've reviewed and tested the change and
can answer questions about it.
2026-12-04 10:23:15 +02:00
f14eeae38b Increase coverage (#1997)
## Launch Checklist

This PR increases coverage by adding unit tests to lib folde, replace
the skipped end to end placeholder with actual tests and adds more end
to end tests.

This was mostly done by AI (Claude opus 4.8) and I reviewed it and
requested changes where needed.

 - [x] Briefly describe the changes in this PR.
 - [x] Link to related issues.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [x] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-12 15:46:30 +03:00
2e0b7cdb8c Replace cypress with playwright (#1988)
## Launch Checklist

This PR replaces cypress with playwright.
<img width="1907" height="933" alt="image"
src="https://github.com/user-attachments/assets/b52075b3-eb3b-45dc-93dc-8c5e9cfd35dd"
/>

I hope this will make the end-to-end debugging and fixing easier due to
the async await support of playwright which is missing in cypress.

This is a pure refactoring change.

 - [x] Briefly describe the changes in this PR.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-10 18:18:48 +00:00
Bart Louwers b2fa703ceb Update AGENTS.md (#1278) 2025-07-10 07:07:00 +03:00
Bart Louwers 244dbfb194 Add AGENTS.md (#1264)
This file is read by LLM agents when working on the codebase:
https://agentsmd.net/

With this file you don't need to copy paste these instructions in every
prompt.
2025-07-05 12:53:14 +02:00