Commit Graph
5477 Commits
Author SHA1 Message Date
7w1 78bbb1eae5 fix once and for all 2026-07-21 00:25:55 -05:00
7w1 3becee0ded fix again (please wokr this time) 2026-07-21 00:12:00 -05:00
7w1 d9d9e52989 fix: ios mobile modals 2026-07-21 00:04:58 -05:00
7w1 3f05165b54 formatting 2026-07-20 23:58:28 -05:00
7w1 819beb8c3c fix: highlight problems 2026-07-20 23:57:20 -05:00
7w1 c7a475a004 fix hover again perhaps 2026-07-20 23:47:35 -05:00
7w1 931968f89d fix: sync call status 2026-07-20 23:43:50 -05:00
7w1 fa3c4547a1 fix mobile press detection 2026-07-20 23:37:15 -05:00
7w1 4f77d641be add visual indication when pressing on message 2026-07-20 23:31:42 -05:00
7w1 b5eeae70bf fix: make modals work again 2026-07-20 23:27:48 -05:00
7w1 f72eb6cfea fix(ci): update builds to display nightly 2026-07-20 23:23:04 -05:00
7w1 19c6ea300d refactor: centralize mobile swipe modals and add room details modal 2026-07-20 23:15:07 -05:00
7w1 f7b942b178 fix lint 2026-07-20 23:05:54 -05:00
7w1 20871c1f16 fix tests 2026-07-20 23:05:46 -05:00
7w1 c94f5ef356 fix lint issues 2026-07-20 22:57:46 -05:00
7w1 d014eb4ea0 perf(mobile): avoid waiting for js on swipes 2026-07-20 22:53:30 -05:00
7w1 11fb67abab perf(mobile): optimize swipe performance 2026-07-20 22:50:43 -05:00
7w1 87e1841e4d fix lint and adjust lobby virtualizer estimates 2026-07-20 22:48:37 -05:00
7w1 f7552a433d perf: improve startup media cache behavior 2026-07-20 22:39:15 -05:00
7w1 867e22de0b fix(ui): unnecessary rerender during space switches 2026-07-20 22:16:36 -05:00
7w1 01a5af15a5 changesets 2026-07-20 22:12:14 -05:00
7w1 906572dab6 fix(ui): scope hovers to mouse 2026-07-20 22:09:16 -05:00
7w1 7445dba890 fix: adjust following animation 2026-07-20 21:54:08 -05:00
7w1 049eaa4d29 simplify some changesets (#1168)
<!-- 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-20 18:09:33 -05:00
7w1 e9df46aa16 simplify some changesets 2026-07-20 18:06:59 -05:00
7w1 93b690310a feat(mobile): haptics, iOS keyboard inset, composer scroll, hardware back button (#1151)
<!-- 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)
- [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-20 23:04:53 +00:00
Erwan Leboucher e8c8d4b4f0 feat(mobile): haptics, iOS keyboard inset, composer scroll, hardware back button 2026-07-20 18:01:14 -05:00
7w1 45558f7a90 feat(mobile): add sharing to sable (#1159)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

What it says on the tin.

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-20 22:47:05 +00:00
7w1 7d98c947bc fix: race conditions, silent data loss, android mimes 2026-07-20 17:43:12 -05:00
7w1 7b31e9d06a feat: native share sheet for mobile (#1148)
<!-- 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)
- [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-20 22:31:50 +00:00
Erwan Leboucher ed44198e25 feat: native share sheet for mobile
Add tauri-plugin-sharekit for iOS/Android system share sheet.
shareText() util falls back to Web Share API then clipboard.
Wired into ShareChip, Space menu, SpaceTabs menu.
2026-07-20 17:17:15 -05:00
7w1 8ee0b2a74a feat(mobile): render global modals as full-screen pages (#1150)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Search, create room, create space, and bug report open as full-screen
pages on mobile via useOpen*Modal hooks checking useScreenSizeContext.
Desktop modal flow unchanged.
<!-- 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)
- [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-20 21:45:38 +00:00
7w1 76a6874bed fix: shareText cancellation, Modal500 focus trap, Cargo pin, PageNav layout 2026-07-20 16:39:48 -05:00
Erwan Leboucher 7f5aee78e9 feat(mobile): render global modals as full-screen pages
Search, create room, create space, and bug report open as full-screen
pages on mobile via useOpen*Modal hooks checking useScreenSizeContext.
Desktop modal flow unchanged.

Adds full-screen room/space settings with shared section layout and
swipe-back navigation.

Adds tauri-plugin-sharekit (v0.4.0-rc.5) for iOS/Android system share
sheet, with a shareText() util that falls back to Web Share API then
clipboard. Wired into ShareChip, Space menu, SpaceTabs menu.

Syncs Cargo.lock with the new sharekit dependency and relaxes the
edge-to-edge inset contract test to match the wired plugin via
.plugin(tauri_plugin_edge_to_edge::init()) so chaining sharekit onto
the same mobile builder no longer breaks the test.
2026-07-20 16:38:05 -05:00
Erwan Leboucher 5489a6df67 Merge remote-tracking branch 'origin/dev' into conflict-resolve-1159
# Conflicts:
#	src-tauri/gen/android/app/src/main/java/moe/sable/client/MainActivity.kt
#	src/app/generated/tauri/commands.ts
#	src/app/generated/tauri/index.ts
#	src/app/generated/tauri/types.ts
2026-07-20 23:37:47 +02:00
7w1 dc7dedb1f1 Feat/desktop shortcuts (#1153)
<!-- 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-20 21:22:06 +00:00
7w1 3c7e1f7eab Merge remote-tracking branch 'origin/dev' into pr/1153 2026-07-20 16:20:10 -05:00
7w1 f82e9e1b37 fix: consolidate titlebar effect, improve keyboard scroll 2026-07-20 16:18:40 -05:00
7w1 3f221da359 feat(tauri): cacheable media responses and Range streaming for video/audio (#1157)
<!-- 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)
- [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-20 20:27:19 +00:00
7w1 2f2ce07d03 Delete tauri-media-caching-streaming.md 2026-07-20 15:25:41 -05:00
7w1 d8c781c690 Fix ios safe zone problems (#1163)
<!-- 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. -->

The safe zone keeps changing randomly on iOS pwa, trying to fix. idk.
plz work. thanks

using this to test because cloudflare is better than doing over network

#### 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-20 15:01:26 -05:00
7w1 a6dbee0099 formatting 2026-07-20 14:56:11 -05:00
7w1 25209edde4 fix(pwa): make ios safe area viewport height stateless 2026-07-20 14:47:16 -05:00
7w1 1041ad3ce7 fix(tauri): stream android media uploads to fix OOM and show progress and diverse input improvement (#1154)
<!-- 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-20 19:33:39 +00:00
Erwan Leboucher 7e266bc7ce fix(tauri): purge orphaned upload temp files on startup 2026-07-20 21:29:58 +02:00
Erwan Leboucher 213c629c6a fix(mobile): keep composer keyboard sane and use bottom-sheet emoji pickers 2026-07-20 21:29:58 +02:00
Erwan Leboucher 45be0dae13 fix(tauri): stream android media uploads to fix OOM and show progress 2026-07-20 21:29:57 +02:00
Erwan Leboucher c66f7fa17d chore(tauri): bump tauri-plugin-notifications to 4ea297b (main HEAD) 2026-07-20 21:10:53 +02:00
Erwan Leboucher 05343c6728 fix(tauri): serve oversized media without persisting past the cache budget
A media file larger than MAX_CACHE_BYTES was written to disk and then
immediately evicted by evict_if_needed (it alone exceeded the budget, so
everything — including itself — got dropped), so it was never servable
from disk on a hit.

ensure_cached now skips the write for bodies larger than the budget and
returns them in-memory for that request; handle_request serves a Range
request off the in-memory buffer via the new serve_range_memory. Cache
hits and all files within the budget are unchanged.
2026-07-20 21:10:52 +02:00
7w1 b059308491 feat: optional tauri auto-updater behind cargo feature (#1149)
Add cargo feature (on by default) so downstream builders can disable the
Tauri auto-updater with --no-default-features --features wry.

- tauri-plugin-updater becomes an optional dependency
- plugin registration gated by #[cfg(all(desktop, feature = updater))]
- updater:default permission moved to its own
capabilities/updater/updater.json
- build.rs selects the capability glob based on the feature, since
tauri-build fails on permissions from missing plugins

<!-- 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)
- [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-20 19:10:06 +00:00