Commit Graph
54 Commits
Author SHA1 Message Date
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
7w1 3c7e1f7eab Merge remote-tracking branch 'origin/dev' into pr/1153 2026-07-20 16:20:10 -05:00
Erwan Leboucher 7e266bc7ce fix(tauri): purge orphaned upload temp files on startup 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 fddce39337 feat(desktop): menu accelerators and global show/hide shortcut 2026-07-20 20:46:39 +02:00
Erwan Leboucher 44bf728aed feat(desktop): macOS/Linux custom titlebar, sync-status pill, context-menu suppression 2026-07-20 20:46:39 +02:00
Erwan Leboucher 5cc5bd7f7e feat(mobile): haptics, iOS keyboard inset, composer scroll, hardware back button 2026-07-20 20:46:38 +02:00
Erwan Leboucher 0ac23e92dd feat: optional tauri auto-updater behind cargo feature
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
2026-07-20 18:40:08 +02:00
7w1 30ac06ff8f feat(linux): add tray badge support (#1138)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Mentions and direct messages create a red dot on the tray icon on Linux.
I did not create a changeset since tauri is not out of beta yet.

#### 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
- [ ] 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-19 21:45:37 +00:00
7w1 e013269676 Perf/cold start (#1127)
<!-- 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-19 21:42:01 +00:00
mortebrume 08eeef2658 feat(linux): add tray badge support 2026-07-19 22:26:09 +02:00
Erwan Leboucher ef10ad4243 feat(tauri): show a themed window at first paint with a show() failsafe 2026-07-19 21:07:25 +02:00
7w1 5b628ef781 ci: fix build workflows 2026-07-19 13:03:32 -05:00
7w1 d2666a6ac0 tauri: add nightly title and fix lint 2026-07-19 12:26:08 -05:00
Erwan Leboucher 2f0196b618 chore(tauri): wire CrabNebula devtools alongside tauri-plugin-log 2026-07-19 17:36:20 +02:00
Andrew Attali c8064361f5 fix(mobile): bring back the bottom navigation pane and enable swipe left for ios 2026-07-19 01:06:28 +02:00
Erwan Leboucher d13c195d47 fix(tauri): apply desktop review fixes and drop redundant unifiedpush plugin 2026-07-19 01:06:27 +02:00
Andrew Attali 6084f57de5 feat(desktop): improve notification logic and add badges 2026-07-19 01:06:27 +02:00
Erwan Leboucher 47b3ea2512 fix(sync): debounce connection-lost banner instead of ineffective resume retry 2026-07-19 01:06:27 +02:00
Erwan Leboucher efa348d6d9 feat(tauri): native file downloads on desktop and Android with save toast 2026-07-19 01:06:27 +02:00
Erwan Leboucher bce679b6af fix(sync): reconnect immediately on mobile app resume 2026-07-19 01:06:27 +02:00
Erwan Leboucher 3f648236fa feat(tauri): add desktop auto-updater with signed release artifacts 2026-07-19 01:06:27 +02:00
Erwan Leboucher c8ebb82744 feat(tauri): show desktop notifications via the native plugin on Linux and macOS 2026-07-19 01:06:27 +02:00
Erwan Leboucher 61ddf4ed4c feat(tauri): tint navigation bar with the adjacent surface and remove system-bar borders 2026-07-19 01:06:27 +02:00
Andrew Attali 907a0f2470 fix(macos): titlebar adjustements 2026-07-19 01:06:27 +02:00
Erwan Leboucher b3729f4d17 feat(tauri): add CEF (Chromium) runtime on Linux for WebRTC calling 2026-07-19 01:06:27 +02:00
Andrew Attali 253b047e5a fix(ios): hide the WKWebView input accessory bar 2026-07-19 01:06:27 +02:00
Erwan Leboucher e478112634 feat(android): add tauri-plugin-unifiedpush for intent-based UnifiedPush 2026-07-18 13:57:52 +02:00
Erwan Leboucher ac779078bb fix(android): use HTTPS scheme for secure-context APIs 2026-07-18 13:16:04 +02:00
Erwan Leboucher 93b7de8b91 feat(android): tint native status bar with the open screen's surface color
Sample the surface rendered just below the top strip and push it to the native
Window.statusBarColor (via a cached JavaVM + a MainActivity JNI callback), plus
the theme-color meta, so the status bar matches the current screen and follows
theme changes. Re-samples on navigation/theme mutations with a trailing-edge
rAF debounce.
2026-07-18 00:15:00 +02:00
Erwan Leboucher 38fd34f708 fix(android): save downloaded attachments via native file system plugin 2026-07-17 20:50:19 +02:00
Erwan Leboucher 0a4b1c4a69 feat(tauri): prompt for and remember webview permissions on linux 2026-07-17 20:41:52 +02:00
Erwan Leboucher a3e3b8b120 feat(tauri): add macOS menu and allow desktop notifications on linux 2026-07-17 20:25:43 +02:00
Erwan Leboucher 2f5ac8e0e7 fix(tauri): use native clipboard plugin so copy/paste works on linux 2026-07-17 20:06:54 +02:00
Erwan Leboucher 352b61385b fix(linux): only auto-grant camera/mic webkit permissions, deny the rest 2026-07-17 19:53:46 +02:00
Erwan Leboucher 64310c7226 fix(linux): enable WebKitGTK WebRTC settings and auto-allow media permissions 2026-07-17 18:59:30 +02:00
Erwan Leboucher 213b1b8e3a fix(tauri): disable native drag-drop handler for HTML5 DnD
Tauri 2.x intercepts OS drag-drop events by default, which prevents
HTML5 drag-and-drop (file uploads, image drops) from reaching the
WebView.
2026-07-17 18:11:25 +02:00
Erwan Leboucher cce57580e5 feat: handle image via uri scheme protocol
Make useRenderableMediaUrl idempotent under Tauri: it now rewrites
raw authenticated-media https URLs to sable-media:// even when the
caller bypassed the mxcUrlToHttp wrapper. This fixes 401 errors for
avatars from ~10 call sites (sidebar spaces, member tiles, reaction
viewer, etc.) that use the raw SDK method directly.

- Extract rewriteAuthenticatedMediaUrl helper in matrix.ts
- Apply it in useRenderableMediaUrl Tauri fast-path
- Use it from mxcUrlToHttp wrapper (single source)
- Add tests for both the helper and hook Tauri paths
2026-07-17 16:26:39 +02:00
Erwan Leboucher 78c9b528bc feat(tauri): apply niki's tauri fixes; render mxc emoji/reactions via renderable urls 2026-07-17 14:28:54 +02:00
TastelessVoid 5dc84874dc (Tauri/fix):Android APK crashing and UnifiedPush not registering 2026-05-05 18:15:35 +02:00
hazre d54e671880 refactor: add tauri-aware fetch wrapper 2026-04-11 20:08:55 +02:00
hazre abb65ca55e feat: add desktop tray settings 2026-04-08 00:58:50 +02:00
hazre 5578658700 fix: linux startup 2026-04-07 12:43:35 +02:00
hazre 61febb864a feat: add edge-to-edge app shell 2026-04-02 00:33:36 +02:00
hazre be4dd23f5d fix: repair android package and window startup 2026-03-27 00:06:37 +01:00
hazre 3b63e35f6d refactor(tauri): remove splashscreen plugin integration
Delete the local splashscreen crate and package references.
Remove mobile splashscreen startup handling and permissions.
Add a frontend test covering desktop and mobile startup behavior.
2026-03-25 19:29:07 +01:00
hazre 4795fb387e fix: move window creation into rust side for easier control 2026-03-14 20:48:20 +01:00
hazre e8670348ff feat: add cef support and switch to tauri-typegen for bindings (wip)
- deep link sso is busted on dev
2026-03-14 20:48:19 +01:00
TastelessVoid 46092a8661 feat: Add UnifiedPush for Fairphones or phones that have been "de-googled" 2026-03-12 17:08:02 +01:00
hazre b709f38142 feat(tauri): add android support and splash screen tauri plugin (WIP) 2026-03-12 17:01:51 +01:00