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

Remove paymentStyles.margin.bar, margin.barItem, padding.bar #8710

Merged
merged 1 commit into from
May 5, 2017
Merged

Remove paymentStyles.margin.bar, margin.barItem, padding.bar #8710

merged 1 commit into from
May 5, 2017

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented May 5, 2017

in favor of
globalStyles.spacing.panelMargin,
globalStyles.spacing.panelItemMargin,
globalStyles.spacing.panelPadding

Closes #8722 (comment)
Addresses #8661

preferences.less - move anchor properties under .paymentContainer to .prefBody
payment styles - replace '.paymentContainer th' with paymentStyles.tableHeader
payment styles - remove .paymentsContainer from preferences.less

This commit finally removes the legacy code under paymentsContainer since #6009 and #6047.

Test Plan 1:

  1. Open about:preferences#payments
  2. Hover on the anchor links on the ledger table
  3. Make sure they are underlined

Test Plan 2:

  1. Open about:preferences#payments
  2. Make sure that the ledger table is not broken

Test Plan 3:

  1. Open about:preferences#payments
  2. Make sure 'monthly budget' and 'account budget' is bolded
  3. Make sure the ledger table header is bolded (it is by design)
  4. Open payment history
  5. Make sure the table header is bolded
  • 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).

Test Plan:

@luixxiul luixxiul added this to the 0.15.3 milestone May 5, 2017
@luixxiul luixxiul self-assigned this May 5, 2017
in favor of
globalStyles.spacing.panelMargin,
globalStyles.spacing.panelItemMargin,
globalStyles.spacing.panelPadding

Addresses #8661

preferences.less - move anchor properties under .paymentContainer to .prefBody
payment styles - replace '.paymentContainer th' with paymentStyles.tableHeader
payment styles - remove .paymentsContainer from preferences.less

This commit finally removes the legacy code under paymentsContainer since #6009 and #6047.

Test Plan 1:
1. Open about:preferences#payments
2. Hover the anchor links (question marks and domains in the ledger table)
3. Make sure they are underlined

Test Plan 2:
1. Open about:preferences#payments
2. Make sure that the ledger table is not broken

Test Plan 3:
1. Open about:preferences#payments
2. Make sure 'monthly budget' and 'account budget' is bolded
3. Make sure the ledger table header is bolded (it is by design)
4. Open payment history
5. Make sure the table header is bolded
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.

fyu I did a rebase since we want it for 0.15.3.

changes looks great, much better UI thanks ++

@cezaraugusto cezaraugusto merged commit 0d0261a into brave:master May 5, 2017
@luixxiul luixxiul mentioned this pull request May 5, 2017
@luixxiul luixxiul deleted the remove-paymentContainer-legacy-code branch May 5, 2017 17:24
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