Commit Graph
4646 Commits
Author SHA1 Message Date
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 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 d5ab7e946e formatting
dumb vscode
2026-06-13 17:59:42 -05:00
7w1 cdf20c4586 minor size adjustments for some icons 2026-06-13 17:55:51 -05:00
7w1 221c2e7c25 phosphor icons 2026-06-13 17:50:02 -05:00
7w1 5af26467bb changeset and polls changeset adjustment 2026-06-13 14:22:29 -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 915800cfbd fix sdk issue within the poll <3 (#932)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

While troubleshooting the new features for any bugs i noticed that some
time events dont propagate their sender properly, used the function even
tho its more overhead just because it is more reliable <3

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

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
- [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).
<!-- 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 anxiety of sending a common weird sdk "feature"
2026-06-12 23:10:31 +00:00
Shea 1ee6a36ef2 fix stupid sdk issue <3
Signed-off-by: Shea <[email protected]>
2026-06-13 02:00:10 +03:00
sable-actions[bot] ee46df2e9e chore(nix): auto-fix nix hashes 2026-06-12 21:43:41 +00:00
7w1 53fd99347f Feat location (#927)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

There is a doc written for this under
https://github.com/SableClient/docs/pull/16

Add location modal, this adds a dependency to leaflet, it is a slightly
outdated version to fit in with our react version

(look of a location shared)
<img width="1474" height="940" alt="image"
src="https://github.com/user-attachments/assets/7838119b-37af-4ad4-b79b-34656f23b5f1"
/>

(look of the add menu)
<img width="155" height="169" alt="image"
src="https://github.com/user-attachments/assets/74eb1bf2-15c7-4a79-8c06-6ddca0b2ff8c"
/>

(look of the location sharing modal)
<img width="503" height="646" alt="image"
src="https://github.com/user-attachments/assets/05afa98c-28cb-49e4-bd49-e61818f95148"
/>
From here you can paste coords, or links to osm, geo:, or apple long
links, i have decided against short links at this time as they seem to
not be working reliably

(look of the 2 new settings as it is a feature that makes external
calls)
<img width="808" height="689" alt="image"
src="https://github.com/user-attachments/assets/428668f3-51dd-46b5-8ef9-1a7a5b72ee46"
/>

Fixes #

#### 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).
<!-- 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 love of fancy accidental self-doxxing
2026-06-12 21:39:43 +00:00
Shea 5f5be0f230 fix typo and add catch
Signed-off-by: Shea <[email protected]>
2026-06-12 23:43:38 +03:00
7w1 6bfd2b9fcb fix root element in thread looking wrongly selected (#929)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix the topmost item in a thread looking highlighted when it shouldnt,
but it still highlights if you specifically want to actually reply to it
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 #

#### 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
- [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).
<!-- 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 inspiration of eating by and by
2026-06-12 17:46:56 +00:00
Shea 30a4abbad1 add full new key to avoid weird edgecase
Signed-off-by: Shea <[email protected]>
2026-06-12 17:07:56 +03:00
Shea 7fd1ac006e fix root element in thread looking wrongly selected
Signed-off-by: Shea <[email protected]>
2026-06-12 16:25:34 +03:00
Shea b4f4c8f343 fix root element in thread looking wrongly selected
Signed-off-by: Shea <[email protected]>
2026-06-12 16:24:06 +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
7w1 c903b0e3af Feat: Add polls (#916)
<!-- 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. -->

There is a docs written for this feature as
https://github.com/SableClient/docs/pull/16

Adds poll events, a poll creation modal, a poll respones modal similar
to the reactions one, a /poll command, changes the plus button in the
editor to add a menu where the location should be located aswell when
implemented, changes the pin behavior to make it so that any click on it
takes you there as opposed to needing to hit a small button to align
with other platform.

The creation of a new implementation was required as the upstream
variant is completely spec-non-compliant, incomplete and broken, so this
implementation supersedes it.

(simple snapshot of the change)
<img width="1665" height="1080" alt="image"
src="https://github.com/user-attachments/assets/4b0552af-dc1b-47d6-8269-ba45cc14759c"
/>

(examples of the poll creation modal)
<img width="516" height="556" alt="image"
src="https://github.com/user-attachments/assets/0ca22932-6210-4bf6-9088-bae6106a0390"
/>
<img width="516" height="509" alt="image"
src="https://github.com/user-attachments/assets/7d438099-0c78-4b52-8622-f283ae2505e7"
/>

(the new menu in the editor)
<img width="130" height="132" alt="image"
src="https://github.com/user-attachments/assets/a48784ba-1e2f-4b49-b2dc-76915064902f"
/>

(the setting to turn it off)
<img width="815" height="697" alt="image"
src="https://github.com/user-attachments/assets/0893285c-acf5-4d7a-92a6-a189385056c1"
/>

(example of look before you cast your vote)
<img width="571" height="216" alt="image"
src="https://github.com/user-attachments/assets/bd45d760-1502-416b-be9c-ae4e47df1673"
/>

(example of undisclosed vote)
<img width="578" height="220" alt="image"
src="https://github.com/user-attachments/assets/e988697a-8b30-4da3-9b2f-c3a53cb92bb3"
/>

(example of multiple a choice question)
<img width="558" height="503" alt="image"
src="https://github.com/user-attachments/assets/09c3b815-e1de-4521-bf07-b7efede785f4"
/>

(modal for the voters, chose this size in case that the options become
very long)
<img width="816" height="698" alt="image"
src="https://github.com/user-attachments/assets/c36dea97-c8ce-4e89-9c5b-d070f8ab3d1a"
/>
<img width="813" height="700" alt="image"
src="https://github.com/user-attachments/assets/b5922cd3-593d-4a23-8549-db2aa38662f1"
/>

i still so wish more people could test this maybe maybe maybe before
merge

I would be very happy to change anything visually about these polls

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] 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

### 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 unyielding need of polls as message types

Signed-off-by: Shea <[email protected]>
2026-06-11 19:05:12 +00: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
Shea a040c5d552 style dialog and make command more useful
Signed-off-by: Shea <[email protected]>
2026-06-11 18:03:37 +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 9b33efcbfa implement 'smart' pixelation in chat
Signed-off-by: Shea <[email protected]>
2026-06-05 07:33:53 +03:00
Shea 663f117432 fix overflows and filename-less files (#917)
<!-- 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. -->

The changes are broader to account for potential other items overflowing
their size and breaking edits and downloading with the wrong name

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
- [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).
<!-- 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 the voices
2026-06-05 04:14:11 +00: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 277babcaaf add setting for reverting menu on the plus button
Signed-off-by: Shea <[email protected]>
2026-06-02 10:26: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
7w1 19e3dbcf3c Fix math parsing in color (#910)
<!-- 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 math parsing inside of color blocks not being parsed as math with
color.

#### 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-31 19:46:56 -05: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
7w1 b706cb9ed3 changeset 2026-05-28 17:41:06 -05:00
7w1 8daf965788 fix math inside of color blocks 2026-05-28 16:37:02 -05:00
Shea 763a3a72cb add poll styling and poll selection
Signed-off-by: Shea <[email protected]>
2026-05-28 08:05:02 +03:00