Allow modules to perform certain actions on EW#112
Conversation
| * Open a room in element-web. | ||
| * @param roomId - id of the room to open | ||
| */ | ||
| openRoom: (roomId: string) => void; |
There was a problem hiding this comment.
Is this not already covered by the Navigation API? If not would it not fit better there?
There was a problem hiding this comment.
There's a function to navigate to a matrix.to link which we could use for the same thing but I'd rather include a separate method just to open rooms by room id. I was thinking eventually actions would have more methods like openThreadInRoom, openRightPanel and so on..
There was a problem hiding this comment.
Sure, but aren't those navigation actions?
There was a problem hiding this comment.
Depends on what navigation means. I interpreted it as being related to URLs since that's what the two existing methods do. If you interpret navigation as in navigating through the UI, then yes, it makes sense to include this there.
|
superseded by #113 |
For eg: Open a room on element-web