-
Notifications
You must be signed in to change notification settings - Fork 121
Store creation M2: domain selector updates #8165
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
Merged
Merged
Conversation
This file contains hidden or 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
…or-updates * feat/8108-iap-integration: MockInAppPurchases: update comments. Only use `MockInAppPurchases` in DEBUG builds. Add test cases for `StoreCreationCoordinator` with different IAP eligibility states. Update comments to improve readability, remove some TODOs. Store creation flow: move navigation title and large title style from hosting controller to SwiftUI view to fix large title issues. StoreCreationCoordinator: minor renaming on the store plan variable. Use `WooNavigationController` to disable "Back" text in the navigation bar back button. Present the in-progress view while waiting for IAP eligibility check instead of pushing it to the navigation stack (with an odd background glitch). Replace debug macro with a feature flag `storeCreationM2WithInAppPurchasesEnabled`. Show success screen after the created site becomes a Jetpack site. Create a mock for `InAppPurchasesForWPComPlansProtocol` to unblock store creation flow development. Only continue from plan purchase step if the result is successful. Show a temporary in-progress view while fetching IAP eligibility. Show the correct title in in-progress view while waiting for the site to be ready. Update the purchase action to be async and show a spinner in the purchase button. Purchase plan success --> in-progress view while waiting for the site to become a Jetpack site --> continue with the new Atomic site. StoreCreationPlanView: hide back button since there is already a close button. # Conflicts: # WooCommerce/Classes/Authentication/Store Creation/StoreCreationCoordinator.swift # WooCommerce/Classes/ViewRelated/Dashboard/Settings/Domains/DomainSelectorView.swift
…or-updates * feat/8108-iap-integration:
18 tasks
Collaborator
You can test the changes from this Pull Request by:
|
selanthiraiyan
approved these changes
Nov 22, 2022
Contributor
selanthiraiyan
left a comment
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.
It works as described. 🎉
🚢
WooCommerce/Classes/ViewRelated/Dashboard/Settings/Domains/DomainSelectorView.swift
Outdated
Show resolved
Hide resolved
…or-updates * feat/8108-iap-integration: Update sample stats with averageOrderValue from mock Update metadata strings Update release notes for 11.3 Add averageOrderValue to OrderStatsV4Totals storage entity Use Decimal type for consistent stats data handling Add Average Order Value to OrderStatsV4Totals model
Generated by 🚫 dangerJS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: feature-flagged
Behind a feature flag. Milestone is not strongly held.
type: enhancement
A request for an enhancement.
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.
Parts of #8045
Description
This PR updated the domain selector screen based on the design feedback and updates in the past two weeks:
Auto-focus the text field--> I ended up not doing this because the search is pre-filled with the store name in the previous screensafeAreaInsetTesting instructions
Please ignore the back button text in the navigation bar, this is updated in a separate PR #8154.
Switch store+ Add a storeCreate a new store--> the domain selector should be shown with a placeholder imageContinue--> the store name should be the initial query in the next domain search screen, and some domain results are loadedContinueCTA should appear at the bottom, and the keyboard should be resignedTestto have no results --> an error message should be shown, center-alignedScreenshots
RELEASE-NOTES.txtif necessary.