Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Refactor autofillAddressPanel.js and autofillCreditCardPanel.js #8105

Merged
merged 1 commit into from
Apr 18, 2017
Merged

Refactor autofillAddressPanel.js and autofillCreditCardPanel.js #8105

merged 1 commit into from
Apr 18, 2017

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Apr 6, 2017

Closes #8099
Closes #8100
Addresses #7989 #8010

  • Added CommonFormLarge
  • Added cx to dialog.js for more readability
  • Refactored with commonForm, replacing it with genericForm
    Aligned labels to the left and input textboxes to the right by applying display:flex
  • Removed .manageAutofillDataPanel from form.less

Also:

  • Edited autofillTest.js and autofill.js
    TODO: refactor autofill.js with Aphrodite
  • Edited selectors.js

Auditors:

Test Plan:

  1. Automated tests should pass
  2. Open about:autofill
  3. Add an address
  4. Add a credit card
  5. Visit https://www.roboform.com/filling-test-all-fields
  6. Make sure the input forms can be filled
  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

@luixxiul
Copy link
Contributor Author

luixxiul commented Apr 6, 2017

screenshot 2017-04-07 3 47 26

screenshot 2017-04-07 3 47 38

@cezaraugusto
Copy link
Contributor

sorry for delaying on this, could you rebase?

@luixxiul
Copy link
Contributor Author

np, after QA work.

@luixxiul luixxiul removed the request for review from NejcZdovc April 17, 2017 18:59
Closes #8099
Closes #8100
Addresses #7989

- Refactored with commonForm, replacing it with genericForm
  Aligned labels to the left and input textboxes to the right by applying display:flex

- Added CommonFormLarge
- Added cx to dialog.js for more readability
- Removed .manageAutofillDataPanel from form.less

Also:
- Added testIds
- Edited autofillTest.js and autofill.js
  TODO: refactor autofill.js with Aphrodite
- Edited selectors.js

Auditors:

Test Plan:
1. Automated tests should pass
2. Open about:autofill
3. Add an address
4. Add a credit card
5. Visit https://www.roboform.com/filling-test-all-fields
6. Make sure the input forms can be filled
@luixxiul
Copy link
Contributor Author

@cezaraugusto would you review again? if OK I'll merge this in, thanks.

Copy link
Contributor

@cezaraugusto cezaraugusto left a comment

Choose a reason for hiding this comment

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

++ awesome, thanks

@luixxiul luixxiul deleted the autofillPanels-refactoring branch April 25, 2017 03:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants