Commit Graph
6820 Commits
Author SHA1 Message Date
Erwan Leboucher f4d504befa revert(editor): restore the always inline editor setting 2026-08-18 09:39:23 +02:00
7w1 bb2443455b Delete .changeset/klipy-direct-link-gifs.md (#1841)
<!-- 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-08-17 18:32:18 -05:00
7w1 766f6ee885 Delete .changeset/klipy-direct-link-gifs.md 2026-08-17 18:29:00 -05:00
7w1 4701506eae fix forums not opening in forum view & formatting fixes (#1839)
<!-- 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. -->

Seems to fix threads not working. About half of this was on an old
branch i had from like a month ago that i updated. Ensures forum rooms
actually open the forum view and should fix some random issues i had
with threads loading.

#### 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:

- [x] 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. -->

I think the original changes from a month ago were ai generated, but
I've looked through and manually updated and copied things over and
everything seems logical and works in my testing
2026-08-17 18:22:36 -05:00
7w1 39020dfa53 Update Cargo.lock 2026-08-17 17:46:12 -05:00
7w1 0a2c47e6bf fix formatting again?
what is going on with these formatters
2026-08-17 17:38:53 -05:00
7w1 1752e8051e formatting an unrelated file...? 2026-08-17 17:30:07 -05:00
7w1 15e1bfb489 fix forums not opening in forum view 2026-08-17 17:25:31 -05:00
7w1 7675aa1520 chore: prepare release 1.21.0 (#1110)
> **Preview the next release on [dev.sable.moe](https://dev.sable.moe)**

> [!IMPORTANT]
> Merging this PR will create a new release.

## Features

* Add the `forum` room type with a dedicated forum view that presents
threads as topics. by @smokku in #980
* New composer commands: `/gif` opens the GIF picker and `/rainbowme`
sends rainbow-formatted action messages (#1109). by @eleboucher in #1573
* Add selectable app icons on Android and iOS. by @eleboucher in #1594
* Add MSC4466 profile sync controls for supported homeservers. by @7w1
in #1117
* Add experimental new calls using LiveKit on web, desktop, and
supported mobile devices, enabled by a single setting with Element Call
as the fallback. by @eleboucher in #1575
* Add toggleable, reorderable composer trigger buttons (emoji, gif,
sticker) with a drag-and-drop settings list. by @eleboucher in #1261
* Settings improvements: search the settings sidebar and customize
keyboard shortcuts (#1121). by @eleboucher in #1660
* Add an accessibility settings tab with color correction filters. by
@j0lol in #1664
* Persona improvements: pick a persona directly in the editor, an
account-wide persona toggle, latching shorthands, persona name colors,
and a redesigned persona settings menu (#1223, #1264, #1368, #1369,
#1435, #1462). by @j0lol in #1171
* Style tables in formatted messages. by @Steffo99 in #1580
* New bottom sheets across the app: attach files and pick emoji from
sheets in the composer, plus a room details sheet on small screens
(#1173, #1433). by @eleboucher in #1234
* Update the device display name after login to reflect the current
client and build flavor. by @hazre in #1458
* Replaced the connection status top bar with a small styled popup and
added a variant that shows sliding sync initial progress. by @7w1 in
#1200
* Add per-message profiles (MSC4461): a different name and avatar in
each room, with PluralKit import, shorthands, backup and restore,
editing sent messages, and profile info on user profiles (#1352, #1479,
#1586, #1611, #1651, #1701). by @j0lol in #1589
* The notifications inbox is now built from push rules evaluated on this
device instead of the server's `/notifications` endpoint, so mentions in
encrypted rooms are detected correctly. by @eleboucher in #1372
* Add beta desktop and mobile builds with a greatly improved mobile
experience, UnifiedPush support and more reliable notifications, better
desktop shortcuts, updates and window controls, and improved native
media handling and sharing. by @eleboucher in #1103

## Fixes

* Publish an `obtainium.json` app config with every release so Android
builds can be installed and auto-updated through Obtainium. by
@eleboucher in #1616
* Performance: faster startup and warm syncs by caching room metadata,
profile data, and device verification, plus lower memory use by pruning
inactive room history (#1127, #1184, #1305, #1466). by @7w1 in #1118
* Login and account fixes: full-URL homeservers no longer land on an
empty room, a retry button when discovery fails, OAuth device
verification no longer hangs, identity reset completes, key backup
restores on verified devices, and account switch or logout from the
offline screen (#1115, #1270, #1348, #1379, #1380). by @eleboucher in
#1582
* Media fixes: encrypted images and GIFs render again, playback works on
Firefox, better loading on slow connections, decrypted media is freed
from memory, gzipped Lottie support, stickers send reliably, and
notification sounds no longer play as media (#1104, #1296, #1331, #1332,
#1334, #1353, #1381). by @eleboucher in #1271
* Fix link previews leaving empty space in a message until it is
reloaded by @eleboucher in #1827
* Message formatting fixes: checklists no longer render as raw HTML,
spoilers work with proxy tags, maps with malformed coordinates no longer
crash the app, and membership reasons are wrapped in parentheses (#1248,
#1307, #1470). by @eleboucher in #1354
* Fix context menus closing instead of opening, keep the room options
sheet open, and let sidebar, space, and image viewer menus open on
long-press as well as right-click (#1336, #1358). by @eleboucher in
#1431
* Assorted fixes: popups on start appear one at a time, room leave
updates immediately, accepted invites stop reappearing, synced CSS
tweaks are restored, the scheduled-messages chip shows again, faster
recovery from network switches, plus small visual and formatting fixes
(#1114, #1120, #1146, #1200, #1220, #1284, #1514, #1656). by @eleboucher
in #1399
* Profile fixes: hero colours and full scrolling restored on profile
sheets, local time respects the 24-hour setting, devices stay sorted
when last-active times are missing, and no crash in room cosmetics
before members load (#1298, #1579, #1793). by @eleboucher in #1503
* Fix sliding sync issues: missing or stale display names, bridged
avatars, blank space icons, sticker and emote packs, subspaces, call
updates, and incomplete member lists (#1111, #1112, #1119, #1173, #1530,
#1554). by @7w1 in #1170
* Notification and unread fixes: rooms no longer stay unread after a
thread reply or restart, the inbox shows real message previews, the page
title shows the mention count, and tapping a notification navigates
correctly (#1245, #1390). by @eleboucher in #1816
* Timeline fixes: reliably follow new messages, stop loading a room's
whole history on open, unstuck pagination, restored polls, and fixed
thread rendering, reactions, and replies (#1113, #1358, #1363, #1367,
#1373, #1425). by @eleboucher in #1105
* Fix voice recordings continuing after cancel or rapid taps, and stop
the microphone when a recording is interrupted before the permission
prompt resolves (#1428). by @eleboucher in #1252
* Add option to always keep the last line of the text editor "inline"
with the UI buttons. by @lunar-seal in #1218
* Mobile polish: smoother swipe navigation and drawer, steady keyboard
while editing, better touch feedback, chat input and account panel,
swipe-to-edit on messages, and fixed swiping in attachments (#1103,
#1130, #1131, #1144, #1173, #1267, #1303, #1382, #1754). by @eleboucher
in #1166
v1.21.0
2026-08-17 16:05:42 -05:00
github-actions[bot] 420c50e7a7 chore: prepare release 1.21.0 2026-08-17 20:52:05 +00:00
Erwan Leboucher c81008f68f fix(editor): restore composer focus after the autocomplete menu closes (#1838)
<!-- 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-08-17 22:49:40 +02:00
Erwan Leboucher 7ffb49ced9 fix(editor): restore composer focus after the autocomplete menu closes 2026-08-17 22:41:42 +02:00
sable-actions[bot] 943bb73327 chore(nix): auto-fix nix hashes 2026-08-17 20:28:49 +00:00
Erwan Leboucher 843c4f2592 fix(unread): flush the sync store when the app is hidden or closed (#1837)
<!-- 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. -->

shameless copied from element 
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-08-17 22:26:38 +02:00
Erwan Leboucher 42e26cd2df fix(sliding-sync): keep the head back-pagination token on overlapping limited responses (#1836)
<!-- 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-08-17 22:26:28 +02:00
Erwan Leboucher f7117e7eaa fix(unread): flush the sync store when the app is hidden or closed 2026-08-17 22:14:27 +02:00
Erwan Leboucher a4445e96ba fix(sliding-sync): keep the head back-pagination token on overlapping limited responses 2026-08-17 22:08:24 +02:00
sable-actions[bot] 5c94cef1ac chore(nix): auto-fix nix hashes 2026-08-17 19:57:40 +00:00
7w1 1a2cfdfd24 chore: bump a few dependencies (#1835)
<!-- 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. -->

Bumps some hopefully low risk dependencies

#### 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-08-17 14:54:46 -05:00
7w1 1719f17535 chore: bump a few dependencies 2026-08-17 14:47:01 -05:00
Erwan Leboucher 9498494dba fix(media): fall back to the original when a homeserver thumbnail drops EXIF orientation (#1834)
<!-- 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-08-17 21:28:24 +02:00
Erwan Leboucher a14328d757 fix(media): fall back to the original when a homeserver thumbnail drops EXIF orientation 2026-08-17 21:12:43 +02:00
7w1 47d1bd05a9 fix: switch to fully client side klipy gif fetching (#1832)
<!-- 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. -->

To appease the klipy overlords.

Removes all uses of the gif proxy. Previous favorites/sent gifs are
still rendered and parsed fully client side, so everything should
migrate cleanly. Gifs now go directly to klipy, no homeserver or gif
proxy intermediary to fully comply with Klipy's integration
requirements.

Obviously, this now means gifs will likely not appear on any clients
other than Sable (it would just be a message with a raw link, so it
would be dependent on homeserver fetching, sable attaches some metadata
to the message to make it easier for us to render blurhash and sizes)
and it means gifs are always going to be directly loaded by the client
so there's a little bit of a privacy issue there, but I can't find any
other way to satisfy Klipy.

Toggle for unencrypted rooms is baked into the disable media autoload.
There's an explicit opt-in toggle for automatically loading external
gifs for encrypted rooms.

#### 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-08-17 13:54:52 -05:00
7w1 48d62c234f fix gif sizing and adjust rendering 2026-08-17 13:42:21 -05:00
7w1 81f915c0b9 use correct klipy share url 2026-08-17 13:39:01 -05:00
Erwan Leboucher 269831c684 fix(editor): scale composer text with the page zoom setting (#1833)
<!-- 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-08-17 20:34:10 +02:00
Erwan Leboucher e383f3f47a fix(editor): scale composer text with the page zoom setting 2026-08-17 20:29:44 +02:00
7w1 74dec2eaad chore: clean up and consolidate changesets ahead of 1.21.0 release (#1829) 2026-08-17 18:19:53 +00:00
7w1 6a872f3e24 fix: switch to fully client side klipy gif fetching 2026-08-17 13:10:56 -05:00
Erwan Leboucher e1a9d88335 fix(url-preview): stop cards holding placeholder height and resolve previews ahead of the viewport (#1827)
<!-- 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-08-17 20:04:54 +02:00
Erwan Leboucher ef7cee1932 fix(e2e): use the new locator 2026-08-17 17:29:58 +02:00
Erwan Leboucher ffc6d3f6d8 fix(url-preview): stop cards holding placeholder height and resolve previews ahead of the viewport 2026-08-17 17:29:57 +02:00
Erwan Leboucher 01418a55db fix: improve new composer (#1830)
<!-- 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-08-17 17:29:11 +02:00
Erwan Leboucher b382f45ceb fix(editor): update the editable's attributes without rebuilding the view 2026-08-17 15:30:32 +02:00
Erwan Leboucher 7b99f8902d fix(editor): pad the composer text below as well as above 2026-08-17 15:30:32 +02:00
Erwan Leboucher 563554baa0 chore: clean up and consolidate changesets ahead of 1.21.0 release 2026-08-17 15:07:03 +02:00
Erwan Leboucher a252db162f fix(tauri): allow connecting to homeservers on non-default ports (#1828)
<!-- 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-08-17 14:41:40 +02:00
Erwan Leboucher ece6a6834a fix(tauri): allow connecting to homeservers on non-default ports 2026-08-17 14:38:37 +02:00
sable-actions[bot] f170cf53cc chore(nix): auto-fix nix hashes 2026-08-17 11:47:44 +00:00
Erwan Leboucher 72c3ca5e87 feat(editor): replace Slate with ProseMirror in the composer (#1724)
<!-- 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-08-17 13:45:26 +02:00
Erwan Leboucher f2d50261c1 test(e2e): measure preview scroll drift between mounted rows (#1819)
<!-- 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-08-17 12:03:09 +02:00
Erwan Leboucher 345128e4e1 test(e2e): measure preview scroll drift between mounted rows 2026-08-17 11:59:00 +02:00
Erwan Leboucher 8b11ac623e fix(android): retry a media save when MediaStore runs out of unique names (#1824)
<!-- 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-08-17 11:53:13 +02:00
Erwan Leboucher 26b4017908 fix(android): retry a media save when MediaStore runs out of unique names 2026-08-17 11:47:58 +02:00
Erwan Leboucher bb8baacf6d fix: fix poll crashing and fix forward not searching correctly (#1822)
<!-- 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-08-16 23:12:32 +02:00
Erwan Leboucher 302c1bb298 fix(poll): stop an unreadable response crashing the room
PollEvent treated every m.reference child of a poll as a well formed
vote, reading the answers with optional chaining and then dereferencing
the result. m.relates_to is lifted out of the encrypted content, so a
response that has not decrypted yet still resolves as a child of the
poll while carrying no answers, and rendering the room threw.

PollResponses had the same unguarded read. The vote total's reduce and
a poll start with no answers threw on the same path.

Also align vote counting with MSC3381, shared with the voter list:

- max_selections defaults to 1
- an over long selection is truncated instead of spoiling the vote
- an unknown answer id spoils the whole vote
- an id repeated after truncation counts once
2026-08-16 23:02:03 +02:00
Erwan Leboucher 38dcaa14f7 fix(forward): keep search results from being dropped mid-typing
useAsyncSearch clears its result whenever the list identity changes. In the
room picker that list is derived from pickRoom, whose identity churned on
every GlobalModalManager render, so any room activity wiped the search and
fell back to recent rooms.

Key eligibleSet on the room ids instead of the pickRoom object, and make
close stable.
2026-08-16 22:54:25 +02:00
Erwan Leboucher e40782906d fix(crypto): reload on account switch and refresh verification status (#1817)
<!-- 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-08-16 19:57:11 +02:00
Erwan Leboucher d30a34acbe fix(ios): anchor the pwa viewport and banner to visualViewport.offsetTop (#1818)
<!-- 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-08-16 19:54:20 +02:00
Erwan Leboucher f94e24fce2 fix(unread): clear thread counts on mark as read and honour m.fully_read (#1816)
Closes #956, closes #1813

<!-- 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-08-16 19:50:02 +02:00