1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-24 23:19:26 +03:00

3 Commits

Author SHA1 Message Date
Florian Duros
fc68b58c4d Room list: add an Invites section (#34736)
* Add an Invites section to the room list

Invited rooms are collected in a section pinned above Favourites.
The invite tag is synthetic, derived from the membership rather than
stored as account data, so tagRoom refuses to write or remove it.

* Name the Invites section and hide its filter chip

The collapsed header shows the number of invitations: an invitation is
neither a mention nor a notification, so it would contribute nothing to
the badge otherwise. The chip is only offered when sections are off.

* Keep invited rooms out of other sections

Membership fixes the section of an invited room, so it cannot be dragged
and the Favourited, Low priority and "Move to" entries are hidden.

* Start the Invites section collapsed

The section appears on its own when an invitation arrives, so it starts
closed and its header reports the count. Expanding it lasts only while it
is on screen, so it is closed again every time it reappears.

* Update e2e tests

* Update screenshots

* Simplify dragAndDrop.ts

* Open the section header in the e2e test only if closed

* Update lifecycle e2e tests
2026-09-07 11:04:50 +00:00
Michael Telatynski
6f46493b4d DRY 2026-06-08 13:34:08 +01:00
Michael Telatynski
799d33278f Absorb remainder of element-modules into monorepo 2026-06-08 10:32:12 +01:00