Skip to content

Commit aab333a

Browse files
authored
Merge branch 'develop' into renovate/browserslist
2 parents 4a7c376 + 7f97f46 commit aab333a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+429
-611
lines changed

code_style.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ Unless otherwise specified, the following applies to all code:
127127
2. "Conflicted" typically refers to a getter which wants the same name as the underlying variable.
128128
20. Prefer readonly members over getters backed by a variable, unless an internal setter is required.
129129
21. Prefer Interfaces for object definitions, and types for parameter-value-only declarations.
130-
131130
1. Note that an explicit type is optional if not expected to be used outside of the function call,
132131
unlike in this example:
133132

@@ -161,7 +160,6 @@ Unless otherwise specified, the following applies to all code:
161160
28. Export only what can be reused.
162161
29. Prefer a type like `Optional<X>` (`type Optional<T> = T | null | undefined`) instead
163162
of truly optional parameters.
164-
165163
1. A notable exception is when the likelihood of a bug is minimal, such as when a function
166164
takes an argument that is more often not required than required. An example where the
167165
`?` operator is inappropriate is when taking a room ID: typically the caller should
@@ -260,7 +258,6 @@ Inheriting all the rules of TypeScript, the following additionally apply:
260258
12. Interdependence between stores should be kept to a minimum. Break functions and constants out to utilities
261259
if at all possible.
262260
13. A component should only use CSS class names in line with the component name.
263-
264261
1. When knowingly using a class name from another component, document it with a [comment](#comments).
265262

266263
14. Curly braces within JSX should be padded with a space, however properties on those components should not.
@@ -388,7 +385,6 @@ Note: We use PostCSS + some plugins to process our styles. It looks like SCSS, b
388385
properties should be clearly documented.
389386

390387
4. Inside a function, there is no need to comment every line, but consider:
391-
392388
- before a particular multiline section of code within the function, give an overview of what it does,
393389
to make it easier for a reader to follow the flow through the function as a whole.
394390
- if it is anything less than obvious, explain _why_ we are doing a particular operation, with particular emphasis

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@sentry/browser": "^9.0.0",
9393
"@types/png-chunks-extract": "^1.0.2",
9494
"@types/react-virtualized": "^9.21.30",
95-
"@vector-im/compound-design-tokens": "^4.0.0",
95+
"@vector-im/compound-design-tokens": "^5.0.0",
9696
"@vector-im/compound-web": "^8.1.2",
9797
"@vector-im/matrix-wysiwyg": "2.38.4",
9898
"@zxcvbn-ts/core": "^3.0.4",
@@ -138,7 +138,7 @@
138138
"opus-recorder": "^8.0.3",
139139
"pako": "^2.0.3",
140140
"png-chunks-extract": "^1.0.0",
141-
"posthog-js": "1.255.1",
141+
"posthog-js": "1.256.2",
142142
"qrcode": "1.5.4",
143143
"re-resizable": "6.11.2",
144144
"react": "^19.0.0",
@@ -180,7 +180,7 @@
180180
"@babel/preset-typescript": "^7.12.7",
181181
"@babel/runtime": "^7.12.5",
182182
"@casualbot/jest-sonar-reporter": "2.2.7",
183-
"@element-hq/element-call-embedded": "0.12.2",
183+
"@element-hq/element-call-embedded": "0.13.1",
184184
"@element-hq/element-web-playwright-common": "^1.4.2",
185185
"@peculiar/webcrypto": "^1.4.3",
186186
"@playwright/test": "^1.50.1",
@@ -279,7 +279,7 @@
279279
"postcss-preset-env": "^10.0.0",
280280
"postcss-scss": "^4.0.4",
281281
"postcss-simple-vars": "^7.0.1",
282-
"prettier": "3.5.3",
282+
"prettier": "3.6.2",
283283
"process": "^0.11.10",
284284
"raw-loader": "^4.0.2",
285285
"rimraf": "^6.0.0",

playwright/testcontainers/synapse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
77

88
import { SynapseContainer as BaseSynapseContainer } from "@element-hq/element-web-playwright-common/lib/testcontainers";
99

10-
const TAG = "develop@sha256:68b0b06f7dcd6f0531ce4331640f3fd055e1060f4156990af660c8365a95918d";
10+
const TAG = "develop@sha256:aea1d8f371268aed7a5863fa5dde960fb4f9f578cd0a5952cc4da92537f95cfa";
1111

1212
/**
1313
* SynapseContainer which freezes the docker digest to stabilise tests,

src/components/structures/ThreadPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ const ThreadPanel: React.FC<IProps> = ({ roomId, onClose, permalinkCreator }) =>
169169

170170
useEffect(() => {
171171
const room = mxClient.getRoom(roomId);
172-
room
173-
?.createThreadsTimelineSets()
172+
room?.createThreadsTimelineSets()
174173
.then(() => room.fetchRoomThreads())
175174
.then(() => {
176175
setFilterOption(ThreadFilterType.All);

src/components/views/elements/SpellCheckLanguagesDropdown.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export default class SpellCheckLanguagesDropdown extends React.Component<
5252
const plaf = PlatformPeg.get();
5353
if (plaf) {
5454
const languageNames = new Intl.DisplayNames([getUserLanguage()], { type: "language", style: "short" });
55-
plaf
56-
.getAvailableSpellCheckLanguages()
55+
plaf.getAvailableSpellCheckLanguages()
5756
?.then((languages) => {
5857
languages.sort(function (a, b) {
5958
if (a < b) return -1;

src/i18n/strings/cs.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@
242242
"setup_key_backup_title": "Přijdete o přístup k šifrovaným zprávám",
243243
"setup_secure_backup_description_1": "Šifrované zprávy jsou zabezpečené koncovým šifrováním. Klíče pro jejich dešifrování máte jen vy a příjemci zpráv.",
244244
"setup_secure_backup_description_2": "Po odhlášení budou tyto klíče z tohoto zařízení odstraněny, což znamená, že nebudete moci číst zašifrované zprávy, pokud k nim nemáte klíče v jiných zařízeních nebo je nemáte zálohované na serveru.",
245-
"skip_key_backup": "Už své zašifrované zprávy nechci",
246-
"use_key_backup": "Začít používat zálohu klíčů"
245+
"skip_key_backup": "Už své zašifrované zprávy nechci"
247246
},
248247
"misconfigured_body": "Požádejte správce vašeho %(brand)su, aby zkontroloval <a>vaši konfiguraci</a>. Pravděpodobně obsahuje chyby nebo duplicity.",
249248
"misconfigured_title": "%(brand)s je špatně nakonfigurován",
@@ -971,7 +970,6 @@
971970
"reset_all_button": "Zapomněli nebo ztratili jste všechny metody obnovy? <a>Resetovat vše</a>",
972971
"set_up_recovery": "Nastavení obnovení",
973972
"set_up_recovery_toast_description": "Vygenerujte klíč pro obnovení, který lze použít k obnovení historie šifrovaných zpráv v případě, že ztratíte přístup k zařízením.",
974-
"set_up_toast_description": "Zabezpečení proti ztrátě přístupu k šifrovaným zprávám a datům",
975973
"set_up_toast_title": "Nastavení zabezpečené zálohy",
976974
"setup_secure_backup": {
977975
"explainer": "Před odhlášením si zazálohujte klíče abyste o ně nepřišli."
@@ -2719,11 +2717,6 @@
27192717
},
27202718
"jump_to_bottom_on_send": "Po odeslání zprávy přejít na konec časové osy",
27212719
"key_backup": {
2722-
"backup_in_progress": "Klíče se zálohují (první záloha může trvat pár minut).",
2723-
"backup_starting": "Zahájení zálohování…",
2724-
"backup_success": "Úspěch!",
2725-
"cannot_create_backup": "Nepovedlo se vyrobit zálohů klíčů",
2726-
"create_title": "Vytvořit zálohu klíčů",
27272720
"setup_secure_backup": {
27282721
"backup_setup_success_description": "Vaše klíče jsou nyní zálohovány z tohoto zařízení.",
27292722
"backup_setup_success_title": "Bezpečné zálohování bylo úspěšné",
@@ -2883,7 +2876,6 @@
28832876
"ignore_users_empty": "Nemáte žádné ignorované uživatele.",
28842877
"ignore_users_section": "Ignorovaní uživatelé",
28852878
"key_backup_algorithm": "Algoritmus:",
2886-
"key_backup_connect": "Připojit k zálohování klíčů",
28872879
"message_search_disable_warning": "Když je to zakázané, zprávy v šifrovaných místnostech se nebudou objevovat ve výsledcích vyhledávání.",
28882880
"message_search_disabled": "Bezpečně uchovávat zprávy na tomto zařízení aby se v nich dalo vyhledávat.",
28892881
"message_search_enabled": {

0 commit comments

Comments
 (0)