element-hq / element-hq/element-web

Allow widgets to query the user directory

Open
#20,071 0 comments 0 reactions 0 assignees View on GitHub
A-Room-Directory A-User-Search A-Widgets O-Occasional S-Minor T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?

As a widget creator I want to be able to use the `Invite to this room` dialog to search for other members.
![image](https://user-images.githubusercontent.com/2427106/144879210-cf27653d-935c-44c7-8925-68dfa53eb7d9.png)

#### Why would you like to do it?

The use-case is a widget that creates meeting-rooms for a user. The user should be able to easily invite members to these meetings.

#### How would you like to achieve it?

It would be helpful if widgets could open the exact same dialog that comes up when you click the `Invite to this room` in the sidebar. It should communicate the list of selected users back to the widget when the selection is confirmed.

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.