🎉 Cap stop amount in UI for wasm (#6438)

* 🎉 Cap in the colorpicker the amount of stops a gradient can have

* 🎉 Cap the stops amount in gradient handlers

* 🎉 Disable add stop in gradient handlers (viewport + colorpicker)

*  Add integration test for gradient limits

* 💄 Address PR suggestion
This commit is contained in:
Belén Albeza 2025-05-13 10:37:05 +02:00 committed by GitHub
parent 69cc4fb4c2
commit 91fbe8f8ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 438 additions and 102 deletions

View file

@ -49,6 +49,12 @@ export class WorkspacePage extends BaseWebSocketPage {
"get-profiles-for-file-comments?file-id=*",
"workspace/get-profile-for-file-comments.json",
);
await BaseWebSocketPage.mockRPC(
page,
"update-profile-props",
"workspace/update-profile-empty.json",
);
}
static anyTeamId = "c7ce0794-0992-8105-8004-38e630f7920a";