Commit Graph
5876 Commits
Author SHA1 Message Date
Erwan Leboucher 2cd71b342e fix(ios): fall back to native clipboard for empty paste events in composer 2026-07-26 14:59:49 +02:00
7w1 63b4a686f9 fix(markdown): keep task list markers as text instead of checkbox input (#1354)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
it's not in the docs but well

#### 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-25 23:51:46 -05:00
7w1 2f031b132d Fix some OIDC things (#1365)
<!-- 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. -->

Show all methods instead of just oidc when its present, show oidc first,
then sso, then password in the login page hierarchy.

#### 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-25 21:48:27 -05:00
7w1 2b2e9590f9 Change modal and page surfaces to shared responsive components (#1366)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Extracts ModalOverlay and shares one FormPage/FormModal across
create-room, create-space and bug report. Create, bug report and
navigate become shallow routes, overlay on desktop, full page on mobile
and space settings now reuse room settings. Also restructures the e2e
suite around fixtures and page objects, running against a real build.

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-25 21:47:54 -05:00
7w1 05c75a6fe9 fix: mobile settings menu back button 2026-07-25 21:41:08 -05:00
Erwan Leboucher c793b589cf Remove unused exports and deduplicate editor and menu logic (#1361)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Removes 258 unused exports flagged by fallow. Extracts
buildReplacementContent so the composer and the message editor assemble
edits identically. Migrates the sidebar, space and image-viewer menus
onto useMenuAnchor and adopts the existing getMouseEventCords helper.

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-25 21:22:08 -05:00
Erwan Leboucher 7e5ba5d758 refactor: adopt getMouseEventCords at the hand-rolled literals 2026-07-25 21:05:33 -05:00
Erwan Leboucher 791fe4451b refactor: migrate sidebar, space and image viewer menus to useMenuAnchor 2026-07-25 21:05:33 -05:00
Erwan Leboucher acd41a671d refactor: extract buildReplacementContent for the composer and editor 2026-07-25 21:05:33 -05:00
Erwan Leboucher 90115b5705 refactor: remove unused exports flagged by fallow 2026-07-25 21:05:33 -05:00
Erwan Leboucher f6876a7cd0 refactor: share one settings shell and add an imperative confirm facade 2026-07-25 21:05:32 -05:00
Erwan Leboucher 03c57506f7 refactor: deduplicate the timeline event renderer 2026-07-25 21:05:32 -05:00
Erwan Leboucher a1403751b6 refactor: split commands per domain and move screen-size styling to css 2026-07-25 21:05:32 -05:00
Erwan Leboucher 1a4ccb657f refactor: share one SequenceCardStyle and one thread reply collector 2026-07-25 21:05:32 -05:00
Erwan Leboucher 78c4c36d24 refactor: share one persisted string-set atom and guard import cycles 2026-07-25 21:05:32 -05:00
Erwan Leboucher 9e651eed26 refactor: drop unused overlay props and route avatars through one helper 2026-07-25 21:05:32 -05:00
7w1 b63d90945a fix tests & restore room type linking 2026-07-25 21:05:32 -05:00
Erwan Leboucher ca2669a14f docs: add changeset for the thread rendering and avatar fixes 2026-07-25 21:05:03 -05:00
Erwan Leboucher a3f0d510ba fix: keep favourite gifs live instead of snapshotting them into state 2026-07-25 21:05:03 -05:00
Erwan Leboucher 38a0f60ed8 refactor: type the klipy search response instead of disabling any 2026-07-25 21:05:03 -05:00
Erwan Leboucher 95a459722d fix: pass cached profile data and guard failed-send actions in threads 2026-07-25 21:05:03 -05:00
Erwan Leboucher 30a2c0921d fix: apply inline image sizing in threads and collapse setting options 2026-07-25 21:05:03 -05:00
Erwan Leboucher b04c15b6d5 fix: apply nicknames to thread mentions and rewrite room avatar urls 2026-07-25 21:05:03 -05:00
7w1 8a0a0d9819 fix: tests 2026-07-25 19:58:00 -05:00
7w1 46b8018af3 lint 2026-07-25 17:10:13 -05:00
Erwan Leboucher aa20a2fd76 refactor: add useMenuAnchor and restore focus trapping in mobile menus 2026-07-26 00:05:45 +02:00
Erwan Leboucher f8eb8c7834 refactor: fold remaining selectors and extract MessageSearchHeader 2026-07-26 00:05:45 +02:00
Erwan Leboucher 4b974ee7a1 refactor: migrate hand-rolled overlays and split ClientNonUIFeatures 2026-07-26 00:05:45 +02:00
7w1 f05a11db42 fix: adjust login auth page flow 2026-07-25 16:56:57 -05:00
Erwan Leboucher 25368f43eb refactor: share bottom-sheet menus and one SettingMenuSelector 2026-07-25 23:54:18 +02:00
Erwan Leboucher f26d93f102 refactor: give ModalOverlay mobile presentation and android back 2026-07-25 23:54:17 +02:00
Erwan Leboucher 5dc5239893 refactor: collapse route selection hooks and share one sidebar panel 2026-07-25 23:52:44 +02:00
Erwan Leboucher 7a5e6b3387 refactor: merge space settings into room settings 2026-07-25 23:52:44 +02:00
Erwan Leboucher b77640531d refactor: make create, bug report and navigate surfaces shallow routes 2026-07-25 23:52:44 +02:00
Erwan Leboucher 03b922b62b refactor: share one FormPage and FormModal across the create surfaces 2026-07-25 23:52:08 +02:00
Erwan Leboucher 92d801e01c feat: open home and direct tab menus with a long press on touch 2026-07-25 23:52:07 +02:00
Erwan Leboucher 48767e43a7 refactor: share one ModalOverlay across the modal surfaces 2026-07-25 23:52:07 +02:00
7w1 787d1e1aaf fix: ensure correct url for acccount management 2026-07-25 16:32:23 -05:00
7w1 0d5bafd72a fix(notifications): stop in-app sounds leaking into the media layer (#1353)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

fixes sounds going to the media layer on ios or web, so dnd will work

#### 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-25 16:13:39 -05:00
7w1 4edda08cac fix: submit the m.oauth stage type when completing OAuth UIA (#1348)
<!-- 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-25 16:00:56 -05:00
7w1 5ab18f20f2 fix(mobile): clip the nav drawer viewport so it cannot scroll out of frame (#1343)
…

<!-- 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-25 15:59:27 -05:00
7w1 cf3c68f111 test: restructure e2e around fixtures and page objects, run against a build (#1336)
<!-- 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:

- [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-25 15:58:54 -05:00
7w1 ca6dce667a fix(media): request our own video and audio with CORS so Firefox does not block it (#1334)
### Description

Firefox blocks media Range responses whose URL it has not already
sniffed as audio/video (mozilla bug 1880289), which homeservers serving
`application/octet-stream` trip. The element then reports "no video with
supported format and MIME type found" and the request shows as
`NS_BINDING_ABORTED`. Requesting with CORS opts out of ORB.

Only applied to our own media, since external `og:video` URLs from link
previews go through the same component and cannot be assumed to send
`Access-Control-Allow-Origin`.

Verified on firefox

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-25 15:57:49 -05:00
7w1 5a66351de7 fix(sticker): send using the pack's image info instead of downloading the sticker (#1332)
### Description

Tapping a sticker did nothing. The send path downloaded and decoded the
sticker purely to compute `info`, with no error handling, so any media
failure meant `sendEvent` was never reached. It now uses the `info` the
pack already declares, only measures the file when a pack omits it, and
sends either way.

Fixes #1323

#### 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-25 15:56:03 -05:00
7w1 3785159460 fix: include user image packs 2026-07-25 15:53:05 -05:00
7w1 41ce21f828 chore(tauri): make the devtools plugin opt-in behind a cargo feature (#1333)
### Description

`tauri-plugin-devtools` retains every metadata record for the session
(`devtools-core`'s `Aggregator::all_metadata` is never trimmed, by
design, so late-connecting clients get the full history). With
`tauri-plugin-log` feeding it, a heapprofd capture showed 310 MB
retained in 45 seconds; on Android the app reached ~1 GB within a minute
and was OOM-killed repeatedly.

It is now behind a `devtools` cargo feature, off by default. Build with
`--features devtools` to get the inspector back. `tauri-plugin-log`
still initialises either way, so logcat output is unchanged.

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-25 15:51:39 -05:00
7w1 5f69c01883 perf(crypto): cache cross-signing device verification status (#1305)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

rewrote the device verification to use usequery instead 
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-25 15:50:09 -05:00
7w1 328bdefa24 fix(media): wait for the session instead of failing media requests at startup (#1331)
### Description

Media failed to load until the view was dismissed and reopened. Requests
arriving before the frontend handed the session to Rust were answered
`503`, and `<img>` never retries, so media stayed broken until the
component remounted. The protocol now waits briefly for the session, and
still fails fast once a session has existed so requests in flight during
a logout do not hang.

Also raises the media download lane from 2 to 6 concurrent, so a sticker
grid does not load two at a time.

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-25 15:49:07 -05:00
7w1 1e0f12d65f fix: deduplicate device verification queries and share crypto event subscriptions 2026-07-25 15:47:02 -05:00
7w1 c272fc1d39 fix: ensure timeline continues fetching when hidden events are disabled (#1363)
<!-- 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. -->

Ensures the timeline continues paginating back by removing the arbitrary
limit and ensures the room creating info is shown at the top.

#### 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-25 15:01:34 -05:00