-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
UI Modernization: Posts & Pages 📦 #21744
Merged
Merged
Changes from 142 commits
Commits
Show all changes
180 commits
Select commit
Hold shift + click to select a range
203d499
Address TODOs in AbstractPostListViewController
kean f22ad39
update Jetpack filter bar selected color
4e21052
update unselected tab font to regular
dbeb1bc
Merge pull request #21734 from wordpress-mobile/task/21711-update-tab…
momo-ozawa c34ae0c
The initial native search implementation
kean 247a25c
Merge pull request #21738 from wordpress-mobile/task/address-todos-in…
kean 16775d5
Extract search to a separate screen
kean b205847
Merge pull request #21745 from wordpress-mobile/task/extract-search
kean 57a473e
Fix an issue with search not reloading
kean 97e25f5
Update sort descriptors
kean 26cd066
Pass authorID to search
kean 6f357f9
Merge branch 'trunk' into task/ui-modernization-posts-and-pages
a62e9ed
Merge pull request #21764 from wordpress-mobile/task/search-remaining…
kean 3487b5d
Move authors filter button to navigation bar
kean c9cfffd
Authors filter now defaults to Everyone
kean 2b95254
Remove Create Story action
kean b69129b
Merge pull request #21766 from wordpress-mobile/task/move-authors-filter
kean 23000ed
Merge pull request #21794 from wordpress-mobile/task/create-new-popup
kean 66fec0b
add new post cell files
c61cde3
show featured image
e56f447
extract labelStackView and ellipsisButton setup
93859ea
remove cell size switcher
c3b3144
register and display PostListCell
0989483
disable ghost table view
abfa744
capitalize first word for relative date strings
023eb10
update title font
9b10a54
show separator for posts list screen
3862d51
set background color for posts list cell
c96c43f
fix background color
a6762dc
adjust number of lines
a4d2c1c
combine title + snippet into a single attr string
4fbcc0c
Merge pull request #21804 from wordpress-mobile/task/21712-update-pos…
momo-ozawa 67e9dbf
Use solid placeholder color for images
kean a0c6388
Implement fetching posts/pages list in PostRepository
crazytonyli 4f8178a
Add API docs
crazytonyli fa641ec
Allow fetching post in empty range which means returning unlimited re…
crazytonyli ed47e2b
Update the doc to fix incorrect REST API behaviour
crazytonyli c980a30
Add unit tests for fetching posts list
crazytonyli 4dac5b7
Use map instead of compactMap
crazytonyli 2fdca5f
Merge pull request #21814 from wordpress-mobile/tonyli-simplify-post-…
crazytonyli d7f67ce
remove ghostable unit tests
9fc476d
Merge pull request #21823 from wordpress-mobile/task/solid-color-acti…
kean bd016b5
Add advanced filters
kean 96a2b2b
Search all
kean 26db2d0
Update WordPressKit
kean e26f2be
Use native separator
kean bac6644
Update design of token cells
kean 4fe5d25
Improve scoring algorithm
kean 61723b4
Update design of suggested tokens
kean c30b954
Make new search features available only for wp.com sites
kean e4cb9c3
Hide previous results when token is selected
kean 71a6ce4
Fix separator display mode for tokens
kean 039ec66
Improve how the search terms are highlighted
kean adc64f9
Tune suggestions
kean acd5b4f
Update conflicts
kean 60739f9
Merge pull request #21806 from wordpress-mobile/task/21712-remove-cel…
momo-ozawa aa537e3
Merge pull request #21789 from wordpress-mobile/task/search-advanced-…
kean 09389e1
Move highlighter to a separate file
kean 826f8c6
Make PostListItemViewModel a class
kean 9615bcb
Remove higlighting from PostSearchService
kean 11445d8
Use PostItemCell in search
kean 4f70d9d
Create search item ViewModels in PostSearchViewModel and unique them
kean 7b8f23f
Move title creation to PostListItemViewModel
kean 9ef7d21
Implement highlghting
kean 3420a70
Remote top padding from sections
kean 966f4ef
Update author filter design
kean 2756f7c
Rename content label
kean 9ca04a8
Merge pull request #21828 from wordpress-mobile/task/search-new-cells
kean 451c415
Merge pull request #21837 from wordpress-mobile/task/update-author-fi…
kean 904cafc
Remove unused code
kean 0e37d08
Add new page cell design
kean b800ee3
Remove PageListTableViewCell
kean e07fef1
Remove the Undo button
kean 37a4a3b
Fix crash
kean cebcffa
Update Homepage template cell design
kean 8539bfa
Integrate the new page cell in search
kean 10eacda
Simplify caching for search result items
kean a69c864
Fix margins and separator insets
kean 2151deb
Merge pull request #21842 from wordpress-mobile/task/pages-new-cells
kean 82bb44c
Merge pull request #21844 from wordpress-mobile/task/new-page-cells-i…
kean 692c28f
add post menu helper
c3ccb63
show system image icons for post menu
183fce8
divide buttons into sections
2a13247
remove PostActionSheet
2100ace
add reverse dns key for localized strings
1fb9aa4
configure destructive title based on posts status
11ab0be
udpate menu icons
67b8085
make delegate weak to avoid potential retain cycle
1f44c50
Add indentation support
kean d159c14
Add subdirectory icon
kean 4972e37
add explicit type
591f3c3
fix CI build errors
13874d4
Fix typo
kean 63f1929
Merge pull request #21850 from wordpress-mobile/task/21717-post-conte…
momo-ozawa a4ddecd
Fix subdirectory color
kean 5438098
Merge pull request #21853 from wordpress-mobile/task/pages-hierarchy
kean 8da27c9
Remove unused search
kean 27ac0d4
Remove section grouping from scheduled pages
kean 44d9e64
Fix header size
kean 4e25082
Remove windowless cell
kean 4b8cef6
Remove ghosts
kean 6c24bd8
Remove estimated row height
kean 679fdfe
Fix separator insets in post cells
kean 6271ffe
Fix post cell background color
kean 6141e86
Revert PostListFooter change
kean bc08732
Remove unused updatePostWithIndex
kean c159b8f
Remove unneeded @objc annotations
kean a3657e0
Use standard footer
kean c00b68b
Update to use modern Swift syntax in closures
kean 9857448
Merge pull request #21871 from wordpress-mobile/task/remove-dead-code…
kean b977b37
Merge pull request #21874 from wordpress-mobile/task/refactor-post-an…
kean 608ee54
Merge branch 'trunk' into task/merge-trunk
80ef83a
Implement selection for posts in search
kean 4eb2a7e
Implement context menu for posts
kean 0f04299
Move snapshot to ViewModel
kean b84dfad
Implement reload
kean 00acccf
Rework how highligher is implemented
kean 9296091
remove obsolete test
d97bde9
Merge pull request #21883 from wordpress-mobile/task/merge-trunk
momo-ozawa 998aab6
add comments action
98aae53
track comments action
5f298a3
add compression resistance / hugging priorities
bd48db2
Update review comments
kean 3d81273
Merge pull request #21884 from wordpress-mobile/task/integrate-select…
kean 0ae0e4a
Replace the eye icon
kean 6d67bf6
Merge pull request #21899 from wordpress-mobile/task/replace-the-eye
kean 31bae6a
add tests for post card status viewmodel buttons
81752c4
Merge branch 'task/ui-modernization-posts-and-pages' into task/21718-…
5f43a04
drop “Go to” from stats and comments actions
7593e15
Display post status
kean 515e4a5
Display status with date for pages
kean ddb5a81
Fix spacing for excerpts
kean 2f4cfa0
Switch to dateModified to trashed
kean a9c9ebf
Use attributed string for post badges
kean 40c9e5e
Update l10n
kean 3319127
Remove isAuthorBadgeHidden
kean df32811
Merge pull request #21886 from wordpress-mobile/task/21718-add-commen…
momo-ozawa 98d5d32
Merge branch 'trunk' into task/merge-trunk-ui-mod
kean f8eadd2
Fix a warning
kean e75b291
fix move to trash toast message
2e6a7bc
Merge pull request #21905 from wordpress-mobile/task/merge-trunk-ui-mod
kean cbd8b36
Merge pull request #21898 from wordpress-mobile/task/display-post-status
kean b966e2e
Move post deletion to PostCoordinator
kean b860290
Update post cell status when post is being deleted
kean bdcf736
Add support for post deletion status in search
kean 8600f2f
Animate reloads
kean 8c85002
Show latest posts in search
kean cb9b4c7
Fix an issue with tags not syncing
kean f3a33d2
Move delegate to search VC
kean 73cd747
Fix tokens layout issue
kean c08a259
extract abstract post buttons
64b9da7
add page menu view model
a2bd951
Merge pull request #21913 from wordpress-mobile/task/show-latest-post…
kean 89936d4
Merge pull request #21918 from wordpress-mobile/task/fix-tags-not-loa…
kean 9756363
copy page action implementation from pages list vc
66e8b48
track blaze entry displayed for pages
12c91c1
remove copy link
ef7db8e
add page menu view model tests
0ed100d
fix post card status view model tests
2b8e2ec
Remove Undo button
kean f953615
Fix an issue with footer view displaying when not needed
kean 71b0b98
Fix an issue with footer view height
kean 74ae213
Fix no results position
kean 364f183
Enable page context menu in search
kean a2ac88a
Fix cell background in dark mode
kean fe60951
Fix filter bar layout in landscape
kean 5ea26cf
Merge pull request #21907 from wordpress-mobile/task/add-deletion-loa…
kean f3be833
Merge pull request #21924 from wordpress-mobile/task/21873-pages-cont…
momo-ozawa aa04af1
Merge pull request #21926 from wordpress-mobile/task/fix-footer-view
kean 1643aad
Merge pull request #21927 from wordpress-mobile/task/fix-no-results-p…
kean 9f451e6
Merge pull request #21928 from wordpress-mobile/task/pages-context-me…
kean d971cab
Merge branch 'trunk' into task/posts-merge-trunk-43242134
kean 7899283
configure accessiblity label for post list cells
b649cfd
Fix warnings after merge
kean e4aac98
Fix search bar placement on iPad
kean 1495e26
Remove RestorePostTableViewCell.swift
kean 7258351
Remove WPPickerView
kean 7466307
Update WordPressKit to 8.10
kean 6737579
Merge pull request #21933 from wordpress-mobile/task/add-tag-param
kean fe35d53
Merge branch 'trunk' into task/ui-modernization-posts-and-pages
kean File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notice that the addition of
tag
toPostServiceRemoteOptions
in8.8.0
was a breaking change and has been reverted via wordpress-mobile/WordPressKit-iOS#639 to unblock the 23.6 code freeze.See also https://github.com/wordpress-mobile/WordPressKit-iOS/pull/634/files#r1375696151