Commit Graph
214 Commits
Author SHA1 Message Date
Erwan Leboucher 8defe20691 fix: avoid unnecessary Slate clipboard reads 2026-07-30 12:45:01 +02:00
Erwan Leboucher f05999dad2 feat(mobile): consolidate bottom sheets and rework the emoji picker 2026-07-29 09:57:40 +02:00
lunar-seal 5d1b61e094 feat: add always inline editor option for multiline messages
# Conflicts:
#	src/app/features/settings/general/General.tsx
2026-07-26 15:28:23 -05:00
7w1 58f8fad580 fix: platform bindings after rebase 2026-07-26 13:51:45 -05:00
7w1 1c85c1b417 cleanup, lazy loading, image viewer 2026-07-26 10:51:19 -05:00
Mohammad-Mohsen d4072d8aa9 Add support for displaying gzipped lottie (e.g. tgs) files 2026-07-26 10:51:19 -05:00
Erwan Leboucher dd254457a1 refactor: share cross-cutting hooks and fix the menu, thread and sheet regressions 2026-07-26 16:51:56 +02:00
Erwan Leboucher 2cd71b342e fix(ios): fall back to native clipboard for empty paste events in composer 2026-07-26 14:59:49 +02:00
Erwan Leboucher 90115b5705 refactor: remove unused exports flagged by fallow 2026-07-25 21:05:33 -05:00
Erwan Leboucher 9e651eed26 refactor: drop unused overlay props and route avatars through one helper 2026-07-25 21:05:32 -05:00
Josie 731b633fbf Fix spoilers breaking when using a proxy tag/shorthand 2026-07-25 01:28:57 +01:00
7w1 8421e07557 harden mobile tauri checks 2026-07-22 14:01:54 -05:00
Erwan Leboucher e8c8d4b4f0 feat(mobile): haptics, iOS keyboard inset, composer scroll, hardware back button 2026-07-20 18:01:14 -05: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
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 5cc5bd7f7e feat(mobile): haptics, iOS keyboard inset, composer scroll, hardware back button 2026-07-20 20:46:38 +02:00
7w1 7911a911a0 Consolidate keybinds and make them configurable (#1121)
<!-- 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. -->

Shows all the keybinds in the keyboard shortcuts section of settings and
makes them configurable

#### 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:

- [x] 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. -->

AI did the initial keyboard shortcut extraction and moved them to a
single file.
2026-07-19 18:59:41 -05:00
Erwan Leboucher b40857a5e7 fix(mobile): keep edit field focused so the keyboard doesn't flicker shut 2026-07-19 19:59:44 +02:00
Erwan Leboucher 1d2a837461 fix: keep composer focused when tapping autocomplete on mobile 2026-07-19 17:36:20 +02:00
7w1 d360d46009 consolidate keybinds and make them configurable 2026-07-18 22:26:23 -05: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 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 b5a922a43c support searching via nicknames 2026-07-05 15:44:11 -05:00
7w1 7fc34ecc48 fix autocomplete crash 2026-07-05 13:45:43 -05:00
7w1 f596104580 Fix gradient theme base issues (#1007)
<!-- 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. -->

Quite some of the fixes are bodges to the fold library since we do not
host a modified folds library

<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/1afd248a-b655-4c0d-94a1-8a9cb7a10ea1"
/>

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 weariness of dying of a heatstroke at 38C wo an AC :<
2026-07-02 02:37:36 +00:00
7w1 d9097ccd40 potential fix 2026-06-28 17:15:31 -05:00
Shea 39a56adfb9 fix gradient themes
Signed-off-by: Shea <[email protected]>
2026-06-28 19:10:56 +03:00
7w1 9c751bd6c7 bulk rename iconAt to sizedIcon
was a silly choice
2026-06-13 18:04:05 -05:00
7w1 221c2e7c25 phosphor icons 2026-06-13 17:50:02 -05:00
7w1 f77906907e fix: room pings regression on dev 2026-05-21 20:36:48 -05:00
7w1 66fe404e03 fix: remove rel and target from outgoing links 2026-05-21 14:14:06 -05:00
7w1 3ac14ab60e fix: improper order of escapes and html parsing for angle brackets 2026-05-17 22:39:21 -05:00
7w1 34d94af30b changeset and lint 2026-05-17 21:46:39 -05:00
7w1 4c8af8aa3b feat: support misskey-flavored markdown for colors 2026-05-17 21:42:45 -05:00
7w1 fdeaf481ef fix: preserve matrix.to mentions when editing 2026-05-17 20:26:26 -05:00
7w1 24a7a9d05c fix link editing behaviors 2026-05-14 23:43:07 -05:00
7w1 daba875a93 formatting and lint things 2026-05-14 15:16:10 -05:00
7w1 542474b80f markdown header fix 2026-05-14 15:05:03 -05:00
7w1 801851a172 fix mentions 2026-05-14 14:55:16 -05:00
7w1 4fe27992d2 fix room pings not looking like @ room 2026-05-14 10:36:18 -05:00
7w1 b868f1d52f Fix formatting behavior around <p> tags (#799)
<!-- 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. -->

A few fixes:
- When emotes are sent (/me), the leading paragraph block is always
dropped so that the action doesn't appear on a new line, subsequent
blocks are still sent.
- For single line messages, paragraph tags are stripped.
- For multiline messages, there's two behaviors, which distinguish the
space between lines Sable (and some other clients probably) display.
    - Single new line = \n
    - Two new lines = \<p> tag

#### 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:

- [x] 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. -->

Tests were AI generated
2026-05-13 20:02:11 -05:00
7w1 193323074b fix: formatting for emotes/related p tags 2026-05-13 00:38:25 -05:00
7w1 7785d91f97 fix: matrix.to links with custom text being sent as escaped html 2026-05-12 21:05:46 -05:00
7w1 bd4b2137b1 fix inline image height and add settings for capping incoming height 2026-05-07 12:48:58 -05:00
7w1 6f0470890f add toolbar to other places 2026-05-06 20:05:30 -05:00
7w1 336140008d add back toolbar 2026-05-06 19:48:23 -05:00
7w1 60c9db8c52 fix emoticon not properly converting when editing messages 2026-05-05 13:54:14 -05:00
Shea Duma c52a07a46a fix some newly introduced linkpreview bugs 2026-05-05 16:42:08 +03:00