Skip to content

Commit

Permalink
Transaction timeline: enabled timestamps rendering for all entries (#969
Browse files Browse the repository at this point in the history
)

Transaction timeline: enabled timestamps rendering for all entries (gray-entries didn't have timestamps before the change)
  • Loading branch information
kalessil authored Oct 5, 2020
1 parent 69c9687 commit ad11fcd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Add - Initial support for the checkout block.
* Add - Support wp_get_environment_type() and enable dev-mode when environment is 'development' or 'staging'.
* Update - Introduced payments-specific exceptions instead of generic one.
* Update - Transaction timeline: enabled timestamps rendering for all entries.

= 1.5.0 - 2020-09-24 =
* Fix - Save payment method checkbox for Subscriptions customer-initiated payment method updates.
Expand Down
3 changes: 0 additions & 3 deletions client/payment-details/timeline/map-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const getStatusChangeTimelineItem = ( event, status ) => {
status
),
body: [],
hideTimestamp: true,
};
};

Expand Down Expand Up @@ -134,7 +133,6 @@ const getDepositTimelineItem = (
icon: getIcon( isPositive ? 'plus' : 'minus' ),
headline,
body,
hideTimestamp: true,
};
};

Expand Down Expand Up @@ -344,7 +342,6 @@ const mapEventToTimelineItems = ( event ) => {
'woocommerce-services'
),
],
hideTimestamp: true,
};
} else {
const formattedTotal = formatCurrency(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Array [
"body": Array [],
"date": 2020-03-31T21:58:40.000Z,
"headline": "Payment status changed to Authorization Expired",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand All @@ -42,7 +41,6 @@ Array [
"body": Array [],
"date": 2020-03-31T10:57:59.000Z,
"headline": "Payment status changed to Authorization Voided",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand All @@ -68,7 +66,6 @@ Array [
"body": Array [],
"date": 2020-03-30T17:33:16.000Z,
"headline": "Payment status changed to Authorized",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand Down Expand Up @@ -104,7 +101,6 @@ Array [
Apr 2, 2020 deposit
</a>
</React.Fragment>,
"hideTimestamp": true,
"icon": <t
className=""
icon="plus"
Expand All @@ -115,7 +111,6 @@ Array [
"body": Array [],
"date": 2020-04-01T14:37:54.000Z,
"headline": "Payment status changed to Paid",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand All @@ -141,7 +136,6 @@ Array [
"body": Array [],
"date": 2020-04-01T03:35:13.000Z,
"headline": "Payment status changed to Failed",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand Down Expand Up @@ -182,7 +176,6 @@ Array [
"body": Array [],
"date": 2020-04-02T20:26:47.000Z,
"headline": "Payment status changed to Disputed: In Review",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand All @@ -208,7 +201,6 @@ Array [
"body": Array [],
"date": 2020-04-05T02:56:10.000Z,
"headline": "Payment status changed to Disputed: Lost",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand Down Expand Up @@ -243,7 +235,6 @@ Array [
],
"date": 2020-04-02T02:06:14.000Z,
"headline": "$110.00 will be deducted from a future deposit",
"hideTimestamp": true,
"icon": <t
className=""
icon="minus"
Expand All @@ -254,7 +245,6 @@ Array [
"body": Array [],
"date": 2020-04-02T02:06:14.000Z,
"headline": "Payment status changed to Disputed: Needs Response",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand Down Expand Up @@ -288,7 +278,6 @@ Array [
],
"date": 2020-04-02T02:06:14.000Z,
"headline": "No funds have been withdrawn yet",
"hideTimestamp": true,
"icon": <t
className=""
icon="info-outline"
Expand All @@ -299,7 +288,6 @@ Array [
"body": Array [],
"date": 2020-04-02T02:06:14.000Z,
"headline": "Payment status changed to Disputed: Needs Response",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand Down Expand Up @@ -350,7 +338,6 @@ Array [
Apr 5, 2020 deposit
</a>
</React.Fragment>,
"hideTimestamp": true,
"icon": <t
className=""
icon="plus"
Expand All @@ -361,7 +348,6 @@ Array [
"body": Array [],
"date": 2020-04-04T16:20:50.000Z,
"headline": "Payment status changed to Disputed: Won",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand All @@ -387,7 +373,6 @@ Array [
"body": Array [],
"date": 2020-04-04T13:51:06.000Z,
"headline": "$100.00 will be deducted from a future deposit",
"hideTimestamp": true,
"icon": <t
className=""
icon="minus"
Expand All @@ -398,7 +383,6 @@ Array [
"body": Array [],
"date": 2020-04-04T13:51:06.000Z,
"headline": "Payment status changed to Refunded",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand All @@ -424,7 +408,6 @@ Array [
"body": Array [],
"date": 2020-04-03T18:58:01.000Z,
"headline": "$50.00 will be deducted from a future deposit",
"hideTimestamp": true,
"icon": <t
className=""
icon="minus"
Expand All @@ -435,7 +418,6 @@ Array [
"body": Array [],
"date": 2020-04-03T18:58:01.000Z,
"headline": "Payment status changed to Partial Refund",
"hideTimestamp": true,
"icon": <t
className=""
icon="sync"
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ You can read our Terms of Service [here](https://en.wordpress.com/tos).
* Add - Initial support for the checkout block.
* Add - Support wp_get_environment_type() and enable dev-mode when environment is 'development' or 'staging'.
* Update - Introduced payments-specific exceptions instead of generic one.
* Update - Transaction timeline: enabled timestamps rendering for all entries.

= 1.5.0 - 2020-09-24 =
* Fix - Save payment method checkbox for Subscriptions customer-initiated payment method updates.
Expand Down

0 comments on commit ad11fcd

Please sign in to comment.