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 History Debug Menu on macOS and display only 1 week of history when history view is enabled #1217

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

ayoy
Copy link
Contributor

@ayoy ayoy commented Feb 5, 2025

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/72649045549333/1209328755192085
iOS PR: duckduckgo/iOS#3930
macOS PR: duckduckgo/macos-browser#3833
What kind of version bump will this require?: Minor

Description:
Add HistoryCoordinatingDebuggingSupport protocol that defines addVisit function
taking 2 parameters and allowing to add a visit at an arbitrary time, rather than
at current timestamp. This is required to be able to populate History with fake
data in client apps.
We already use a similar approach with SyncDependencies, where
SyncDependenciesDebuggingSupport protocol is defined to support debug menus.

Steps to test this PR:
Verify that CI is green.

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

@ayoy ayoy self-assigned this Feb 5, 2025
@ayoy ayoy marked this pull request as ready for review February 5, 2025 15:13
@ayoy ayoy requested a review from samsymons February 5, 2025 15:35
@ayoy ayoy assigned samsymons and unassigned ayoy Feb 5, 2025
Copy link
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

LGTM!

@ayoy ayoy merged commit f3a9e71 into main Feb 5, 2025
8 checks passed
@ayoy ayoy deleted the dominik/history-debug-menu branch February 5, 2025 16:21
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