-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propose plan to improve the communication between frames #3403
Comments
This could be related to: hypothesis/lms#433 |
BackgroundThe client relies on an inter-frame communication system between the The following frames must establish communication with the server
At some point, the client considered This layout represents the current arrangement of frames:
This layout could be recursive, for example the multi-frame scenario in
In the above scenario, we would expect frames connected in this manner:
Frames from one group should not be connected to frames from another group. In addition to the above, it has been recommended to support
Current problems
Constrains and requirements
Plan 1: enable
|
Hi @esanzgar - Thanks for the thoughtful write-up. I left some notes here: https://hyp.is/go?url=https%3A%2F%2Fgithub.com%2Fhypothesis%2Fclient%2Fissues%2F3403&group=wqvn7Lar In summary:
|
Based on your comments I created this prototype: Thank you very much! |
On the prototype above in #3494, we have used The current shortcomings with the inter-frame communication were described in detail. Several solutions were also proposed. I will close this ticket. |
sideframe
has caused the ePub demo to stop working.notebook
andsideframe
are not able to discover each other.Because of all the above, we should propose a plan to tackle the communication issues in the client.
@robertknight has suggested
MessageChannel
API as a mechanism to enable sending private messages between frames.The text was updated successfully, but these errors were encountered: