Skip to content

Migration to Element X - add banner in room list. - #9167

Open
bmarty wants to merge 4 commits into
developfrom
feature/bma/bannerForElementX
Open

bmarty wants to merge 4 commits into
developfrom
feature/bma/bannerForElementX

Conversation

@bmarty

@bmarty bmarty commented Sep 8, 2026

Copy link
Copy Markdown
Member

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other : help user to migrate to Element X

Content

Add a banner on the room list to advertise Element X in Element Classic.

  • A milestone is defined in the code: 15th of November.
  • The banner configuration is read from the .well-known file
  • When configuration is missing, the banner is not displayed before 15th of November and displayed after.
  • When the configuration is present, the banner is displayed according to the configuration.
  • When the user closes the banner, it will be displayed again (if the configuration / date allow it) 7 days later.

The banner will be displayed only if not disabled in the .well-known file.

This PR also introduce a change in the cache, to avoid trying to fetch a non existing .well-known file each time the application is resumed. A check will occur only after a 8 hours delay instead.

Motivation and context

Help user migrate to Element X

Closes #9169
Closes #9170
Closes #9171

Screenshots / GIFs

image

Tests

  • on matrix.org, no change should be visible before 15th of November.
  • else user can setup a .well-known file to tweak the banner behavior. Be aware of the 8 hours cache of this file.

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

@bmarty
bmarty force-pushed the feature/bma/bannerForElementX branch from a558dfe to 2db653e Compare September 9, 2026 08:31
@bmarty
bmarty marked this pull request as ready for review September 15, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task] Dismiss the banner [Task] Tailor banner content [Task] Activate banner

1 participant