matrix-react-sdk icon indicating copy to clipboard operation
matrix-react-sdk copied to clipboard

Update widget tile if the url should change

Open Half-Shot opened this issue 1 year ago • 2 comments

Fixes https://github.com/element-hq/element-integration-manager/issues/116

The scalar token can arrive async after we've rendered a widget, which means we may need to change the URL of the app tile after this has happened. It felt reasonable to me to raise an event from the widget to the tile when this happens.

Checklist

  • [ ] Tests written for new code (and old code if feasible).
  • [ ] New or updated public/exported symbols have accurate TSDoc documentation.
  • [ ] Linter and other CI checks pass.
  • [ ] Sign-off given on the changes (see CONTRIBUTING.md).

Half-Shot avatar Mar 27 '24 18:03 Half-Shot

Okay, then I think we probably need a way to raise the non-ready state so the tile isn't presented as ready until we have our URL.

Half-Shot avatar Mar 27 '24 18:03 Half-Shot

Moving to draft while this remains in progress

richvdh avatar Apr 03 '24 10:04 richvdh