element-hq / element-integration-manager

Element Integration Manager related issues
6 stars 1 forks source link

Cannot add widgets with extension parameters #121

Open SquintClimpt opened 2 months ago

SquintClimpt commented 2 months ago

Describe the bug After creating an account and a room, trying to add widgets from the integration manager that have extension parameters fails. These are widgets like Grafana, Jitsi Meet, Youtube embed, google calendar, and custom widgets. Other widgets like stickers can be added without issue.

To Reproduce Steps to reproduce the behavior:

  1. Create account with matrix.org or federated homeserver
  2. Create a private room
  3. Access integration manager and try to add Grafana, Jitsi Meet, youtube embed etc.
  4. See greyed out "add" button and the error "Something went wrong, Failed to load extension parameters." below the description.

Expected behavior Add integrations to rooms by clicking a green "add" button.

Screenshots Capture

Client (please complete the following information):

Additional context Tried this with confirmed federated homeserver and with a matrix.org room on both the element desktop client, stable and nightly, as well as element-web in browser. Same behavior across all clients. I can add stickers, bots, and bridges without issue.

ptman commented 1 month ago

Same problem. Element 1.11.65. Here's some js stacktrace from the console. 2024-05-07_10-17

flmtx commented 1 month ago

Same problem. Element Windows 1.11.65 and element.io.

Ishiharaerika commented 1 month ago

Exactly the same with both Federated Computer hosting server&matrix.org Version Info Element: 1.11.66 Crypto version: Rust SDK 0.7.0 (61b175b), Vodozemac 0.5.1

Ishiharaerika commented 1 month ago

I don't know if it's legal to post it here. But there is definitely a temporary solution.

Since the Integration Manager is not open source, there'd be lack of resources to review. You may find a Unmaintained open source alternative called dimension Follow its instruction and you may find it available to use. In case that config.json is not automatically created on Windows, you may create one here by yourself (Users\(YOURNAME)\AppData\Roaming\Element) Then paste the integration's link. _{ "integrations_ui_url": "https://dimension.t2bot.io/element", "integrations_rest_url": "https://dimension.t2bot.io/api/v1/scalar", "integrations_widgets_urls": ["https://dimension.t2bot.io/widgets"], "integrations_jitsi_widgeturl": "https://dimension.t2bot.io/widgets/jitsi" }

Or you may only use commands to create widgets/bots/bridges. Discussed here: https://github.com/turt2live/matrix-dimension?tab=readme-ov-file#-project-archived

ptman commented 1 month ago

Has this been fixed? Seems to work now

Ishiharaerika commented 1 month ago

Has this been fixed? Seems to work now

I forgot to confirm that it is indeed fixed now. Thanks for all the works!