element-web/test/test-utils
Skye Elliot ce9c66ba4c
Update algorithm for history visible banner. (#31577)
* feat: Update algorithm for history visible banner.

- The banner now only shows for rooms with `shared` or `worldReadable`
  history visibility.
- The banner does not show in rooms in which the current user cannot
  send messages.

* tests: Add `getHistoryVisibility` to stub room.

* docs: Add description to `visible` condition check.

* docs: Fix spelling.

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>

* chore: Remove `jest-sonar.xml`.

---------

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2025-12-19 15:41:09 +00:00
..
audio.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
beacon.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
call.ts Support using Element Call for voice calls in DMs (#30817) 2025-11-17 11:50:22 +00:00
client.ts Stop using deprecated js-sdk fields (#30552) 2025-08-12 13:19:50 +00:00
composer.ts Synchronise internationalisations with Localazy (#30407) 2025-08-07 11:25:34 +00:00
console.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
date.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
events.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
index.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
jest-matrix-react.tsx Introduce i18nContext (#31347) 2025-12-02 13:47:14 +00:00
location.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
oidc.ts Switch OIDC primarily to new /auth_metadata API (#29019) 2025-01-22 13:48:28 +00:00
platform.ts feat: Disable session lock when running in element-desktop (#30643) 2025-09-23 14:46:01 +00:00
poll.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
predictableRandom.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
pushRules.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
relations.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
room.ts Experimental Module API Additions (#30863) 2025-11-05 07:24:26 +00:00
test-utils.ts Update algorithm for history visible banner. (#31577) 2025-12-19 15:41:09 +00:00
threads.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
utilities.ts test: use forceCloseAllModals instead of closeCurrentModal (#30211) 2025-06-26 08:02:42 +00:00
wrappers.tsx Move ResizerNotifier into SDKContext (#30939) 2025-10-06 09:23:06 +00:00