Skip to content

Commit 3fdf237

Browse files
authored
fix: Awa feedback UI fixes (#2067)
1 parent 1f27ca8 commit 3fdf237

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

apps/namadillo/src/App/Settings/SettingsMain.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const SettingsMain = (): JSX.Element => {
4949
value: !settings.advancedMode,
5050
});
5151
}}
52-
label="PRO mode"
52+
label="DEV mode"
5353
checked={settings.advancedMode}
5454
activeColor="yellow"
5555
color="white"
@@ -60,7 +60,7 @@ export const SettingsMain = (): JSX.Element => {
6060
icon={<FaInfo />}
6161
text={
6262
<>
63-
PRO mode unlocks more technically advanced features in
63+
DEV mode unlocks more technically advanced features in
6464
Namadillo that replicates the UX of the CLI. You can learn
6565
more about these features{" "}
6666
<a

apps/namadillo/src/App/Transactions/TransactionCard.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CopyToClipboardControl } from "@namada/components";
1+
import { CopyToClipboardControl, Tooltip } from "@namada/components";
22
import { TransactionHistory as TransactionHistoryType } from "@namada/indexer-client";
33
import { shortenAddress } from "@namada/utils";
44
import { TokenCurrency } from "App/Common/TokenCurrency";
@@ -213,10 +213,15 @@ export const TransactionCard = ({
213213
)}
214214
>
215215
{getTitle(transaction?.kind, isReceived)}{" "}
216-
<CopyToClipboardControl
217-
className="ml-1.5 text-neutral-400"
218-
value={transaction?.txId ?? ""}
219-
/>
216+
<div className="relative group/tooltip">
217+
<CopyToClipboardControl
218+
className="ml-1.5 text-neutral-400"
219+
value={transaction?.txId ?? ""}
220+
/>
221+
<Tooltip position="right" className="p-2 -mr-3 w-[150px]">
222+
Copy transaction hash
223+
</Tooltip>
224+
</div>
220225
</h3>
221226
<h3 className="text-neutral-400">
222227
{timestamp ?

apps/namadillo/src/App/Transfer/TransferDestination.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export const TransferDestination = ({
128128
)}
129129
</div>
130130
)}
131+
131132
{customAddressActive && (
132133
<Stack gap={8}>
133134
{onToggleCustomAddress && (
@@ -158,13 +159,13 @@ export const TransferDestination = ({
158159
{isSubmitting && (
159160
<footer>
160161
<hr className="mt-4 mb-2.5 mx-2 border-white opacity-[5%]" />
161-
<div className="flex justify-between items-center">
162+
<div className="flex justify-between items-center gap-4">
162163
<SelectedChain chain={chain} wallet={wallet} iconSize="36px" />
163164
{wallet && walletAddress && (
164165
<SelectedWallet
165166
wallet={wallet}
166167
address={customAddressActive ? address : walletAddress}
167-
displayFullAddress={true}
168+
displayFullAddress={false}
168169
/>
169170
)}
170171
</div>

0 commit comments

Comments
 (0)