Skip to content

Conversation

@bummytime
Copy link
Contributor

This PR adds everything Storage (for now) to Order, OrderItems and OrderCoupons.

screen shot 2018-07-12 at 7 21 48 pm

The big rocks here include:

  • Data model additions
  • New NSMO subclasses & extensions
  • New ReadOnlyConvertible implementations
  • Minor updates to some of the Networking models
  • Additional funcs added to to StorageType+Extensions.swift
  • Persistence logic added to OrderStore (triggered after orders are pulled down from the wire)
  • Unit tests for persistence logic

Note: OrderNote is not included in this PR and will be added in a subsequent PR.

Fixes #97

Testing

  • Verify the changes make sense — @jleandroperez if you have any suggestions to simplify anything please let me know! 🤠
  • Verify the unit tests pass
  • Verify the app still runs and fetches data — extra credit for also looking at the data in the local sqlite DB

bummytime added 10 commits July 11, 2018 15:19
… feature/97-order-storage

* 'develop' of github.com:woocommerce/woocommerce-ios: (26 commits)
  StyleManager: New Style
  Addressing PR Feedback
  StorePickerViewController: Multiple Updates
  AccountHeaderView: Nuking Extra Spaces
  Implements EmptyStoresTableViewCell
  UIView+Helpers: New API's
  StorePickerViewController: Wiring AccountHeaderView
  Updates Project
  Implements AccountHeaderView
  Implements UIView+Helpers
  Implements NSObject+Helpers
  Style: New Property
  AuthenticationManager: Nuking credentials property
  StorePickerViewController: Adding Placeholder
  AccountStore: Fixing merge issue
  Style: Nukes (more) duplicated properties
  Style: Nuking duplicated properties
  Project: Fixing Merge Glitch
  Style: Fixing Hound Warning
  StorePickerViewController: Fixing Hound Warnings
  ...
… feature/97-order-storage

* 'develop' of github.com:woocommerce/woocommerce-ios:
  UITableViewCellHelpersTests: Documents Unit Test
  UITableViewCellHelpersTests: Nukes extra whitespace
  Nukes unneeded constants
  Implements UITableViewCell+Helpers
… feature/97-order-storage

* 'develop' of github.com:woocommerce/woocommerce-ios:
  Updating Authenticator to Mark 1.0.2
  Podfile: Updating WordPressAuthenticator to Mark 1.0.2
  AuthenticationManager: Wiring the new WordPressAuthenticatorDelegate API
  Podfile: Updating WordPressAuthenticator's reference
@bummytime bummytime added feature: order details Related to order details. feature: order list Related to the order list. labels Jul 13, 2018
@bummytime bummytime added this to the External closed beta milestone Jul 13, 2018
@bummytime bummytime self-assigned this Jul 13, 2018
@bummytime bummytime requested a review from jleandroperez July 13, 2018 00:40
@bummytime bummytime mentioned this pull request Jul 13, 2018
@wpmobilebot
Copy link
Collaborator

1 Warning
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 Danger

Copy link
Contributor

@jleandroperez jleandroperez left a comment

Choose a reason for hiding this comment

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

No suggestions!!! looking great, end to end!!!

:shipit:

@bummytime bummytime merged commit c7961f9 into develop Jul 13, 2018
@bummytime bummytime deleted the feature/97-order-storage branch July 13, 2018 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: order details Related to order details. feature: order list Related to the order list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants