Skip to content

Commit e6933de

Browse files
authored
Merge branch 'develop' into feat/update-deeplinks-doc
2 parents 7b9e3a2 + e200015 commit e6933de

File tree

13 files changed

+1011
-1000
lines changed

13 files changed

+1011
-1000
lines changed

Diff for: packages/desktop/components/popups/send/SendConfirmationPopup.svelte

+9
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
let minimumStorageDeposit = 0
6060
let visibleSurplus: number | undefined = undefined
6161
62+
let isPreparingOutput = false
63+
6264
$: expirationTimePicker?.setNull(giftStorageDeposit)
6365
6466
$: isBaseTokenTransfer =
@@ -101,6 +103,8 @@
101103
})
102104
103105
async function rebuildTransactionOutput(): Promise<void> {
106+
isPreparingOutput = true
107+
104108
updateNewTransactionDetails({
105109
type: transactionType,
106110
expirationDate,
@@ -126,6 +130,8 @@
126130
}
127131
} catch (err) {
128132
handleError(err)
133+
} finally {
134+
isPreparingOutput = false
129135
}
130136
}
131137
@@ -261,9 +267,12 @@
261267
classes="w-full"
262268
onClick={onConfirmClick}
263269
disabled={isTransferring ||
270+
isPreparingOutput ||
264271
(layer2Parameters?.networkAddress && !$newTransactionDetails?.layer2Parameters?.gasBudget)}
265272
isBusy={isTransferring ||
273+
isPreparingOutput ||
266274
(layer2Parameters?.networkAddress && !$newTransactionDetails?.layer2Parameters?.gasBudget)}
275+
busyMessage={isPreparingOutput ? 'Preparing' : ''}
267276
>
268277
{localize('actions.send')}
269278
</Button>

Diff for: packages/desktop/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "desktop",
33
"productName": "Firefly Shimmer",
4-
"version": "2.1.9",
4+
"version": "2.1.10",
55
"description": "Official wallet application of Shimmer",
66
"main": "public/build/main.js",
77
"repository": "[email protected]:iotaledger/firefly.git",

Diff for: packages/desktop/views/dashboard/vesting/Vesting.svelte

+1-11
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@
4141
let modal: Modal
4242
let timeUntilNextPayout = DEFAULT_EMPTY_VALUE_STRING
4343
let minRequiredStorageDeposit: number | null
44-
let hasOutputsToConsolidate = false
4544
4645
$: ({ baseCoin } = $selectedAccountAssets[$activeProfile?.network?.id])
4746
$: hasTransactionInProgress =
4847
$selectedAccount?.isTransferring || $selectedAccount.hasConsolidatingOutputsTransactionInProgress
49-
$: $selectedAccount, areOutputsReadyForConsolidation()
5048
$: vestingOverview = [
5149
{
5250
title: localize('views.vesting.overview.unlocked'),
@@ -71,20 +69,12 @@
7169
$selectedAccountVestingUnclaimedFunds > 0 &&
7270
!hasTransactionInProgress &&
7371
minRequiredStorageDeposit !== null &&
74-
$selectedAccount?.balances?.baseCoin?.available > minRequiredStorageDeposit &&
75-
hasOutputsToConsolidate
72+
$selectedAccount?.balances?.baseCoin?.available > minRequiredStorageDeposit
7673
7774
onMount(() => {
7875
getMinRequiredStorageDeposit()
7976
})
8077
81-
function areOutputsReadyForConsolidation(): void {
82-
$selectedAccount
83-
.prepareConsolidateOutputs({ force: false, outputThreshold: 2 })
84-
.then(() => (hasOutputsToConsolidate = true))
85-
.catch(() => (hasOutputsToConsolidate = false))
86-
}
87-
8878
function getMinRequiredStorageDeposit() {
8979
getRequiredStorageDepositForMinimalBasicOutput()
9080
.then((deposit) => (minRequiredStorageDeposit = deposit))

Diff for: packages/shared/locales/ar.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,8 @@
539539
}
540540
},
541541
"banners": {
542-
"new": "New Event",
543-
"complete": "Complete"
542+
"new": "حدث جديد",
543+
"complete": "مكتمل"
544544
}
545545
},
546546
"picker": {

Diff for: packages/shared/locales/da.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@
19661966
},
19671967
"layer2": {
19681968
"layer1Recipient": "A layer 2 transaction cannot be sent to a layer 1 account.",
1969-
"estimatedGas": "Failed to estimate gas."
1969+
"estimatedGas": "Kunne ikke estimere gas."
19701970
},
19711971
"node": {
19721972
"invalid": "Indtast venligst en gyldig URL.",

Diff for: packages/shared/locales/de.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@
19661966
},
19671967
"layer2": {
19681968
"layer1Recipient": "Eine Layer-2-Transaktion kann nicht an ein Layer-1-Konto gesendet werden.",
1969-
"estimatedGas": "Failed to estimate gas."
1969+
"estimatedGas": "Gas konnte nicht geschätzt werden."
19701970
},
19711971
"node": {
19721972
"invalid": "Gib eine gültige URL ein.",

Diff for: packages/shared/locales/es-ES.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@
19661966
},
19671967
"layer2": {
19681968
"layer1Recipient": "Una transacción de capa 2 no puede ser enviada a una cuenta de capa 1.",
1969-
"estimatedGas": "Failed to estimate gas."
1969+
"estimatedGas": "Error al estimar el gas."
19701970
},
19711971
"node": {
19721972
"invalid": "Por favor, introduce una URL válida.",

Diff for: packages/shared/locales/es-LA.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@
19661966
},
19671967
"layer2": {
19681968
"layer1Recipient": "A layer 2 transaction cannot be sent to a layer 1 account.",
1969-
"estimatedGas": "Failed to estimate gas."
1969+
"estimatedGas": "Falló al estimarse el gas."
19701970
},
19711971
"node": {
19721972
"invalid": "Por favor, introduzca una URL válida.",

Diff for: packages/shared/locales/hu.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@
19661966
},
19671967
"layer2": {
19681968
"layer1Recipient": "A 2. rétegbeli tranzakció nem küldhető át egy 1. rétegbeli számlára.",
1969-
"estimatedGas": "Failed to estimate gas."
1969+
"estimatedGas": "Tranzakciós költség (gáz) becslése sikertelen."
19701970
},
19711971
"node": {
19721972
"invalid": "Kérjük, adjon meg egy érvényes URL címet!",

0 commit comments

Comments
 (0)