Commit Graph
41 Commits
Author SHA1 Message Date
7w1 1cd3850a26 lint stuff 2026-03-19 22:18:52 -05:00
Rye 7b3ea2b9c0 fix sonarqube maintainability issues
- Number static methods and properties should be preferred over global equivalents (typescript:S7773)
- Function references should not be passed directly to iterator methods (typescript:S7727)
- Strings should use "replaceAll()" instead of "replace()" with global regex (typescript:S7781)
- "RegExp.exec()" should be preferred over "String.match()" (typescript:S6594)
- React props should be read-only (typescript:S6759)
- Prefer `Math.min()` to simplify ternary expressions (typescript:S7766)
- Optional property declarations should not use both '?' and 'undefined' syntax (typescript:S4782)
- Built-in constructors should be called consistently with or without "new" (typescript:S7723)
2026-03-14 17:32:19 +01:00
hazre c51e895a83 fix: underline links from being applied everywhere
Now it's limited to chat, bios and room descriptions.
2026-03-10 19:48:07 +01:00
Felice D'Angelo 71ff52d2b8 Merge branch '7w1:dev' into fix/timezone-quotes 2026-03-08 02:14:34 +01:00
Rosy.iso 7aab617706 fix tuwunel quotes being tuwunel quotes 2026-03-08 02:14:09 +01:00
7w1 5e39237e16 added settings for disabling autoplay of gifs (& banners), stickers, and emojis. 2026-03-07 02:56:21 -06:00
7w1 b345efde16 add catination settings 2026-03-06 23:46:51 -06:00
Rye 6beb784a90 fixed import order 2026-03-05 20:05:20 +01:00
Rye 2401e34873 language-based filtering for pronouns in a users room profile and message view 2026-03-05 19:54:43 +01:00
7w1 5b1bfa626d add ability to set status and improve status appearance 2026-03-03 21:53:35 -06:00
7w1 2437244e7f potentially patch bio scroll overflow issue 2026-03-03 18:07:08 -06:00
7w1 5c31057763 fix #30 add room and space pronouns and update changelog 2026-03-03 00:50:19 -06:00
hazre bde1505ad4 refactor: normalize parent-relative imports to aliases 2026-03-02 20:00:26 +01:00
hazre 45eeacb99d Merge remote-tracking branch 'sable/dev' into feat/add-knip 2026-03-02 19:27:07 +01:00
7w1 4f0286a3c3 Validate timezones before render and update changelog 2026-03-02 12:22:12 -06:00
hazre 8372758843 refactor: rename shared utils alias to $utils 2026-03-01 19:10:02 +01:00
hazre 77fda81374 chore(lint): drop redundant React default imports and add jsx runtime config 2026-03-01 14:40:58 +01:00
hazre b5e9dcb07e chore(lint): eslint autofix 2026-03-01 13:46:40 +01:00
7w1 550df5efc3 fix/update unknown extended profile keys rendering 2026-02-28 15:47:43 -06:00
ranidspace f50f20052a Change profile pronouns to closer follow MSC4247
Fixes #23

The pronouns field is an array of pronoun sets rather than the entire
array representing one set. This follows MSC4247, and aligns with the
way it's displayed in gomuks and Commet.

For compatibility with gomuks, the value of `language` for each is set
to "en". In the future this should be set manually or use the client
language.

Pronoun summaries are limited to 16 characters each, and truncated to
that length if it is longer. When displayed as a string, or when it is
set, they are comma separated. When they are displayed next to the
username in a message, they're each in an individual pill, only showing
the first 3. If more than 3 are there, an extra pill showing "..." is
displayed.

An optional `grammatical_gender` field now exists, however it is
currently unused.
2026-02-27 18:55:43 -05:00
hazre b8a998cab7 Merge remote-tracking branch 'sable/dev' into chore/cleanup-codebase-1 2026-02-26 19:04:09 +01:00
7w1 b92ed1232b Merge branch 'dev' of https://github.com/7w1/sable into dev 2026-02-24 21:47:42 -06:00
7w1 bc43bb74cf name colors + other stuff cuz i messed up branch switching lmao 2026-02-24 21:46:20 -06:00
7w1 3176a66568 Cache profile banners & avatars with blobs 2026-02-24 20:20:57 -06:00
7w1 8c45a341af profile banner rendering 2026-02-24 19:41:25 -06:00
7w1 b89ace1b75 Actually implement the fix to prevent extra info on user profiles 2026-02-24 19:09:22 -06:00
7w1 1d6233117b bug fix for commet profiles 2026-02-24 18:22:36 -06:00
7w1 07fce26551 Support Commet bios, incrase bio limit 2026-02-24 10:10:56 -06:00
7w1 defff8c487 Cache profile data 2026-02-24 00:25:44 -06:00
7w1 76c5ac6741 Reduce UserRoomProfile margins slightly 2026-02-23 22:14:46 -06:00
7w1 73d2cddab9 Condense user profiles 2026-02-23 21:43:20 -06:00
7w1 0100fa71a8 Merge nickname fixes from nullptr 2026-02-23 17:55:59 -06:00
7w1 58195e89d8 Profile bios 2026-02-23 17:29:24 -06:00
7w1 24ee52f172 feat: Add pronouns and timezone options along with arbitrary field rendering 2026-02-23 10:52:43 -06:00
TastelessVoid 58dc71b049 Add nickname support for user display names across components 2026-02-21 20:50:23 +01:00
hazre 69937e0187 refactor: app import aliases 2026-02-14 23:26:58 +01:00
Ajay Bura b4266c26b0 New create chat screen (#2463)
* fix dm invite appears in home

* use migrated function for convert to dm/room commands

* add new create chat screen
2025-08-24 22:40:44 +10:00
Ajay Bura 4056cbb11c Hide message button from own profile (#2461) 2025-08-24 22:35:16 +10:00
Ajay Bura 544a06964d Hide block user button for own profile (#2439) 2025-08-16 21:32:09 +10:00
Ajay Bura f82cfead46 Support room version 12 (#2399)
* WIP - support room version 12

* add room creators hook

* revert changes from powerlevels

* improve use room creators hook

* add hook to get dm users

* add options to add creators in create room/space

* add member item component in member drawer

* remove unused import

* extract member drawer header component

* get room creators as set only if room version support them

* add room permissions hook

* support room v12 creators power

* make predecessor event id optional

* add info about founders in permissions

* allow to create infinite powers to room creators

* allow everyone with permission to create infinite power

* handle additional creators in room upgrade

* add option to follow space tombstone
2025-08-13 00:12:30 +10:00
Ajay Bura 4d1ae4eafd Redesign user profile view (#2396)
* WIP - new profile view

* render common rooms in user profile

* add presence component

* WIP - room user profile

* temp hide profile button

* show mutual rooms in spaces, rooms and direct messages categories

* add message button

* add option to change user powers in profile

* improve ban info and option to unban

* add share user button in user profile

* add option to block user in user profile

* improve blocked user alert body

* add moderation tool in user profile

* open profile view on left side in member drawer

* open new user profile in all places
2025-08-09 22:16:10 +10:00