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

Mute/unmute tab #2019

Merged
merged 19 commits into from
Feb 22, 2024
Merged

Mute/unmute tab #2019

merged 19 commits into from
Feb 22, 2024

Conversation

jotaemepereira
Copy link
Collaborator

@jotaemepereira jotaemepereira commented Jan 4, 2024

Task/Issue URL: https://app.asana.com/0/1177771139624306/1206259162307448/f

Description:
Adds the mute/unmute tab functionality

Steps to test

  1. Run the browser
  2. Check that mute/unmute works on normal and pinned tabs

@jotaemepereira jotaemepereira force-pushed the juan/mute-unmute-tab branch 4 times, most recently from 883d50a to 5db2281 Compare January 5, 2024 13:51
@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label Feb 2, 2024
@github-actions github-actions bot removed the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label Feb 6, 2024
@jotaemepereira jotaemepereira force-pushed the juan/mute-unmute-tab branch 2 times, most recently from a029857 to 63559d0 Compare February 12, 2024 16:14
@jotaemepereira jotaemepereira force-pushed the juan/mute-unmute-tab branch 2 times, most recently from d48f854 to ef85df2 Compare February 14, 2024 18:07
@ayoy ayoy self-assigned this Feb 19, 2024
Copy link
Collaborator

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

@jotaemepereira terribly sorry for taking so long to review this for you. The code looks very good, only with minor nitpicks. I've also added a comment regarding pinned tab view height, so maybe it's worth double checking, but otherwise since this has passed the Design Review, it should be good to go.

Thanks a lot for your work on this! (and for patience 🙏 )

Submodules/privacy-reference-tests Outdated Show resolved Hide resolved
DuckDuckGo/Common/Extensions/WKWebViewExtension.swift Outdated Show resolved Hide resolved
DuckDuckGo/Common/Extensions/WKWebViewExtension.swift Outdated Show resolved Hide resolved
@@ -21,8 +21,8 @@ import SwiftUIExtensions

struct PinnedTabView: View {
enum Const {
static let dimension: CGFloat = 32
static let cornerRadius: CGFloat = 6
static let dimension: CGFloat = 34
Copy link
Collaborator

Choose a reason for hiding this comment

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

I realize that this has passed Design Review, but was this change expected?

The pinned tab item view now appears noticeably taller than a regular tab item view.

Screenshot 2024-02-19 at 13 06 02

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh actually it's still pending Design Review, so maybe this comment is legit after all.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes. This was fixed in the latest version I’ve just pushed. I’m going to ask Bryan for a final review.

@ayoy ayoy assigned jotaemepereira and unassigned ayoy Feb 19, 2024
@jotaemepereira jotaemepereira force-pushed the juan/mute-unmute-tab branch 5 times, most recently from befff3f to bb2f083 Compare February 21, 2024 15:18
@jotaemepereira jotaemepereira merged commit 3dad84b into main Feb 22, 2024
17 checks passed
@jotaemepereira jotaemepereira deleted the juan/mute-unmute-tab branch February 22, 2024 12:47
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