Commit Graph
3582 Commits
Author SHA1 Message Date
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
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
Erwan Leboucher bc1db07f42 test: assert OIDC token exchange uses the registered redirect URI 2026-07-23 09:02:38 +02:00
Erwan Leboucher af6fa7888c fix: repair title bar toggle checks 2026-07-23 08:36:22 +02:00
Erwan Leboucher 84832d7420 feat: make native title bar a toggle 2026-07-23 08:36:22 +02:00
Erwan Leboucher 22c0ba474d fix: guard getAppPathFromHref against Tauri synthetic origin mismatch 2026-07-23 08:32:51 +02:00
7w1 69820c8499 ensure oauth context on refresh 2026-07-22 22:03:01 -05:00
7w1 04acab0d78 formatting 2026-07-22 20:42:17 -05:00
7w1 955336aa39 perf(mobile): swiping performance improvements 2026-07-22 20:38:55 -05:00
7w1 f40bf8cece perf(mobile): restore concurrent room nav and drawer animations 2026-07-22 20:33:36 -05:00
7w1 c03d7f0ed7 Clean up the design of Persona settings (#1223)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Match design of Personas settings page with other non-experimental
pages, separate options into `SequenceCard`s, turn the Persona overview
into a list with subpages for editing each Persona.

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
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] 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 00:32:10 +00:00
7w1 cfa29dc054 fix(mobile-drawer): fix double tap on room switch (#1175)
<!-- 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:

- [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
- [ ] 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-22 21:35:56 +00:00
7w1 90926c7555 formatting 2026-07-22 16:22:20 -05:00
7w1 d5ad3d24f8 style: strengthen connection status glass effect 2026-07-22 16:17:55 -05:00
Josie 80d89c2aae Clean up the design of Persona settings 2026-07-22 20:23:56 +01:00
7w1 8421e07557 harden mobile tauri checks 2026-07-22 14:01:54 -05:00
7w1 b2fa404cf6 default to 1 pronoun pill on mobile 2026-07-22 13:57:05 -05:00
7w1 d8d32ca79d style: make bottom sheet extend off screen 2026-07-22 13:48:46 -05:00
7w1 440fd24c79 fix(style): ensure popups respect mobile safe area 2026-07-22 13:43:09 -05:00
7w1 c590956c9c fix desktop windows title bar status 2026-07-22 13:21:53 -05:00
7w1 d6a5411986 fix sso deeplinking behaviors (#1214)
hopefully

<!-- 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. -->

Some path normalizationing

#### 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-22 11:53:22 -05:00
7w1 bc526c83fe formatting 2026-07-22 11:50:51 -05:00
7w1 6ff9c02c39 harden parsing 2026-07-22 11:49:57 -05:00
7w1 bfd5730661 fix sso deeplinking behaviors
hopefully
2026-07-22 11:46:56 -05:00
7w1 3000ea16af clippy 2026-07-22 11:38:34 -05:00
Erwan Leboucher 7c66892f30 fix(media): recover authenticated video sessions 2026-07-22 18:05:21 +02:00
Erwan Leboucher 6d1dd90110 fix: restore desktop SSO callback 2026-07-22 18:03:32 +02:00
Erwan Leboucher e6b16c883c fix(media): reduce loading contention 2026-07-22 15:02:49 +02:00
Erwan Leboucher cd915c8492 fix(mobile-drawer): fix double tap on room switch 2026-07-22 14:37:43 +02:00
7w1 c80a5b08ce fix: restore desktop SSO callback (#1206)
<!-- 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-22 07:07:50 +00:00
Erwan Leboucher 8a85014eb4 fix: restore desktop SSO callback 2026-07-22 09:05:18 +02:00
7w1 d4e16ce5a4 fix: tauri settings links and copying to clipboard instead of share (#1201)
<!-- 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. -->

Defaults tauri app settings links to app.sable.moe instead of the
tauri.localhost thing, and makes the settings link copy buttons use the
clipboard instead of os native shares

#### 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-21 23:39:09 -05:00
7w1 26fbff107b fix: tauri settings links and copying to clipboard instead of share 2026-07-21 23:25:57 -05:00
7w1 e0b710f076 typecheck 2026-07-21 23:22:11 -05:00
7w1 f7f691512f chore: clean up unused files 2026-07-21 23:17:15 -05:00
7w1 c2e8872bca style: make updates use shared popup 2026-07-21 23:15:50 -05:00
7w1 b16f0d7de5 style: unify startup popup banners 2026-07-21 23:09:09 -05:00
7w1 0a71d9c23d style: revamp connection status popups 2026-07-21 22:52:42 -05:00
7w1 fa73450e10 fix aria and scope file workaround to mobile 2026-07-21 21:50:16 -05:00
Erwan Leboucher 3e955ef3f8 feat: polish mobile chat input 2026-07-21 21:50:16 -05:00
7w1 edd8e40852 update matrix-js-sdk with the new oauth api (#1077)
<!-- 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. -->
Update matrix-js-sdk with the new oauth2 api

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:

- [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-21 23:49:12 +00:00
7w1 59b5e87cf5 cleanup 2026-07-21 18:23:53 -05:00
7w1 7a327f6641 Add Persona picker in Editor (#1171)
<!-- 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 PMP/Persona picker in the room input, so a user can switch between
personas graphically (without shorthands or `/usepmp`.)

<!-- Fixes # -->

#### 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
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] 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-21 22:31:35 +00:00
Daisy 30e158c46b Add Persona Picker in the Editor 2026-07-21 22:51:10 +01:00
Erwan Leboucher b7d40aeb03 chore: update matrix-js-sdk with the new oauth api 2026-07-21 23:47:37 +02:00
7w1 55f7adf4e8 perf: fix unresponsive collapse in lobby 2026-07-21 16:19:43 -05:00