Rename 'History' tab to 'Activity' (#8785)

'Activity' is a better name for this tab because it contains more than
just transactions. Signature requests are also included, and more non-
transaction activity may be included in the future.
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent 058c63cf80
commit 4ac4790cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/_locales/en/messages.json
  2. 2
      test/e2e/address-book.spec.js
  3. 2
      test/e2e/from-import-ui.spec.js
  4. 2
      test/e2e/metamask-responsive-ui.spec.js
  5. 2
      test/e2e/metamask-ui.spec.js
  6. 2
      test/e2e/send-edit.spec.js
  7. 2
      test/e2e/tests/simple-send.spec.js
  8. 4
      ui/app/pages/home/home.component.js

@ -148,6 +148,9 @@
"accountSelectionRequired": {
"message": "You need to select an account!"
},
"activity": {
"message": "Activity"
},
"activityLog": {
"message": "activity log"
},

@ -195,7 +195,7 @@ describe('MetaMask', function () {
})
it('finds the transaction in the transactions list', async function () {
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
await driver.wait(async () => {
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
return confirmedTxes.length === 1

@ -215,7 +215,7 @@ describe('Using MetaMask with an existing account', function () {
})
it('finds the transaction in the transactions list', async function () {
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
await driver.wait(async () => {
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
return confirmedTxes.length === 1

@ -211,7 +211,7 @@ describe('MetaMask', function () {
})
it('finds the transaction in the transactions list', async function () {
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
await driver.wait(async () => {
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
return confirmedTxes.length === 1

@ -266,7 +266,7 @@ describe('MetaMask', function () {
})
it('finds the transaction in the transactions list', async function () {
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
await driver.wait(async () => {
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
return confirmedTxes.length === 1

@ -197,7 +197,7 @@ describe('Using MetaMask with an existing account', function () {
})
it('finds the transaction in the transactions list', async function () {
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
await driver.wait(async () => {
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
return confirmedTxes.length === 1

@ -22,7 +22,7 @@ describe('MetaMask Browser Extension', function () {
await amountField.sendKeys('1')
await driver.clickElement(By.css('[data-testid="page-container-footer-next"]'))
await driver.clickElement(By.css('[data-testid="page-container-footer-next"]'))
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
await driver.findElement(By.css('.transaction-list-item'))
})
})

@ -247,8 +247,8 @@ export default class Home extends PureComponent {
<Tab
activeClassName="home__tab--active"
className="home__tab"
data-testid="home__history-tab"
name={t('history')}
data-testid="home__activity-tab"
name={t('activity')}
>
<TransactionList />
</Tab>

Loading…
Cancel
Save