Skip to content
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

Posts & Pages: Integrate new cells in search #21828

Merged
merged 9 commits into from
Oct 20, 2023

Conversation

kean
Copy link
Contributor

@kean kean commented Oct 19, 2023

This PR integrates new cells in search and adds live highlighting I tested the performance and there is no need to move the highlighting to the background.

Simulator.Screen.Recording.-.iPhone.15.-.2023-10-19.at.11.25.05.mp4

Regression Notes

  1. Potential unintended areas of impact: Posts & Pages search
  2. What I did to test those areas of impact (or what existing automated tests I relied on): manual & test
  3. What automated tests I added (or what prevented me from doing so): yes

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.

UI Changes testing checklist:

  • 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 changed the base branch from trunk to task/search-advanced-filters October 19, 2023 00:40
@wpmobilebot
Copy link
Contributor

wpmobilebot commented Oct 19, 2023

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 Numberpr21828-2756f7c
Version23.4
Bundle IDorg.wordpress.alpha
Commit2756f7c
App Center BuildWPiOS - One-Offs #7486
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 Oct 19, 2023

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 Numberpr21828-2756f7c
Version23.4
Bundle IDcom.jetpack.alpha
Commit2756f7c
App Center Buildjetpack-installable-builds #6513
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@kean kean force-pushed the task/search-advanced-filters branch from 79f9b89 to adc64f9 Compare October 19, 2023 12:36
Base automatically changed from task/search-advanced-filters to task/ui-modernization-posts-and-pages October 19, 2023 13:55
@kean kean force-pushed the task/search-new-cells branch from 882dc31 to d342e7a Compare October 19, 2023 14:26
@kean kean force-pushed the task/search-new-cells branch from d342e7a to 11445d8 Compare October 19, 2023 14:30
@kean kean requested a review from momo-ozawa October 19, 2023 15:27
@kean kean added this to the 23.6 milestone Oct 19, 2023
@kean kean marked this pull request as ready for review October 19, 2023 15:27
@@ -1,6 +1,87 @@
{
"object": {
"pins": [
{
"package": "AutomatticAbout",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you see the same package.resolved changes? Not sure if I should commit or remote those.

Copy link
Contributor

Choose a reason for hiding this comment

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

I do. I think we're seeing these changes because they were deleted in bac6644

Copy link
Contributor

Choose a reason for hiding this comment

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

If we revert the changes made in bac6644, we won't see package.resolved changes going forward, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, OK let me revert that. I'll merge it with this PR.

Copy link
Contributor

@momo-ozawa momo-ozawa left a comment

Choose a reason for hiding this comment

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

🤩

Comment on lines 53 to 55
viewModel.$title.sink { [titleAndSnippetLabel] in
titleAndSnippetLabel.attributedText = $0
}.store(in: &cancellables)
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] Wdyt of renaming viewModel.title to viewModel.content, and titleAndSnippetLabel to contentLabel?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is better – renamed.

@kean kean force-pushed the task/search-new-cells branch from f828c7e to 2756f7c Compare October 20, 2023 12:04
@kean kean merged commit 9ca04a8 into task/ui-modernization-posts-and-pages Oct 20, 2023
@kean kean deleted the task/search-new-cells branch October 20, 2023 12:06
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