Skip to content

Commit 5a339aa

Browse files
committed
remove domain name from title
1 parent ecc0d6b commit 5a339aa

File tree

63 files changed

+173
-169
lines changed

Some content is hidden

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

63 files changed

+173
-169
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### [0.14.1](https://github.com/xdevguild/buildo.dev/releases/tag/v0.14.1) (2024-06-06)
2+
- remove domain name from title
3+
- update dependencies
4+
15
### [0.14.0](https://github.com/xdevguild/buildo.dev/releases/tag/v0.14.0) (2024-05-31)
26
- rebuild the UI. Each operation has a separate page now
37
- some refactor

app/(operations)/components/operations-ui/operation-info-box.tsx

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ const responseParser = ({
3030
.join('');
3131
};
3232

33+
const parseOutcome = (txResult: ITransactionOnNetwork | null | undefined) => {
34+
if (!txResult) return;
35+
36+
const converter = new TransactionsConverter();
37+
const parser = new SmartContractTransactionsOutcomeParser();
38+
39+
const transactionOutcome = converter.transactionOnNetworkToOutcome(txResult!);
40+
41+
return parser.parseExecute({ transactionOutcome });
42+
};
43+
3344
export const OperationInfoBox = memo(
3445
({ type, txResult, error, message }: OperationInfoBoxProps) => {
3546
const { explorerAddress } = useConfig();
@@ -38,20 +49,14 @@ export const OperationInfoBox = memo(
3849
return null;
3950
}
4051

41-
const converter = new TransactionsConverter();
42-
const parser = new SmartContractTransactionsOutcomeParser();
43-
44-
const transactionOutcome = converter.transactionOnNetworkToOutcome(
45-
txResult!
46-
);
47-
const parsedOutcome = parser.parseExecute({ transactionOutcome });
52+
const parsedOutcome = parseOutcome(txResult);
4853

4954
return (
5055
<Alert variant={error ? 'destructive' : 'default'} className="mb-3">
5156
<AlertTitle className="mb-2">Transaction status:</AlertTitle>
5257
<AlertDescription>
5358
<div>{error || message}</div>
54-
{txResult?.hash && (
59+
{parsedOutcome && (
5560
<>
5661
<div className="text-md mb-1">
5762
Response message:{' '}
@@ -69,18 +74,20 @@ export const OperationInfoBox = memo(
6974
))}
7075
</div>
7176
) : null}
72-
<div>
73-
Check in the explorer:
74-
<a
75-
href={`${explorerAddress}/transactions/${txResult.hash}`}
76-
target="_blank"
77-
className="ml-2 break-all font-semibold underline"
78-
>
79-
{txResult.hash}
80-
</a>
81-
</div>
8277
</>
8378
)}
79+
{txResult?.hash && (
80+
<div>
81+
Check in the explorer:
82+
<a
83+
href={`${explorerAddress}/transactions/${txResult.hash}`}
84+
target="_blank"
85+
className="ml-2 break-all font-semibold underline"
86+
>
87+
{txResult.hash}
88+
</a>
89+
</div>
90+
)}
8491
</AlertDescription>
8592
</Alert>
8693
);

app/(operations)/fungible-tokens/change-properties/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Separator } from '@/components/ui/separator';
44
import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
7-
title: 'Buildo.dev - MultiversX: Change properties of a fungible ESDT',
7+
title: 'MultiversX: Change properties of a fungible ESDT',
88
description:
99
'The manager of an ESDT token may individually change any of the properties of the token, or multiple properties at once. The token should have the canUpgrade property set to true.',
1010
pagePath: '/fungible-tokens/change-properties',

app/(operations)/fungible-tokens/freeze-toggle/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
77
title:
8-
'Buildo.dev - MultiversX: Freeze/Unfreeze fungible ESDT balance in a specific account',
8+
'MultiversX: Freeze/Unfreeze fungible ESDT balance in a specific account',
99
description:
1010
'The manager of an ESDT token may freeze the tokens held by a specific Account. As a consequence, no tokens may be transferred to or from the frozen Account.',
1111
pagePath: '/fungible-tokens/freeze-toggle',

app/(operations)/fungible-tokens/issue/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Separator } from '@/components/ui/separator';
44
import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
7-
title: 'Buildo.dev - MultiversX: Issue a fungible ESDT',
7+
title: 'MultiversX: Issue a fungible ESDT',
88
description:
99
'ESDT tokens are issued via a request to the Metachain, which is a transaction submitted by the Account which will manage the tokens.',
1010
pagePath: '/fungible-tokens/issue',

app/(operations)/fungible-tokens/pause-toggle/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { Separator } from '@/components/ui/separator';
44
import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
7-
title:
8-
'Buildo.dev - MultiversX: Pause/Unpause transactions of a fungible ESDT',
7+
title: 'MultiversX: Pause/Unpause transactions of a fungible ESDT',
98
description:
109
'The manager of an ESDT token may choose to suspend all transactions of the token, except minting, freezing/unfreezing and wiping.',
1110
pagePath: '/fungible-tokens/pause-toggle',

app/(operations)/fungible-tokens/roles-management/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Separator } from '@/components/ui/separator';
44
import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
7-
title: 'Buildo.dev - MultiversX: Set/unset special roles for a fungible ESDT',
7+
title: 'MultiversX: Set/unset special roles for a fungible ESDT',
88
description:
99
'The manager of an ESDT token can set and unset special roles for a given address. Only applicable if canAddSpecialRoles property is true.',
1010
pagePath: '/fungible-tokens/roles-management',

app/(operations)/fungible-tokens/send/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Separator } from '@/components/ui/separator';
44
import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
7-
title: 'Buildo.dev - MultiversX: Transfer an amount of your fungible ESDT',
7+
title: 'MultiversX: Transfer an amount of your fungible ESDT',
88
description:
99
'Performing an ESDT transfer is done by sending a transaction directly to the desired receiver Account, but specifying some extra pieces of information in its Data field.',
1010
pagePath: '/fungible-tokens/send',

app/(operations)/fungible-tokens/supply-management/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Separator } from '@/components/ui/separator';
44
import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
7-
title: 'Buildo.dev - MultiversX: Mint/Burn the supply of a fungible ESDT',
7+
title: 'MultiversX: Mint/Burn the supply of a fungible ESDT',
88
description:
99
'The manager of an ESDT token can increase/decrease the total supply by sending to the Metachain a transaction.',
1010
pagePath: '/fungible-tokens/supply-management',

app/(operations)/fungible-tokens/transfer-ownership/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { Separator } from '@/components/ui/separator';
44
import { getMetadata } from '@/lib/get-metadata';
55

66
export const metadata: Metadata = getMetadata({
7-
title:
8-
'Buildo.dev - MultiversX: Transfer ownersip and management rights for the ESDT',
7+
title: 'MultiversX: Transfer ownersip and management rights for the ESDT',
98
description:
109
'The manager of an ESDT token may transfer the management rights to another Account.',
1110
pagePath: '/fungible-tokens/transfer-ownership',

0 commit comments

Comments
 (0)