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

Add a new Sync button in the tabs bar #1718

Closed
wants to merge 1 commit into from

Conversation

javifernandez
Copy link
Member

In order to receive tabs through the FxA SendTabTo service we need to poll the API; the new button will perform this action.

Ideally, we should be able to observe events from the FxA push service, but for now we need to depend on user intervention to ask the server for new tabs.

In order to receive tabs through the FxA SendTabTo service we need
to poll the API; the new button will perform this action.

Ideally, we should be able to observe events from the FxA push
service, but for now we need to depend on user intervention to
ask the server for new tabs.
@javifernandez javifernandez force-pushed the sync-from-new-tabs-bar branch from d5a41c0 to b34c188 Compare January 26, 2025 17:12
felipeerias added a commit that referenced this pull request Jan 27, 2025
Since we do not support push notifications from the FxA service,
we need to request an update manually whenever we want to
receive shared tabs.

This change adds a "refresh" button to the tabs bars.

Based on #1718
@felipeerias
Copy link
Collaborator

felipeerias commented Jan 27, 2025

This is a good idea, but I think that the implementation can be a bit simpler.

We can just keep a reference to the Accounts inside the tabs bar superclass and use it to modify the layout by passing a data variable.

I have an alternative here: #1722

felipeerias added a commit that referenced this pull request Jan 27, 2025
Since we do not support push notifications from the FxA service,
we need to request an update manually whenever we want to
receive shared tabs.

This change adds a "refresh" button to the tabs bars.

Based on #1718
felipeerias added a commit that referenced this pull request Jan 27, 2025
Since we do not support push notifications from the FxA service,
we need to request an update manually whenever we want to
receive shared tabs.

This change adds a "refresh" button to the tabs bars.

Based on #1718
@javifernandez javifernandez requested review from svillar and felipeerias and removed request for svillar January 27, 2025 12:19
felipeerias added a commit that referenced this pull request Jan 28, 2025
Since we do not support push notifications from the FxA service,
we need to request an update manually whenever we want to
receive shared tabs.

This change adds a "refresh" button to the tabs bars.

Based on #1718
felipeerias added a commit that referenced this pull request Jan 28, 2025
Since we do not support push notifications from the FxA service,
we need to request an update manually whenever we want to
receive shared tabs.

This change adds a "refresh" button to the tabs bars.

Based on #1718
svillar pushed a commit that referenced this pull request Jan 28, 2025
Since we do not support push notifications from the FxA service,
we need to request an update manually whenever we want to
receive shared tabs.

This change adds a "refresh" button to the tabs bars.

Based on #1718
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