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

CIF-1398 - [My Account] Address book management #353

Merged
merged 99 commits into from
Aug 3, 2020
Merged

Commits on Jun 24, 2020

  1. CIF-1444 - Add my account dropdown to header (#303)

    * Add a new component `account` to header, it provides a container div for its react component
    
    * Add new `<Account>` component to main React app `react-components.js`, it renders `<AccountTrigger>` component to toggle the `<AccountDropdown>` component, two components `<SignOutLink>` and `<SignInForm>` are created for reusable purpose
    
    * Add a new reducer to toggle open state of account dropdown
    Zhi Wang committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    d419c7d View commit details
    Browse the repository at this point in the history
  2. CIF-1444 - Add my account dropdown to header (#303)

    * Refactor `<SignIn>` and `<MyAccount>` components to use `<SignOutLink>` and `<SignInForm>` created for account dropdown, remove the duplicate CSS as they are existing in CSS file of `<SignInForm>`
    Zhi Wang committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    682eab7 View commit details
    Browse the repository at this point in the history
  3. CIF-1444 - Add my account dropdown to header (#303)

    * Fix a bug found in `<AccountLink>` component, the issue was that the `identity-obj-proxy` module used by `jest` during the test running will mock `classes` imported to `<AccountLink>`, this breaks the rendering of the `<Button>` component because it doesn't expect `classes` to be mocked, instead, it should be an imported CSS modules, so we assign imported CSS modules to an object `classes`, now the mock won't happen so the test can run correctly
    
    * Add or update test files for `<AccountLink>`, `<MyAccount>`, `<SignOutLink>`, `<SignIn>`, and `<SignInForm>`, add generated or updated snapshots files for them as well
    Zhi Wang committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    5de378d View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. Merge branch 'master' into issues/CIF-1444

    Zhi Wang committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    90d658d View commit details
    Browse the repository at this point in the history
  2. CIF-1444 - Add my account dropdown to header (#303)

    * Add a new component `<AccountIconText>` to display the sign in text if the user is not signed in, or display greeting text if the user has signed in, this component will be displayed next to the account icon on header of storefront
    
    * Add corresponding translations in `account.json` i18n file
    Zhi Wang committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    daab8b2 View commit details
    Browse the repository at this point in the history
  3. CIF-1444 - Add my account dropdown to header (#303)

    * Fix the prettier issue for `accountIconText.css`
    Zhi Wang committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    5cba0c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26db79b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2aa4df5 View commit details
    Browse the repository at this point in the history
  6. CIF-1444 - Fix Java baseline check issue due to the change of interface

    * Add 'package-info.java' to change the version to '2.0.0' as suggested by Java baseline plugin during the mvn build
    Zhi Wang committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    89ebc38 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6a64f99 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. CIF-1444: Add new features to account dropdown (#303)

    * Now we can use account dropdown to reset password and create a new account
    * Add 'Address Book' and 'Address Information' to dropdown, at the moment, they're dummy links, the implementations will be added in other ticket
    * Add new behaviour, now after user signs in, the account dropdown will be hidden, same behaviour is applied after user signs out
    * Refactor code so that components and hooks can be reused for account dropdown
    Zhi Wang committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    c360d07 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. CIF-1444: Add test suits for components (#303)

    * Add tests to verify the components are rendered as expected
    Zhi Wang committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    26494ea View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

  1. CIF-1444: Rename '<Account>' component to '<AccountContainer>', remov…

    …e '<AccountIconText>' component (#303)
    
    * Changes the references of account component in other files
    
    * Merge logic of '<AccountIconText>' to '<AccountContainer>', now '<AccountTrigger>' will render icon label based on 'label' property passed in
    
    * Update test and snapshots of '<AccountContainer>' component
    Zhi Wang committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    2705b21 View commit details
    Browse the repository at this point in the history
  2. CIF-1444: Add change password link to account dropdown (#303)

    * Remove '<MyAccountLinks>' and '<SignOutLink>' components and move their logic back to '<MyAccount>' component because now we will reuse '<MyAccount>' in account dropdown
    
    * Add translation string for cancel button of change password form
    
    * Add links of address book and account information to my account so that side panel now will have them available to
    Zhi Wang committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    460f3a5 View commit details
    Browse the repository at this point in the history
  3. CIF-1444: Adjust layout and style of sign-in form (#303)

    * Add a new form title
    
    * Move forgot password button to underneath the password field
    
    * Change label of email input field
    
    * Delete '<SignInForm>' component and merge its logic back into '<SignIn>' as now we are going to reuse it in account drop down and side panel
    
    * Update test and snapshots
    Zhi Wang committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    3578f8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    191628a View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. CIF-1444: Remove the account component definition from AEM as we're g…

    …oing to use miniaccount component to render the mount point for account dropdown
    Zhi Wang committed Jul 1, 2020
    Configuration menu
    Copy the full SHA
    63e2667 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2020

  1. CIF-1444: Add test files for <CreateAccountSuccess> component, remo…

    …ve the unused CSS file (#303)
    Zhi Wang committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    168e89b View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2020

  1. CIF-1444: Refactor account dropdown related components, now we only c…

    …reate one React portal in '<AccountContainer>' component, rather than create two React portals in '<AccountDropdown>' and '<AccountTrigger>' respectively (#303)
    Zhi Wang committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    b771eec View commit details
    Browse the repository at this point in the history
  2. CIF-1444: Move '<AccountTrigger>' and '<AccountDropdown>' components …

    …to the folder of 'AccountContainer', update the import paths in '<AccountContainer>', this change allows us to group the account dropdown related components in same place (#303)
    Zhi Wang committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    d09b112 View commit details
    Browse the repository at this point in the history
  3. CIF-1444: Fix an issue that the account dropdown is closed even if th…

    …ere is sign-in error (#302)
    
    * Now we only dispatch 'toggleAccountDropdown' action when the sign-in is successful
    Zhi Wang committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    4ffa5e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Configuration menu
    Copy the full SHA
    2d3b86c View commit details
    Browse the repository at this point in the history
  2. CIF-1444: Add test for '<AccountTrigger>' component (#303)

    * Test if handler function of click event is called when button is clicked
    Zhi Wang committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    0585974 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cef78b View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Configuration menu
    Copy the full SHA
    2a4afd4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4722b4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1a7b01 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. CIF-1444: Remove the unnessary mock from test suits (#303)

    * Remove mock of 'ReactDOM.createPortal' from test suits of account dropdown and account trigger as this method is not used by these two components any more
    Zhi Wang committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    8b3b8bb View commit details
    Browse the repository at this point in the history
  2. CIF-1444: Passing config object to '<CommerceApp>' (#303)

    * Add a new state 'accountContainerQuerySelector' in '<UserContextProvider>' to specify the DOM query selector that should be used to find the account container on header
    
    * Add a new state 'authBarContainerQuerySelector' in '<NavigationContextProvider>' to specify the DOM query selector that should be used to find the auth bar container on navigation side panel
    Zhi Wang committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    4b33f71 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into CIF-1444

    Zhi Wang committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    09f159a View commit details
    Browse the repository at this point in the history
  4. CIF-1444: Fix the format issue of 'config.js' (#303)

    * Use 'prettier:fix' to fix the format issue so that it won't fail the CircleCI test
    Zhi Wang committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    69d4a19 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. Configuration menu
    Copy the full SHA
    5615d75 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into CIF-1444

    Conflicts:
    	ui.apps/src/main/javascript/react-components/src/index.js
    Zhi Wang committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    c3d4124 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3baa7f0 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2020

  1. CIF-1398 - MyAccount - Address Book Page

    Create the "Address Book" component
    Daniel Platon committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    ebd6e52 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Merge branch 'CIF-1444' into issues/CIF-1398

    Zhi Wang committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    95ae60d View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. CIF-1398: Add and update graphql queries for address book component

    * Add CREATE, UPDATE, DELETE queries
    
    * Update customer details query to include the addresses query
    Zhi Wang committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    5298fe1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    100d9ae View commit details
    Browse the repository at this point in the history
  3. CIF-1398: export '<AddressBook>' component so it can be used by other…

    … project
    Zhi Wang committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    6c2bfa9 View commit details
    Browse the repository at this point in the history
  4. CIF-1398: Modify the address form component so the label of submit bu…

    …tton can be passed in as a prop
    Zhi Wang committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    09e2ed8 View commit details
    Browse the repository at this point in the history
  5. CIF-1398: Change the address book link in account dropdown

    * Please note now the redirect URL is hard coded due to we can't get the base URL path at the moment, this will be fixed when base URL can be retrieved from server
    Zhi Wang committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    aa2fc59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    27f31f8 View commit details
    Browse the repository at this point in the history
  7. CIF-1398: Add address book related components

    * Add a '<AddressItemsContainer>' component to render address items, as well as add new address button
    
    * Add a '<AddressFormContainer>' component to render the address form
    
    * Add corresponding state and actions in 'UserContext' to support create, query addresses
    
    * Will continue to finish the edit and delete address features
    Zhi Wang committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    b1cb7f6 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'master' into issues/CIF-1398

    Conflicts:
    	react-components/i18n/en/account.json
    	react-components/src/components/AccountContainer/accountDropdown.js
    	react-components/src/context/UserContext.js
    	react-components/src/index.js
    Zhi Wang committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    2fce367 View commit details
    Browse the repository at this point in the history
  9. CIF-1398: Finish delete and edit address features

    * Fix the issue in the previous commit where edit and delete address features are not working properly
    
    * Adjust the styling of address delete modal to match the design
    Zhi Wang committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    1953c81 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Configuration menu
    Copy the full SHA
    50348f2 View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Change graphql queries for query, create, and update address

    * This is to fix the issue when creating or updating the address, the region_code can't be saved properly
    Zhi Wang committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    a0dfe34 View commit details
    Browse the repository at this point in the history
  3. CIF-1398: Add deault_shipping checkbox to address form

    * Now we can control whether or not to show 'Make my default address' check box in address form
    Zhi Wang committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    ae2ca0d View commit details
    Browse the repository at this point in the history
  4. CIF-1398: Add new translation to checkout.json

    Zhi Wang committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    85afca7 View commit details
    Browse the repository at this point in the history
  5. CIF-1398: Fix issues when closing address form and updating address

    * Clear the update address when address form is closed if it's not null
    
    * Pass the region object rather than just region_code field when executing create and update address mutations so that region_code can be saved correctly
    Zhi Wang committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    8e5bbae View commit details
    Browse the repository at this point in the history
  6. CIF-1398: Update test of address form component to reflect the recent…

    … changes
    Zhi Wang committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    3653dac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a03824b View commit details
    Browse the repository at this point in the history
  8. CIF-1398: Add grid CSS for address items container

    Zhi Wang committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    2697b73 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    66088c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. CIF-1398: Add default tag for default shipping address and billing ad…

    …dress
    
    * Adjust padding for address book
    
    * Set default_billing now, its value is the same as the value of default_shipping, at the moment, if default_shipping is set to true for an address, then default_billing is set to true as well
    
    * Add logic to hide delete button if the address item is set to default shipping and billing address
    Zhi Wang committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    819f615 View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Move <AddressForm> component to its own folder from checkou…

    …t folder
    Zhi Wang committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    f65ee15 View commit details
    Browse the repository at this point in the history
  3. CIF-1398: Copy the styles from flow.css so that addressForm.css won't…

    … depend on it
    Zhi Wang committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    632e72e View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into issues/CIF-1398

    Zhi Wang committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    11d77a2 View commit details
    Browse the repository at this point in the history
  5. CIF-1398: Change default labels of <AddressForm> component

    * Add a new prop 'heading' so that we can specify the form heading label now, change the default value of the heading to 'Address' if not specified
    
    * Change the default label of submit button to 'Save' if not specified
    
    * Update the involved components to support the above changes including tests and snapshots
    Zhi Wang committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    f913786 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2020

  1. CIF-1398: Adjust styles of address form so that it displays correctly…

    … in address book page
    
    * We now don't set position:absolute to form body as it will make the form body element go out the scope of its parent, which is '<form>' element in this case
    
    * Now we can control positioning of address form component in its wrapper container instead becuase the form body element is not set to absolute position any more
    Zhi Wang committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    e5508ba View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Add form error message render logic to '<AddressForm>' comp…

    …onent
    
    * Remove the loading indicator from '<AddressFormContainer>' to keep consistent behaviour with address form in checkout side bar
    
    * Remove the unused translation string from i18n file
    
    * Move the styles for form error message to 'addressForm.css'
    Zhi Wang committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    c853531 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bb7fb3 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. CIF-1398: Fix the issue that 'region_code' can't be saved correctly

    * We need to pass 'region_id' along with 'region_code' when creating or updateing an address
    
    * Now the region id field is included in the countries graphql query so that we can get the id based on the region code when saving changes made for address
    Zhi Wang committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    73affb1 View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Update the tests for query_countries request to include reg…

    …ion id
    Zhi Wang committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    2bc6890 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Merge branch 'master' into issues/CIF-1398

    Zhi Wang committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    834827a View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Refactor <AddressDeleteModal> component

    * Extract the event handler callback function of delete button to user's actions.js
    
    * Move the import of the delete customer address mutation to UserContext.js, define a new function that invokes delete address action and expose this function to component
    
    * Make <AddressDeleteModal> to use the function defined in UserContext.js so the business logic will not be exposed to component level now
    Zhi Wang committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    41ddea6 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. Configuration menu
    Copy the full SHA
    6dfd6e9 View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Run prettier fix for the action test file

    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    76eaae8 View commit details
    Browse the repository at this point in the history
  3. CIF-1398: Rename action type of 'removeDeletedAddress' to 'postDelete…

    …Address'
    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    baae96b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed0b21b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7371a0 View commit details
    Browse the repository at this point in the history
  6. CIF-1398: Replace 'getRegionId' with 'useRegionId' hook in addressFor…

    …mContainer.js
    
    * Extract the logic of 'getRegionId' and put it inside a custom hook 'useRegionId', add the test for the newly added custom hook
    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    88fc75d View commit details
    Browse the repository at this point in the history
  7. CIF-1398: Add test case for 'useRegionId' to cover the scenario when …

    …region id can't be found
    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    0eef4d0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f276ef View commit details
    Browse the repository at this point in the history
  9. CIF-1398: Add new hook 'useAddressForm' for providing data to '<Addre…

    …ssFormContainer>' component
    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    1c4401f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    502aa9d View commit details
    Browse the repository at this point in the history
  11. CIF-1398: Expose 'countries' from 'useAddressForm', change '<AddressF…

    …ormContainer>' to use that
    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    47068bb View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b6ffe28 View commit details
    Browse the repository at this point in the history
  13. CIF-1398: Change '<AddressItem>' component to use inline callback fun…

    …ctions
    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    496ab04 View commit details
    Browse the repository at this point in the history
  14. CIF-1398: Add tests for address book related components and their sna…

    …pshots
    Zhi Wang committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    a3c63a8 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. CIF-1398: Create 'createAddress' and 'updateAddress' actions

    * Refactor 'useAddressForm.js' to extract create and update address logic to two separate actions
    
    * Fix an issue when update an address, the last name is not returned as part of the response
    
    * Clean up the dispatch logic after successfully create or update address
    Zhi Wang committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    41fcb81 View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Finish tests for address book components and hook, correct …

    …action name used in action test
    Zhi Wang committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    947d5c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5dca7ed View commit details
    Browse the repository at this point in the history
  4. CIF-1398: Refactor the 'showAddressBook' function in navigation panel…

    … and account dropdown
    Zhi Wang committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    1a70d9b View commit details
    Browse the repository at this point in the history
  5. CIF-1398: Fix the issue that can't delete address by clicking delete …

    …address button
    Zhi Wang committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    e4c0b17 View commit details
    Browse the repository at this point in the history
  6. CIF-1398: Format the addressDeleteModal.js

    Zhi Wang committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    b921c25 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aeed727 View commit details
    Browse the repository at this point in the history
  8. CIF-1398: Add test suits for account dropdown related code in UserCon…

    …text.test.js
    Zhi Wang committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    082b3a6 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Configuration menu
    Copy the full SHA
    1d124d4 View commit details
    Browse the repository at this point in the history
  2. CIF-1398: Increase test coverage rate for NavigationContext.js, chang…

    …e name of test suite in UserContext.test.js
    Zhi Wang committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    346bc19 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa332fe View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. CIF-1398: Hide email input field from address form by default, update…

    … the related tests
    
    * When an address is created or updated, the GraphQL endpoints won't accept email as a valid field thus won't save it, so we will hide email input field from address form used in address book now
    
    * Explicitly show email input field in address form used in checkout to keep the existing feature working as expected
    
    * Update the tests to reflect this changes
    
    * Add one test suite to increase the test coverage rate for addressForm.js
    Zhi Wang committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d9cda43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1bb3ff2 View commit details
    Browse the repository at this point in the history
  3. CIF-1398: Fix the issue when create or update an address to be the de…

    …fault address, the previous default address still has the 'Default' label applied
    Zhi Wang committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    645c360 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. @trivial Exclude the queries folder from coverage

    Daniel Platon committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    65ef232 View commit details
    Browse the repository at this point in the history
  2. @trivial Configure Jest to exclude the queries folder from the test…

    … coverage report
    Daniel Platon committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    dd22d88 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a639f48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13ce11b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a3b2edf View commit details
    Browse the repository at this point in the history