Skip to content

Conversation

@jaclync
Copy link
Contributor

@jaclync jaclync commented Jan 16, 2023

Part of #8558
Based on #8606, please review this first

Description

This PR includes the Networking layer changes for the domain selector from domain settings, where a merchant can choose a paid domain for the production version of their store. In order to show a list of paid domain suggestions, two remote calls are added to DomainRemoteProtocol:

  • loadFreeDomainSuggestions(query:): loads paid domain suggestions based on the query. since the response is in a different format from the free domain suggestions, a new function is added with a new response model PaidDomainSuggestion
  • loadDomainProducts: loads all the WPCOM domain products so that we can show the domain price info for suggestions in loadPaidDomainSuggestions with a new response model DomainProduct

Testing instructions

Just CI, as the networking layer changes aren't integrated yet.


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@jaclync jaclync added the type: task An internally driven task. label Jan 16, 2023
@jaclync jaclync added this to the 12.0 milestone Jan 16, 2023
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Jan 16, 2023

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr8642-6a68004 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@jaclync jaclync mentioned this pull request Jan 16, 2023
35 tasks
@itsmeichigo itsmeichigo self-assigned this Jan 16, 2023
…h-networking

* feat/8558-domain-list: (79 commits)
  Updated copyright year
  Bump version number
  Update metadata translations
  Update app translations – `Localizable.strings`
  Correct title in the Payments Menu
  Fix bug where variation count was duplicated
  Update EditAttributesViewModel.swift
  8627 Add manual link fixes to the 11.9 release
  8627 Update card reader manual URLs
  8622 8621 Add metadata to payment intent for TTPoI
  Update documentation for Today and `to date` ranges
  Adjust formatting operations for date ranges
  Remove commented code
  Adds changelog
  Removes genereateAllVariation feature flag
  Fix contentEdgeInsets deprecation warnings
  Show action sheet/popover with bulk edit options
  Improve string descriptions
  Add disabled state for link button style
  Enabled bulk edit button conditionally
  ...
Copy link
Contributor

@itsmeichigo itsmeichigo left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

Base automatically changed from feat/8558-domain-list to trunk January 16, 2023 09:14
@jaclync jaclync merged commit f6b5a88 into trunk Jan 17, 2023
@jaclync jaclync deleted the feat/8558-paid-domain-search-networking branch January 17, 2023 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants