Commit Graph
284 Commits
Author SHA1 Message Date
7w1 2cfa5a7fab fix recent emojis and sliding sync display 2026-07-09 10:16:58 -05:00
7w1 7eb44a41f6 formatting 2026-07-08 14:37:41 -05:00
7w1 9e895cd880 use stable image pack identifiers 2026-07-08 14:29:34 -05:00
7w1 633494f9d8 dependency bumps 2026-07-04 00:07:31 -05: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
7w1 2d8727c7c9 fix no pip when calling 2026-06-30 20:35:19 -05:00
7w1 03c0d08fc9 mute controls 2026-06-30 19:11:16 -05:00
7w1 9ddb3bbc37 fix button styles and settings menu 2026-06-30 16:29:11 -05:00
7w1 35461f5107 potentially fix font injection into widget 2026-06-30 16:03:00 -05:00
7w1 f012f4326b refactor ringtones and cleanup call controls 2026-06-30 15:48:13 -05:00
7w1 e6091e61c8 swap to stable recent emojis + migration logic 2026-06-28 16:07:06 -05:00
7w1 71b984c5e5 styles 2026-06-28 00:03:23 -05:00
7w1 3d0425d74c lint 2026-06-27 23:43:50 -05:00
7w1 2865af25c1 themeing things 2026-06-27 22:45:33 -05:00
7w1 11ead89354 resolve lint/typecheck/knip issues 2026-06-27 21:33:20 -05:00
7w1 15a427ab47 Forward state events to Element Call via timeline listener to fix call hang 2026-06-27 20:52:34 -05:00
7w1 26cd65c3df Fix call embed button border overlay, reaction menu fonts, and slider UI 2026-06-27 00:19:39 -05:00
7w1 cc49bebdc4 remove call controls and inject stylesheet into sable call 2026-06-26 22:29:23 -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
hazre b59c927b24 refactor: emoji detection in text 2026-06-18 03:56:53 +02:00
7w1 788df9a75f update some dependencies and add new arborium theme 2026-06-17 16:42:54 -05:00
7w1 e76c33c0e1 update twemoji package and emoji lists 2026-06-17 16:24:08 -05:00
7w1 bed7024ab1 address lint rules & update package.json
via an exclusion and lots of copy paste
as part of that swapped space banner and abbr to use buttons and disabled button styles for them
2026-06-16 18:05:31 -05:00
7w1 285a76bc8b More hidden events & Phosphor Icons replacement & Add reactions button (#934)
<!-- 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. -->

Copied from changesets :p

Add more hidden timeline events with settings and rendering.

#### Settings

- Add a master Show Hidden Events toggle with per-type sub-toggles for
message edits, redactions, reactions, and other unrecognized events
- Sub-toggles stay visible beneath the master toggle and are disabled
while hidden events are off
- Fold the redacted-message tombstone setting into the redactions group
and migrate existing tombstone preferences

#### Timeline filtering and rendering

- Show message edits as timeline events with reply navigation and an
inline word/line diff between versions
- Show reactions, message redactions, and reaction redactions as
timeline events instead of message bubbles
- Keep redacted reactions in the timeline as tombstones with redaction
events linking back to them when possible
- Improve reply-chip previews for edits, redactions, reactions, and
redacted targets
- Merge related edit and reaction events into the timeline when they are
missing from pagination

#### Safeguards

- Hide forward, delete, and other message actions on timeline meta
events that cannot be forwarded or meaningfully deleted
- Disallow forwarding deleted messages and other non-message event types

Migrated all icons to Phosphor Icons and added a setting to display
globe/lock icon instead of the hash tag for the room sidebar.

Added a reaction shortcut when a message already has a reaction.

+ fixed the polls changeset formatting a little, i think...

#### Type of change

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

- [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 bit of test generation and assisted with some of the bulk
icon replacement, although the icons were manually picked out.
2026-06-13 21:31:22 -05:00
7w1 e29de131c8 formatting and tests and changeset 2026-06-13 20:39:27 -05:00
7w1 2912b2c56c hook parser into parser 2026-06-13 19:56:01 -05:00
7w1 3695ef60b4 matrix uri parser 2026-06-13 19:43:33 -05:00
7w1 6b9c7ac582 formatting 2026-06-13 18:04:20 -05: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 8daf965788 fix math inside of color blocks 2026-05-28 16:37:02 -05:00
7w1 ee575c0dbd fix: nested list indentation 2026-05-26 23:42:24 -05:00
7w1 b0349b431c fix: lists rendering p tags causing new lines 2026-05-26 23:37:09 -05:00
7w1 ed80f656a4 fix: block quotes doing mitosis
should preserve the new lines more accurately and probably fixes a couple other bugs
2026-05-21 20:03:09 -05:00
7w1 66fe404e03 fix: remove rel and target from outgoing links 2026-05-21 14:14:06 -05:00
7w1 30798ac266 typecheck and cleanup 2026-05-18 23:25:38 -05:00
7w1 e25ce4e5dd extract a bunch of things into their own files and some tests 2026-05-18 20:42:35 -05:00
7w1 333fa55ec6 remove outdated sound suppression 2026-05-18 18:50:33 -05:00
7w1 95493d6f1a fix: lists pushing off screen 2026-05-18 13:22:38 -05:00
7w1 92c270ee2e fix: arbitrary list starts 2026-05-18 13:18:44 -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 58ffeb00b8 fix: html input tag parsing hardening 2026-05-17 21:06:05 -05:00
7w1 66b5efe348 fix: matrix.to links getting arrow brackets added 2026-05-17 20:41:22 -05:00
7w1 db2f11518d fix: block quote new lines 2026-05-17 20:35:21 -05:00
7w1 fdeaf481ef fix: preserve matrix.to mentions when editing 2026-05-17 20:26:26 -05:00
7w1 e19e0df8f9 formatting 2026-05-14 23:48:10 -05:00
7w1 24a7a9d05c fix link editing behaviors 2026-05-14 23:43:07 -05:00
7w1 f07d331d30 Merge branch 'dev' into refactor-calls
# Conflicts:
#	src/app/components/message/content/ImageContent.tsx
2026-05-14 22:36:18 -05:00