You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the other implementations turned out to be placing too many unnecessary limitations on the element UX so i'd rather lean into using element how i want to.
i tried using normal widgets but ran into too many issues, not to mention having to run react again when i already wrote the component
so instead i guess i will have a fork of element that lets me run react code within a widget 'native' to element
The tightly-coupled approach taken here in which the entire stack has been modified is not tenable. Although the use case being demonstrated here certainly has its merits, yet another first-class user-interface to maintain across the entire client (and server) ecosystems makes little sense especially when the use case can be designed through the use of a bridge bot.
25
-
26
-
A matrix AS/bridge can detect slash commands in different rooms, which is all that is needed for this idea to be made manifest without UI and server changes. It would be a wiser means by which to implement this idea as then any client and any server will be able to access it.
27
-
28
-
Designing the interaction so that it is at least equal to if not better than what we see in the video above is the challenge now, although I think something like this makes sense:
29
-
30
-
- you are chatting with user Alice
31
-
- you wish to invoke the AI so you type /ai
32
-
- the AI bot user messages you with the payload it is about to send to the API
33
-
- you confirm the payload (or change settings and then confirm)
34
-
- the AI replies with the API response
35
-
- you copy-paste from the API response and send it to Alice
36
-
37
-
I think this user experience works totally fine, if not even better than the one we see in the video above.
0 commit comments