Commit Graph
3869 Commits
Author SHA1 Message Date
Josie 522c37e86d Add Account-wide persona toggle in Persona Picker 2026-07-23 23:37:12 +01:00
7w1 e3ff86dfce fix(android): dismiss overlays on system back instead of navigating away (#1249)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Add useDismissOnBack(requestClose, enabled) hook to androidBack utils
and wire it into full-screen and interaction-blocking overlays. On
Android the system back action (edge-swipe and 3-button nav) was passing
through these overlays and navigating the underlying route, leaving the
overlay open.

Wired overlays:
- Modal500: Room Settings, Space Settings, Settings shallow route
- MobileSwipeDownModal: message context menu, header menu, nav sidebar
menu
- ImageViewer (refactored from inline handler)
- GlobalModalManager: Delete, Report, Source, Reactions, EditHistory,
ReadReceipts (gated, excludes Forward and MobileOptions)
- MessageForward: forward picker
- IncomingCallModal (gated by open state)
- DeviceVerification
- Emoji boards in RoomInput, Reactions, MessageEditor (gated, the latter
via a MobileEmojiOverlay wrapper since its state comes from a
UseStateProvider render-prop)
- FileContent text and PDF viewers (gated)

Fixes #

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 22:27:54 +00:00
7w1 92931b2100 adjust import order 2026-07-23 17:26:03 -05:00
7w1 fe56ab685d fix: feed room state to call widget after capabilities are notified (#1266)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 22:20:25 +00:00
7w1 487f26009e merge: update performance branch from dev 2026-07-23 17:16:37 -05:00
Erwan Leboucher c0a4c6c5dc fix: feed room state to call widget after capabilities are notified 2026-07-24 00:15:52 +02:00
7w1 697d00b29b feat: reorderable composer trigger buttons (#1261)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Allow customization of trigger button in the input bar as we slimmed it
down

Fixes #1236

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 22:08:59 +00:00
7w1 c57890d642 fix desktop setting toggle missing sequence card (#1260)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 17:09:14 -05:00
7w1 5c476e5b00 perf: incrementally process appended timeline events 2026-07-23 16:42:38 -05:00
7w1 645fe0d862 perf: coalesce unread timeline scans 2026-07-23 16:42:38 -05:00
7w1 682adca6bb perf: split heavy room features from startup 2026-07-23 16:42:38 -05:00
7w1 d01dd31474 perf: defer sidebar cache work to idle time 2026-07-23 16:42:38 -05:00
7w1 9ff73b653a perf: avoid resorting Home rooms for badge updates 2026-07-23 16:42:38 -05:00
7w1 7297c80a62 perf: mount before syncing Tauri media session 2026-07-23 16:42:38 -05:00
Erwan Leboucher 1b61caa879 fix: use window origin for call widget parentUrl on Tauri 2026-07-23 23:22:04 +02:00
Erwan Leboucher 2f0d7ecb68 feat: reorderable composer trigger buttons 2026-07-23 22:54:01 +02:00
7w1 4a3f394459 fix desktop setting toggle missing sequence card 2026-07-23 15:22:45 -05:00
7w1 27a8a7f8ba fix: detect identity reset by listening to cross-signing key changes (#1258)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

When the server/IdP resets identity, the Matrix SDK fires
CryptoEvent.KeysChanged, but the client only re-evaluated verification
status on CryptoEvent.DevicesUpdated. So after a reset the client kept
showing "Verified" and never surfaced the unverified state.
Adds useCrossSigningKeysChange (mirroring useDeviceListChange) and wires
it into both verification hooks so status and unverified-device count
re-evaluate on key changes. The existing unverified banner and Devices
page then reflect the reset.

Fixes #1255

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 20:18:43 +00:00
7w1 1d256b9961 fix: stop wiping unread counts for spaces and unchanged rooms in incremental recompute (#1257)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->
Fixes two regressions from #1253 that caused spaces and channels to lose
unread badges after the incremental unread recompute landed.
1. getUnreadInfosForRooms deleted space rooms instead of skipping them.
The RESET path (getUnreadInfos) skips spaces, but the new incremental
path pushed them to the deleted list. Space unread is derived from
children via parent propagation in the atom reducer, a direct DELETE
wiped the aggregated count, and non-dirty children never re-PUT to
restore it.
2. Empty [] account_data rooms were marked dirty. The server echoes
every subscribed room in the account_data extension with an empty array
when nothing changed. The old code added all of them to dirtyRoomIds,
marking ~150 rooms dirty per sync cycle and defeating the incremental
optimization.

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 20:15:13 +00:00
Erwan Leboucher acb85e7604 fix: resolve lint and format failures in unread test 2026-07-23 22:11:58 +02:00
Erwan Leboucher 2c50c4c506 fix: render emotes at full resolution instead of 32px crop 2026-07-23 22:05:47 +02:00
Erwan Leboucher 807135e734 Add native push notifications with reply actions, content preview, and configurable gateway 2026-07-23 14:45:06 -05:00
Erwan Leboucher 509a1ff355 fix: detect identity reset by listening to cross-signing key changes (#1255) 2026-07-23 21:36:56 +02:00
Erwan Leboucher 302e9d671d fix: stop wiping unread counts for spaces and unchanged rooms in incremental recompute 2026-07-23 21:24:27 +02:00
7w1 6627b92f0a Update useAuthMetadata.test.ts 2026-07-23 14:12:57 -05:00
7w1 d487ca7947 fix: non-oidc sessions using oidc device management 2026-07-23 14:09:06 -05:00
7w1 c8ad4d1555 feat: improve input attachement modal (#1234)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->
add a more native looking attachement modal
<img width="1080" height="2220" alt="1000000082"
src="https://github.com/user-attachments/assets/e94b1c1c-bced-4e14-91a4-d278adf1ccdc"
/>

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 18:17:33 +00:00
7w1 7beb2da029 fix: media 401, slow-internet loading, and native streaming decryption (#1246)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

#### Media 401 on authenticated media (MSC3916)
useMediaAuthentication returned false while /versions was unresolved, so
the app built unauthenticated URLs that 401 on MSC3916-strict
homeservers during first render. Now fails closed (true until versions
loads). SW skips session-recovery retry on genuine M_UNKNOWN_TOKEN 401s
to avoid loops.

#### Slow / flaky-internet loading
- Fetch timeout 30s → 120s (Rust + TS).
- One retry on 5xx or network error after 1.5s backoff; no retry on
AbortError.
- Missing media session returns 503 + Retry-After instead of 401.
- Explicit redirect::Policy::default() — strips Authorization on
cross-origin MSC3916 redirects to signed CDNs.

#### Native streaming decryption (Tauri)
Encrypted media was fully buffered/decrypted in JS with no Range or disk
cache. New set_media_encryption command passes AES-CTR key/IV/SHA-256 to
Rust, which decrypts in place (Ctr64BE/Ctr128BE per version), verifies
ciphertext SHA-256, and serves plaintext — encrypted media now streams
and caches like unencrypted. Added aes + ctr crates,
tauriMediaEncryption.ts helper, and routed
Audio/Video/Image/ThumbnailContent through the native path.

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 17:36:09 +00:00
7w1 d05aef88fa fix: re-assert join after sliding sync reverts optimistic join to invite (#1251)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 17:35:00 +00:00
7w1 c83fb18196 fix: clean up window pointer listeners on pointercancel and unmount (#1252)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1250

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 17:27:02 +00:00
7w1 7cd512d414 fix: add pointercancel to cleanup 2026-07-23 12:23:31 -05:00
7w1 e884f4568e fix: show mention count instead of total unread in page title (#1245)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 16:55:59 +00:00
7w1 2ffe1e4cf4 perf: narrow sync-settled unread recompute to dirty rooms only (#1253)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

PushProcessor: Use mx.pushProcessor instead of new PushProcessor(mx) in
five places. The unread fallback path allocated one per room per sync
cycle.
Dirty rooms: Recompute unread only for rooms that received data in the
sync response instead of all joined rooms.

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 16:54:21 +00:00
7w1 1502b4dc80 formatting 2026-07-23 11:47:08 -05:00
7w1 7dfa6118ba fix: include receipts/account data in dirty rooms 2026-07-23 11:44:34 -05:00
Erwan Leboucher 8fe2816707 perf: narrow sync-settled unread recompute to dirty rooms only
The sync-settled callback in useBindRoomToUnreadAtom called getUnreadInfos
on ALL joined rooms every sync cycle (O(rooms × timeline × push_rules)).
Element Web does not do this — it relies on incremental per-room
RoomEvent.UnreadNotifications + RoomEvent.Timeline handlers.

Track room IDs that received data in the sync response (onCacheRoomData)
and pass them to the settled listener. Recompute unread only for those
dirty rooms via getUnreadInfosForRooms, issuing targeted PUT/DELETE
actions instead of a full RESET. The incremental handlers and the
isResponseProcessing guard remain, so the 'SDK counts unreliable' fallback
for rooms without read receipts is preserved.
2026-07-23 18:15:44 +02:00
Erwan Leboucher 8025a859f4 perf: reuse the SDK singleton PushProcessor instead of allocating per call
new PushProcessor(room.client) was allocated per room on every sync cycle
(in the getUnreadInfo fallback path) and per component mount in
RoomTimeline/ThreadDrawer/notifications. The SDK already exposes a cached
singleton at mx.pushProcessor (client.ts:1293). Element Web uses the same
pattern. Replace all five allocations and drop the now-unused imports.
2026-07-23 18:15:42 +02:00
Erwan Leboucher de227d2b63 fix: media 401, slow-internet loading, and native streaming decryption 2026-07-23 18:13:01 +02:00
Erwan Leboucher 47dbbbddb2 fix(android): dismiss overlays on system back instead of navigating away
Add useDismissOnBack(requestClose, enabled) hook to androidBack utils and
wire it into full-screen and interaction-blocking overlays. On Android the
system back action (edge-swipe and 3-button nav) was passing through these
overlays and navigating the underlying route, leaving the overlay open.

Wired overlays:
- Modal500: Room Settings, Space Settings, Settings shallow route
- MobileSwipeDownModal: message context menu, header menu, nav sidebar menu
- ImageViewer (refactored from inline handler)
- GlobalModalManager: Delete, Report, Source, Reactions, EditHistory,
  ReadReceipts (gated, excludes Forward and MobileOptions)
- MessageForward: forward picker
- IncomingCallModal (gated by open state)
- DeviceVerification
- Emoji boards in RoomInput, Reactions, MessageEditor (gated, the latter via
  a MobileEmojiOverlay wrapper since its state comes from a UseStateProvider
  render-prop)
- FileContent text and PDF viewers (gated)
2026-07-23 18:09:25 +02:00
Erwan Leboucher ee1fc3af56 fix: clean up window pointer listeners on pointercancel and unmount 2026-07-23 18:06:42 +02:00
Erwan Leboucher 02172cc998 fix: stop leaking session_started/session_ended listeners per room
useCallSession subscribed to mx.matrixRTC.on('session_started'/'session_ended')
once per call, and is used by RoomNavItem (one per visible room). With 11+
visible rooms this exceeded Node's default EventEmitter limit of 10 and
stacked O(N) listeners that each did O(1) filtering per event.

Move the subscription into a single MatrixRTCSessionProvider that exposes
active RTC session room IDs via React context. useCallSession now reads
from that context instead of subscribing per-room.
2026-07-23 17:51:38 +02:00
Erwan Leboucher 6f73ae1f6a fix: re-assert join after sliding sync reverts optimistic join to invite
After joinRoom succeeds, the server's sliding-sync proxy can keep a room
in the is_invite list for 1+ cycles, sending invite_state that the SDK
injects as m.room.member with membership=invite. room.recalculate() then
reverts selfMembership back to invite, moving the room back into the
invite list and suppressing notifications (getUnreadInfos gates on
getMyMembership !== join).

Track optimistically joined rooms, subscribe them so real joined state
flows in, and re-assert Join after each sync Complete until the server
catches up.
2026-07-23 17:51:18 +02:00
Shea fc2ef703da fix maps
Signed-off-by: Shea <[email protected]>
2026-07-23 17:47:25 +03:00
Erwan Leboucher 6fc50a3755 fix: show mention count instead of total unread in page title 2026-07-23 13:34:22 +02:00
Erwan Leboucher 6e7e1e4c2a feat: improve input attachement modal 2026-07-23 11:55:18 +02:00
haz 62195fc58a feat: make native title bar a toggle (#1188)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adds a desktop setting to switch between Sable’s custom title bar and
native window decorations.
- Persists the selected title bar mode.
- Applies it at startup and while running.
- Keeps connection status in the correct location.
- Fixes black gaps when resizing the Linux CEF window.

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 09:50:49 +00:00
haz 8f80df0b8f fix(mobile-drawer): fix first tap on mobile navigation (#1237)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-23 09:50:37 +00:00
Erwan Leboucher 922ddb7bad fix(mobile-drawer): fix first tap on mobile navigation 2026-07-23 11:34:35 +02:00
Erwan Leboucher 58ee2d13a0 fix(cef): resize webview with window 2026-07-23 11:27:04 +02:00
Erwan Leboucher a9fb56e7d0 fix: strip credentials from token-refresher tempClient to prevent logout cascade 2026-07-23 10:39:30 +02:00