Skip to content

Feature: Jetpack Activity Logs #24597

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

Draft
wants to merge 49 commits into
base: trunk
Choose a base branch
from
Draft

Conversation

kean and others added 14 commits June 17, 2025 15:31
- Rename PaginatedResponse to DataViewPaginatedResponse for better naming consistency
- Move files from Pagination to DataView directory
- Update documentation to focus on UI usage with PaginatedForEach
- Add comprehensive unit tests for DataViewPaginatedResponse
- Update deleteItem method to properly decrement total when removing items
- Update tests to verify total count is correctly maintained after deletion
Replace custom SubscribersPaginatedResponse with generic DataViewPaginatedResponse system. Add notification-based subscriber deletion updates and improve pagination handling with DataViewPaginatedForEach component.
…sion

- Rename getSubscribersService() to maketSubscribersService() to better reflect factory pattern
- Move deleteSubscriber extension from SubsriberDetailsViewModel to dedicated SubscribersServiceRemote+Extensions file
- Update all callers to use the renamed method
@kean kean added this to the 26.0 milestone Jun 19, 2025
@dangermattic
Copy link
Collaborator

2 Warnings
⚠️ View files have been modified, but no screenshot or video is included in the pull request. Consider adding some for clarity.
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jun 19, 2025

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number27894
VersionPR #24597
Bundle IDorg.wordpress.alpha
Commit8f7cced
Installation URL49tp07o39rt8g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jun 19, 2025

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number27894
VersionPR #24597
Bundle IDcom.jetpack.alpha
Commit8f7cced
Installation URL5tiruociodhr0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

kean and others added 8 commits June 19, 2025 08:41
- Implement modern SwiftUI version of Activity Detail screen
- Use card-based design system matching SubscriberDetailsView
- Add proper localization with NSLocalizedString and reverse-DNS keys
- Use WPStyleGuide for consistent icon and color handling
- Include activity stats visualization for backup events
- Add restore and download backup actions with confirmation dialogs
- Integrate with existing Activity model and RewindStatus
- Update ContentView with navigation links for testing
- Configure MiniatureApp with proper navigation and theming
- Create Activity+Icon.swift with gridiconType, icon, and statusColor properties
- Update all references to use new Activity extension methods
- Deprecate old WPStyleGuide methods with proper deprecation messages
- Remove stringToGridiconTypeMapping from WPStyleGuide
- Fix linter warnings for trailing whitespace and shorthand optional binding
- Remove rewindStatus parameter from ActivityLogDetailsView initializer
- Remove rewindStatus checks in ActivityActionsCard
- Update preview providers to not pass rewindStatus
- Update ContentView to not create mock RewindStatus instances
- Remove warning card for multisite installations
- Simplify restore button enable/disable logic
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants