Skip to content

Commit c30b016

Browse files
2 parents 5833b34 + 7fade58 commit c30b016

File tree

111 files changed

+3398
-2749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+3398
-2749
lines changed

.github/workflows/stg-pipeline-mainnet.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Chekc the initial PR deployment status before make a PR Sync.
102102
if: github.event_name == 'pull_request' && github.event.action == 'synchronize'
103-
uses: aeternity/ae-github-actions/deploy-status@v7
103+
uses: aeternity/ae-github-actions/deploy-status@v7.2.0
104104
with:
105105
url: https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.service.aepps.com
106106

@@ -147,3 +147,9 @@ jobs:
147147
repository: aeternity/gitops-apps-aelabs
148148
github_token: ${{ secrets.BOT_GITHUB_TOKEN }}
149149
branch: stg
150+
151+
- name: Final Message
152+
if: env.DEPLOYMENT_STATUS == 'failure'
153+
run: |
154+
echo -e "\n\033[1;31mPipeline completed, but the initial deployment check failed.\033[0m"
155+
echo -e "\033[1;31mPlease fix the build and rerun the pipeline.\033[0m"

.github/workflows/stg-pipeline-testnet.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797

9898
- name: Chekc the initial PR deployment status before make a PR Sync.
9999
if: github.event_name == 'pull_request' && github.event.action == 'synchronize'
100-
uses: aeternity/ae-github-actions/deploy-status@v7
100+
uses: aeternity/ae-github-actions/deploy-status@v7.2.0
101101
with:
102102
url: https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.service.aepps.com
103103

@@ -144,6 +144,12 @@ jobs:
144144
repository: aeternity/gitops-apps-aelabs
145145
github_token: ${{ secrets.BOT_GITHUB_TOKEN }}
146146
branch: stg
147+
148+
- name: Final Message
149+
if: env.DEPLOYMENT_STATUS == 'failure'
150+
run: |
151+
echo -e "\n\033[1;31mPipeline completed, but the initial deployment check failed.\033[0m"
152+
echo -e "\033[1;31mPlease fix the build and rerun the pipeline.\033[0m"
147153
148154
end-to-end-tests:
149155
needs: main
@@ -153,14 +159,18 @@ jobs:
153159
if: github.event.action == 'opened' || github.event.action == 'synchronize'
154160
steps:
155161
- name: Check the PR deployment status before run E2E tests.
156-
uses: aeternity/ae-github-actions/deploy-status@v7.1.0
162+
uses: aeternity/ae-github-actions/deploy-status@v7.2.0
157163
with:
158164
url: https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.service.aepps.com
159165
timeout: 300
160166
interval: 5
161167
- name: Checkout
162168
uses: actions/checkout@v4
169+
- name: Setup Node.js
170+
uses: actions/setup-node@v4
171+
with:
172+
node-version: 20
163173
- name: Cypress run
164-
uses: cypress-io/github-action@v6
174+
uses: cypress-io/github-action@v6.7.16
165175
with:
166176
config: baseUrl=https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.service.aepps.com

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [0.21.1](https://github.com/aeternity/aescan/compare/0.21.0...0.21.1) (2025-03-25)
4+
5+
6+
### Bug Fixes
7+
8+
* release fixes ([#1118](https://github.com/aeternity/aescan/issues/1118)) ([d49ca03](https://github.com/aeternity/aescan/commit/d49ca03ecaf9ace600cd670a6d13dd69e2f443cd))
9+
* transactions pagination ([#1121](https://github.com/aeternity/aescan/issues/1121)) ([33ac26b](https://github.com/aeternity/aescan/commit/33ac26b619dfbbca3f11f2338a93f909c3334c85))
10+
311
## [0.21.0](https://github.com/aeternity/aescan/compare/0.20.0...0.21.0) (2025-03-11)
412

513

cypress/e2e/app/transactionDetail.cy.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ describe('transaction detail', () => {
66
cy.get('.transaction-type-panel table').should('be.visible')
77
cy.get('.transaction-pointers-panel table').should('be.visible')
88
})
9+
it('transaction detail', () => {
10+
cy.visit('/transactions/th_2RwgZG3rbjC25bpdBA61Eg4cHG9Qvpc4BtDByfJkogu55u6DMZ')
11+
12+
cy.get('.transaction-general-panel table').should('be.visible')
13+
cy.get('.transaction-type-panel table').should('be.visible')
14+
cy.get('.transaction-pointers-panel table').should('be.visible')
15+
})
916

1017
it('should display transaction not found page', () => {
1118
cy.visit('/transactions/wrong',

nuxt.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default defineNuxtConfig({
2121
'nuxt-monaco-editor',
2222
],
2323
plausible: {
24-
trackLocalhost: false,
24+
ignoredHostnames: ['localhost'],
2525
},
2626
appConfig: {
2727
APP_VERSION: process.env.APP_VERSION,
@@ -91,12 +91,14 @@ export default defineNuxtConfig({
9191
org: 'sentry',
9292
project: 'aescan-develop',
9393
url: 'https://sentry.dev.service.aepps.com/',
94+
disable: !process.env.SENTRY_AUTH_TOKEN,
9495
}),
9596
sentryVitePlugin({
9697
authToken: process.env.SENTRY_AUTH_TOKEN,
9798
org: 'sentry',
9899
project: 'aescan-production',
99100
url: 'https://sentry.dev.service.aepps.com/',
101+
disable: !process.env.SENTRY_AUTH_TOKEN,
100102
}),
101103
],
102104
},

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aescan",
3-
"version": "0.21.0",
3+
"version": "0.21.1",
44
"private": true,
55
"author": "æternity",
66
"description": "æScan is a blockchain explorer, analytics platform, and decentralized smart contract navigation platform based on æternity",
@@ -26,7 +26,8 @@
2626
"reinstall": "rm -rf node_modules/ && yarn cache clean && yarn install",
2727
"reset": "yarn reinstall && yarn dev",
2828
"e2e:run": "cypress run",
29-
"e2e": "cypress open"
29+
"e2e": "cypress open",
30+
"unlighthouse": "npx unlighthouse --site http://localhost:8080"
3031
},
3132
"dependencies": {
3233
"@aeternity/aepp-sdk": "14.0.0",
@@ -48,6 +49,7 @@
4849
"memory-cache": "^0.2.0",
4950
"pinia": "^2.3.0",
5051
"swiper": "^11.2.0",
52+
"unlighthouse": "^0.16.2",
5153
"vue": "^3.5.13",
5254
"vue-chartjs": "^5.3.2",
5355
"vue-multiselect": "^3.1.0",

poc.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/app/router.options.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ import type { RouterConfig } from '@nuxt/schema'
22
import { MENU_HASH } from '@/utils/constants'
33

44
export default <RouterConfig>{
5-
scrollBehavior(to, _from, savedPosition) {
5+
scrollBehavior(to, from, savedPosition) {
66
if (to?.hash !== MENU_HASH && savedPosition) {
77
return savedPosition
88
}
9+
if (to.name !== from.name) {
10+
return {
11+
top: 0,
12+
}
13+
}
914

1015
return {
11-
top: 0,
16+
savedPosition,
1217
}
1318
},
1419
}

src/assets/styles/elements/_table.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,3 @@ tbody tr:hover td {
7474
tbody tr:hover th {
7575
background: var(--color-snow);
7676
}
77-
78-
79-
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
table {
2+
table-layout: fixed;
3+
}
4+
5+
th {
6+
display: block;
7+
padding-bottom: 0;
8+
9+
@media (--mobile) {
10+
padding-bottom: var(--space-1);
11+
width: var(--detail-column-width);
12+
border-bottom: 1px solid var(--color-midnight-25);
13+
display: table-cell;
14+
}
15+
}
16+
17+
tr {
18+
display: block;
19+
20+
@media (--mobile) {
21+
display: table-row;
22+
}
23+
}
24+
25+
tr:last-of-type th {
26+
border-bottom: 0;
27+
}
28+
29+
td {
30+
white-space: wrap;
31+
word-break: break-all;
32+
display: block;
33+
padding-left: 28px;
34+
padding-top: var(--space-0);
35+
36+
@media (--mobile) {
37+
padding-top: var(--space-1);
38+
display: table-cell;
39+
}
40+
}

0 commit comments

Comments
 (0)