Skip to content

Commit 15d3534

Browse files
author
Momo Ozawa
committed
Delete: QuickStartCongratulationsTour
1 parent de2000a commit 15d3534

2 files changed

Lines changed: 0 additions & 23 deletions

File tree

WordPress/Classes/ViewRelated/Blog/QuickStartTourGuide.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,6 @@ private extension QuickStartTourGuide {
363363
recentlyTouredBlog = nil
364364
}
365365

366-
guard !(tour is QuickStartCongratulationsTour) else {
367-
WPAnalytics.track(.quickStartCongratulationsViewed)
368-
return
369-
}
370-
371366
if allToursCompleted(for: blog) {
372367
WPAnalytics.track(.quickStartAllToursCompleted)
373368
grantCongratulationsAward(for: blog)

WordPress/Classes/ViewRelated/Blog/QuickStartTours.swift

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -371,24 +371,6 @@ struct QuickStartNotificationsTour: QuickStartTour {
371371
let accessibilityHintText = NSLocalizedString("Guides you through the process of checking your notifications.", comment: "This value is used to set the accessibility hint text for viewing the user's notifications.")
372372
}
373373

374-
private let congratsTitle = NSLocalizedString("Congrats on finishing Quick Start 🎉", comment: "Title of a Quick Start Tour")
375-
private let congratsDescription = NSLocalizedString("doesn’t it feel good to cross things off a list?", comment: "subhead shown to users when they complete all Quick Start items")
376-
struct QuickStartCongratulationsTour: QuickStartTour {
377-
let key = "quick-start-congratulations-tour"
378-
let analyticsKey = "congratulations"
379-
let title = congratsTitle
380-
let titleMarkedCompleted = "" // Not applicable for this tour type
381-
let description = congratsDescription
382-
let icon = UIImage.gridicon(.plus)
383-
let suggestionNoText = Strings.notNow
384-
let suggestionYesText = Strings.yesShowMe
385-
let possibleEntryPoints: Set<QuickStartTourEntryPoint> = [.blogDetails, .blogDashboard]
386-
387-
var waypoints: [QuickStartTour.WayPoint] = [(element: .congratulations, description: NSAttributedString(string: congratsTitle))]
388-
389-
let accessibilityHintText = "" // Not applicable for this tour type
390-
}
391-
392374
private extension String {
393375
func highlighting(phrase: String, icon: UIImage?) -> NSAttributedString {
394376
let normalParts = components(separatedBy: "%@")

0 commit comments

Comments
 (0)