-
-
Notifications
You must be signed in to change notification settings - Fork 828
Conversation
Signed-off-by: Kai A. Hiller <[email protected]>
@V02460 is this ready for our review or still a work in progress? |
Besides a small thing I have to check about the regexes (probably not a word), it's ready for review :) edit: Regex handling is fine for now. |
@V02460 can we get screenshots in the top post for what this looks like? Screenshots help us figure out what it looks like and what it should look like when we break it. This will also need design oversight from @nadonomy, but I'll throw this into the queue as code review from the team rather than design oversight. |
Added the screenshot of how it currently looks. I don't take any special pride in the design and I think it still needs love. Especially the colors are hardcoded, which will probably break some themes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of function binds, please use arrow functions on the class as per https://github.com/matrix-org/matrix-react-sdk/blob/master/code_style.md#react
Signed-off-by: Kai A. Hiller <[email protected]>
Signed-off-by: Kai A. Hiller <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Some suggestions about styling and receiving updates.
Signed-off-by: Kai A. Hiller <[email protected]>
Signed-off-by: Kai A. Hiller <[email protected]>
Signed-off-by: Kai A. Hiller <[email protected]>
Signed-off-by: Kai A. Hiller <[email protected]>
Hey there! Apologies for the late review on this PR (I've been away on holiday). Couple of small requests:
"Not delivered to people on %(networkName)s (%(affectedUsers)s)": "Not delivered to people on %(networkName)s (%(affectedUsers)s)"
"It took so long. Gave up sending to people on %(networkName)s (%(affectedUsers)s)": "It took so long. Gave up sending to people on %(networkName)s (%(affectedUsers)s)"
"Unexpected error while sending to people on %(networkName)s (%(affectedUsers)s)":
"Unexpected error while sending to people on %(networkName)s (%(affectedUsers)s)",
"%(networkName)s did not deliver the message to the people there (%(affectedUsers)s)": "%(networkName)s did not deliver the message to the people there (%(affectedUsers)s)",
"Was not understood by %(networkName)s, so people there didn't get this message (%(affectedUsers)s)": "Was not understood by %(networkName)s, so people there didn't get this message (%(affectedUsers)s)",
|
Thanks for the review :)
|
@nadonomy Another issue is a room with many people in it. It is probably not the best idea to put 1000+ people into the error message in plain sight. What would be best there? Mouse hover, add a ellipse after a few, something entirely different? |
Great question! Stacking/batching them definitely sounds like a good idea. Can you clarify who these error messages are exposed to? All users? Room admins? Bridge admins? |
The idea being that a subset of the members in the room are bridged users, and we want to be specific about who didn't get the message? |
Everyone will see the same message. It's documenting for the room that not all participants got the message. (A retry option which might be added later would probably only be visible for the sender) @bwindels Yes :) |
@V02460 just want to clarify here— so if Alice sends a message which produces a bridge error, all other participants in the room will see the error? |
Yes, everyone will see it, except those affected by the failure on the foreign network. It should be visible if a message does not reach everybody. The intention is to have it say: Be aware, this message didn't reach all its destined recipients. (Don't be mad at them if they don't follow your party invitation) |
Hey @V02460 just a quick update on this— I'm putting together a document on the UX considerations of having the errors this chatty to help drive resolution on what we want, how to unblock this PR, and what else we want to action relatedly outside of this PR. There'll be some conversation around how we want to batch errors, handling that consistently with other areas of the client (e.g. e2e & message send errors), as well as if this should impact any server/bridge implementations. I'll loop you in to the relevant doc when I have it up and ready to share. |
@V02460 another update on this. We've been discussing internally the best path forward. Outside of this PR we'll continue to iterate on this in the following direction:
So I'm happy to green light the current implementation from my side as it's feature flagged, and we don't want this branch to get too stale. |
I believe this needs another round of code review now that design has signed off. |
Ah, after looking back at the MSC, it seems there are few open questions to resolve there first, so that seems like the best next step here. |
(also merge conflicts) |
Yep, we're waiting on Kai's return. I'll pick this up in their absence if we need to. |
Any movement on this recently? Just an enquiring fan :) |
Thank you for asking! I am currently trying to get back to the project and make some progress again. I would really like to have this PR in Riot Web labs, as it would work with the current implementation of the Discord bridge. Further changes to the MSC will probably not fundamentally change the workings of this code, so even if the MSC is not there yet, it would make it easier collecting some real world experience with the feature. So, if the Riot Web team agrees, I would merge the latest develop and try to get it in a mergable state. @nadonomy Could you explain to me the rationale behind this?
|
@V02460 cool! I hope it gets through :) |
monthly bump up! Let's get this into Riot :) |
@Half-Shot Ah thanks, good to know. I'll keep track of those. |
I'm going to close this, as I suspect it has bit rotted, and we're not actively working on this at the moment. |
This PR is part of the Reliable Bridges GSoC project. It marks messages which triggered a bridge error with an error message. This is done by adding a
BridgeError
view that is appended viaEventTile
component to every message that is affected. Besides the information that an error occured, the originating network and the affected users are displayed. A lab flag is added to enable testing of the feature on the way to its standardization.@jryans: This implements MSC2162