Commit Graph
198 Commits
Author SHA1 Message Date
Erwan Leboucher 6820d54eb1 feat(settings): add runtime app icon selection 2026-08-08 15:02:02 -05:00
Erwan Leboucher 225468e983 fix(a11y): correct name colors by default and stop the legacy color migration overwriting saved colors 2026-08-08 00:10:26 +02:00
Josie 8552665456 Add accessibility tab 2026-08-07 11:55:09 +01:00
7w1 efd917f014 fix: migrate legacy push settings 2026-08-06 10:25:47 -05:00
Josie d4a20587d8 Add the option to remove the fallback from PMPs 2026-08-04 00:33:08 +01:00
Shea e05298762e Add persona latching when using shorthands (#1435)
<!-- 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. -->
Adds 'latching', a PluralKit feature where if a shorthand is used it
will set the proxy to be used for subsequent messages. This is a setting
that is off by default.

Part of #1279

#### 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-31 08:19:45 +00:00
Daisy e935f8aa8e Add PMP name colors 2026-07-28 21:10:04 +01:00
Josie fa1e57bd9b Add persona latching when using shorthands 2026-07-27 22:31:37 +01: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
hazre 0e72405875 feat: unify product name and build flavor across builds
Signed-off-by: hazre <[email protected]>
2026-07-26 13:32:41 -05:00
Erwan Leboucher 90115b5705 refactor: remove unused exports flagged by fallow 2026-07-25 21:05:33 -05:00
Erwan Leboucher f26d93f102 refactor: give ModalOverlay mobile presentation and android back 2026-07-25 23:54:17 +02:00
7w1 76bffcfb52 Fix synced local tweaks (#1220)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Restores locally imported CSS tweaks after settings sync on a new
device. The change migrates legacy cache-only tweaks, restores listing
and application without IndexedDB races, bounds aggregate CSS payloads,
preserves source-only oversized tweaks, and reports partial sync when
necessary.

#### Verification

- `npm run test:run -- src/app/utils/settingsSync.test.ts
src/app/hooks/useSettingsSync.test.tsx
src/app/theme/syncedTweakCss.test.ts src/app/pages/ThemeManager.test.tsx
src/app/theme/processThemeImport.test.ts
src/app/features/settings/cosmetics/ThemeCatalogSettings.test.tsx` (65
passed)
- `npm run fmt:check -- src/app/utils/settingsSync.ts
src/app/utils/settingsSync.test.ts`
- `git diff --check`
- `npm run typecheck` remains blocked by pre-existing Matrix OAuth
exports and the missing sharekit declaration; no errors point to this
change.

Fixes #1208

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

<!-- The template requires this explanation to be written by the
contributor, not generated by AI. -->
2026-07-24 05:18:34 +00:00
Erwan Leboucher 2f0d7ecb68 feat: reorderable composer trigger buttons 2026-07-23 22:54:01 +02:00
Erwan Leboucher 807135e734 Add native push notifications with reply actions, content preview, and configurable gateway 2026-07-23 14:45:06 -05:00
7w1 8421e07557 harden mobile tauri checks 2026-07-22 14:01:54 -05:00
7w1 b2fa404cf6 default to 1 pronoun pill on mobile 2026-07-22 13:57:05 -05:00
Erwan Leboucher 44e6c0a9c4 fix: restore synced local tweaks 2026-07-22 20:21:46 +02:00
Daisy 30e158c46b Add Persona Picker in the Editor 2026-07-21 22:51:10 +01: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
7w1 fa0a3719df Support msc4466 altering profile propagation (#1117)
<!-- 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. -->

Adds support for
[MSC4466](https://github.com/matrix-org/matrix-spec-proposals/pull/4466)
to allow sending global profile updates to all rooms, rooms without
overrides, and no rooms.

Requires server support, afaik only Continuwuity has that atm. When
unsupported the option is grayed out.

All -> standard behavior
Unchanged -> default Sable behavior, should propagate global updates to
rooms without their own profile changes (handled by server)
None -> Only updates global profile, users can individually send updates
through the cosmetics menu of specific rooms if they want something to
match the global profile.

Oh, should also inadvertently fix #1096 i think

#### 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 15:01:07 -05:00
7w1 d360d46009 consolidate keybinds and make them configurable 2026-07-18 22:26:23 -05:00
7w1 f00176dcb1 support msc4466 profile propagation 2026-07-18 14:38:45 -05: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
Shea 76d50188c9 fix animal identity resetting
Signed-off-by: Shea <[email protected]>
2026-07-13 05:21:06 +03: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
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
niki a8742d9806 Add the ability to send individual attachment text as caption 2026-07-05 14:03:40 +03:00
Shea b1b018e190 merge upstream
Signed-off-by: Shea <[email protected]>
2026-07-05 06:10:16 +03:00
7w1 8f8d9f8c07 Update call implementation and custom ringtones (#841)
<!-- 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. -->

Attempts to match spec notification/call end/join behaviors a little
better.
Adds an option for custom ringtones and ringbacks.
Adds permissions for calls.
Makes it so when you leave calls they don't instantly end
Makes it so calls are properly declined
Makes it so when a call is declined you don't automatically hang up
Includes updated sablecall
Removes the call controls from the call view and instead injects styles
to modify the widget appearance. For whatever reason font isn't working
quite yet, although it works locally :/
Adds some tests for things.
Fixes #857 
Fixes #855
Fixes #691
Might address #898, #908 (needs testing)

Still todo:
- ~~update changesets again~~
- ~~figure out how to style the call room backgrounds properly~~
- ~~inject twemoji font (or put in sable call?)~~
- ~~add phosphor icons to sable call?~~
- ~~add deafen button to sable call~~
- ~~fix odd ringtone looping behavior~~ hopefully fixed?
- ~~more testing~~ merge now, fix later?
- ~~Some file cleanup of some no longer necessary stuff due to removing
the call ui overlay thing~~
- ~~Fix some scaling related things~~

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

- [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 and AI was used to compare some other call
implementations and ensure spec and standard compliance and to figure
out how to inject the sable theme into all the widget elements.
2026-07-01 22:11:54 -05:00
nikiandTomasz Sterna 55a9032656 Add gallery support
Co-Authored-By: Tomasz Sterna <[email protected]>
2026-07-01 13:03:14 +03:00
Shea 34869f1c15 change modal styling and bar
Signed-off-by: Shea <[email protected]>
2026-06-30 22:42:15 +03:00
niki d086ffa56a Add a toggle for disabling the gif picker 2026-06-29 18:34:01 +03:00
7w1 2134e19109 add setting for voice room notifs 2026-06-27 23:37:33 -05:00
7w1 8608364bd8 Merge branch 'dev' of https://github.com/SableClient/Sable into refactor-calls
# Conflicts:
#	src/app/components/IncomingCallModal.tsx
#	src/app/features/room/RoomCallButton.tsx
#	src/app/state/settings.defaults.test.ts
2026-06-26 19:28:01 -05:00
Shea 1fa463f8c7 new version
Signed-off-by: Shea <[email protected]>
2026-06-23 21:48:59 +03:00
Shea acf4939871 add strict option and change default to it
Signed-off-by: Shea <[email protected]>
2026-06-22 11:19:32 +03:00
7w1 cba206019a add background notif sound setting 2026-06-16 19:38:13 -05:00
7w1 6fd54edf23 add options for icon sizes
and remove some intermediate stuff i used initially
2026-06-14 11:06:39 -05:00
7w1 082082baff change default settings 2026-06-13 21:20:43 -05:00
7w1 221c2e7c25 phosphor icons 2026-06-13 17:50:02 -05:00
7w1 2b3bc5b5f3 tons of hidden event toggles and rendering
among other patches
git history was getting far too messy so single big commit it is
2026-06-13 14:15:14 -05:00
Shea 92fa7a1f18 fix merge conflict
Signed-off-by: Shea <[email protected]>
2026-06-11 18:11:06 +03:00
Shea 9b6f2fbd79 implement rendering maps in sharing location
Signed-off-by: Shea <[email protected]>
2026-06-06 22:03:35 +03:00
Shea 107f31482a Merge remote-tracking branch 'origin/dev' into feat-location 2026-06-05 15:48:36 +03:00
Shea 9b33efcbfa implement 'smart' pixelation in chat
Signed-off-by: Shea <[email protected]>
2026-06-05 07:33:53 +03:00
Shea c119bc261d change pixelation style
Signed-off-by: Shea <[email protected]>
2026-06-05 05:07:22 +03:00
Shea 277babcaaf add setting for reverting menu on the plus button
Signed-off-by: Shea <[email protected]>
2026-06-02 10:26:52 +03:00
7w1 744ebda30e Pronoun pill details on hover and adjustable limits (#904)
<!-- 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 #62 
<img width="276" height="60" alt="image"
src="https://github.com/user-attachments/assets/36f7647d-55ab-4d49-9ec1-6538d12743e3"
/>

Also adds options for setting the max pronoun pills and the max display
length per pill.


#### 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-05-25 23:57:00 -05:00
7w1 a2f2707a37 feat: customizable pronoun pill limits 2026-05-24 22:54:54 -05:00