Commit Graph
3294 Commits
Author SHA1 Message Date
niki b69a00fbac Prefer body over filename in tooltip 2026-07-04 19:48:06 +03:00
niki 1234d63234 Rendering changes 2026-07-04 19:44:22 +03:00
niki 918cdd8c06 Fix re-rendering 2026-07-04 12:50:43 +03:00
niki 2dd1dc2ba3 Change gallery to be a grid 2026-07-03 15:30:24 +03:00
niki ea9a392982 WIP css changes 2026-07-01 20:13:24 +03:00
Shea c9d6cc543a Make items keep aspect ratio 2026-07-01 15:15:52 +03:00
nikiandTomasz Sterna 55a9032656 Add gallery support
Co-Authored-By: Tomasz Sterna <[email protected]>
2026-07-01 13:03:14 +03:00
7w1 4d6137b0d2 Swap to stable recent emojis key (#1009)
<!-- 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. -->

Swaps to the stable recent emojis identifier since it was added to spec
in 1.18, and has a bit of migration logic to convert the legacy one to
the stable one if its not present.

#### 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-06-29 14:22:05 -05:00
niki 8fc750447a Remove account switcher tab 2026-06-29 18:44:26 +03:00
niki fc5252fa16 Fix dividers & change color to placeholder 2026-06-29 18:44:26 +03:00
Shea 599b9b9ebd remove automatic status mode
Signed-off-by: Shea <[email protected]>
2026-06-29 18:44:26 +03:00
niki 5b46bd17f3 Redesign the user menu tab 2026-06-29 18:44:26 +03:00
niki 1fd77de4da Add gif picker settings ID to settingsLink 2026-06-29 18:39:05 +03:00
niki d086ffa56a Add a toggle for disabling the gif picker 2026-06-29 18:34:01 +03:00
7w1 2f9be8c82f remove some unnecessary data from account data 2026-06-29 17:50:42 +03:00
7w1 5117d56f28 formatting 2026-06-29 17:50:42 +03:00
7w1 53ef9d69f5 consolidate gif handling, support spoilers, add missing metadata and sable api key 2026-06-29 17:50:42 +03:00
niki 9dd1d0df22 Address lints 2026-06-29 17:50:42 +03:00
niki ab23f571e6 Add gif functionality using klipy 2026-06-29 17:50:42 +03:00
7w1 f57f6f81e5 formatting 2026-06-28 16:11:53 -05:00
7w1 e6091e61c8 swap to stable recent emojis + migration logic 2026-06-28 16:07:06 -05:00
Shea 38b64b3ef0 Add a context menu for copying and downloading images (#994)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adds a context menu for copying and downloading images in the
`ImageViewer`. Useful for electron/tauri users.

<img width="1036" height="1086" alt="image"
src="https://github.com/user-attachments/assets/e3b07381-c76c-4bbe-8b5c-e9492bb7d10c"
/>

#### 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
- [ ] 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 the rage of using sable electron.
2026-06-27 14:12:46 +00:00
Shea b5882f11a9 Add copy button (#1001)
<!-- 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. -->

Add button for copying unformatted version of the text
<img width="265" height="436" alt="image"
src="https://github.com/user-attachments/assets/476efe2e-ce6d-44ac-af57-539b0f236fef"
/>

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 half asleep
2026-06-27 14:11:22 +00:00
Shea 1499b5dd6a Fix mentions not sending in non-textual replies (#1004)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Fixes mentions not sending in non-textual replies, idk what else there
is to say about this

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

Fixes #999

#### 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 assistance of having forgotten to write this part a few
months ago
2026-06-27 07:16:28 +00:00
7w1 7c931bfa87 Fix add account when using hash router (#993)
<!-- 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 #556 and also fixes the cancel button in the login page having the
exact same behavior as the add account

#### 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).
<!-- 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-06-27 06:11:50 +00:00
Shea 10114668d8 fix mentions in non-text replies
Signed-off-by: Shea <[email protected]>
2026-06-27 03:58:37 +03:00
Shea b391327e1e add copy button
Signed-off-by: Shea <[email protected]>
2026-06-26 13:38:33 +03:00
Shea 0ece14054f fix-weird-bug
Signed-off-by: Shea <[email protected]>
2026-06-26 02:24:03 +03:00
Shea c5e59346f4 add wider support
Signed-off-by: Shea <[email protected]>
2026-06-25 22:49:36 +03:00
niki f68b200e85 Add a context menu for copying and downloading images 2026-06-25 12:18:03 +03:00
EphemeralFog 36a0f9cc1a fix: cancel button in the auth page not working when hash router is enabled 2026-06-25 11:15:51 +03:30
EphemeralFog a748d190c4 fix: add account not working if hashRouter is enabled 2026-06-25 11:15:41 +03:30
7w1 28344f86ba Fix preserve add account param (#992)
<!-- 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 the register link in the login page going back to the client if
the user is trying to add a new account by adding the `addAccount=1`
query param in the register page url

#### 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).
<!-- 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-06-25 02:35:06 +00:00
Shea 23e7a91eba merge upstream
Signed-off-by: Shea <[email protected]>
2026-06-25 04:03:47 +03:00
Shea 06153f6d13 Fix the new sidebar items (#986)
<!-- 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. -->

<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/8acee9a1-1377-4a96-9da9-863caf7260da"
/>

<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/58b21ff8-348d-48ff-8255-f5b49a281216"
/>

<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/269bfd45-9201-4e64-b641-c76e62fef6f5"
/>

<img width="818" height="697" alt="image"
src="https://github.com/user-attachments/assets/debcef96-23af-41bf-a7d8-ea51e070206f"
/>

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 w the assistance of not having made myself a meal today
2026-06-24 14:55:16 +00:00
Shea 8e55182d3e fix abandn
Signed-off-by: Shea <[email protected]>
2026-06-24 16:42:20 +03:00
EphemeralFog 7763a15107 fix: keep addAccount=1 param while moving between auth pages 2026-06-24 16:44:44 +03:30
Shea 3549449719 maybe move the unverified at the top
Signed-off-by: Shea <[email protected]>
2026-06-24 13:09:59 +03:00
7w1 0b430d8604 Feat better mobile context menu (#946)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

This PR implements a context menu for mobile, refactors the option
menus, and unifies events and messages to a limited degree, it also
fixes some focus issues

The pr does NOT fix quickmenu being underlayed in the thread root, or
the entirety or focus issues. These issues could be fixed in the future
with the help of this by creating an atom and showing the quickemenu as
a unique item in the RoomView but that would still require a lot of
work, it also does NOT unify the events and messages entirely or reduce
the amount of data that is requested before usage, though it enables it
for future development, nor does it the rightclicking outside of the
MessageInternal/children but still within the message not bringing the
menu

(view of the menu on a random real message)
<img width="1080" height="2307" alt="image"
src="https://github.com/user-attachments/assets/90a85aaa-abde-4b15-a81f-b13dc2fb2a8d"
/>

(maximum size of a mobile menu)
<img width="1080" height="2307" alt="image"
src="https://github.com/user-attachments/assets/a5e98400-aee2-469a-8721-057d04077885"
/>

(this pr does NOT remove the mobile quickmenu so you can still access
the message the old way)
<img width="1080" height="2307" alt="image"
src="https://github.com/user-attachments/assets/f31c2288-7f9c-4b35-b775-8dd9fa216636"
/>

If you wish to select text from a message you have to first bring the
menu and then select it from it

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)
- [ ] 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. -->
This is being written w the assistance of whatever music is in my ears
while writing it :p
2026-06-23 22:07:55 +00:00
Shea 9c01b79300 make make dragging work *around* message
Signed-off-by: Shea <[email protected]>
2026-06-24 01:01:46 +03:00
Shea 76d75cc4d0 make everything flickable
Signed-off-by: Shea <[email protected]>
2026-06-24 00:20:21 +03:00
Shea 3b5c148e40 remove instep
Signed-off-by: Shea <[email protected]>
2026-06-23 23:41:05 +03:00
Shea 6076850906 fix mobile view things
Signed-off-by: Shea <[email protected]>
2026-06-23 23:34:18 +03:00
Shea 567a11f55d fix call view
Signed-off-by: Shea <[email protected]>
2026-06-23 23:26:57 +03:00
Shea 1fa463f8c7 new version
Signed-off-by: Shea <[email protected]>
2026-06-23 21:48:59 +03:00
7w1 b2e2314a6f actually stop swipe gestures i think 2026-06-23 12:51:34 -05:00
7w1 cfad2cb420 disable swipe gestures and adjust padding 2026-06-23 12:45:46 -05:00
7w1 28c34f7219 Change drag handle style 2026-06-23 12:37:10 -05:00
7w1 760a7791c6 revert menu positioning adjustment 2026-06-23 12:26:20 -05:00
7w1 2850d5fef6 make drag handle appear 2026-06-23 12:19:50 -05:00