Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bd50f67
Add a couple of unit tests to test PageTree
crazytonyli Jan 8, 2024
3eb5573
Fix #22283: child pages are not moved under parent pages
crazytonyli Jan 8, 2024
c705496
Add a release note
crazytonyli Jan 8, 2024
eac5db6
Merge remote trunk into fix-issue-22283-page-list-hierachy
mokagio Jan 8, 2024
3839c2f
Fix typo in `HierarchyList` name
mokagio Jan 8, 2024
8aa1074
Remove remote feature flag dynamic card attribute and all the code re…
salimbraksa Jan 2, 2024
798e944
Fix failing dynamic cards unit tests
salimbraksa Jan 2, 2024
674dddf
Pass devide id when calling dashboard cards endpoint
salimbraksa Jan 3, 2024
af78c4b
Change WordPressKit pod branch
salimbraksa Jan 3, 2024
14cc431
Fix typo in documentation
salimbraksa Jan 5, 2024
1331bbc
Update: point WPKit to latest trunk commit
hassaanelgarem Jan 7, 2024
89c4de9
Rebase with release/24.0
salimbraksa Jan 8, 2024
2167ff2
Revert unwanted changes due to rebase
salimbraksa Jan 8, 2024
9227f0c
Run bundle exec pod install
salimbraksa Jan 8, 2024
7187323
enable new tab icons
Jan 8, 2024
7efa1d7
find the imageview to animate
Jan 8, 2024
7a834f0
Simpilify building page tree hierarchy
crazytonyli Jan 8, 2024
d087d78
Revert to more strict comparision
crazytonyli Jan 8, 2024
b118514
Update view controller to use the new function
crazytonyli Jan 8, 2024
49fd7b9
Remove no longer required try keywords
crazytonyli Jan 8, 2024
55fbfdb
Update PR number in a release note
crazytonyli Jan 8, 2024
37bc0df
Re-implement building page tree hierarchy (#22345)
mokagio Jan 9, 2024
57075b9
Update WordPressKit pod commit
salimbraksa Jan 9, 2024
ceca329
Fix failing unit test
salimbraksa Jan 9, 2024
0b27182
Use stable WordPressKit version, 9.0.3
mokagio Jan 9, 2024
3068ce3
Bottom tab improvements: Enable feature flag (#22344)
mokagio Jan 9, 2024
5ea3158
Backend-driven Dynamic Cards filtering (#22320)
mokagio Jan 9, 2024
88efd9a
Switch to release-toolkit dev version with newer SwiftGen
mokagio Jan 9, 2024
4fc4110
Update app translations – `Localizable.strings`
wpmobilebot Jan 9, 2024
6196bb7
Update WordPress metadata translations
wpmobilebot Jan 9, 2024
31bd354
Update Jetpack metadata translations
wpmobilebot Jan 9, 2024
0e5cf7d
Bump version number
wpmobilebot Jan 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ gem 'fastlane-plugin-appcenter', '~> 2.1'
gem 'fastlane-plugin-sentry'
# This comment avoids typing to switch to a development version for testing.
#
# Switch to this branch for auto-retry on 429 for GlotPress strings while
# waiting for the fix to be shipped.
# gem 'fastlane-plugin-wpmreleasetoolkit', git: 'git@github.com:wordpress-mobile/release-toolkit', branch: 'mokagio/auto-retry-on-strings-glotpress-429'
#
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 9.1'
# Attempt to address 'Bad CPU type in executable' on new Apple Silicon CI
# See https://buildkite.com/automattic/wordpress-ios/builds/19609#018ced25-05f4-4c8b-9850-b314ea2f8d9e/1131-1330
gem 'fastlane-plugin-wpmreleasetoolkit', git: 'git@github.com:wordpress-mobile/release-toolkit', ref: '2cb009edaee3d058a61cfeb503e533eb0647f108'
# gem 'fastlane-plugin-wpmreleasetoolkit', '~> 9.1'
gem 'rake'
gem 'rubocop', '~> 1.30'
gem 'rubocop-rake', '~> 0.6'
Expand Down
44 changes: 25 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
GIT
remote: git@github.com:wordpress-mobile/release-toolkit
revision: 2cb009edaee3d058a61cfeb503e533eb0647f108
ref: 2cb009edaee3d058a61cfeb503e533eb0647f108
specs:
fastlane-plugin-wpmreleasetoolkit (9.2.0)
activesupport (>= 6.1.7.1)
buildkit (~> 1.5)
chroma (= 0.2.0)
diffy (~> 3.3)
fastlane (~> 2.213)
git (~> 1.3)
google-cloud-storage (~> 1.31)
java-properties (~> 0.3.0)
nokogiri (~> 1.11)
octokit (~> 6.1)
parallel (~> 1.14)
plist (~> 3.1)
progress_bar (~> 1.3)
rake (>= 12.3, < 14.0)
rake-compiler (~> 1.0)
xcodeproj (~> 1.22)

GIT
remote: https://github.com/Automattic/dangermattic
revision: 06a54db4f546d20c0465e4d144049d061a2a1e20
Expand Down Expand Up @@ -212,23 +235,6 @@ GEM
fastlane-plugin-appcenter (2.1.1)
fastlane-plugin-sentry (1.15.0)
os (~> 1.1, >= 1.1.4)
fastlane-plugin-wpmreleasetoolkit (9.2.0)
activesupport (>= 6.1.7.1)
buildkit (~> 1.5)
chroma (= 0.2.0)
diffy (~> 3.3)
fastlane (~> 2.213)
git (~> 1.3)
google-cloud-storage (~> 1.31)
java-properties (~> 0.3.0)
nokogiri (~> 1.11)
octokit (~> 6.1)
parallel (~> 1.14)
plist (~> 3.1)
progress_bar (~> 1.3)
rake (>= 12.3, < 14.0)
rake-compiler (~> 1.0)
xcodeproj (~> 1.22)
ffi (1.16.3)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
Expand Down Expand Up @@ -301,7 +307,7 @@ GEM
naturally (2.2.1)
netrc (0.11.0)
no_proxy_fix (0.1.2)
nokogiri (1.15.4)
nokogiri (1.16.0)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
octokit (6.1.1)
Expand Down Expand Up @@ -408,7 +414,7 @@ DEPENDENCIES
fastlane (~> 2.217)
fastlane-plugin-appcenter (~> 2.1)
fastlane-plugin-sentry
fastlane-plugin-wpmreleasetoolkit (~> 9.1)
fastlane-plugin-wpmreleasetoolkit!
rake
rmagick (~> 3.2.0)
rubocop (~> 1.30)
Expand Down
3 changes: 1 addition & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ def wordpress_ui
end

def wordpress_kit
# Anything compatible with 8.9, starting from 8.9.1 which has a breaking change fix
pod 'WordPressKit', '~> 9.0', '>= 9.0.2'
pod 'WordPressKit', '~> 9.0', '>= 9.0.3'
# pod 'WordPressKit', git: 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', commit: ''
# pod 'WordPressKit', git: 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', branch: 'trunk'
# pod 'WordPressKit', git: 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', tag: ''
Expand Down
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ PODS:
- WordPressKit (~> 9.0.0)
- WordPressShared (~> 2.1-beta)
- WordPressUI (~> 1.7-beta)
- WordPressKit (9.0.2):
- WordPressKit (9.0.3):
- Alamofire (~> 4.8.0)
- NSObject-SafeExpectations (~> 0.0.4)
- UIDeviceIdentifier (~> 2.0)
Expand Down Expand Up @@ -121,7 +121,7 @@ DEPENDENCIES:
- SwiftLint (~> 0.50)
- WordPress-Editor-iOS (~> 1.19.9)
- WordPressAuthenticator (>= 8.0.1, ~> 8.0)
- WordPressKit (>= 9.0.2, ~> 9.0)
- WordPressKit (>= 9.0.3, ~> 9.0)
- WordPressShared (~> 2.2)
- WordPressUI (~> 1.15)
- ZendeskSupportSDK (= 5.3.0)
Expand Down Expand Up @@ -218,7 +218,7 @@ SPEC CHECKSUMS:
WordPress-Aztec-iOS: fbebd569c61baa252b3f5058c0a2a9a6ada686bb
WordPress-Editor-iOS: bda9f7f942212589b890329a0cb22547311749ef
WordPressAuthenticator: fd2e1d340680faffffd9d675fc2df5ed19e26ea2
WordPressKit: 23d0ffb43f2ccdad2debd6799e62d39790a5ffad
WordPressKit: 4d41fd70b83876ee5db4617868767b33f3ae1bc4
WordPressShared: 87f3ee89b0a3e83106106f13a8b71605fb8eb6d2
WordPressUI: a491454affda3b0fb812812e637dc5e8f8f6bd06
wpxmlrpc: 68db063041e85d186db21f674adf08d9c70627fd
Expand All @@ -231,6 +231,6 @@ SPEC CHECKSUMS:
ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba
ZIPFoundation: d170fa8e270b2a32bef9dcdcabff5b8f1a5deced

PODFILE CHECKSUM: 9567ce349333fd257fea44c201727b4180efb961
PODFILE CHECKSUM: d7a42312b8249374e94aecb6021ee06d137c7cfa

COCOAPODS: 1.14.2
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* [*] Fix an issue with BlogDashboardPersonalizationService being used on the background thread [#22335]
* [***] Block Editor: Avoid keyboard dismiss when interacting with text blocks [https://github.com/WordPress/gutenberg/pull/57070]
* [**] Block Editor: Auto-scroll upon block insertion [https://github.com/WordPress/gutenberg/pull/57273]
* [**] Fix an issue in Pages List where the pages are not displayed in a hierarchical order [#22345]

23.9
-----
Expand Down
26 changes: 13 additions & 13 deletions WordPress/Classes/Stores/RemoteFeatureFlagStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ class RemoteFeatureFlagStore {
return queue
}()

/// The `deviceID` ensures we retain a stable set of Feature Flags between updates. If there are staged rollouts or other dynamic changes
/// happening server-side we don't want our flags to change on each fetch, so we provide an anonymous ID to manage this.
public var deviceID: String {
guard let deviceID = persistenceStore.string(forKey: Constants.DeviceIdKey) else {
DDLogInfo("🚩 Unable to find existing device ID – generating a new one")
let newID = UUID().uuidString
persistenceStore.set(newID, forKey: Constants.DeviceIdKey)
return newID
}

return deviceID
}

init(queue: DispatchQueue = .remoteFeatureFlagStoreQueue,
persistenceStore: UserPersistentRepository = UserDefaults.standard) {
self.queue = queue
Expand Down Expand Up @@ -63,19 +76,6 @@ extension RemoteFeatureFlagStore {

typealias FetchCallback = () -> Void

/// The `deviceID` ensures we retain a stable set of Feature Flags between updates. If there are staged rollouts or other dynamic changes
/// happening server-side we don't want out flags to change on each fetch, so we provide an anonymous ID to manage this.
private var deviceID: String {
guard let deviceID = persistenceStore.string(forKey: Constants.DeviceIdKey) else {
DDLogInfo("🚩 Unable to find existing device ID – generating a new one")
let newID = UUID().uuidString
persistenceStore.set(newID, forKey: Constants.DeviceIdKey)
return newID
}

return deviceID
}

/// The local cache stores feature flags between runs so that the most recently fetched set are ready to go as soon as this object is instantiated.
private var cache: [String: Bool] {
get {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enum FeatureFlag: Int, CaseIterable {
case .googleDomainsCard:
return false
case .newTabIcons:
return BuildConfiguration.current == .localDeveloper
return true
}
}

Expand Down
Loading