Compare commits

...

12 Commits

Author SHA1 Message Date
4294ce2478 Upstream .97 2025-04-16 20:19:39 +02:00
eff14caec3 Upstream 1.11.95 2025-03-15 16:56:27 +01:00
a9f81d8ebe Bump to 1.11.90 2025-01-16 09:00:26 +01:00
a1299ffb15 Bump to v1.11.89 2024-12-19 11:00:38 +01:00
240975cfe6 Update to Element v1.11.88 2024-12-17 18:10:32 +01:00
59fab598d2 Update to upstream v1.11.87 2024-12-03 19:56:44 +01:00
f8ecb305f6 Drop caption fixup patch
Has been added upstream in v1.11.87
2024-12-03 19:52:46 +01:00
dfbb5e7fc7 Merge pull request #274 from luixxiul/icon_gen.sh
Replace element-app-logo.png
2024-12-01 20:38:01 +01:00
10bc489f2b Replace element-app-logo.png
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-12-01 12:53:44 -05:00
459c1f7630 Disable showing people in spaces by default 2024-11-30 19:48:17 +01:00
40203b4ed7 Update IRC improvement patch
Includes https://github.com/SchildiChat/element-web/pull/5
2024-11-29 13:28:59 +01:00
c03ef20e5d RELEASE.md: Fix wrong make target name 2024-11-27 16:58:39 +01:00
34 changed files with 221 additions and 189 deletions

View File

@ -5,7 +5,7 @@
On a Linux machine with podman: On a Linux machine with podman:
``` ```
make container-release-linux make linux-container-release
``` ```
## Build Windows releases ## Build Windows releases

View File

@ -57,6 +57,7 @@ done
cp "$mydir/ic_launcher_sc.svg" "$repo_dir/res/themes/element/img/logos/element-logo.svg" cp "$mydir/ic_launcher_sc.svg" "$repo_dir/res/themes/element/img/logos/element-logo.svg"
export_square 320 "$mydir/ic_launcher_sc.svg" "$repo_dir/res/themes/element/img/logos/element-app-logo.png"
repo_dir="$SCHILDI_ROOT/element-desktop" repo_dir="$SCHILDI_ROOT/element-desktop"
base_out="$repo_dir/res/img" base_out="$repo_dir/res/img"

View File

@ -1,4 +1,4 @@
From 1be2423147ba91f51bf2cc0437b3652c5a4e0c00 Mon Sep 17 00:00:00 2001 From 23c8be7b910bc0532850d4fe87dd810e8f556ad9 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sat, 2 Dec 2023 12:57:26 +0100 Date: Sat, 2 Dec 2023 12:57:26 +0100
Subject: Add back schildi fetch-package.ts modifications Subject: Add back schildi fetch-package.ts modifications
@ -58,5 +58,5 @@ index 7282945..4be7ab0 100644
if (!haveDeploy) { if (!haveDeploy) {
const outPath = path.join(pkgDir, filename); const outPath = path.join(pkgDir, filename);
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From f279bd0bb4f21f48341a937510535ca30a4216d1 Mon Sep 17 00:00:00 2001 From e1d54c00c828581c54de7db81a3822fe40f0da0f Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl> From: su-ex <codeworks@supercable.onl>
Date: Sun, 29 Nov 2020 23:30:59 +0100 Date: Sun, 29 Nov 2020 23:30:59 +0100
Subject: Change default login background Subject: Change default login background
@ -22104,7 +22104,7 @@ literal 0
HcmV?d00001 HcmV?d00001
diff --git a/src/components/views/auth/AuthPage.tsx b/src/components/views/auth/AuthPage.tsx diff --git a/src/components/views/auth/AuthPage.tsx b/src/components/views/auth/AuthPage.tsx
index 2782d0a641..032744413f 100644 index dd3facaa79..3c7fe2503e 100644
--- a/src/components/views/auth/AuthPage.tsx --- a/src/components/views/auth/AuthPage.tsx
+++ b/src/components/views/auth/AuthPage.tsx +++ b/src/components/views/auth/AuthPage.tsx
@@ -20,7 +20,7 @@ export default class AuthPage extends React.PureComponent<React.PropsWithChildre @@ -20,7 +20,7 @@ export default class AuthPage extends React.PureComponent<React.PropsWithChildre
@ -22117,10 +22117,10 @@ index 2782d0a641..032744413f 100644
const configuredUrl = brandingConfig?.get("welcome_background_url"); const configuredUrl = brandingConfig?.get("welcome_background_url");
if (configuredUrl) { if (configuredUrl) {
diff --git a/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx b/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx diff --git a/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx b/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx
index 7866131a01..4f57acb3d0 100644 index ef0d6e57fc..bfc0c58a68 100644
--- a/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx --- a/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx
+++ b/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx
@@ -119,7 +119,7 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState> @@ -118,7 +118,7 @@ export default class HelpUserSettingsTab extends React.Component<EmptyObject, IS
{ {
photo: (sub) => ( photo: (sub) => (
<ExternalLink <ExternalLink
@ -22130,5 +22130,5 @@ index 7866131a01..4f57acb3d0 100644
target="_blank" target="_blank"
> >
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 60fa47ee055ed85728583c12ab4619a7576d260e Mon Sep 17 00:00:00 2001 From 0d8678e982413d2a76d3e842e314fe173ed70b3c Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 27 Oct 2024 19:38:47 +0100 Date: Sun, 27 Oct 2024 19:38:47 +0100
Subject: Don't welcome to Element Subject: Don't welcome to Element
@ -21,5 +21,5 @@ index ef2d43bd8f..5b71670f4f 100644
<h4 class="mx_Header_subtitle">_t("powered_by_matrix_with_logo")</h4> <h4 class="mx_Header_subtitle">_t("powered_by_matrix_with_logo")</h4>
<div class="mx_ButtonGroup"> <div class="mx_ButtonGroup">
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From faaf99c6ce2111faeeaa3100cd076a51b711d95b Mon Sep 17 00:00:00 2001 From 6385be0c76621d18084d54b83089ccb67c096513 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 27 Oct 2024 19:55:30 +0100 Date: Sun, 27 Oct 2024 19:55:30 +0100
Subject: Stronger login background to ensure contrast of our icon with our bg Subject: Stronger login background to ensure contrast of our icon with our bg
@ -8,7 +8,7 @@ Subject: Stronger login background to ensure contrast of our icon with our bg
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/views/auth/AuthPage.tsx b/src/components/views/auth/AuthPage.tsx diff --git a/src/components/views/auth/AuthPage.tsx b/src/components/views/auth/AuthPage.tsx
index 032744413f..71bf8ae6d6 100644 index 3c7fe2503e..64163e837c 100644
--- a/src/components/views/auth/AuthPage.tsx --- a/src/components/views/auth/AuthPage.tsx
+++ b/src/components/views/auth/AuthPage.tsx +++ b/src/components/views/auth/AuthPage.tsx
@@ -58,7 +58,7 @@ export default class AuthPage extends React.PureComponent<React.PropsWithChildre @@ -58,7 +58,7 @@ export default class AuthPage extends React.PureComponent<React.PropsWithChildre
@ -21,5 +21,5 @@ index 032744413f..71bf8ae6d6 100644
}; };
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From f469bd05375c6b4c1b419cf07b4a832511a79a4e Mon Sep 17 00:00:00 2001 From 4984dc854d97121ba311ae4cc19bbb638f716e9e Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 27 Oct 2024 20:07:30 +0100 Date: Sun, 27 Oct 2024 20:07:30 +0100
Subject: Schildify login footer Subject: Schildify login footer
@ -8,7 +8,7 @@ Subject: Schildify login footer
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/src/components/views/auth/AuthFooter.tsx b/src/components/views/auth/AuthFooter.tsx diff --git a/src/components/views/auth/AuthFooter.tsx b/src/components/views/auth/AuthFooter.tsx
index 8d27a04c83..b9ff8e8416 100644 index 1942bf0431..1054d06f89 100644
--- a/src/components/views/auth/AuthFooter.tsx --- a/src/components/views/auth/AuthFooter.tsx
+++ b/src/components/views/auth/AuthFooter.tsx +++ b/src/components/views/auth/AuthFooter.tsx
@@ -15,9 +15,13 @@ import { _t } from "../../../languageHandler"; @@ -15,9 +15,13 @@ import { _t } from "../../../languageHandler";
@ -17,7 +17,7 @@ index 8d27a04c83..b9ff8e8416 100644
const links = brandingConfig?.get("auth_footer_links") ?? [ const links = brandingConfig?.get("auth_footer_links") ?? [
+ /* + /*
{ text: "Blog", url: "https://element.io/blog" }, { text: "Blog", url: "https://element.io/blog" },
{ text: "Twitter", url: "https://twitter.com/element_hq" }, { text: "Mastodon", url: "https://mastodon.matrix.org/@Element" },
{ text: "GitHub", url: "https://github.com/element-hq/element-web" }, { text: "GitHub", url: "https://github.com/element-hq/element-web" },
+ */ + */
+ { text: "About", url: "https://schildi.chat" }, + { text: "About", url: "https://schildi.chat" },
@ -26,5 +26,5 @@ index 8d27a04c83..b9ff8e8416 100644
const authFooterLinks: JSX.Element[] = []; const authFooterLinks: JSX.Element[] = [];
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 909d0c76ad56426699d9b8dfaebf818f21c09dd4 Mon Sep 17 00:00:00 2001 From 70d03387cd78e193b9d37a97f5aacab9e25f926f Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Tue, 18 Jan 2022 13:28:22 +0100 Date: Tue, 18 Jan 2022 13:28:22 +0100
Subject: Disable sticky rooms Subject: Disable sticky rooms
@ -8,7 +8,7 @@ Subject: Disable sticky rooms
1 file changed, 4 insertions(+), 2 deletions(-) 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts
index c3450d70cf..e296676149 100644 index 5419a6e47c..25d6b78fde 100644
--- a/src/stores/room-list/algorithms/Algorithm.ts --- a/src/stores/room-list/algorithms/Algorithm.ts
+++ b/src/stores/room-list/algorithms/Algorithm.ts +++ b/src/stores/room-list/algorithms/Algorithm.ts
@@ -159,8 +159,10 @@ export class Algorithm extends EventEmitter { @@ -159,8 +159,10 @@ export class Algorithm extends EventEmitter {
@ -25,5 +25,5 @@ index c3450d70cf..e296676149 100644
} }
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 9cf40d600e00770aa7a56cebf5ab3413166e29e6 Mon Sep 17 00:00:00 2001 From b81d62dc80dc7efdab2996c79662c4626302a8d0 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 5 May 2024 10:12:17 +0200 Date: Sun, 5 May 2024 10:12:17 +0200
Subject: Bring back unified room list Subject: Bring back unified room list
@ -8,18 +8,18 @@ Remaining TODO:
Co-authored-by: su-ex <codeworks@supercable.onl> Co-authored-by: su-ex <codeworks@supercable.onl>
--- ---
src/components/views/rooms/RoomList.tsx | 39 +++++++++++++++++++- src/components/views/rooms/LegacyRoomList.tsx | 39 ++++++++++++++++++-
src/settings/Settings.tsx | 8 ++++ src/settings/Settings.tsx | 8 ++++
src/stores/room-list/RoomListStore.ts | 19 +++++++++- src/stores/room-list/RoomListStore.ts | 19 ++++++++-
src/stores/room-list/algorithms/Algorithm.ts | 20 ++++++++-- src/stores/room-list/algorithms/Algorithm.ts | 20 ++++++++--
src/stores/room-list/models.ts | 2 + src/stores/room-list/models.ts | 2 +
5 files changed, 83 insertions(+), 5 deletions(-) 5 files changed, 83 insertions(+), 5 deletions(-)
diff --git a/src/components/views/rooms/RoomList.tsx b/src/components/views/rooms/RoomList.tsx diff --git a/src/components/views/rooms/LegacyRoomList.tsx b/src/components/views/rooms/LegacyRoomList.tsx
index 853bebc4fe..5af0c642bc 100644 index 6be226a172..dbb69d8f62 100644
--- a/src/components/views/rooms/RoomList.tsx --- a/src/components/views/rooms/LegacyRoomList.tsx
+++ b/src/components/views/rooms/RoomList.tsx +++ b/src/components/views/rooms/LegacyRoomList.tsx
@@ -72,11 +72,13 @@ interface IState { @@ -83,11 +83,13 @@ interface IState {
sublists: ITagMap; sublists: ITagMap;
currentRoomId?: string; currentRoomId?: string;
suggestedRooms: ISuggestedRoom[]; suggestedRooms: ISuggestedRoom[];
@ -33,7 +33,7 @@ index 853bebc4fe..5af0c642bc 100644
DefaultTagID.DM, DefaultTagID.DM,
DefaultTagID.Untagged, DefaultTagID.Untagged,
DefaultTagID.Conference, DefaultTagID.Conference,
@@ -89,6 +91,7 @@ export const TAG_ORDER: TagID[] = [ @@ -100,6 +102,7 @@ export const TAG_ORDER: TagID[] = [
// but we'd have to make sure that rooms you weren't in were hidden. // but we'd have to make sure that rooms you weren't in were hidden.
]; ];
const ALWAYS_VISIBLE_TAGS: TagID[] = [DefaultTagID.DM, DefaultTagID.Untagged]; const ALWAYS_VISIBLE_TAGS: TagID[] = [DefaultTagID.DM, DefaultTagID.Untagged];
@ -41,7 +41,7 @@ index 853bebc4fe..5af0c642bc 100644
interface ITagAesthetics { interface ITagAesthetics {
sectionLabel: TranslationKey; sectionLabel: TranslationKey;
@@ -366,6 +369,17 @@ const UntaggedAuxButton: React.FC<IAuxButtonProps> = ({ tabIndex }) => { @@ -377,6 +380,17 @@ const UntaggedAuxButton: React.FC<IAuxButtonProps> = ({ tabIndex }) => {
return null; return null;
}; };
@ -59,7 +59,7 @@ index 853bebc4fe..5af0c642bc 100644
const TAG_AESTHETICS: TagAestheticsMap = { const TAG_AESTHETICS: TagAestheticsMap = {
[DefaultTagID.Invite]: { [DefaultTagID.Invite]: {
sectionLabel: _td("action|invites_list"), sectionLabel: _td("action|invites_list"),
@@ -383,6 +397,12 @@ const TAG_AESTHETICS: TagAestheticsMap = { @@ -394,6 +408,12 @@ const TAG_AESTHETICS: TagAestheticsMap = {
defaultHidden: false, defaultHidden: false,
AuxButtonComponent: DmAuxButton, AuxButtonComponent: DmAuxButton,
}, },
@ -72,15 +72,15 @@ index 853bebc4fe..5af0c642bc 100644
[DefaultTagID.Conference]: { [DefaultTagID.Conference]: {
sectionLabel: _td("voip|metaspace_video_rooms|conference_room_section"), sectionLabel: _td("voip|metaspace_video_rooms|conference_room_section"),
isInvite: false, isInvite: false,
@@ -421,6 +441,7 @@ const TAG_AESTHETICS: TagAestheticsMap = { @@ -432,6 +452,7 @@ const TAG_AESTHETICS: TagAestheticsMap = {
export default class RoomList extends React.PureComponent<IProps, IState> { export default class LegacyRoomList extends React.PureComponent<IProps, IState> {
private dispatcherRef?: string; private dispatcherRef?: string;
+ private readonly unifiedRoomListWatcherRef: string; + private readonly unifiedRoomListWatcherRef: string;
private treeRef = createRef<HTMLDivElement>(); private treeRef = createRef<HTMLDivElement>();
public static contextType = MatrixClientContext; public static contextType = MatrixClientContext;
@@ -432,7 +453,14 @@ export default class RoomList extends React.PureComponent<IProps, IState> { @@ -443,7 +464,14 @@ export default class LegacyRoomList extends React.PureComponent<IProps, IState>
this.state = { this.state = {
sublists: {}, sublists: {},
suggestedRooms: SpaceStore.instance.suggestedRooms, suggestedRooms: SpaceStore.instance.suggestedRooms,
@ -95,13 +95,17 @@ index 853bebc4fe..5af0c642bc 100644
} }
public componentDidMount(): void { public componentDidMount(): void {
@@ -447,9 +475,16 @@ export default class RoomList extends React.PureComponent<IProps, IState> { @@ -459,6 +487,7 @@ export default class LegacyRoomList extends React.PureComponent<IProps, IState>
SpaceStore.instance.off(UPDATE_SUGGESTED_ROOMS, this.updateSuggestedRooms); SpaceStore.instance.off(UPDATE_SUGGESTED_ROOMS, this.updateSuggestedRooms);
RoomListStore.instance.off(LISTS_UPDATE_EVENT, this.updateLists); RoomListStore.instance.off(LISTS_UPDATE_EVENT, this.updateLists);
defaultDispatcher.unregister(this.dispatcherRef); defaultDispatcher.unregister(this.dispatcherRef);
+ SettingsStore.unwatchSetting(this.unifiedRoomListWatcherRef); + SettingsStore.unwatchSetting(this.unifiedRoomListWatcherRef);
SdkContextClass.instance.roomViewStore.off(UPDATE_EVENT, this.onRoomViewStoreUpdate); SdkContextClass.instance.roomViewStore.off(UPDATE_EVENT, this.onRoomViewStoreUpdate);
LegacyCallHandler.instance.off(LegacyCallHandlerEvent.ProtocolSupport, this.updateProtocolSupport);
} }
@@ -467,6 +496,12 @@ export default class LegacyRoomList extends React.PureComponent<IProps, IState>
this.updateLists();
};
+ private onUnifiedRoomListChange = (): void => { + private onUnifiedRoomListChange = (): void => {
+ this.setState({ + this.setState({
@ -112,7 +116,7 @@ index 853bebc4fe..5af0c642bc 100644
private onRoomViewStoreUpdate = (): void => { private onRoomViewStoreUpdate = (): void => {
this.setState({ this.setState({
currentRoomId: SdkContextClass.instance.roomViewStore.getRoomId() ?? undefined, currentRoomId: SdkContextClass.instance.roomViewStore.getRoomId() ?? undefined,
@@ -590,7 +625,9 @@ export default class RoomList extends React.PureComponent<IProps, IState> { @@ -605,7 +640,9 @@ export default class LegacyRoomList extends React.PureComponent<IProps, IState>
const aesthetics = TAG_AESTHETICS[orderedTagId]; const aesthetics = TAG_AESTHETICS[orderedTagId];
if (!aesthetics) throw new Error(`Tag ${orderedTagId} does not have aesthetics`); if (!aesthetics) throw new Error(`Tag ${orderedTagId} does not have aesthetics`);
@ -124,13 +128,13 @@ index 853bebc4fe..5af0c642bc 100644
(this.props.activeSpace === MetaSpace.Favourites && orderedTagId !== DefaultTagID.Favourite) || (this.props.activeSpace === MetaSpace.Favourites && orderedTagId !== DefaultTagID.Favourite) ||
(this.props.activeSpace === MetaSpace.People && orderedTagId !== DefaultTagID.DM) || (this.props.activeSpace === MetaSpace.People && orderedTagId !== DefaultTagID.DM) ||
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
index 1c27f03e88..ae4b0ea644 100644 index aee9141c29..7eda4d794b 100644
--- a/src/settings/Settings.tsx --- a/src/settings/Settings.tsx
+++ b/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx
@@ -192,6 +192,14 @@ export interface IFeature extends Omit<IBaseSetting<boolean>, "isFeature"> { @@ -358,6 +358,14 @@ export type BooleanSettingKey = Assignable<Settings, IBaseSetting<boolean>> | Fe
export type ISetting = IBaseSetting | IFeature; export type StringSettingKey = Assignable<Settings, IBaseSetting<string>>;
export const SETTINGS: { [setting: string]: ISetting } = { export const SETTINGS: Settings = {
+ // SC settings start + // SC settings start
+ "unifiedRoomList": { + "unifiedRoomList": {
+ supportedLevels: LEVELS_ACCOUNT_SETTINGS, + supportedLevels: LEVELS_ACCOUNT_SETTINGS,
@ -143,10 +147,10 @@ index 1c27f03e88..ae4b0ea644 100644
isFeature: true, isFeature: true,
labsGroup: LabGroup.VoiceAndVideo, labsGroup: LabGroup.VoiceAndVideo,
diff --git a/src/stores/room-list/RoomListStore.ts b/src/stores/room-list/RoomListStore.ts diff --git a/src/stores/room-list/RoomListStore.ts b/src/stores/room-list/RoomListStore.ts
index 53377e0a01..381187b85c 100644 index 6985e007bd..206ab20037 100644
--- a/src/stores/room-list/RoomListStore.ts --- a/src/stores/room-list/RoomListStore.ts
+++ b/src/stores/room-list/RoomListStore.ts +++ b/src/stores/room-list/RoomListStore.ts
@@ -500,6 +500,9 @@ export class RoomListStoreClass extends AsyncStoreWithClient<IState> implements @@ -504,6 +504,9 @@ export class RoomListStoreClass extends AsyncStoreWithClient<EmptyObject> implem
this.setAndPersistListOrder(tag, listOrder); this.setAndPersistListOrder(tag, listOrder);
} }
} }
@ -156,7 +160,7 @@ index 53377e0a01..381187b85c 100644
} }
private onAlgorithmListUpdated = (forceUpdate: boolean): void => { private onAlgorithmListUpdated = (forceUpdate: boolean): void => {
@@ -613,7 +616,21 @@ export class RoomListStoreClass extends AsyncStoreWithClient<IState> implements @@ -617,7 +620,21 @@ export class RoomListStoreClass extends AsyncStoreWithClient<EmptyObject> implem
*/ */
public getTagsForRoom(room: Room): TagID[] { public getTagsForRoom(room: Room): TagID[] {
const algorithmTags = this.algorithm.getTagsForRoom(room); const algorithmTags = this.algorithm.getTagsForRoom(room);
@ -180,7 +184,7 @@ index 53377e0a01..381187b85c 100644
} }
diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts
index e296676149..06147137b3 100644 index 25d6b78fde..f3fc3899d0 100644
--- a/src/stores/room-list/algorithms/Algorithm.ts --- a/src/stores/room-list/algorithms/Algorithm.ts
+++ b/src/stores/room-list/algorithms/Algorithm.ts +++ b/src/stores/room-list/algorithms/Algorithm.ts
@@ -75,6 +75,7 @@ export class Algorithm extends EventEmitter { @@ -75,6 +75,7 @@ export class Algorithm extends EventEmitter {
@ -239,7 +243,7 @@ index e296676149..06147137b3 100644
} }
} }
diff --git a/src/stores/room-list/models.ts b/src/stores/room-list/models.ts diff --git a/src/stores/room-list/models.ts b/src/stores/room-list/models.ts
index 50cecda665..8efc2d040d 100644 index 78823cbc42..00883e2ad6 100644
--- a/src/stores/room-list/models.ts --- a/src/stores/room-list/models.ts
+++ b/src/stores/room-list/models.ts +++ b/src/stores/room-list/models.ts
@@ -13,6 +13,7 @@ export enum DefaultTagID { @@ -13,6 +13,7 @@ export enum DefaultTagID {
@ -259,5 +263,5 @@ index 50cecda665..8efc2d040d 100644
DefaultTagID.Conference, DefaultTagID.Conference,
DefaultTagID.Untagged, DefaultTagID.Untagged,
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 9fb400a94a190f910b731e3c5ea2c3ccdd91adce Mon Sep 17 00:00:00 2001 From 1755079d1f53e5738ef9841607184d1bae0a05af Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 17 Dec 2023 11:11:58 +0100 Date: Sun, 17 Dec 2023 11:11:58 +0100
Subject: Don't sort muted rooms to bottom, I still want to see them. Subject: Don't sort muted rooms to bottom, I still want to see them.
@ -8,7 +8,7 @@ Subject: Don't sort muted rooms to bottom, I still want to see them.
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts b/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts diff --git a/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts b/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts
index 67ee1ca084..67dcaa3855 100644 index 0f95fe78c2..2de554c357 100644
--- a/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts --- a/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts
+++ b/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts +++ b/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts
@@ -38,7 +38,7 @@ export abstract class OrderingAlgorithm { @@ -38,7 +38,7 @@ export abstract class OrderingAlgorithm {
@ -21,5 +21,5 @@ index 67ee1ca084..67dcaa3855 100644
/** /**
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 96de5eb0667f130de17544eb104647f823b617b0 Mon Sep 17 00:00:00 2001 From db11438720e8798855e72dbe2c41223d7d565d50 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Thu, 14 Dec 2023 10:32:10 +0100 Date: Thu, 14 Dec 2023 10:32:10 +0100
Subject: Don't preview reactions Subject: Don't preview reactions
@ -8,10 +8,10 @@ Subject: Don't preview reactions
1 file changed, 2 insertions(+) 1 file changed, 2 insertions(+)
diff --git a/src/stores/room-list/MessagePreviewStore.ts b/src/stores/room-list/MessagePreviewStore.ts diff --git a/src/stores/room-list/MessagePreviewStore.ts b/src/stores/room-list/MessagePreviewStore.ts
index e0e06ec980..7ee27f8402 100644 index 51e413940d..7775d1e52a 100644
--- a/src/stores/room-list/MessagePreviewStore.ts --- a/src/stores/room-list/MessagePreviewStore.ts
+++ b/src/stores/room-list/MessagePreviewStore.ts +++ b/src/stores/room-list/MessagePreviewStore.ts
@@ -57,10 +57,12 @@ const PREVIEWS: Record< @@ -63,10 +63,12 @@ const PREVIEWS: Record<
isState: false, isState: false,
previewer: new StickerEventPreview(), previewer: new StickerEventPreview(),
}, },
@ -25,5 +25,5 @@ index e0e06ec980..7ee27f8402 100644
isState: false, isState: false,
previewer: new PollStartEventPreview(), previewer: new PollStartEventPreview(),
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From cc3db444dc3788e6eaca8db3bd77feccc0e2133d Mon Sep 17 00:00:00 2001 From 28c8aafc65b222ddb7e663379b9981f005e77ef0 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Wed, 17 Nov 2021 12:50:25 +0100 Date: Wed, 17 Nov 2021 12:50:25 +0100
Subject: Hide the "mute" notification state the same way as the other states Subject: Hide the "mute" notification state the same way as the other states
@ -11,10 +11,10 @@ way.
1 file changed, 3 insertions(+), 1 deletion(-) 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/views/rooms/RoomTile.tsx b/src/components/views/rooms/RoomTile.tsx diff --git a/src/components/views/rooms/RoomTile.tsx b/src/components/views/rooms/RoomTile.tsx
index 8351c176ff..a12fb141b9 100644 index 3eafb671cb..c9dcd00fd0 100644
--- a/src/components/views/rooms/RoomTile.tsx --- a/src/components/views/rooms/RoomTile.tsx
+++ b/src/components/views/rooms/RoomTile.tsx +++ b/src/components/views/rooms/RoomTile.tsx
@@ -305,7 +305,9 @@ export class RoomTile extends React.PureComponent<ClassProps, State> { @@ -300,7 +300,9 @@ class RoomTile extends React.PureComponent<Props, State> {
// Only show the icon by default if the room is overridden to muted. // Only show the icon by default if the room is overridden to muted.
// TODO: [FTUE Notifications] Probably need to detect global mute state // TODO: [FTUE Notifications] Probably need to detect global mute state
@ -26,5 +26,5 @@ index 8351c176ff..a12fb141b9 100644
return ( return (
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 5b5635a2c649226fccdd47013c576a8e1789af4e Mon Sep 17 00:00:00 2001 From 5042b0693d8f0d5b722ae40169855a28364f95a2 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Fri, 10 May 2024 18:58:32 +0200 Date: Fri, 10 May 2024 18:58:32 +0200
Subject: Allow muted rooms to render as unread Subject: Allow muted rooms to render as unread
@ -8,18 +8,18 @@ Subject: Allow muted rooms to render as unread
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/RoomNotifs.ts b/src/RoomNotifs.ts diff --git a/src/RoomNotifs.ts b/src/RoomNotifs.ts
index 7c281d0d2d..f06be85437 100644 index d5254d523d..9cb1e24d1d 100644
--- a/src/RoomNotifs.ts --- a/src/RoomNotifs.ts
+++ b/src/RoomNotifs.ts +++ b/src/RoomNotifs.ts
@@ -255,7 +255,7 @@ export function determineUnreadState( @@ -255,7 +255,7 @@ export function determineUnreadState(
return { symbol: "!", count: 1, level: NotificationLevel.Highlight }; return { symbol: "!", count: 1, level: NotificationLevel.Highlight, invited: false };
} }
- if (getRoomNotifsState(room.client, room.roomId) === RoomNotifState.Mute) { - if (getRoomNotifsState(room.client, room.roomId) === RoomNotifState.Mute) {
+ if (false && getRoomNotifsState(room.client, room.roomId) === RoomNotifState.Mute) { + if (false && getRoomNotifsState(room.client, room.roomId) === RoomNotifState.Mute) {
return { symbol: null, count: 0, level: NotificationLevel.None }; return { symbol: null, count: 0, level: NotificationLevel.None, invited: false };
} }
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 532251811dbd3c3ff6ae43050acd6fb5140e20a0 Mon Sep 17 00:00:00 2001 From f96924008d456dadd8d56a2bb6756a1afbd96431 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 30 Aug 2020 15:33:01 +0200 Date: Sun, 30 Aug 2020 15:33:01 +0200
Subject: Increase default visible tiles Subject: Increase default visible tiles
@ -8,7 +8,7 @@ Subject: Increase default visible tiles
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stores/room-list/ListLayout.ts b/src/stores/room-list/ListLayout.ts diff --git a/src/stores/room-list/ListLayout.ts b/src/stores/room-list/ListLayout.ts
index ff60309e08..275b6d330b 100644 index a4468dfffe..a4ae9bbc1d 100644
--- a/src/stores/room-list/ListLayout.ts --- a/src/stores/room-list/ListLayout.ts
+++ b/src/stores/room-list/ListLayout.ts +++ b/src/stores/room-list/ListLayout.ts
@@ -74,7 +74,7 @@ export class ListLayout { @@ -74,7 +74,7 @@ export class ListLayout {
@ -21,5 +21,5 @@ index ff60309e08..275b6d330b 100644
public tilesWithPadding(n: number, paddingPx: number): number { public tilesWithPadding(n: number, paddingPx: number): number {
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 920a48f9ec942635cd6a877f366e6c38abad9b11 Mon Sep 17 00:00:00 2001 From d52e8bb4d370dd0ba42a94e20dfc7f900a33f508 Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl> From: su-ex <codeworks@supercable.onl>
Date: Sun, 26 May 2024 10:43:36 +0200 Date: Sun, 26 May 2024 10:43:36 +0200
Subject: Bring back showSpaceDMBadges setting, force-enabled for now Subject: Bring back showSpaceDMBadges setting, force-enabled for now
@ -12,10 +12,10 @@ Co-authored-by: SpiritCroc <dev@spiritcroc.de>
2 files changed, 30 insertions(+) 2 files changed, 30 insertions(+)
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
index ae4b0ea644..12d9965cf1 100644 index 7eda4d794b..b6cde99d81 100644
--- a/src/settings/Settings.tsx --- a/src/settings/Settings.tsx
+++ b/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx
@@ -199,6 +199,11 @@ export const SETTINGS: { [setting: string]: ISetting } = { @@ -365,6 +365,11 @@ export const SETTINGS: Settings = {
default: true, default: true,
controller: new ReloadOnChangeController(), controller: new ReloadOnChangeController(),
}, },
@ -28,12 +28,12 @@ index ae4b0ea644..12d9965cf1 100644
"feature_video_rooms": { "feature_video_rooms": {
isFeature: true, isFeature: true,
diff --git a/src/stores/spaces/SpaceStore.ts b/src/stores/spaces/SpaceStore.ts diff --git a/src/stores/spaces/SpaceStore.ts b/src/stores/spaces/SpaceStore.ts
index 90358f3310..60df05478a 100644 index 690beaa0b7..fcd7ff659b 100644
--- a/src/stores/spaces/SpaceStore.ts --- a/src/stores/spaces/SpaceStore.ts
+++ b/src/stores/spaces/SpaceStore.ts +++ b/src/stores/spaces/SpaceStore.ts
@@ -154,9 +154,17 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> { @@ -155,9 +155,17 @@ export class SpaceStoreClass extends AsyncStoreWithClient<EmptyObject> {
/** Whether the feature flag is set for MSC3946 */
private _msc3946ProcessDynamicPredecessor: boolean = SettingsStore.getValue("feature_dynamic_room_predecessors"); private _msc3946ProcessDynamicPredecessor: boolean = SettingsStore.getValue("feature_dynamic_room_predecessors");
private _storeReadyDeferred = defer();
+ // SC start + // SC start
+ private _showSpaceDMBadges = true; + private _showSpaceDMBadges = true;
@ -49,7 +49,7 @@ index 90358f3310..60df05478a 100644
SettingsStore.monitorSetting("Spaces.allRoomsInHome", null); SettingsStore.monitorSetting("Spaces.allRoomsInHome", null);
SettingsStore.monitorSetting("Spaces.enabledMetaSpaces", null); SettingsStore.monitorSetting("Spaces.enabledMetaSpaces", null);
SettingsStore.monitorSetting("Spaces.showPeopleInSpace", null); SettingsStore.monitorSetting("Spaces.showPeopleInSpace", null);
@@ -192,6 +200,10 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> { @@ -215,6 +223,10 @@ export class SpaceStoreClass extends AsyncStoreWithClient<EmptyObject> {
return this._allRoomsInHome; return this._allRoomsInHome;
} }
@ -60,7 +60,7 @@ index 90358f3310..60df05478a 100644
public setActiveRoomInSpace(space: SpaceKey): void { public setActiveRoomInSpace(space: SpaceKey): void {
if (!isMetaSpace(space) && !this.matrixClient?.getRoom(space)?.isSpaceRoom()) return; if (!isMetaSpace(space) && !this.matrixClient?.getRoom(space)?.isSpaceRoom()) return;
if (space !== this.activeSpace) this.setActiveSpace(space, false); if (space !== this.activeSpace) this.setActiveSpace(space, false);
@@ -701,6 +713,10 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> { @@ -724,6 +736,10 @@ export class SpaceStoreClass extends AsyncStoreWithClient<EmptyObject> {
if (room.isSpaceRoom() || !flattenedRoomsForSpace.has(room.roomId)) return false; if (room.isSpaceRoom() || !flattenedRoomsForSpace.has(room.roomId)) return false;
@ -71,7 +71,7 @@ index 90358f3310..60df05478a 100644
if (dmBadgeSpace && DMRoomMap.shared().getUserIdForRoomId(room.roomId)) { if (dmBadgeSpace && DMRoomMap.shared().getUserIdForRoomId(room.roomId)) {
return s === dmBadgeSpace; return s === dmBadgeSpace;
} }
@@ -1277,6 +1293,15 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> { @@ -1301,6 +1317,15 @@ export class SpaceStoreClass extends AsyncStoreWithClient<EmptyObject> {
break; break;
} }
@ -86,7 +86,7 @@ index 90358f3310..60df05478a 100644
+ +
case "Spaces.enabledMetaSpaces": { case "Spaces.enabledMetaSpaces": {
const newValue = SettingsStore.getValue("Spaces.enabledMetaSpaces"); const newValue = SettingsStore.getValue("Spaces.enabledMetaSpaces");
const enabledMetaSpaces = metaSpaceOrder.filter((k) => newValue[k]); const enabledMetaSpaces = this.metaSpaceOrder.filter((k) => newValue[k]);
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 8f81368ec09b41f996955b8a8fabcc594c194194 Mon Sep 17 00:00:00 2001 From 2a5b9f5f25b4b5fdfb60c21b4edcd9dd20dbda5d Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Wed, 29 May 2024 19:32:42 +0200 Date: Wed, 29 May 2024 19:32:42 +0200
Subject: Squashed: Freeform reactions from tadzik/freeform-reactions-upstream Subject: Squashed: Freeform reactions from tadzik/freeform-reactions-upstream
@ -66,23 +66,24 @@ Date: Tue Aug 17 11:29:22 2021 +0200
Signed-off-by: Tadeusz Sośnierz <tadeusz@sosnierz.com> Signed-off-by: Tadeusz Sośnierz <tadeusz@sosnierz.com>
--- ---
src/components/views/emojipicker/EmojiPicker.tsx | 15 +++++++++++++++ src/components/views/emojipicker/EmojiPicker.tsx | 16 ++++++++++++++++
.../views/emojipicker/ReactionPicker.tsx | 1 + .../views/emojipicker/ReactionPicker.tsx | 1 +
2 files changed, 16 insertions(+) 2 files changed, 17 insertions(+)
diff --git a/src/components/views/emojipicker/EmojiPicker.tsx b/src/components/views/emojipicker/EmojiPicker.tsx diff --git a/src/components/views/emojipicker/EmojiPicker.tsx b/src/components/views/emojipicker/EmojiPicker.tsx
index 4806ad4216..7d4a4353e2 100644 index 71659d579b..4acbfd1fcb 100644
--- a/src/components/views/emojipicker/EmojiPicker.tsx --- a/src/components/views/emojipicker/EmojiPicker.tsx
+++ b/src/components/views/emojipicker/EmojiPicker.tsx +++ b/src/components/views/emojipicker/EmojiPicker.tsx
@@ -17,6 +17,7 @@ import Header from "./Header"; @@ -29,6 +29,8 @@ import { Key } from "../../../Keyboard";
import Search from "./Search"; import { clamp } from "../../../utils/numbers";
import Preview from "./Preview"; import { type ButtonEvent } from "../elements/AccessibleButton";
import QuickReactions from "./QuickReactions";
+import AccessibleButton from '../elements/AccessibleButton'; +import AccessibleButton from '../elements/AccessibleButton';
import Category, { CategoryKey, ICategory } from "./Category"; +
import { filterBoolean } from "../../../utils/arrays"; export const CATEGORY_HEADER_HEIGHT = 20;
import { export const EMOJI_HEIGHT = 35;
@@ -37,6 +38,7 @@ export const EMOJIS_PER_ROW = 8; export const EMOJIS_PER_ROW = 8;
@@ -36,6 +38,7 @@ export const EMOJIS_PER_ROW = 8;
const ZERO_WIDTH_JOINER = "\u200D"; const ZERO_WIDTH_JOINER = "\u200D";
interface IProps { interface IProps {
@ -90,7 +91,7 @@ index 4806ad4216..7d4a4353e2 100644
selectedEmojis?: Set<string>; selectedEmojis?: Set<string>;
onChoose(unicode: string): boolean; onChoose(unicode: string): boolean;
onFinished(): void; onFinished(): void;
@@ -341,6 +343,10 @@ class EmojiPicker extends React.Component<IProps, IState> { @@ -337,6 +340,10 @@ class EmojiPicker extends React.Component<IProps, IState> {
} }
}; };
@ -101,7 +102,7 @@ index 4806ad4216..7d4a4353e2 100644
private static categoryHeightForEmojiCount(count: number): number { private static categoryHeightForEmojiCount(count: number): number {
if (count === 0) { if (count === 0) {
return 0; return 0;
@@ -396,6 +402,15 @@ class EmojiPicker extends React.Component<IProps, IState> { @@ -392,6 +399,15 @@ class EmojiPicker extends React.Component<IProps, IState> {
return categoryElement; return categoryElement;
})} })}
</AutoHideScrollbar> </AutoHideScrollbar>
@ -118,7 +119,7 @@ index 4806ad4216..7d4a4353e2 100644
<Preview emoji={this.state.previewEmoji} /> <Preview emoji={this.state.previewEmoji} />
) : ( ) : (
diff --git a/src/components/views/emojipicker/ReactionPicker.tsx b/src/components/views/emojipicker/ReactionPicker.tsx diff --git a/src/components/views/emojipicker/ReactionPicker.tsx b/src/components/views/emojipicker/ReactionPicker.tsx
index b62df99e25..8291a38dc9 100644 index 11b3d9468a..7d369945fe 100644
--- a/src/components/views/emojipicker/ReactionPicker.tsx --- a/src/components/views/emojipicker/ReactionPicker.tsx
+++ b/src/components/views/emojipicker/ReactionPicker.tsx +++ b/src/components/views/emojipicker/ReactionPicker.tsx
@@ -126,6 +126,7 @@ class ReactionPicker extends React.Component<IProps, IState> { @@ -126,6 +126,7 @@ class ReactionPicker extends React.Component<IProps, IState> {
@ -130,5 +131,5 @@ index b62df99e25..8291a38dc9 100644
isEmojiDisabled={this.isEmojiDisabled} isEmojiDisabled={this.isEmojiDisabled}
onFinished={this.props.onFinished} onFinished={this.props.onFinished}
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 4980c7e816e83a3dce4106c8485461044591da26 Mon Sep 17 00:00:00 2001 From eae491a0a6a3f8bfa47785e21467ca56d50dd437 Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl> From: su-ex <codeworks@supercable.onl>
Date: Sat, 22 Apr 2023 12:15:18 +0200 Date: Sat, 22 Apr 2023 12:15:18 +0200
Subject: Allow reactions to take more space Subject: Allow reactions to take more space
@ -8,7 +8,7 @@ Subject: Allow reactions to take more space
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/res/css/views/messages/_ReactionsRowButton.pcss b/res/css/views/messages/_ReactionsRowButton.pcss diff --git a/res/css/views/messages/_ReactionsRowButton.pcss b/res/css/views/messages/_ReactionsRowButton.pcss
index dd9d7ddb47..9ebe95021e 100644 index 917bcfbb84..75ec572c9e 100644
--- a/res/css/views/messages/_ReactionsRowButton.pcss --- a/res/css/views/messages/_ReactionsRowButton.pcss
+++ b/res/css/views/messages/_ReactionsRowButton.pcss +++ b/res/css/views/messages/_ReactionsRowButton.pcss
@@ -14,6 +14,7 @@ Please see LICENSE files in the repository root for full details. @@ -14,6 +14,7 @@ Please see LICENSE files in the repository root for full details.
@ -28,5 +28,5 @@ index dd9d7ddb47..9ebe95021e 100644
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From b29702cd66f838ebe6af90fbf0b223caab3725b1 Mon Sep 17 00:00:00 2001 From 0e919ce4854c5f66870f4465b8e1c4b793960025 Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl> From: su-ex <codeworks@supercable.onl>
Date: Thu, 30 May 2024 14:35:16 +0200 Date: Thu, 30 May 2024 14:35:16 +0200
Subject: On space switch don't automatically show last opened room Subject: On space switch don't automatically show last opened room
@ -10,7 +10,7 @@ Subject: On space switch don't automatically show last opened room
3 files changed, 24 insertions(+), 1 deletion(-) 3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx
index 80a648b5d5..f917d0bf7f 100644 index 0f722ae53d..47f09400d7 100644
--- a/src/components/structures/MatrixChat.tsx --- a/src/components/structures/MatrixChat.tsx
+++ b/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx
@@ -1456,7 +1456,15 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> { @@ -1456,7 +1456,15 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
@ -46,10 +46,10 @@ index 80a648b5d5..f917d0bf7f 100644
dis.dispatch<ViewRoomPayload>({ dis.dispatch<ViewRoomPayload>({
action: Action.ViewRoom, action: Action.ViewRoom,
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
index 12d9965cf1..3e9fb95799 100644 index b6cde99d81..61a17d09ae 100644
--- a/src/settings/Settings.tsx --- a/src/settings/Settings.tsx
+++ b/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx
@@ -204,6 +204,12 @@ export const SETTINGS: { [setting: string]: ISetting } = { @@ -370,6 +370,12 @@ export const SETTINGS: Settings = {
supportedLevels: LEVELS_ACCOUNT_SETTINGS, supportedLevels: LEVELS_ACCOUNT_SETTINGS,
default: true, default: true,
}, },
@ -63,10 +63,10 @@ index 12d9965cf1..3e9fb95799 100644
"feature_video_rooms": { "feature_video_rooms": {
isFeature: true, isFeature: true,
diff --git a/src/stores/spaces/SpaceStore.ts b/src/stores/spaces/SpaceStore.ts diff --git a/src/stores/spaces/SpaceStore.ts b/src/stores/spaces/SpaceStore.ts
index 60df05478a..0be7ba190a 100644 index fcd7ff659b..33407f74e8 100644
--- a/src/stores/spaces/SpaceStore.ts --- a/src/stores/spaces/SpaceStore.ts
+++ b/src/stores/spaces/SpaceStore.ts +++ b/src/stores/spaces/SpaceStore.ts
@@ -265,6 +265,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> { @@ -288,6 +288,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<EmptyObject> {
// else if the last viewed room in this space is joined then view that // else if the last viewed room in this space is joined then view that
// else view space home or home depending on what is being clicked on // else view space home or home depending on what is being clicked on
if ( if (
@ -75,5 +75,5 @@ index 60df05478a..0be7ba190a 100644
cliSpace?.getMyMembership() !== KnownMembership.Invite && cliSpace?.getMyMembership() !== KnownMembership.Invite &&
this.matrixClient.getRoom(roomId)?.getMyMembership() === KnownMembership.Join && this.matrixClient.getRoom(roomId)?.getMyMembership() === KnownMembership.Join &&
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 7d9fafb12e3bf1768e32b39ecf00b973309e6c1b Mon Sep 17 00:00:00 2001 From 27ba28c7b3840b5b458bd98599183728e681c885 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Tue, 9 Aug 2022 09:32:19 +0200 Date: Tue, 9 Aug 2022 09:32:19 +0200
Subject: Exclude spaces from breadcrumbs Subject: Exclude spaces from breadcrumbs
@ -8,7 +8,7 @@ Subject: Exclude spaces from breadcrumbs
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/src/stores/BreadcrumbsStore.ts b/src/stores/BreadcrumbsStore.ts diff --git a/src/stores/BreadcrumbsStore.ts b/src/stores/BreadcrumbsStore.ts
index 9859f24015..957b54286c 100644 index e3b01cae0b..02f6c286f2 100644
--- a/src/stores/BreadcrumbsStore.ts --- a/src/stores/BreadcrumbsStore.ts
+++ b/src/stores/BreadcrumbsStore.ts +++ b/src/stores/BreadcrumbsStore.ts
@@ -137,6 +137,7 @@ export class BreadcrumbsStore extends AsyncStoreWithClient<IState> { @@ -137,6 +137,7 @@ export class BreadcrumbsStore extends AsyncStoreWithClient<IState> {
@ -20,5 +20,5 @@ index 9859f24015..957b54286c 100644
const rooms = (this.state.rooms || []).slice(); // cheap clone const rooms = (this.state.rooms || []).slice(); // cheap clone
const msc3946ProcessDynamicPredecessor = SettingsStore.getValue("feature_dynamic_room_predecessors"); const msc3946ProcessDynamicPredecessor = SettingsStore.getValue("feature_dynamic_room_predecessors");
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 9a1518e041fa2d5364885725b259378952a2b445 Mon Sep 17 00:00:00 2001 From 2611dc55c8c915f19ad3b06c3d406101bce24b67 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Mon, 19 Aug 2024 20:27:33 +0200 Date: Mon, 19 Aug 2024 20:27:33 +0200
Subject: Stop the search bar wobble Subject: Stop the search bar wobble
@ -8,7 +8,7 @@ Subject: Stop the search bar wobble
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/res/css/_common.pcss b/res/css/_common.pcss diff --git a/res/css/_common.pcss b/res/css/_common.pcss
index 15ba02b6b8..f9bcd695ca 100644 index 75180013f6..e55eadaaf7 100644
--- a/res/css/_common.pcss --- a/res/css/_common.pcss
+++ b/res/css/_common.pcss +++ b/res/css/_common.pcss
@@ -181,6 +181,7 @@ input[type="search"].mx_textinput_icon { @@ -181,6 +181,7 @@ input[type="search"].mx_textinput_icon {
@ -20,5 +20,5 @@ index 15ba02b6b8..f9bcd695ca 100644
/* FIXME THEME - Tint by CSS rather than referencing a duplicate asset */ /* FIXME THEME - Tint by CSS rather than referencing a duplicate asset */
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From e5b9cc85889d539da3d4acff20cf8b3199ae94e3 Mon Sep 17 00:00:00 2001 From 453eae3dc1a21fd18c28dca91498efbbadfb4e50 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 13 Oct 2024 11:23:54 +0200 Date: Sun, 13 Oct 2024 11:23:54 +0200
Subject: Import SC compound theme overrides Subject: Import SC compound theme overrides
@ -8,7 +8,7 @@ Subject: Import SC compound theme overrides
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/res/css/_common.pcss b/res/css/_common.pcss diff --git a/res/css/_common.pcss b/res/css/_common.pcss
index f9bcd695ca..ad7c298820 100644 index e55eadaaf7..21d0f1d83a 100644
--- a/res/css/_common.pcss --- a/res/css/_common.pcss
+++ b/res/css/_common.pcss +++ b/res/css/_common.pcss
@@ -11,6 +11,7 @@ Please see LICENSE files in the repository root for full details. @@ -11,6 +11,7 @@ Please see LICENSE files in the repository root for full details.
@ -20,5 +20,5 @@ index f9bcd695ca..ad7c298820 100644
@import "./_animations.pcss"; @import "./_animations.pcss";
@import "./_spacing.pcss"; @import "./_spacing.pcss";
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 124ee073c6de89d111823c94922d7d2eeb596a0b Mon Sep 17 00:00:00 2001 From f1cac8ba3ffcd3cc0b7ab6d014d6e40d8dec4451 Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl> From: su-ex <codeworks@supercable.onl>
Date: Tue, 7 Sep 2021 19:41:52 +0200 Date: Tue, 7 Sep 2021 19:41:52 +0200
Subject: No damn avatar background in room list Subject: No damn avatar background in room list
@ -8,7 +8,7 @@ Subject: No damn avatar background in room list
1 file changed, 3 insertions(+) 1 file changed, 3 insertions(+)
diff --git a/src/components/structures/BackdropPanel.tsx b/src/components/structures/BackdropPanel.tsx diff --git a/src/components/structures/BackdropPanel.tsx b/src/components/structures/BackdropPanel.tsx
index 32c75a936e..f420bdbc7b 100644 index f3a44521fa..396601ba6e 100644
--- a/src/components/structures/BackdropPanel.tsx --- a/src/components/structures/BackdropPanel.tsx
+++ b/src/components/structures/BackdropPanel.tsx +++ b/src/components/structures/BackdropPanel.tsx
@@ -13,6 +13,9 @@ interface IProps { @@ -13,6 +13,9 @@ interface IProps {
@ -22,5 +22,5 @@ index 32c75a936e..f420bdbc7b 100644
const styles: CSSProperties = {}; const styles: CSSProperties = {};
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From ca4fa33dda5812b259c4391171358a50beb812fd Mon Sep 17 00:00:00 2001 From c5ae977ed90c680d9055460295f60f4945f0c98a Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl> From: su-ex <codeworks@supercable.onl>
Date: Tue, 22 Dec 2020 19:16:28 +0100 Date: Tue, 22 Dec 2020 19:16:28 +0100
Subject: No red messages in 1:1 chats Close SchildiChat/schildichat-desktop#13 Subject: No red messages in 1:1 chats Close SchildiChat/schildichat-desktop#13
@ -8,10 +8,10 @@ Subject: No red messages in 1:1 chats Close SchildiChat/schildichat-desktop#13
1 file changed, 6 insertions(+) 1 file changed, 6 insertions(+)
diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx
index 22da73bef7..455a57e33d 100644 index 7baa127f16..4da70f5ecb 100644
--- a/src/components/views/rooms/EventTile.tsx --- a/src/components/views/rooms/EventTile.tsx
+++ b/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx
@@ -685,6 +685,12 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState> @@ -679,6 +679,12 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
return false; return false;
} }
@ -25,5 +25,5 @@ index 22da73bef7..455a57e33d 100644
} }
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 45fea7a503d58e70e876bf5c94e5731fbed85551 Mon Sep 17 00:00:00 2001 From efe6a8611871296b277adbf5201fec0826b837fe Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 13 Oct 2024 13:26:16 +0200 Date: Sun, 13 Oct 2024 13:26:16 +0200
Subject: Always apply corner radius to all edges of the bubble Subject: Always apply corner radius to all edges of the bubble
@ -8,7 +8,7 @@ Subject: Always apply corner radius to all edges of the bubble
1 file changed, 6 insertions(+), 4 deletions(-) 1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/res/css/views/rooms/_EventBubbleTile.pcss b/res/css/views/rooms/_EventBubbleTile.pcss diff --git a/res/css/views/rooms/_EventBubbleTile.pcss b/res/css/views/rooms/_EventBubbleTile.pcss
index 3a42cde9bb..a5f5480010 100644 index c25cbfcec4..682ea64890 100644
--- a/res/css/views/rooms/_EventBubbleTile.pcss --- a/res/css/views/rooms/_EventBubbleTile.pcss
+++ b/res/css/views/rooms/_EventBubbleTile.pcss +++ b/res/css/views/rooms/_EventBubbleTile.pcss
@@ -283,6 +283,8 @@ Please see LICENSE files in the repository root for full details. @@ -283,6 +283,8 @@ Please see LICENSE files in the repository root for full details.
@ -20,7 +20,7 @@ index 3a42cde9bb..a5f5480010 100644
/* the selector here is quite weird because timestamps can appear linked & unlinked and in different places */ /* the selector here is quite weird because timestamps can appear linked & unlinked and in different places */
/* in the DOM depending on the specific rendering context */ /* in the DOM depending on the specific rendering context */
@@ -377,7 +379,7 @@ Please see LICENSE files in the repository root for full details. @@ -376,7 +378,7 @@ Please see LICENSE files in the repository root for full details.
} }
&.mx_EventTile_continuation[data-self="false"] .mx_EventTile_line { &.mx_EventTile_continuation[data-self="false"] .mx_EventTile_line {
@ -29,7 +29,7 @@ index 3a42cde9bb..a5f5480010 100644
.mx_MImageBody .mx_MImageBody_thumbnail_container, .mx_MImageBody .mx_MImageBody_thumbnail_container,
.mx_MVideoBody .mx_MVideoBody_container, .mx_MVideoBody .mx_MVideoBody_container,
@@ -385,7 +387,7 @@ Please see LICENSE files in the repository root for full details. @@ -384,7 +386,7 @@ Please see LICENSE files in the repository root for full details.
.mx_MediaBody, .mx_MediaBody,
.mx_MLocationBody_map, .mx_MLocationBody_map,
.mx_MBeaconBody { .mx_MBeaconBody {
@ -38,7 +38,7 @@ index 3a42cde9bb..a5f5480010 100644
} }
} }
&.mx_EventTile_lastInSection[data-self="false"] .mx_EventTile_line { &.mx_EventTile_lastInSection[data-self="false"] .mx_EventTile_line {
@@ -402,7 +404,7 @@ Please see LICENSE files in the repository root for full details. @@ -401,7 +403,7 @@ Please see LICENSE files in the repository root for full details.
} }
&.mx_EventTile_continuation[data-self="true"] .mx_EventTile_line { &.mx_EventTile_continuation[data-self="true"] .mx_EventTile_line {
@ -47,7 +47,7 @@ index 3a42cde9bb..a5f5480010 100644
.mx_MImageBody .mx_MImageBody_thumbnail_container, .mx_MImageBody .mx_MImageBody_thumbnail_container,
.mx_MVideoBody .mx_MVideoBody_container, .mx_MVideoBody .mx_MVideoBody_container,
@@ -410,7 +412,7 @@ Please see LICENSE files in the repository root for full details. @@ -409,7 +411,7 @@ Please see LICENSE files in the repository root for full details.
.mx_MediaBody, .mx_MediaBody,
.mx_MLocationBody_map, .mx_MLocationBody_map,
.mx_MBeaconBody { .mx_MBeaconBody {
@ -57,5 +57,5 @@ index 3a42cde9bb..a5f5480010 100644
} }
&.mx_EventTile_lastInSection[data-self="true"] .mx_EventTile_line { &.mx_EventTile_lastInSection[data-self="true"] .mx_EventTile_line {
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 61195cdcca6e390e179b776726bab89cc56e6fca Mon Sep 17 00:00:00 2001 From 4c1b8a37c564d086ef37049cf5b0c4ac6376e8a9 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 13 Oct 2024 13:53:07 +0200 Date: Sun, 13 Oct 2024 13:53:07 +0200
Subject: Always show timestamps by default Subject: Always show timestamps by default
@ -8,10 +8,10 @@ Subject: Always show timestamps by default
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
index 3e9fb95799..b76ec5feb2 100644 index 61a17d09ae..4ca441dc47 100644
--- a/src/settings/Settings.tsx --- a/src/settings/Settings.tsx
+++ b/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx
@@ -644,7 +644,7 @@ export const SETTINGS: { [setting: string]: ISetting } = { @@ -795,7 +795,7 @@ export const SETTINGS: Settings = {
"alwaysShowTimestamps": { "alwaysShowTimestamps": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS, supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("settings|always_show_message_timestamps"), displayName: _td("settings|always_show_message_timestamps"),
@ -21,5 +21,5 @@ index 3e9fb95799..b76ec5feb2 100644
"userTimezone": { "userTimezone": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS, supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 457d402a9f2d854efceb14cd6bd573db6c09175d Mon Sep 17 00:00:00 2001 From 9fcbc30485a80dcfa7321fa3599d16ce5e7308e6 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Thu, 17 Oct 2024 19:40:51 +0200 Date: Thu, 17 Oct 2024 19:40:51 +0200
Subject: Enable custom emote rendering by default Subject: Enable custom emote rendering by default
@ -8,18 +8,18 @@ Subject: Enable custom emote rendering by default
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
index b76ec5feb2..51404c88d4 100644 index 4ca441dc47..aa74245519 100644
--- a/src/settings/Settings.tsx --- a/src/settings/Settings.tsx
+++ b/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx
@@ -508,7 +508,7 @@ export const SETTINGS: { [setting: string]: ISetting } = { @@ -650,7 +650,7 @@ export const SETTINGS: Settings = {
description: _td("labs|render_reaction_images_description"), description: _td("labs|render_reaction_images_description"),
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG_PRIORITISED, supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG_PRIORITISED,
supportedLevelsAreOrdered: true, supportedLevelsAreOrdered: true,
- default: false, - default: false,
+ default: true, + default: true,
}, },
/** "feature_new_room_list": {
* With the transition to Compound we are moving to a base font size supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG_PRIORITISED,
-- --
2.47.0 2.49.0

View File

@ -1,4 +1,4 @@
From 9f640ce10fd0903be3c33e76ba1842112e659d5f Mon Sep 17 00:00:00 2001 From e84deb43f138f16131d67aa46c1d5a47e298e776 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de> From: SpiritCroc <dev@spiritcroc.de>
Date: Sun, 27 Oct 2024 19:24:26 +0100 Date: Sun, 27 Oct 2024 19:24:26 +0100
Subject: Enable chat previews by default Subject: Enable chat previews by default
@ -8,7 +8,7 @@ Subject: Enable chat previews by default
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stores/room-list/ListLayout.ts b/src/stores/room-list/ListLayout.ts diff --git a/src/stores/room-list/ListLayout.ts b/src/stores/room-list/ListLayout.ts
index 275b6d330b..3a188451e7 100644 index a4ae9bbc1d..227c918457 100644
--- a/src/stores/room-list/ListLayout.ts --- a/src/stores/room-list/ListLayout.ts
+++ b/src/stores/room-list/ListLayout.ts +++ b/src/stores/room-list/ListLayout.ts
@@ -18,7 +18,7 @@ interface ISerializedListLayout { @@ -18,7 +18,7 @@ interface ISerializedListLayout {
@ -21,5 +21,5 @@ index 275b6d330b..3a188451e7 100644
public constructor(public readonly tagId: TagID) { public constructor(public readonly tagId: TagID) {
-- --
2.47.0 2.49.0

View File

@ -0,0 +1,39 @@
From 8354faea210da07d2948ca60dd6eaf3e7a668f86 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de>
Date: Sat, 30 Nov 2024 19:42:44 +0100
Subject: Disable showing people in spaces by default
---
src/settings/Settings.tsx | 2 +-
src/stores/room-list/filters/SpaceFilterCondition.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
index aa74245519..07227b02dc 100644
--- a/src/settings/Settings.tsx
+++ b/src/settings/Settings.tsx
@@ -1233,7 +1233,7 @@ export const SETTINGS: Settings = {
},
"Spaces.showPeopleInSpace": {
supportedLevels: [SettingLevel.ROOM_ACCOUNT],
- default: true,
+ default: false,
},
"developerMode": {
displayName: _td("devtools|developer_mode"),
diff --git a/src/stores/room-list/filters/SpaceFilterCondition.ts b/src/stores/room-list/filters/SpaceFilterCondition.ts
index 02e20e9103..2b49711c8e 100644
--- a/src/stores/room-list/filters/SpaceFilterCondition.ts
+++ b/src/stores/room-list/filters/SpaceFilterCondition.ts
@@ -25,7 +25,7 @@ import SettingsStore from "../../../settings/SettingsStore";
export class SpaceFilterCondition extends EventEmitter implements IFilterCondition, IDestroyable {
private roomIds = new Set<string>();
private userIds = new Set<string>();
- private showPeopleInSpace = true;
+ private showPeopleInSpace = false;
private space: SpaceKey = MetaSpace.Home;
public isVisible(room: Room): boolean {
--
2.49.0

View File

@ -1,26 +0,0 @@
From 7fb604f189e547daf72cd93ce53f8a76c733c321 Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de>
Date: Thu, 31 Oct 2024 17:33:32 +0100
Subject: Fix captions in bubble layout
Image height of 100% combined with overflow-y: hidden was causing
caption to be invisible in bubble layout.
---
res/css/views/rooms/_EventBubbleTile.pcss | 1 -
1 file changed, 1 deletion(-)
diff --git a/res/css/views/rooms/_EventBubbleTile.pcss b/res/css/views/rooms/_EventBubbleTile.pcss
index a5f5480010..fbb1ad2e1b 100644
--- a/res/css/views/rooms/_EventBubbleTile.pcss
+++ b/res/css/views/rooms/_EventBubbleTile.pcss
@@ -336,7 +336,6 @@ Please see LICENSE files in the repository root for full details.
.mx_MImageBody {
width: 100%;
- height: 100%;
.mx_MImageBody_thumbnail.mx_MImageBody_thumbnail--blurhash {
position: unset;
--
2.47.0

View File

@ -1,17 +1,28 @@
From 18578fe4ac6838b2d70a4efb029a75ab24087dab Mon Sep 17 00:00:00 2001 From 345e3cce61ff9afa68d8b17dde379fce269faa56 Mon Sep 17 00:00:00 2001
From: Suguru Hirahara <luixxiul@users.noreply.github.com> From: Suguru Hirahara <luixxiul@users.noreply.github.com>
Date: Thu, 31 Oct 2024 13:44:20 -0400 Date: Thu, 31 Oct 2024 13:44:20 -0400
Subject: Improve IRC layout for SchildiChat Subject: Improve IRC layout for SchildiChat
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Squashed:
Author: Suguru Hirahara <luixxiul@users.noreply.github.com>
Date: Thu Nov 28 10:01:43 2024 -0500
Improve IRC layout for SchildiChat: fix placement of capital letters inside read receipts
This is a follow-up to 18578fe4ac6838b2d70a4efb029a75ab24087dab.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
--- ---
.../elements/_GenericEventListSummary.pcss | 15 ++ .../elements/_GenericEventListSummary.pcss | 15 ++
res/css/views/rooms/_EventTile.pcss | 146 ++++++++++++++++-- res/css/views/rooms/_EventTile.pcss | 148 ++++++++++++++++--
res/css/views/rooms/_IRCLayout.pcss | 2 + res/css/views/rooms/_IRCLayout.pcss | 2 +
3 files changed, 153 insertions(+), 10 deletions(-) 3 files changed, 155 insertions(+), 10 deletions(-)
diff --git a/res/css/views/elements/_GenericEventListSummary.pcss b/res/css/views/elements/_GenericEventListSummary.pcss diff --git a/res/css/views/elements/_GenericEventListSummary.pcss b/res/css/views/elements/_GenericEventListSummary.pcss
index c13f819439..4f42040606 100644 index f4aa0e6f0f..88bcb88f14 100644
--- a/res/css/views/elements/_GenericEventListSummary.pcss --- a/res/css/views/elements/_GenericEventListSummary.pcss
+++ b/res/css/views/elements/_GenericEventListSummary.pcss +++ b/res/css/views/elements/_GenericEventListSummary.pcss
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
@ -20,7 +31,7 @@ index c13f819439..4f42040606 100644
+Copyright 2024 Suguru Hirahara +Copyright 2024 Suguru Hirahara
Copyright 2016 OpenMarket Ltd Copyright 2016 OpenMarket Ltd
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
@@ -36,6 +37,20 @@ Please see LICENSE files in the repository root for full details. @@ -36,6 +37,20 @@ Please see LICENSE files in the repository root for full details.
} }
} }
@ -43,7 +54,7 @@ index c13f819439..4f42040606 100644
margin-top: $spacing-8; margin-top: $spacing-8;
} }
diff --git a/res/css/views/rooms/_EventTile.pcss b/res/css/views/rooms/_EventTile.pcss diff --git a/res/css/views/rooms/_EventTile.pcss b/res/css/views/rooms/_EventTile.pcss
index 311e059166..501a9210cf 100644 index b4172fc003..c8538a6c32 100644
--- a/res/css/views/rooms/_EventTile.pcss --- a/res/css/views/rooms/_EventTile.pcss
+++ b/res/css/views/rooms/_EventTile.pcss +++ b/res/css/views/rooms/_EventTile.pcss
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
@ -53,7 +64,7 @@ index 311e059166..501a9210cf 100644
Copyright 2020, 2021 The Matrix.org Foundation C.I.C. Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
Copyright 2015, 2016 OpenMarket Ltd Copyright 2015, 2016 OpenMarket Ltd
@@ -279,6 +280,10 @@ $left-gutter: 64px; @@ -273,6 +274,10 @@ $left-gutter: 64px;
align-items: flex-start; align-items: flex-start;
padding-top: 0; padding-top: 0;
@ -64,7 +75,7 @@ index 311e059166..501a9210cf 100644
> a { > a {
text-decoration: none; /* timestamps are links which shouldn't be underlined */ text-decoration: none; /* timestamps are links which shouldn't be underlined */
min-width: var(--MessageTimestamp-width); /* ensure space for EventTile without timestamp */ min-width: var(--MessageTimestamp-width); /* ensure space for EventTile without timestamp */
@@ -286,6 +291,7 @@ $left-gutter: 64px; @@ -280,6 +285,7 @@ $left-gutter: 64px;
> * { > * {
margin-right: var(--right-padding); margin-right: var(--right-padding);
@ -72,7 +83,7 @@ index 311e059166..501a9210cf 100644
} }
.mx_EventTile_avatar, .mx_EventTile_avatar,
@@ -321,17 +327,46 @@ $left-gutter: 64px; @@ -315,17 +321,46 @@ $left-gutter: 64px;
width: var(--name-width); width: var(--name-width);
margin-inline-end: 0; /* override mx_EventTile > * */ margin-inline-end: 0; /* override mx_EventTile > * */
@ -120,7 +131,7 @@ index 311e059166..501a9210cf 100644
} }
&:hover { &:hover {
@@ -343,17 +378,66 @@ $left-gutter: 64px; @@ -337,17 +372,68 @@ $left-gutter: 64px;
display: inline; display: inline;
background-color: $event-selected-color; background-color: $event-selected-color;
border-radius: 8px 0 0 8px; border-radius: 8px 0 0 8px;
@ -143,6 +154,7 @@ index 311e059166..501a9210cf 100644
+ .mx_BaseAvatar > * { + .mx_BaseAvatar > * {
+ height: $font-14px !important; + height: $font-14px !important;
+ width: $font-14px !important; + width: $font-14px !important;
+ line-height: $font-14px; /* override wildcard; fix alignment of capital letter inside read receipts */
+ flex-shrink: 0; /* Prevents the avatar from shrinking (when mx_DisambiguatedProfile_displayName is long) */ + flex-shrink: 0; /* Prevents the avatar from shrinking (when mx_DisambiguatedProfile_displayName is long) */
+ } + }
+ +
@ -153,6 +165,7 @@ index 311e059166..501a9210cf 100644
+ .mx_BaseAvatar > * { + .mx_BaseAvatar > * {
+ height: $font-16px !important; /* override the value specified above */ + height: $font-16px !important; /* override the value specified above */
+ width: $font-16px !important; /* override the value specified above */ + width: $font-16px !important; /* override the value specified above */
+ line-height: $font-16px; /* override wildcard; fix alignment of capital letter inside read receipts */
+ } + }
+ } + }
+ +
@ -189,7 +202,7 @@ index 311e059166..501a9210cf 100644
.mx_EventTile_e2eIcon { .mx_EventTile_e2eIcon {
padding: 0; padding: 0;
flex-grow: 0; flex-grow: 0;
@@ -365,9 +449,8 @@ $left-gutter: 64px; @@ -359,9 +445,8 @@ $left-gutter: 64px;
.mx_TextualEvent, .mx_TextualEvent,
.mx_ViewSourceEvent, .mx_ViewSourceEvent,
.mx_MTextBody { .mx_MTextBody {
@ -201,7 +214,7 @@ index 311e059166..501a9210cf 100644
} }
.mx_EventTile_e2eIcon, .mx_EventTile_e2eIcon,
@@ -405,8 +488,36 @@ $left-gutter: 64px; @@ -399,8 +484,36 @@ $left-gutter: 64px;
} }
} }
@ -240,7 +253,7 @@ index 311e059166..501a9210cf 100644
} }
.mx_MessageTimestamp { .mx_MessageTimestamp {
@@ -459,8 +570,14 @@ $left-gutter: 64px; @@ -453,8 +566,14 @@ $left-gutter: 64px;
&.mx_EventTile_emote { &.mx_EventTile_emote {
.mx_EventTile_avatar { .mx_EventTile_avatar {
@ -257,7 +270,7 @@ index 311e059166..501a9210cf 100644
} }
} }
@@ -642,6 +759,15 @@ $left-gutter: 64px; @@ -636,6 +755,15 @@ $left-gutter: 64px;
var(--name-width) + var(--icon-width) + var(--MessageTimestamp-width) + 2 * var(--right-padding) var(--name-width) + var(--icon-width) + var(--MessageTimestamp-width) + 2 * var(--right-padding)
); );
} }
@ -274,7 +287,7 @@ index 311e059166..501a9210cf 100644
&[data-layout="group"] { &[data-layout="group"] {
diff --git a/res/css/views/rooms/_IRCLayout.pcss b/res/css/views/rooms/_IRCLayout.pcss diff --git a/res/css/views/rooms/_IRCLayout.pcss b/res/css/views/rooms/_IRCLayout.pcss
index ecf1c25716..de85238ca6 100644 index 953a0c941f..3326d0c0ff 100644
--- a/res/css/views/rooms/_IRCLayout.pcss --- a/res/css/views/rooms/_IRCLayout.pcss
+++ b/res/css/views/rooms/_IRCLayout.pcss +++ b/res/css/views/rooms/_IRCLayout.pcss
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
@ -283,7 +296,7 @@ index ecf1c25716..de85238ca6 100644
+Copyright 2024 Suguru Hirahara +Copyright 2024 Suguru Hirahara
Copyright 2020 The Matrix.org Foundation C.I.C. Copyright 2020 The Matrix.org Foundation C.I.C.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
@@ -15,6 +16,7 @@ Please see LICENSE files in the repository root for full details. @@ -15,6 +16,7 @@ Please see LICENSE files in the repository root for full details.
--icon-width: 14px; --icon-width: 14px;
--line-height: var(--irc-line-height); --line-height: var(--irc-line-height);
@ -293,5 +306,5 @@ index ecf1c25716..de85238ca6 100644
line-height: var(--line-height) !important; line-height: var(--line-height) !important;
-- --
2.47.0 2.49.0