Commit Graph
283 Commits
Author SHA1 Message Date
7w1 2d522361bf fix edit diff and icon scaling 2026-06-16 17:32:32 -05:00
Shea 13b9fbc593 add snooping polls
Signed-off-by: Shea <[email protected]>
2026-06-14 14:21:20 +03:00
Shea 1e94bc0e69 fix moving pins
Signed-off-by: Shea <[email protected]>
2026-06-14 07:53:09 +03:00
7w1 ae13621d4f swap at icon with @ text 2026-06-13 21:02:54 -05:00
7w1 8d9be0ba20 a couple icon size adjustments and add reaction shortcut 2026-06-13 20:51:51 -05:00
7w1 21510fceaf fix deprecated icon imports and some formatting 2026-06-13 19:23:51 -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 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 1ee6a36ef2 fix stupid sdk issue <3
Signed-off-by: Shea <[email protected]>
2026-06-13 02:00:10 +03:00
Shea 073232f026 fix styling separation
Signed-off-by: Shea <[email protected]>
2026-06-11 22:46:08 +03:00
Shea 1e14b47c8a merge upstream
Signed-off-by: Shea <[email protected]>
2026-06-11 22:26:15 +03:00
Shea 13bfa91b98 change it to fill soft
Signed-off-by: Shea <[email protected]>
2026-06-11 19:22:33 +03:00
Shea 63e60be3aa merge upstream
Signed-off-by: Shea <[email protected]>
2026-06-11 19:11:45 +03:00
Shea cce2cfa614 styling changes
Signed-off-by: Shea <[email protected]>
2026-06-11 18:58:09 +03:00
Shea 92fa7a1f18 fix merge conflict
Signed-off-by: Shea <[email protected]>
2026-06-11 18:11:06 +03:00
7w1 f5b81ea7c9 Image viewer changes (#919)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Change Pixelation options to be never smart or always, removing the
chat/image-viewer distinction

The 'smart' setting marks images smaller than 192 (128+64) as pixelart
by default, this means that the image will appear crisp in the regular
chat, and will default to crisp in the image viewer, and if the image is
any bigger it will become anti-aliased in both.

However, if someone wants to see an image of a higher resolution as
pixelart they now have a button next to the reset view options to toggle
pixelation and anti-alias.

Fixes #

#### 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
- [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. -->
This code was written with the boredom of not having anything better to
do
2026-06-09 18:52:01 +00:00
Shea d56f9bf6e9 implement sharing map locations
Signed-off-by: Shea <[email protected]>
2026-06-09 10:30:53 +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 c119bc261d change pixelation style
Signed-off-by: Shea <[email protected]>
2026-06-05 05:07:22 +03:00
Shea 0487b72862 fix overflows and filename-less files
Signed-off-by: Shea <[email protected]>
2026-06-03 14:45:41 +03:00
Shea 5e5122302d some stylistic changes
Signed-off-by: Shea <[email protected]>
2026-06-03 11:53:28 +03:00
Shea 0e8fea530c fmt <3
Signed-off-by: Shea <[email protected]>
2026-06-02 13:22:27 +03:00
Shea 107c3fc804 maybe overcomplicated logic for useless text <3
Signed-off-by: Shea <[email protected]>
2026-06-02 13:16:12 +03:00
Shea 9ee6c54707 add respones modal
Signed-off-by: Shea <[email protected]>
2026-06-02 12:20:52 +03:00
Shea 1fd451557e add command
Signed-off-by: Shea <[email protected]>
2026-06-02 09:19:49 +03:00
Shea a7ae1a4451 optimizations
Signed-off-by: Shea <[email protected]>
2026-06-01 21:23:30 +03:00
Shea 1d265ba222 add rendering for all options
Signed-off-by: Shea <[email protected]>
2026-06-01 06:28:35 +03:00
Shea 16d67f19d3 style and clear path of the poll dialogue
Signed-off-by: Shea <[email protected]>
2026-05-31 22:37:14 +03:00
Shea 2f610b3565 add poll creation modal
Signed-off-by: Shea <[email protected]>
2026-05-31 04:56:38 +03:00
Shea 607e972e1c add ending polls, and poll ends
Signed-off-by: Shea <[email protected]>
2026-05-30 10:01:28 +03:00
Shea 763a3a72cb add poll styling and poll selection
Signed-off-by: Shea <[email protected]>
2026-05-28 08:05:02 +03:00
Shea 7d3dc037cd add basic poll display
Signed-off-by: Shea <[email protected]>
2026-05-27 21:32:23 +03:00
7w1 254cd5e907 Fix crash while scrubbing some audio files (#902)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

I don't think we technically do "scrubbing" but idk any other word for
it.

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

Fixes the crash while scrubbing audio files by pretty much just spamming
infinity checks everywhere and adding a helper to calculate duration
properly (previously the voice message content never specified duration
so it would only appear after the file fully loaded in).

#### 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-05-25 15:47:08 -05:00
7w1 69315dc2ed fix: various hardening for audio messages to ensure finite-ness 2026-05-24 21:50:15 -05:00
Shea Duma 39bfed2208 highlight to be replied to
Signed-off-by: Shea Duma <[email protected]>
2026-05-23 17:02:43 +03:00
7w1 7170a1d78f fix typecheck 2026-05-18 12:17:42 -05:00
7w1 c9ff055c24 fix: emojis not rendering in replies 2026-05-18 12:13:38 -05:00
7w1 5b1fb580d2 satisfy linter 2026-05-14 23:01:23 -05:00
7w1 a64ecd5773 fix reply chips not showing some replies 2026-05-14 22:47:34 -05:00
7w1 daba875a93 formatting and lint things 2026-05-14 15:16:10 -05:00
7w1 604ad29728 Fix fallback text wrapping (#806)
<!-- 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 #766, updates the wrapping behavior to wrap the message type and
body together rather than separately, as shown in the images in the
issue.

#### 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-05-13 20:13:58 -05:00
7w1 7bca285366 fix: close modal instantly 2026-05-13 19:24:21 -05:00
7w1 b2adebdc70 feat: forward modal swap & forward to same room 2026-05-13 19:17:45 -05:00
7w1 1b003df34a formatting 2026-05-13 15:42:45 -05:00
7w1 446f77cdac fix: fallback body wrapping with type 2026-05-13 15:42:20 -05:00
7w1 f9ade5b986 add ability to cap preview size and minor adjustment to restore codeblock background of misc data 2026-05-09 16:42:07 -05:00
7w1 afa9f64cee Fix of wrong alignment with mixed RTL and LTR text (#743)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This PR resolves formatting and alignment issues with mixed RTL
(Right-to-Left) and LTR (Left-to-Right) text within messages.
Previously, mixed text direction caused display inconsistencies in the
main message body and the reply content area.

**Changes made:**
* Added `dir="auto"` to the base message `Text` component, allowing the
browser to automatically determine the base text direction according to
the first strongly-typed character of the message.
* Applied `unicode-bidi: plaintext` to the message content CSS and the
`Text` component inside the reply content. This ensures the browser
dynamically evaluates and handles the text direction based on the actual
characters used rather than inheriting the container's direction.
* Set `align-self: start` on the message content. This ensures that even
for RTL messages, the content block anchors appropriately to the left
side (start) of the view, while still preserving the correct internal
text direction.

#### 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
- [ ] 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).
<!-- No AI was used in the creation of this code. -->
2026-05-09 19:40:12 +00:00
7w1 cda61305ab typecheck fix 2026-05-07 14:50:41 -05:00