Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
9ce4cf73
Commit
9ce4cf73
authored
May 02, 2025
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable tooltips for buttons on mobile
parent
20b4185f
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
11 additions
and
9 deletions
+11
-9
ContractMethodAddressButton.tsx
...ess/contract/methods/form/ContractMethodAddressButton.tsx
+1
-1
AddressFavoriteButton.tsx
ui/address/details/AddressFavoriteButton.tsx
+1
-1
AddressQrCode.tsx
ui/address/details/AddressQrCode.tsx
+1
-1
AddressEnsDomains.tsx
ui/address/ensDomains/AddressEnsDomains.tsx
+1
-1
ButtonItem.tsx
ui/shared/AccountActionsMenu/parts/ButtonItem.tsx
+1
-1
TableItemActionButtons.tsx
ui/shared/TableItemActionButtons.tsx
+2
-2
UserProfileButton.tsx
ui/snippets/user/profile/UserProfileButton.tsx
+1
-0
UserWalletButton.tsx
ui/snippets/user/wallet/UserWalletButton.tsx
+1
-0
VerifiedAddressesListItem.tsx
ui/verifiedAddresses/VerifiedAddressesListItem.tsx
+1
-1
VerifiedAddressesTableItem.tsx
ui/verifiedAddresses/VerifiedAddressesTableItem.tsx
+1
-1
No files found.
ui/address/contract/methods/form/ContractMethodAddressButton.tsx
View file @
9ce4cf73
...
...
@@ -17,7 +17,7 @@ const ContractMethodAddressButton = ({ onClick, isDisabled }: Props) => {
},
[
address
,
onClick
]);
return
(
<
Tooltip
content=
"Connect your wallet to enter your address."
disabled=
{
Boolean
(
address
)
}
>
<
Tooltip
content=
"Connect your wallet to enter your address."
disabled=
{
Boolean
(
address
)
}
disableOnMobile
>
<
Button
variant=
"subtle"
size=
"xs"
...
...
ui/address/details/AddressFavoriteButton.tsx
View file @
9ce4cf73
...
...
@@ -60,7 +60,7 @@ const AddressFavoriteButton = ({ className, hash, watchListId }: Props) => {
<>
<
AuthGuard
onAuthSuccess=
{
handleAddToFavorite
}
>
{
({
onClick
})
=>
(
<
Tooltip
content=
{
`${ watchListId ? 'Remove address from Watch list' : 'Add address to Watch list' }`
}
>
<
Tooltip
content=
{
`${ watchListId ? 'Remove address from Watch list' : 'Add address to Watch list' }`
}
disableOnMobile
>
<
IconButton
className=
{
className
}
aria
-
label=
"edit"
...
...
ui/address/details/AddressQrCode.tsx
View file @
9ce4cf73
...
...
@@ -58,7 +58,7 @@ const AddressQrCode = ({ hash, className, isLoading }: Props) => {
return
(
<>
<
Tooltip
content=
"Click to view QR code"
>
<
Tooltip
content=
"Click to view QR code"
disableOnMobile
>
<
IconButton
className=
{
className
}
aria
-
label=
"Show QR code"
...
...
ui/address/ensDomains/AddressEnsDomains.tsx
View file @
9ce4cf73
...
...
@@ -83,7 +83,7 @@ const AddressEnsDomains = ({ query, addressHash, mainDomainName }: Props) => {
return
(
<
PopoverRoot
>
<
Tooltip
content=
"List of names resolved or owned by this address"
>
<
Tooltip
content=
"List of names resolved or owned by this address"
disableOnMobile
>
<
div
>
<
PopoverTrigger
>
<
Button
...
...
ui/shared/AccountActionsMenu/parts/ButtonItem.tsx
View file @
9ce4cf73
...
...
@@ -15,7 +15,7 @@ interface Props {
const
ButtonItem
=
({
className
,
label
,
onClick
,
icon
,
isDisabled
}:
Props
)
=>
{
return
(
<
Tooltip
content=
{
label
}
disabled=
{
isDisabled
}
>
<
Tooltip
content=
{
label
}
disabled=
{
isDisabled
}
disableOnMobile
>
<
IconButton
aria
-
label=
{
label
}
className=
{
className
}
...
...
ui/shared/TableItemActionButtons.tsx
View file @
9ce4cf73
...
...
@@ -17,7 +17,7 @@ const TableItemActionButtons = ({ onEditClick, onDeleteClick, isLoading }: Props
return
(
<
HStack
gap=
{
6
}
alignSelf=
"flex-end"
>
<
Tooltip
content=
"Edit"
>
<
Tooltip
content=
"Edit"
disableOnMobile
>
<
IconButton
aria
-
label=
"edit"
variant=
"link"
...
...
@@ -30,7 +30,7 @@ const TableItemActionButtons = ({ onEditClick, onDeleteClick, isLoading }: Props
<
IconSvg
name=
"edit"
/>
</
IconButton
>
</
Tooltip
>
<
Tooltip
content=
"Delete"
>
<
Tooltip
content=
"Delete"
disableOnMobile
>
<
IconButton
aria
-
label=
"delete"
variant=
"link"
...
...
ui/snippets/user/profile/UserProfileButton.tsx
View file @
9ce4cf73
...
...
@@ -74,6 +74,7 @@ const UserProfileButton = ({ profileQuery, size, variant, onClick, isPending, ..
content=
{
<
span
>
Sign in to My Account to add tags,
<
br
/>
create watchlists, access API keys and more
</
span
>
}
disabled=
{
isMobile
||
isLoading
||
Boolean
(
data
)
}
openDelay=
{
500
}
disableOnMobile
>
<
span
>
<
Button
...
...
ui/snippets/user/wallet/UserWalletButton.tsx
View file @
9ce4cf73
...
...
@@ -42,6 +42,7 @@ const UserWalletButton = ({ size, variant, isPending, isAutoConnectDisabled, add
content=
{
<
span
>
Connect your wallet
<
br
/>
to Blockscout for
<
br
/>
full-featured access
</
span
>
}
disabled=
{
isMobile
||
Boolean
(
address
)
}
openDelay=
{
500
}
disableOnMobile
>
<
Button
ref=
{
ref
}
...
...
ui/verifiedAddresses/VerifiedAddressesListItem.tsx
View file @
9ce4cf73
...
...
@@ -66,7 +66,7 @@ const VerifiedAddressesListItem = ({ item, application, onAdd, onEdit, isLoading
noCopy
noSymbol
/>
<
Tooltip
content=
"Edit"
disabled=
{
isLoading
}
>
<
Tooltip
content=
"Edit"
disabled=
{
isLoading
}
disableOnMobile
>
<
IconButton
aria
-
label=
"edit"
variant=
"link"
...
...
ui/verifiedAddresses/VerifiedAddressesTableItem.tsx
View file @
9ce4cf73
...
...
@@ -83,7 +83,7 @@ const VerifiedAddressesTableItem = ({ item, application, onAdd, onEdit, isLoadin
</
TableCell
>
<
TableCell
pl=
"0"
>
{
item
.
metadata
.
tokenName
&&
application
&&
!
isLoading
?
(
<
Tooltip
content=
"Edit"
disabled=
{
isLoading
}
>
<
Tooltip
content=
"Edit"
disabled=
{
isLoading
}
disableOnMobile
>
<
IconButton
aria
-
label=
"edit"
variant=
"link"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment