Skip to content
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

Polish: Make The Popup Follow the Active Tab Context #33

Merged
merged 2 commits into from
Aug 21, 2024
Merged

Conversation

strseb
Copy link
Collaborator

@strseb strseb commented Aug 7, 2024

Currently the Popup only takes the opener page into account. Let's make it follow pages, while switching. Should make it better to demo

switch.mp4

@@ -51,8 +51,16 @@ export class BrowserActionPopup extends LitElement {
super();
this.pageURL = null;
this._siteContext = null;
this.updatePage();
Copy link
Member

Choose a reason for hiding this comment

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

Should we call updatePage() after subscribing to the controller state?

@strseb strseb merged commit 0543a9e into main Aug 21, 2024
5 checks passed
@strseb strseb deleted the basti/nits branch August 21, 2024 20:48
strseb added a commit that referenced this pull request Aug 21, 2024
Currently the Popup only takes the opener page into account. Let's make
it follow pages, while switching. Should make it better to demo


https://github.com/user-attachments/assets/e65c1d8c-d052-4c97-9792-8bd0cd5ad31a
@strseb strseb mentioned this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants