Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Conversation

@maheichyk
Copy link
Contributor

This PR suggests changes to module API to support customization of widget permissions using ModuleRunner.instance.invoke as discussed here: #9 (comment)

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
@richvdh
Copy link
Member

richvdh commented Feb 9, 2023

@andybalaam it looks like you've already done a bunch of thinking about this, so I'm afraid I'm going to throw it over the wall in your direction!

@richvdh richvdh requested review from andybalaam and removed request for richvdh February 9, 2023 10:08
@maheichyk
Copy link
Contributor Author

Hi @andybalaam could you please provide feedback on this PR?

@andybalaam
Copy link
Member

Hi @andybalaam could you please provide feedback on this PR?

@maheichyk I'm sorry for the delay on this. I will take a look today.

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
@andybalaam
Copy link
Member

@maheichyk this looks great. Please could we have a small test similar to what you did in #9 and then we'll be ready to merge this.

Thanks again for your work on this and your patience.

Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - requesting a test that validates the flow.

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
@maheichyk
Copy link
Contributor Author

@andybalaam thanks for the feedback! Test was added, please have a look.

@maheichyk
Copy link
Contributor Author

If test is fine, would be great maybe to have a new version of matrix-react-sdk-module-api that can be used to build this PR matrix-org/matrix-react-sdk#10121

Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thank you!

@andybalaam andybalaam merged commit d9b2ec0 into matrix-org:main Feb 16, 2023
@andybalaam
Copy link
Member

@maheichyk new release 0.0.4 published at https://www.npmjs.com/package/@matrix-org/react-sdk-module-api

@dhenneke dhenneke deleted the module_widget_permissions_event branch August 18, 2023 11:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants