Skip to content

Conversation

@psrpinto
Copy link
Member

@psrpinto psrpinto commented Jan 27, 2023

This PR makes it possible to have multiple blocks on the same page, by removing reliance on div ids, and by passing block attributes through a data-attribute, instead of through inline javascript.

When multiple blocks are on the same page, the behaviour is similar to having one page with a single block open in multiple tabs: opening a session in one of the blocks, closes it on all other blocks on the page.

This is the first step to address #159

@psrpinto psrpinto self-assigned this Jan 27, 2023
@psrpinto psrpinto marked this pull request as ready for review January 27, 2023 14:20
@psrpinto psrpinto requested review from akirk and ashfame January 27, 2023 14:20
@psrpinto psrpinto added this to the 0.6 milestone Jan 27, 2023
Copy link
Member

@ashfame ashfame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@psrpinto psrpinto requested a review from ashfame February 1, 2023 14:02
Copy link
Member

@ashfame ashfame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@psrpinto psrpinto merged commit 1689f52 into main Feb 2, 2023
@psrpinto psrpinto deleted the multiple-blocks branch February 2, 2023 13:05
@ashfame ashfame mentioned this pull request Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants