google-labs-jules[bot] and PR0M3TH3AN
16de3802ab
[security] replace innerHTML usages in js/ui/subscriptionHistoryController.js
...
- Migrated 6 out of 7 innerHTML assignments to safe DOM APIs (createElement, textContent, replaceChildren).
- Reduced innerHTML baseline for the file from 7 to 1.
- Updated scripts/check-innerhtml.mjs baseline.
- Verified with lint, unit tests, and frontend verification.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-16 18:51:44 +00:00
google-labs-jules[bot] and PR0M3TH3AN
df62585106
perf: enable lazy loading for avatars and thumbnails
...
Added `loading="lazy"` and `decoding="async"` attributes to dynamically created `<img>` elements in:
- `js/historyView.js` (avatars)
- `js/ui/subscriptionHistoryController.js` (channel icons)
- `js/searchView.js` (added `decoding="async"`)
- `js/ui/profileModal/ProfileDirectMessageRenderer.js` (attachment previews, avatars)
- `js/ui/profileModalController.js` (attachment previews, saved profile avatars)
This reduces initial page load impact and bandwidth usage by deferring off-screen image loading.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-12 16:56:06 +00:00
google-labs-jules[bot] and PR0M3TH3AN
a50e5c861a
Add subscription history and backup/restore functionality
...
- Added `SUBSCRIPTION_BACKUP` note type schema
- Implemented `createBackup`, `fetchHistory`, `restoreBackup`, `rebroadcastBackup` in `SubscriptionsManager`
- Added Subscription History UI modal with list/details view
- Integrated History/Backup buttons into Profile Modal Subscriptions pane
- Fixed XSS vulnerability in history details view
- Added profile fetching for history details
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-02 03:05:13 +00:00