Commit Graph
1246 Commits
Author SHA1 Message Date
Erwan Leboucher aaf4c7a7f5 fix(mobile): don't block message swipe on inline ignored elements 2026-08-02 23:27:53 +02:00
Bart Oostveen 5b604a0b8a fix(user-profile): respect 24-hour clock setting for local time 2026-08-02 08:56:42 +02:00
Erwan Leboucher 6d61d9b77c refactor: replace hardcoded Matrix event type strings with SDK constants 2026-08-01 16:20:36 +02:00
Shea b73efae945 merge dev
Signed-off-by: Shea <[email protected]>
2026-07-31 08:25:50 +03:00
7w1 47c4f9a6be fix: retry tauri media after token refresh (#1498)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

- Prevents refreshed OIDC tokens from being overwritten in Tauri.
- Makes image and video Retry issue a fresh native media request.
- Avoids caching native media errors.

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
- [ ] 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-31 04:30:36 +00:00
7w1 876cd1b848 refactor: framer motion to native things 2026-07-30 21:40:13 -05:00
7w1 464a47dbe8 fix(mobile): restore bottom-sheet close animations 2026-07-30 20:47:14 -05:00
7w1 55f2e12009 fix: avoid unnecessary Slate clipboard reads (#1501)
<!-- 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
- [ ] 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-31 00:06:35 +00:00
Erwan Leboucher 38c95e7b20 fix(media): fall back when service worker auth is unavailable 2026-07-30 15:45:51 -05:00
7w1 d31291057e Fix mobile members swipe dismissal (#1502)
<!-- 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 #1325

#### 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
- [ ] 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-30 20:25:02 +00:00
Erwan Leboucher 44d4253345 fix(mobile): restore sheet color and scrolling 2026-07-30 14:40:20 +02:00
Erwan Leboucher 341ff1ab46 Fix mobile members swipe dismissal 2026-07-30 12:51:00 +02:00
Erwan Leboucher 8defe20691 fix: avoid unnecessary Slate clipboard reads 2026-07-30 12:45:01 +02:00
Erwan Leboucher e10ee62bb1 fix: satisfy media retry checks 2026-07-30 10:11:32 +02:00
Erwan Leboucher 9195f0fe2a fix: retry tauri media after token refresh 2026-07-30 10:02:12 +02:00
7w1 d0caffc1a9 fix(crypto): preserve recovery key validation error (#1487)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
- preserve recovery-key and passphrase validation failures in the form
- prevent failed decoding from forwarding an undefined key into
verification/storage

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
- [ ] 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-30 04:40:27 +00:00
7w1 0eea7b5e5b fix: revoke upload metadata object URLs (#1467)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Release temporary Blob URLs after extracting upload metadata and
thumbnails.

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
- [ ] 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-30 04:32:32 +00:00
7w1 3288399d94 feat(mobile): consolidate bottom sheets and rework the emoji picker (#1433)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<img width="480" alt="1000000104"
src="https://github.com/user-attachments/assets/2d1d4897-7fc7-4bf4-83a3-f4d705da2e6c"
/>
<img width="480" alt="Screenshot_20260727-215550_Sable"
src="https://github.com/user-attachments/assets/16af3b49-0b59-4e4e-9294-2a57aa462c25"
/>

#### 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
- [ ] 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-30 03:03:20 +00:00
7w1 e198c04794 fix(mobile): save downloaded media (#1475)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

tested on android sadly not on ios

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
- [ ] 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-30 02:07:17 +00:00
Erwan Leboucher 5d6d913bbd fix(crypto): preserve recovery key validation error 2026-07-29 19:53:43 +02:00
Erwan Leboucher 08b80e20af Merge branch 'dev' into fix/mobile-media-downloads 2026-07-29 19:27:24 +02:00
Erwan Leboucher a8a634634f fix(mobile): improve image saves and touch handling 2026-07-29 18:22:54 +02:00
Daisy e9e0c75ed8 Properly format PMP replies 2026-07-29 12:31:40 +01:00
Erwan Leboucher f05999dad2 feat(mobile): consolidate bottom sheets and rework the emoji picker 2026-07-29 09:57:40 +02:00
7w1 318a6a8d4d fix: release preview blob URLs (#1465)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Release preview Blob URLs when the opened media tab closes.

#### 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
- [ ] 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-29 02:11:16 +00:00
Erwan Leboucher 863baf37c0 fix: revoke upload metadata object URLs 2026-07-28 23:37:12 +02:00
Erwan Leboucher b0880fcafc fix: release preview blob URLs 2026-07-28 23:37:12 +02:00
Daisy e935f8aa8e Add PMP name colors 2026-07-28 21:10:04 +01:00
Erwan Leboucher f8ec1a3690 fix(media): fall back when service worker auth is unavailable 2026-07-28 12:39:54 +02:00
Shea 68de59f361 more visual fixes
Signed-off-by: Shea <[email protected]>
2026-07-28 07:48:29 +03:00
7w1 fc6d0552fc fix(menu): open context menus instead of toggling them shut (#1431)
<!-- 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
- [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-28 03:51:09 +00:00
7w1 222d7893c0 fix: handle gallery messages without items (#1423)
<!-- 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
- [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-28 03:29:49 +00:00
Erwan Leboucher d235a8869f fix(mobile): tint system bar with animated sheet color 2026-07-27 15:44:14 -05:00
Erwan Leboucher 2417119c60 fix(menu): open context menus instead of toggling them shut 2026-07-27 21:48:31 +02:00
7w1 0c715de3e5 fix(mobile): restore error reporting actions (#1424)
<!-- 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-27 19:46:53 +00:00
7w1 e94925defa formatting 2026-07-27 14:45:12 -05:00
Erwan Leboucher d55197ebd9 fix(timeline): pin to the true bottom, size images to their frame, and rebuild rows on mid-timeline inserts
# Conflicts:
#	src/app/features/room/RoomTimeline.tsx
2026-07-27 21:24:33 +02:00
7w1 96a42c17e7 fix: show setting selects as dialogs on mobile and keep long-pressed sheets open (#1382)
<!-- 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
- [ ] 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-27 18:45:51 +00:00
Erwan Leboucher cb79b28b42 fix: restore poll rendering 2026-07-27 20:01:21 +02:00
Erwan Leboucher c188e17652 fix(mobile): restore error reporting actions 2026-07-27 19:56:25 +02:00
Erwan Leboucher 601254e150 fix: handle gallery messages without items 2026-07-27 19:56:10 +02:00
Josie 89effb2509 Persona picker style tweaks 2026-07-27 12:01:19 -05:00
7w1 45db505c04 fix(crypto): allow restoring key backup after the crypto store is wiped (#1379)
<!-- 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-27 16:06:13 +00:00
7w1 677717b437 fix: stop click handlers firing after long-press and drag-select (#1386)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Long-press on a room/space nav item opened the context menu, but the
synthetic click that followed navigated and immediately dismissed it.
Guard the click path with menu.consumeLongPressFired() (RoomNavItem,
SpaceTabs).

Drag-selecting across an abbreviation or mention link fired click on
mouseup, toggling the tooltip or navigating away and killing the
selection. Guard those handlers with a collapsed-selection check
(AbbreviationTerm, useMentionClickHandler) and make abbreviation text
selectable on desktop only (mobile keeps userSelect:none so the
long-press context menu isn't hijacked by the native callout).

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-27 15:56:50 +00:00
Erwan Leboucher da1f50bf39 fix(mobile): fill screen for room and space settings dialog 2026-07-27 11:57:24 +02:00
Erwan Leboucher 249977a8a0 fix: stop click handlers firing after long-press and drag-select
Long-press on a room/space nav item opened the context menu, but the
synthetic click that followed navigated and immediately dismissed it.
Guard the click path with menu.consumeLongPressFired() (RoomNavItem,
SpaceTabs).

Drag-selecting across an abbreviation or mention link fired click on
mouseup, toggling the tooltip or navigating away and killing the
selection. Guard those handlers with a collapsed-selection check
(AbbreviationTerm, useMentionClickHandler) and make abbreviation text
selectable on desktop only (mobile keeps userSelect:none so the
long-press context menu isn't hijacked by the native callout).
2026-07-27 08:30:35 +02:00
Erwan Leboucher d5d7c8b290 fix(crypto): base backup recovery on a structural signal and reset restore state per account 2026-07-27 08:25:26 +02:00
Erwan Leboucher ac09f73c02 fix(crypto): allow restoring key backup on a verified device 2026-07-27 08:25:26 +02:00
Erwan Leboucher 1ef590866d fix: show setting selects as dialogs on mobile and keep long-pressed sheets open 2026-07-27 08:21:22 +02:00
Shea 7c3da11b2e more visual fixes
Signed-off-by: Shea <[email protected]>
2026-07-27 06:01:32 +03:00