Skip to content

Feat/tauri desktop#1103

Draft
eleboucher wants to merge 77 commits into
SableClient:devfrom
eleboucher:feat/tauri-desktop
Draft

Feat/tauri desktop#1103
eleboucher wants to merge 77 commits into
SableClient:devfrom
eleboucher:feat/tauri-desktop

Conversation

@eleboucher

Copy link
Copy Markdown
Contributor

Description

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

hazre and others added 30 commits March 12, 2026 16:53
- add fake windows window snapping overlay like a native titlebar
- add sync status inside the titlebar
- upgrade framer-motion package to motion
- add service worker tauri exceptions 
- add automatically generated tauri typescript bindings
note that close to tray currently does nothing and it's intended for when notifications land
Aaaaaaa spent an hour on this, problem was that it was panicking trying to export to a path relative to the executable which is protected by the os.
# Conflicts:
#	src/app/features/settings/notifications/SystemNotification.tsx
…gration

Feat/tauri integration - Add UnifiedPush
hazre and others added 29 commits April 8, 2026 00:58
…leClient#747)

* (Tauri/fix):Android APK crashing and UnifiedPush not registering

* Fixed ESLint errors
# 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
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
@eleboucher
eleboucher force-pushed the feat/tauri-desktop branch from f4939fc to cce5758 Compare July 17, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants