Skip to content

Commit

Permalink
Merge branch 'main' into 338-convert-transaction-method-hashes-to-nam…
Browse files Browse the repository at this point in the history
…es-w-openchain-api
  • Loading branch information
MexicanAce authored Dec 14, 2024
2 parents 59ab6d4 + 0b1a667 commit c1a6395
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 12 deletions.
8 changes: 8 additions & 0 deletions packages/app/src/components/SolidityEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@ function focusEditor() {
.prism-editor__line-numbers {
@apply h-max;
}
.prism-editor__container {
@apply overflow-x-scroll;
}
.prism-editor__editor {
@apply text-nowrap;
}
}
}
</style>
2 changes: 1 addition & 1 deletion packages/app/src/components/event/ContractEvents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ watch(
@apply block;
}
.pagination {
@apply flex justify-center p-3;
@apply p-3;
}
.only-mobile {
@apply flex md:hidden;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@
</tr>
<tr class="transaction-table-row">
<table-body-column class="transaction-table-label">
<span class="transaction-info-field-label">{{ t("transactions.table.created") }}</span>
<span class="transaction-info-field-label">{{ t("transactions.table.receivedAt") }}</span>
<InfoTooltip class="transaction-info-field-tooltip">
{{ t("transactions.table.createdTooltip") }}
{{ t("transactions.table.receivedAtTooltip") }}
</InfoTooltip>
</table-body-column>
<table-body-column class="transaction-table-value">
Expand Down Expand Up @@ -324,7 +324,7 @@ const gasUsedPercent = computed(() => {
@apply py-2;
}
.transaction-reason-value {
@apply text-error-600 whitespace-normal;
@apply text-error-600 whitespace-normal break-all;
}
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function scrollPageToTop() {
}
.pagination {
@apply flex justify-center p-3;
@apply p-3;
}
.loading-row {
.table-body-col {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/transfers/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ watch(
}
.pagination {
@apply flex justify-center p-3;
@apply p-3;
}
.transfer-type {
Expand Down
4 changes: 2 additions & 2 deletions packages/app/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"transactionHashTooltip": "Transaction hash is a unique 66-character identifier that is generated whenever a transaction is executed",
"nonce": "Nonce",
"nonceTooltip": "Number of transactions sent from a sender address",
"created": "Created",
"createdTooltip": "The date and time at which a transaction is added to the block",
"receivedAt": "Received",
"receivedAtTooltip": "The date and time when the transaction was received",
"sendersNonce": "Sender`s Nonce",
"from": "From",
"fromTooltip": "The sending party of the transaction",
Expand Down
3 changes: 2 additions & 1 deletion packages/app/src/locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"reasonTooltip": "Причина невиконання транзакції",
"transactionHash": "Хеш Транзакції",
"nonce": "Нонс",
"created": "Створено",
"receivedAt": "Отримано",
"receivedAtTooltip": "Час коли транзакцію було отримано",
"from": "Від",
"to": "До",
"block": "Блок",
Expand Down
3 changes: 3 additions & 0 deletions packages/app/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ module.exports = {
maxWidth: "1240px",
},
},
".text-nowrap": {
textWrap: "nowrap",
},
});
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ describe("Transaction info table", () => {
expect(gasLimitAndUsedTooltip).toBe(i18n.global.t("transactions.table.gasLimitAndUsedTooltip"));
expect(gasPerPubdataTooltip).toBe(i18n.global.t("transactions.table.gasPerPubdataTooltip"));
expect(nonceTooltip).toBe(i18n.global.t("transactions.table.nonceTooltip"));
expect(createdAtTooltip).toBe(i18n.global.t("transactions.table.createdTooltip"));
expect(createdAtTooltip).toBe(i18n.global.t("transactions.table.receivedAtTooltip"));
});
it("renders indexing transaction status", async () => {
const wrapper = mount(Table, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Feature: Main Page
| Input data | 0xa9059cbb00000000000000000000000 |
| Block | 45751 |
| Batch | #661 |
| Created | 2023-02-10 |
| Received | 2023-02-10 |
| Tokens Transferred | 0x8f0F33583a5 |
| Tokens Transferred | From |
| Tokens Transferred | 0x8f0F33583a5...d8f6 |
Expand Down Expand Up @@ -173,7 +173,7 @@ Feature: Main Page
| Input data | Function: transfer |
| Block | 3491940 |
| Batch | #28739 |
| Created | 2023-05-14 |
| Received | 2023-05-14 |


@id211 @testnet
Expand Down

0 comments on commit c1a6395

Please sign in to comment.