Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Closes #11208: Add tab partitions and groups to BrowserState #11272

Merged
merged 2 commits into from Nov 22, 2021

Conversation

csadilek
Copy link
Contributor

@csadilek csadilek commented Nov 15, 2021

Implementation of our RFC. Besides state and actions the only complexity added here is to automatically create the groups/partitions, as needed, and discussed in the RFC to simplify usage for consuming applications. The other piece is to make sure partitions are automatically cleaned up when tabs are removed.

Tests are on the way, but putting up for (early) review.

@csadilek csadilek requested a review from pocmo as a code owner November 15, 2021 23:40
Copy link
Contributor

@pocmo pocmo left a comment

Choose a reason for hiding this comment

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

👍 This looks all great.

Copy link
Contributor

@Amejia481 Amejia481 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 👍🏽

@csadilek csadilek force-pushed the issue-11208 branch 2 times, most recently from 51c068f to 1ccb8c1 Compare November 19, 2021 22:05
@csadilek
Copy link
Contributor Author

csadilek commented Nov 19, 2021

@pocmo @Amejia481 OK, added lots of tests and additional validation to make sure we throw an exception if a tab is added that doesn't exist.

/cc @rocketsroger @jonalmeida in case you want to take a look as well before this lands, but no changes relative to the RFC.

Copy link
Contributor

@rocketsroger rocketsroger left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Contributor

@jonalmeida jonalmeida left a comment

Choose a reason for hiding this comment

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

I took another peek at this today and this looks like a great patch! :shipit:

@csadilek csadilek added the 🛬 needs landing PRs that are ready to land label Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛬 needs landing PRs that are ready to land
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants