Rye
c92c8181e8
refactor: streamline sendFeedback utility and add ShareE2EEHistory command
2026-03-16 15:45:39 +01:00
Rye
2db0ac0148
extracted sendFeedback utility for user notifications in rooms
2026-03-16 15:40:22 +01:00
Evie Gauthier
d1ead2937a
Merge pull request #295 from SableClient/feat/encrypted-push
...
feat(push): encrypted push notifications via event_id_only and decryption relay
2026-03-16 14:35:25 +00:00
hazre
3c40ad77f3
chore: merge dev into fix/better-ux-voice-messages
2026-03-16 15:19:49 +01:00
hazre
7e76985ebd
fix: more polish on voice messages
2026-03-16 15:16:20 +01:00
hazre
bf6d7ce4a6
fix: a lot more polish on voice messages
2026-03-16 15:16:20 +01:00
Evie Gauthier
05e1d810a9
feat(push): instrument decryption relay with debugLogger for Sentry forwarding
2026-03-16 10:16:17 -04:00
hazre
0b9c6879c9
fix: improve ux on voice memos
2026-03-16 15:15:56 +01:00
Evie Gauthier
fd9a1fa526
fix(push): resolve room/sender names; suppress notification when app is visible
2026-03-16 09:50:42 -04:00
Evie Gauthier
a96e0e90b5
fix(push): persist session to Cache Storage so iOS SW restart survives
2026-03-16 09:29:32 -04:00
Rye
166c8f4835
fix file extension mapping
2026-03-16 14:10:56 +01:00
Evie Gauthier
042d441046
chore: add changeset for encrypted push
2026-03-16 09:09:10 -04:00
Evie Gauthier
293ab69a40
fix(push): resolve lint and type errors in encrypted push implementation
2026-03-16 09:08:50 -04:00
Rye
9ecfb84dd1
fixes for iOS (hopefully)
2026-03-16 14:03:05 +01:00
Evie Gauthier
597d00d59b
feat(push): encrypted push notifications via event_id_only and decryption relay
2026-03-16 09:01:08 -04:00
melogale
643ace6f60
update sable call
2026-03-16 02:37:21 -04:00
Shea Duma
55d92c6610
making formatter happy 😄
2026-03-16 08:16:45 +02:00
Shea Duma
75c128831f
overspecified the width of the texteditor to make sure it doesnt shrink for no reason
2026-03-16 07:38:14 +02:00
melogale
b88d77329e
changeset
2026-03-16 01:01:41 -04:00
melogale
a11179862f
1.1.2 sable call!
2026-03-16 00:57:00 -04:00
Evie Gauthier
31bee68006
feat(sentry): opt-in consent model with first-login banner
...
- Flip Sentry from opt-out to opt-in: enabled only when sable_sentry_enabled === 'true'
- Add TelemetryConsentBanner: fixed bottom slide-up banner shown once on first login
- 'Enable crash reports' reloads page so Sentry initialises immediately
- 'No thanks' / dismiss X sets sable_sentry_enabled=false, no repeat prompts
- Only shown when VITE_SENTRY_DSN is configured (self-hosters unaffected)
- Update DiagnosticsAndPrivacy toggle: enable path now sets 'true' instead of removeItem
- Update SentrySettings dev panel to match new opt-in read logic
2026-03-16 00:25:39 -04:00
melogale
56d3918db1
fix calls!
2026-03-16 00:15:25 -04:00
Evie Gauthier
d13ba920b9
Update Sentry integration links in PRIVACY.md
2026-03-16 00:00:31 -04:00
Evie Gauthier
9d0851856a
fix: trigger scroll after stay-at-bottom range expansion from subscription batch
...
The scroll queued at TimelineReset fires when range.end=0 (SDK fires Reset
before populating the fresh timeline), so the DOM is empty and the scroll
is a no-op. The stay-at-bottom effect then correctly expands the range but
never re-queues a scroll, leaving the user at the wrong position.
Fix: increment scrollToBottomRef.count in the stay-at-bottom effect before
calling setTimeline. The next render sees the new count, the useLayoutEffect
fires, and scroll-to-bottom runs against the now-populated DOM.
Also adds monitoring:
- Sentry breadcrumb (ui.scroll) recording each range expansion + scroll,
with rangeGap, eventsLength, and wasReset fields for Replay analysis.
- slidingSync onFirstRoomData now records the live-timeline event count at
subscription activation time as a Sentry metric and breadcrumb, making
the list-to-subscription page size visible in dashboards.
2026-03-15 23:56:29 -04:00
Evie Gauthier
d57ebdd4a3
feat(sentry): detailed timeline and scroll instrumentation, sync batch monitoring, and anomaly detection
...
RoomTimeline.tsx:
- atBottom transition breadcrumbs (ui.scroll) with rapid-flip detection:
true→false within 200ms captures warning (IntersectionObserver false-positive)
- Virtual paginator window shift breadcrumbs (ui.timeline)
- scroll-to-bottom trigger breadcrumb; captures warning when fired while
user is scrolled up without a pending reset
- eventsLength batch monitoring: breadcrumb on every batch with delta,
batchSize label (single/small/medium/large), rangeGap, atBottom
- Large batch warning (>50 events, liveTimelineLinked=true) for sliding
sync adaptive load detection
slidingSync.ts / initMatrix.ts:
- sync.sliding breadcrumb in onFirstRoomData with latency + event count
- sable.sync.room_sub_event_count distribution metric
Message interaction metrics (IncomingCallModal, MessageDelete, MessageForward,
MessageReport, RoomTimeline reaction handler):
- sable.call.answered/declined, sable.message.delete/forward/report/reaction.*
2026-03-15 23:40:58 -04:00
Evie Gauthier
4e539b91ca
feat(sentry): comprehensive data scrubbing, settings UI, and privacy policy
...
Before-send scrubbing in instrument.ts covers:
- Matrix user IDs (@user:server → @[USER_ID])
- Room IDs (!room:server → ![ROOM_ID])
- Event IDs ($event → $[EVENT_ID])
- Percent-encoded sigils (%40, %21, %24, %23)
- Hybrid-encoded forms (decoded sigil + %3A colon)
- Tokens, credentials, and query params (access_token, next_batch, etc.)
- All span data string values (not just http.url)
- Profile URLs, key backup paths, media paths in span data
- preview_url query params and exception values
- 'none' sentinel for unset room tags
Privacy policy added to docs/PRIVACY.md (linked from General settings).
DiagnosticsAndPrivacy component added to General settings with error
reporting and session replay toggles.
TS2367 redundant phase guard removed from useCallSignaling.ts.
2026-03-15 23:40:58 -04:00
Evie Gauthier
36c4e0591b
feat: add Sentry→GitHub Issues triage for PR preview builds
...
- Tag all Sentry events with PR number via VITE_SENTRY_PR env var
(instrument.ts: setTag('pr', prNumber) on global scope)
- cloudflare-web-preview.yml: inject Sentry DSN, environment=preview,
PR number, and source-map secrets into build env for PR runs
- New workflow sentry-preview-issues.yml: on every PR push, query Sentry
for unresolved issues tagged with the PR number and environment=preview;
create a GitHub issue per unique error (deduplicated by sentry-id marker),
labelled 'sentry-preview' + 'pr-{N}'; maintain a sticky PR comment
with a summary table; reopen closed issues on regression
- Labels allow filtering: -label:sentry-preview hides all automated issues
2026-03-15 23:40:58 -04:00
Evie Gauthier
3ce9e54145
feat(sentry): initialize SDK, performance instrumentation, developer settings, and error capture
...
Adds Sentry error tracking, performance monitoring, and session replay:
- Environment-based sampling: production 10%, preview/dev 100%
- Session replay with full privacy masking (text, media, inputs)
- Hashed MXID as anonymous user ID with homeserver tag
- Error rate limiting (50 events/session) to protect quota
Performance spans and metrics across all critical paths: auth login,
message send, timeline jump-load, per-event decryption, sliding sync
cycles, key backup, store wipe, UTD failures, sync degradation,
background notification clients, media uploads.
Developer settings panel (Settings → General → Diagnostics & Privacy):
error reporting toggle, session replay opt-in, breadcrumb category
controls, debug log export.
Crash page shows Sentry event ID with one-click feedback dialog.
Bug report modal sends structured reports to Sentry feedback API
with optional debug log attachment.
CI: Sentry env vars injected into preview (100% sampling) and
production (10% sampling) builds. Source maps uploaded via
@sentry/vite-plugin.
2026-03-15 23:40:58 -04:00
melogale
b06e177449
merge
2026-03-15 22:42:21 -04:00
Shea Duma
5dd2fd72ce
unstupidified spoiler pill code
2026-03-16 01:47:51 +02:00
melogale
91a08c4a44
old
2026-03-15 19:40:23 -04:00
Shea Duma
0db649b22f
put the titles in the right places 😭
2026-03-16 01:36:38 +02:00
Shea Duma
4a62139026
added titles to the hover option
2026-03-16 01:33:55 +02:00
Evie Gauthier
621f402ede
Merge pull request #288 from SableClient/fix/thread-fallback-reply-spec
...
fix: set m.in_reply_to fallback to latest thread event per spec
2026-03-15 18:58:07 +00:00
Evie Gauthier
c3cc02103c
Merge pull request #289 from SableClient/fix/direct-tab-double-badge
...
fix(direct): prevent double-badge on /direct/ icon for rooms in sidebar
2026-03-15 18:56:22 +00:00
Evie Gauthier
f8bb692093
chore: fix import order and add changeset
2026-03-15 14:54:46 -04:00
Evie Gauthier
0f7e6497e4
fix(direct): prevent double-badge on /direct/ icon for rooms in sidebar
...
The /direct/ icon badge was counting unread for all DMs, including
those already displayed as individual avatar entries in the sidebar
via DirectDMsList. This caused users to see duplicate badges — one
on the avatar entry and one on the /direct/ icon — for the same room.
Extract useSidebarDirectRoomIds hook (shared by DirectDMsList and
DirectTab) that returns the room IDs currently shown as sidebar
avatars. DirectTab now computes its badge only for DMs that overflow
beyond the MAX_SIDEBAR_DMS (3) limit shown in the sidebar.
Closes #235
2026-03-15 14:47:43 -04:00
Evie Gauthier
6a36f5dc1c
fix: resolve string | undefined type error for thread event_id
2026-03-15 14:03:34 -04:00
Evie Gauthier
df8e5e0cc7
style: fix prettier formatting in RoomInput
2026-03-15 13:58:13 -04:00
Evie Gauthier
b74cb0bb28
chore: add changeset for thread fallback reply fix
2026-03-15 13:56:08 -04:00
Rye
7926c99d2e
fix: improve cleanup process and ensure correct audio codec usage in useVoiceRecorder
2026-03-15 18:49:35 +01:00
Rye
8a517b1bdb
add changeset
2026-03-15 18:43:35 +01:00
Rye
b02e345b5e
element compat
2026-03-15 18:40:37 +01:00
Evie Gauthier
43dba190ff
fix: set m.in_reply_to fallback to latest thread event per spec
2026-03-15 13:31:29 -04:00
Evie Gauthier
69fc890a03
Merge pull request #279 from Just-Insane/fix/timeline-all-fixes
...
fix(timeline): stable refs, scroll guard, and listener leak fixes
2026-03-15 17:12:17 +00:00
Rye
d4ad5cad5c
refactor supported codecs for improved Safari compatibility and correct file extensions
2026-03-15 18:11:02 +01:00
Rye
126894a346
improve useVoiceRecorder to improve audio codec handling and enhance waveform sample documentation
2026-03-15 15:54:38 +01:00
Rye
2bd3c37b6d
enhance audio message content structure and add MSC1767 compatibility
2026-03-15 15:31:07 +01:00
Rye
6daa6150d0
fix a few js errors oops
2026-03-15 14:58:02 +01:00
Rye
215225bd28
fix audio codec choosing
2026-03-15 14:56:14 +01:00