Andrey Antukh
f7e1bcf87f
🐛 Handle plugin errors gracefully without crashing the UI ( #8810 )
...
* 🐛 Handle plugin errors gracefully without crashing the UI
Plugin errors (like 'Set is not a constructor') were propagating to the
global error handler and showing the exception page. This fix:
- Uses a WeakMap to track plugin errors (works in SES hardened environment)
- Wraps setTimeout/setInterval handlers to mark errors and re-throw them
- Frontend global handler checks isPluginError and logs to console
Plugin errors are now logged to console with 'Plugin Error' prefix but
don't crash the main application or show the exception page.
Signed-off-by: AI Agent <agent@penpot.app >
* ✨ Improved handling of plugin errors on initialization
* ✨ Fix test and linter
---------
Signed-off-by: AI Agent <agent@penpot.app >
Co-authored-by: alonso.torres <alonso.torres@kaleidos.net >
2026-04-01 11:37:27 +02:00
Andrés Moya
8e2a52af50
💄 Change function names
2026-03-18 15:30:04 +01:00
David Barragán Merino
3eabbffb0e
🔧 Change the assets dir to fix deployment with Wrangler
2026-03-12 19:50:46 +01:00
Andrey Antukh
87488f4a98
✨ Make the rename-layers-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
f6259708ca
✨ Make the create-palette-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
1229c2a5e5
✨ Make the constrast-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
4a6e6fce5b
✨ Make the lorem-ipsum-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
b8c319aa61
✨ Make the poc-tokens-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
2d0058ef3b
✨ Make the poc-state-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
d14e3a9914
✨ Make the colors-to-tokens-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
eebe90b2cd
✨ Make the table-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
9fb6a3ab0e
✨ Make the icons-plugin work correctly on subpath
2026-03-12 19:07:44 +01:00
Andrey Antukh
207bc795c0
✨ Add minor changes on plugins examples-style
2026-03-12 19:07:44 +01:00
Andrés Moya
c72e9ee1a0
🐛 Convert token values for the plugins
2026-02-25 14:04:20 +01:00
Andrés Moya
72a855d4ac
🐛 Fix activeSets in themes API
2026-02-25 14:04:20 +01:00
Andrés Moya
643cd6f61f
🐛 Add resolved value to tokens in plugins API ( #8372 )
2026-02-17 09:20:04 +01:00
David Barragán Merino
fe833c9e34
🔧 Disable observability for plugin docs and packages
...
This reverts commit a4f2641cc9 .
2026-02-13 13:55:13 +01:00
Juanfran
449aa65f8d
🐛 Fix e2e tests for plugins
2026-02-13 13:17:08 +01:00
Andrey Antukh
bd7f4dca3a
🐛 Fix rpc methods on plugins e2e tests
2026-02-13 13:17:08 +01:00
Andrey Antukh
1e7bef081a
✨ Allow self-signed certs on plugins e2e browser setup
2026-02-13 13:17:08 +01:00
Andrey Antukh
12bc3ac9ed
✨ Update default cors headers
2026-02-13 13:17:08 +01:00
Andrés Moya
11eedd0368
🐛 Patch alternative ways of applying tokens to shapes
2026-02-12 16:01:55 +01:00
Juanfran
394d597736
✨ Add enhacements to plugins build mechanism ( #8326 )
...
* 🐛 Fix plugin code build
* 🔧 Update editor.defaultFormatter to new Prettier
* 🐛 Fix lint issues in create-palette-plugin
* 🐛 Add missing run in pnpm init script for plugins
2026-02-11 15:28:33 +01:00
Andrés Moya
41f29767db
🐛 Fix configuration of poc-tokens-plugin ( #8314 )
...
* 🐛 Fix configuration of poc-tokens-plugin
* 📎 Add missing changes on poc-tokens-pligin tsconfig
---------
Co-authored-by: Andrey Antukh <niwi@niwi.nz >
2026-02-10 15:18:11 +01:00
Juanfran
96b682aa12
♻️ Remove Nx and rely on pnpm monorepo features
2026-02-10 08:29:24 +01:00
Juanfran
07055b53d1
⬆️ Update plugins dependencies
2026-02-10 08:29:24 +01:00
Andrés Moya
5b5f22a8c6
🎉 Add tokens to Penpot Plugins API ( #7756 )
...
* 🎉 Add tokens to plugins API documentation
And add poc plugin example
* 📚 Document better the tokens value in plugins API
* 🔧 Refactor token validation schemas
* 🔧 Use automatic validation in token proxies
* 🔧 Use schemas to validate token creation
* 🔧 Use multi schema for token value
* 🔧 Use schema in token api methods
* 🐛 Fix review comments
---------
Co-authored-by: Andrey Antukh <niwi@niwi.nz >
2026-02-09 14:18:31 +01:00
David Barragán Merino
a4f2641cc9
🔧 Enable observability for plugin docs and packages
2026-02-06 18:01:11 +01:00
David Barragán Merino
a90f672a5e
🔧 Fix CORS error
2026-01-28 13:30:08 +01:00
David Barragán Merino
d433fd25c1
🔧 Run all the jobs if the workflow is launched manually
2026-01-26 17:12:58 +01:00
David Barragán Merino
f0d9429775
🔧 Rename wrangle to wrangler
2026-01-26 09:37:33 +01:00
David Barragán Merino
058c20c2e2
🔧 Add deploy plugin packages workflow placeholder and wrangle config files
2026-01-23 20:39:39 +01:00
Andrey Antukh
d20c011db2
✨ Migrate plugins to pnpm
2025-12-30 14:56:15 +01:00
Andrey Antukh
ec1af4ad96
🎉 Import penpot-plugins repository
...
As commit 819a549e4928d2b1fa98e52bee82d59aec0f70d8
2025-12-30 14:56:15 +01:00