Skip to content

Remove TracksConfiguration#24253

Merged
mokagio merged 4 commits intotrunkfrom
task/move-tracks-info
Mar 19, 2025
Merged

Remove TracksConfiguration#24253
mokagio merged 4 commits intotrunkfrom
task/move-tracks-info

Conversation

@kean
Copy link
Contributor

@kean kean commented Mar 19, 2025

Move to BuildSettings. Remove duplication (TracksConfiguration.swift for widgets and AppConstants for apps).

To test:

Regression Notes

  1. Potential unintended areas of impact

  2. What I did to test those areas of impact (or what existing automated tests I relied on)

  3. What automated tests I added (or what prevented me from doing so)

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Testing checklist:

  • WordPress.com sites and self-hosted Jetpack sites.
  • Portrait and landscape orientations.
  • Light and dark modes.
  • Fonts: Larger, smaller and bold text.
  • High contrast.
  • VoiceOver.
  • Languages with large words or with letters/accents not frequently used in English.
  • Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • iPhone and iPad.
  • Multi-tasking: Split view and Slide over. (iPad)

@kean kean added the General label Mar 19, 2025
@kean kean added this to the 25.9 milestone Mar 19, 2025
@dangermattic
Copy link
Collaborator

1 Warning
⚠️ This PR is assigned to the milestone 25.9. This milestone is due in less than 4 days.
Please make sure to get it merged by then or assign it to a milestone with a later deadline.

Generated by 🚫 Danger

@kean kean force-pushed the task/move-tracks-info branch from 4738485 to 0446e18 Compare March 19, 2025 00:48
<key>WPEventNamePrefix</key>
<string>jpios</string>
<key>WPExplatPlatform</key>
<string>wpios</string>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Matches what was defined in WordPress/Jetpack/AppConstants.swift

@objc static let eventNamePrefix = "jpios"
@objc static let explatPlatform = "wpios"

Copy link
Contributor

Choose a reason for hiding this comment

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

It's curios that it was defined like that though... 🤔

But apparently, it was intentional: #20607

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Mar 19, 2025

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr24253-e63f928
Version25.8
Bundle IDorg.wordpress.alpha
Commite63f928
App Center BuildWPiOS - One-Offs #11722
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Mar 19, 2025

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr24253-e63f928
Version25.8
Bundle IDcom.jetpack.alpha
Commite63f928
App Center Buildjetpack-installable-builds #10750
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

}

// TODO: remove when WPAppAnalyticsTests get rewritten, preferably in Swift
@objc final class WPAnalyticsTesting {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't want to mess with the Objective-C code too much 😞
It would make sense to refactor it together with a Swift rewrite.

@kean kean force-pushed the task/move-tracks-info branch from 3efbe6f to 9513bb2 Compare March 19, 2025 01:22
@kean kean force-pushed the task/move-tracks-info branch from 9513bb2 to e63f928 Compare March 19, 2025 01:22
@kean kean requested review from crazytonyli and mokagio March 19, 2025 01:23
<key>WPEventNamePrefix</key>
<string>jpios</string>
<key>WPExplatPlatform</key>
<string>wpios</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

It's curios that it was defined like that though... 🤔

But apparently, it was intentional: #20607

@mokagio mokagio added this pull request to the merge queue Mar 19, 2025
Merged via the queue into trunk with commit be3f6b0 Mar 19, 2025
25 checks passed
@mokagio mokagio deleted the task/move-tracks-info branch March 19, 2025 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants