Commit Graph
375 Commits
Author SHA1 Message Date
7w1 e3f1422c3f perf(media): stream authenticated audio and video 2026-07-21 15:18:24 -05:00
7w1 24308744e0 perf: stable hidden event settings memo 2026-07-21 12:11:51 -05:00
7w1 62f4884f72 perf: polls ignore unrelated events 2026-07-21 12:08:10 -05:00
7w1 7e8c79ddcd fix: various small performance and visual improvements (#1173)
<!-- 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 #1172 

#### 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-21 00:31:00 -05:00
7w1 19c6ea300d refactor: centralize mobile swipe modals and add room details modal 2026-07-20 23:15:07 -05:00
7w1 146f8edf52 fix: checks and more hydration 2026-07-20 18:58:53 -05:00
7w1 5449214015 fix: ensure more timeline locations trigger sliding sync requests 2026-07-20 18:42:42 -05:00
Erwan Leboucher 3a607a3217 feat(tauri): cacheable media responses and Range streaming for video/audio 2026-07-20 13:24:33 +02:00
Erwan Leboucher 904d27102d fix(tauri): prevent android media loading stalls and object-url leaks 2026-07-19 19:51:26 +02:00
Erwan Leboucher e373dcc1e3 Merge remote-tracking branch 'origin/dev' into feat/tauri-desktop
# Conflicts:
#	src/app/features/room/RoomView.tsx
#	src/app/pages/client/sidebar/UserMenuTab.tsx
2026-07-19 01:06:27 +02:00
Erwan Leboucher 47a5e85d1d fix(android): apply CSP nonce so custom themes render in the WebView 2026-07-19 01:06:27 +02:00
Shea 6d0fcef0e0 fix visual items
Signed-off-by: Shea <[email protected]>
2026-07-18 19:25:25 +03:00
Erwan Leboucher 3a8bd64d1a format 2026-07-18 13:40:36 +02:00
Erwan Leboucher 1fe606eaaa Merge origin/dev into feat/tauri-desktop 2026-07-18 13:36:55 +02:00
Erwan Leboucher 2006bb3114 fix(lint): correct hook usage, drop unused imports, and type test mocks 2026-07-18 12:21:46 +02:00
7w1 8c61ff1498 formatting 2026-07-17 15:11:47 -05:00
7w1 8099c4c494 ensure gifs require klipy proxy, harden url parsing, and add tests 2026-07-17 14:40:07 -05:00
Erwan Leboucher 38fd34f708 fix(android): save downloaded attachments via native file system plugin 2026-07-17 20:50:19 +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
Erwan Leboucher f8d7c050f5 fix(tauri): render authenticated inline images via token blob-fetch when no service worker 2026-07-17 14:17:03 +02:00
Erwan Leboucher ec91c3579a Merge remote-tracking branch 'origin/dev' into feat/tauri-desktop
# Conflicts:
#	.gitignore
#	.prettierignore
#	.vscode/settings.json
#	eslint.config.js
#	flake.lock
#	flake.nix
#	knip.json
#	package.json
#	pnpm-lock.yaml
#	src/app/components/AuthFlowsLoader.tsx
#	src/app/components/ClientConfigLoader.tsx
#	src/app/components/SpecVersionsLoader.tsx
#	src/app/components/SwipeableChatWrapper.tsx
#	src/app/components/SwipeableOverlayWrapper.tsx
#	src/app/components/emoji-board/components/Item.tsx
#	src/app/components/message/content/ImageContent.tsx
#	src/app/components/message/content/ThumbnailContent.tsx
#	src/app/components/power/PowerIcon.tsx
#	src/app/components/url-preview/ClientPreview.tsx
#	src/app/features/room/RoomInput.tsx
#	src/app/features/room/message/Message.tsx
#	src/app/features/settings/Settings.tsx
#	src/app/features/settings/emojis-stickers/GlobalPacks.tsx
#	src/app/features/settings/notifications/PushNotifications.tsx
#	src/app/features/settings/notifications/SystemNotification.tsx
#	src/app/hooks/useClientConfig.ts
#	src/app/hooks/useIntegrationManager.ts
#	src/app/hooks/useSessionProfiles.ts
#	src/app/pages/App.tsx
#	src/app/pages/Router.tsx
#	src/app/pages/auth/SSOLogin.tsx
#	src/app/pages/auth/login/Login.tsx
#	src/app/pages/auth/register/PasswordRegisterForm.tsx
#	src/app/pages/auth/register/Register.tsx
#	src/app/pages/auth/reset-password/PasswordResetForm.tsx
#	src/app/pages/client/AutoDiscovery.tsx
#	src/app/pages/client/BackgroundNotifications.tsx
#	src/app/pages/client/ClientNonUIFeatures.tsx
#	src/app/pages/client/ClientRoot.tsx
#	src/app/pages/client/SyncStatus.tsx
#	src/app/plugins/react-custom-html-parser.tsx
#	src/app/state/serviceWorkerRegistration.ts
#	src/app/state/settings.ts
#	src/app/utils/matrix.ts
#	src/app/utils/notifications.ts
#	src/app/utils/settingsSync.test.ts
#	src/client/initMatrix.ts
#	src/index.tsx
#	src/sw.ts
#	src/sw/pushNotification.ts
#	tsconfig.json
#	vite.config.ts
2026-07-17 12:12:26 +02:00
7w1 f5bc7594df Merge branch 'dev' into theme-system-improvements
# Conflicts:
#	src/app/components/message/MsgTypeRenderers.tsx
2026-07-16 12:11:04 -05:00
7w1 34fd91127e cleanup and style adjustments 2026-07-15 12:46:20 -05:00
7w1 3a000c7bfc make download names smarter 2026-07-15 11:49:28 -05:00
7w1 2ba185145d support theme file uploads 2026-07-14 23:01:47 -05:00
7w1 573ed9ba48 formatting 2026-07-11 18:55:52 -05:00
7w1 c3dff6bb70 Fix poll updates 2026-07-11 18:42:50 -05:00
7w1 fa0cc492df bump matrix js sdk version 2026-07-10 15:26:11 -05:00
7w1 77f0a31ef3 Even more visual changes maybe (#1049)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
MaybeMaybeMaybeMaybeMaybeMaybeMaybeMaybeMaybeMaybeMaybeMaybe
<!-- 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-09 19:52:47 +00:00
Shea c1e8f37610 fix some even more reported visual thingies maybe
Signed-off-by: Shea <[email protected]>
2026-07-09 22:42:32 +03:00
7w1 3e46289e05 make typecheck happy 2026-07-09 14:42:22 -05:00
7w1 662c36d409 fix embed crash 2026-07-09 14:15:56 -05:00
7w1 a4b82f7ce0 add file extension for gifs 2026-07-09 10:31:11 -05:00
7w1 29cacf489e fix right click menu staying open 2026-07-09 10:22:00 -05:00
7w1 c3a25c7d1f Rework mobile view (#1017)
<!-- 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. -->

This PR seeks to change the way that the mobile interface looks to make
it more in line with any other regular application instead of feeling
like an afterthought

New view within Messages:
<img width="454" height="943" alt="image"
src="https://github.com/user-attachments/assets/3623d276-4671-47b1-a066-a721136a1318"
/>

New Navigate view (heavily censored for obvious reasons):
<img width="454" height="943" alt="image"
src="https://github.com/user-attachments/assets/1d46596c-a82e-4371-b8ee-439b7433188a"
/>

New profile view:
<img width="454" height="943" alt="image"
src="https://github.com/user-attachments/assets/9dc93107-4bc8-47c6-9e4e-4c72f49b0bdb"
/>

New unverified devices banner, technically not accurate but good for
getting the point across:
<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/75ca3915-f9cb-4b41-a808-68811802a5b7"
/>

New unverified devices look:
<img width="339" height="427" alt="image"
src="https://github.com/user-attachments/assets/92d6e92b-626a-42bc-a695-1470e6e270b1"
/>

Fixes #

#### Type of change

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

### 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. -->
Written with the assistance of days of sleep taken over the duration of
multiple nights!
2026-07-08 15:31:26 +00:00
Shea 3786a32e6e Fix video player sometimes not playing (#1031)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix made courtesy of Parfait

With this occassion i took the liberty to fix more gradient theme things
maybe maybe

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
Written w the assistance of someone giving me the diff
2026-07-08 14:51:37 +00:00
Shea 8ae4432621 fix some other gradient theme issues
Signed-off-by: Shea <[email protected]>
2026-07-08 14:51:03 +03:00
niki a0cef9367c Allow favoriting all gifs 2026-07-06 14:13:58 +03:00
Sheaandniki 2179d9d082 fix navigation and some visual issues
Co-authored-by: niki <[email protected]>
Signed-off-by: Shea <[email protected]>
2026-07-05 21:36:43 +03:00
7w1 b059bf55a6 Add gallery support (#1019)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adds gallery support as per msc4274. Cherry picked from smokku/cinny.

#### 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).

Fueled by hate for CSS
2026-07-05 18:30:51 +00:00
Shea de07c02c3f some small changes
Signed-off-by: Shea <[email protected]>
2026-07-05 15:23:05 +03:00
Shea f37a24b674 maybe better unverified and fix righthand view things
Signed-off-by: Shea <[email protected]>
2026-07-05 07:45:42 +03:00
Shea b1b018e190 merge upstream
Signed-off-by: Shea <[email protected]>
2026-07-05 06:10:16 +03:00
niki b69a00fbac Prefer body over filename in tooltip 2026-07-04 19:48:06 +03:00
niki 1234d63234 Rendering changes 2026-07-04 19:44:22 +03:00
niki 918cdd8c06 Fix re-rendering 2026-07-04 12:50:43 +03:00
7w1 633494f9d8 dependency bumps 2026-07-04 00:07:31 -05:00
niki 2dd1dc2ba3 Change gallery to be a grid 2026-07-03 15:30:24 +03:00
niki ea9a392982 WIP css changes 2026-07-01 20:13:24 +03:00