129 Commits

Author SHA1 Message Date
Andrey Antukh
1a59017e1c
🐛 Ignore posthog exceptions in unhandled exception handler (#8629)
PostHog recorder throws errors like 'Cannot assign to read only property
'assert' of object' which are unrelated to the application and should be
ignored to prevent noise in error reporting.
2026-03-17 18:41:06 +01:00
Andrey Antukh
ab4e195cca
✨ Add protection for stale cache of js assets loading issues (#8638)
* ✨ Use update-when for update dashboard state

This make updates more consistent and reduces possible eventual
consistency issues in out of order events execution.

* 🐛 Detect stale JS modules at boot and force reload

When the browser serves cached JS files from a previous deployment
alongside a fresh index.html, code-split modules reference keyword
constants that do not exist in the stale shared.js, causing TypeError
crashes.

This adds a compile-time version tag (via goog-define / closure-defines)
that is baked into the JS bundle. At boot, it is compared against the
runtime version tag from index.html (which is always fresh due to
no-cache headers). If they differ, the app forces a hard page reload
before initializing, ensuring all JS modules come from the same build.

* 📎 Ensure consistent version across builds on github e2e test workflow

---------

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-17 15:04:06 +01:00
Andrey Antukh
2d5392327e 🐛 Add minor improvements on wasm-render error handling 2026-03-17 10:58:43 +01:00
Andrey Antukh
cf94b56154 Merge remote-tracking branch 'origin/staging' into develop 2026-03-13 11:41:56 +01:00
Andrey Antukh
80d165ed5b 🐛 Fix unhandled AbortError in HTTP fetch requests
Identify and silence "signal is aborted without reason" errors by:
- Providing an explicit reason to AbortController when subscriptions are disposed.
- Updating the global error handler to ignore AbortError exceptions.
- Ensuring unhandled rejections use the ignorable exception filter.

The root cause was RxJS disposal calling .abort() without a reason, combined
with the on-unhandled-rejection handler missing the ignorable error filter.

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-12 13:31:58 +01:00
Andrey Antukh
ade0b6b07b 🐛 Fix issues introduced on merge from staging 2026-03-11 16:07:35 +01:00
Andrey Antukh
0708b0f334 Merge remote-tracking branch 'origin/staging' into staging-render 2026-03-11 15:45:55 +01:00
Andrey Antukh
db9e9f4832 🐛 Ignore browser extension errors in unhandled exception handler
Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-10 19:30:01 +01:00
Elena Torro
d948761090 🐛 Fix WebGL context lost error to raise an exception and show the exception page 2026-03-09 17:05:10 +01:00
Belén Albeza
2ace44c9e5 ✨ Create wasm_error macro to handle Wasm errors differentiating critical vs recoverable 2026-03-09 07:22:32 +01:00
Andrey Antukh
a4351d133b
✨ Add minor improvements to error reporting (#8402) 2026-03-04 09:12:19 +01:00
Andrey Antukh
d80ba1856a
✨ Add several improvements to frontend error reporting
* ✨ Add major improvement on error handling

* ✨ Add the ability to store frontend reports

* 📎 Add PR feedback changes
2026-02-04 12:45:38 +01:00
Andrey Antukh
61969f3eb5 ✨ Improve unhandled exception handling 2026-01-27 13:46:51 +01:00
alonso.torres
0a01fc8af9 🐛 Fix problem with selection and text shapes for new render 2025-11-18 09:34:17 +01:00
Andrey Antukh
fbbee98c3d ✨ Add proper backend integration of for new feedback form 2025-10-17 09:40:27 +02:00
María Valderrama
699cc147b5 🐛 Fix typos 2025-09-03 11:20:12 +02:00
Laurie Crean
0b47a366ab ✨ Implement version locking functionality for file snapshots
Signed-off-by: Laurie Crean <lmcrean@gmail.com>
2025-08-01 11:41:30 +02:00
Andrey Antukh
1f05511add ✨ Allow login dialog on settings 2025-07-21 11:40:30 +02:00
Miguel de Benito Delgado
6319ed78f9
🌐 Add missing translation strings for error messages (#6519)
* 🌐 Add i18n strings for some error messages

* 🌐 Add fr, de, es translations for some error messages
2025-05-21 11:17:53 +02:00
Pablo Alba
f375cc9a82 ✨ Add check to avoid open files with components v1 2025-04-04 11:08:30 +02:00
Andrey Antukh
3e090b126e ♻️ Refactor application routing
Mainly removes an inconsistent use of path params and normalize
all routes to use query params for make it extensible without
breaking urls.
2024-12-03 18:23:41 +01:00
Andrey Antukh
b17d7c0289 ♻️ Refactor dashboard bootstrap 2024-12-03 11:55:31 +01:00
alonso.torres
ecb7f0a2f6 ✨ File history versions management 2024-10-29 14:23:35 +01:00
Andrey Antukh
b82c6326cf ✨ Add better error reporting on changes validation 2024-09-18 12:15:12 +02:00
Andrey Antukh
a091c9c910 ♻️ Refactor how UI error reporting is handled 2024-08-23 11:21:54 +02:00
Pablo Alba
6169f5c2e8 🎉 New oops page with login and request access 2024-08-14 15:32:04 +02:00
Andrey Antukh
aa39de4ea8 🐛 Fix incorrect params for notifications 2024-08-13 11:04:26 +02:00
Andrey Antukh
f187012469 ♻️ Refactor naming and location of flash notifications 2024-08-07 15:04:52 +02:00
Eva Marco
9645ffba40 🐛 Fix upload image alert message 2024-03-01 16:32:31 +01:00
Andrey Antukh
3212ed9bd1 🐛 Fix incorrect value passed on unhandled error 2024-02-14 17:33:34 +01:00
Andrey Antukh
f62d2085e8 ✨ Add the ability to download a report on internal error page 2024-02-12 15:37:29 +01:00
Andrey Antukh
528f0b4f60 💄 Add cosmetic improvements on static page components 2024-02-12 14:55:42 +01:00
Andrey Antukh
96f5a33f5f ⬆️ Upgrade to beicon2 (part1) 2023-12-26 14:14:20 +01:00
Andrey Antukh
afa735a9c1 ✨ Add protection for version inconsistency on opening or editing file 2023-12-11 17:14:20 +01:00
Andrey Antukh
2295d085d3 ⚡ Improve performance on error formating and reporting 2023-11-27 14:25:12 +01:00
Andrey Antukh
783e0470be ✨ Add general improvements to copy paste
Cleaning code and adding more safety checks
2023-11-23 17:19:37 +01:00
Andrey Antukh
973214ea50 ✨ Add proper error reporting on debug.validare fn 2023-11-20 11:21:13 +01:00
Andrey Antukh
c022b71b59 ✨ Add better error reporting on template clone operation 2023-11-15 14:01:34 +01:00
Andrey Antukh
3c64955b93 ✨ Add efficiency improvements to backend error reporting 2023-11-13 18:33:28 +01:00
Andrey Antukh
6f93b41920 🎉 Add features assignation for teams 2023-11-07 12:48:31 +01:00
Andrey Antukh
bec09fb5d1 ✨ Improve connection errors handling on workspace save operation 2023-07-25 12:52:47 +02:00
Andrey Antukh
7a837110f0 ✨ Add proper on-accept callback on features related restriction error
Which redirects user to the dashboard if the team-id and project-id
is available in stante; if not just flushes hard refresh
2023-07-10 12:44:07 +02:00
Andrey Antukh
0817c4e140 ✨ Print js trace on exceptional state error is raised 2023-07-06 12:29:33 +02:00
Andrey Antukh
5ca3d01ea1 🎉 Add malli based validation and coersion subsystem 2023-05-17 16:05:29 +02:00
Alejandro
b1d99232a9
Merge pull request #2718 from penpot/niwinz-bugfixes
🐛 Bugfixes
2023-01-02 09:23:39 +01:00
Andrey Antukh
73a3e0c0ae 🎉 Add usage quotes 2022-12-31 11:22:36 +01:00
Andrey Antukh
7a8b0e710b ✨ Improve trace reporting on unhandled exception 2022-12-31 11:11:17 +01:00
Andrey Antukh
76333cec26 🎉 Integrate storage/pointer-map file feature 2022-11-08 13:02:14 +01:00
Andrey Antukh
41134f22e9 📎 Update license header 2022-09-20 23:23:22 +02:00
Andrey Antukh
a1fccd46ff ✨ Improve public-uri handling
This enables use penpot under subdirectory
2022-09-05 09:41:19 +02:00