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
ad7d2fee
Commit
ad7d2fee
authored
Jul 19, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes and use the component for other tags
parent
49aae708
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
PrivateTags.tsx
ui/pages/PrivateTags.tsx
+1
-1
TransactionTagTableItem.tsx
...ivateTags/TransactionTagTable/TransactionTagTableItem.tsx
+1
-3
AddressLinkWithTooltip.tsx
ui/shared/AddressLinkWithTooltip.tsx
+1
-1
WatchListTableItem.tsx
ui/watchlist/WatchlistTable/WatchListTableItem.tsx
+3
-3
No files found.
ui/pages/PrivateTags.tsx
View file @
ad7d2fee
...
...
@@ -19,7 +19,7 @@ const PrivateTags: React.FC = () => {
<
Page
>
<
Box
h=
"100%"
>
<
Heading
as=
"h1"
size=
"lg"
marginBottom=
{
8
}
>
Private tags
</
Heading
>
<
Tabs
variant=
"soft-rounded"
colorScheme=
"blue"
>
<
Tabs
variant=
"soft-rounded"
colorScheme=
"blue"
isLazy
>
<
TabList
marginBottom=
{
8
}
>
<
Tab
>
Address
</
Tab
>
<
Tab
>
Transaction
</
Tab
>
...
...
ui/privateTags/TransactionTagTable/TransactionTagTableItem.tsx
View file @
ad7d2fee
...
...
@@ -33,9 +33,7 @@ const AddressTagTableItem = ({ item, onEditClick, onDeleteClick }: Props) => {
return
(
<
Tr
alignItems=
"top"
key=
{
item
.
transaction
}
>
<
Td
>
<
HStack
spacing=
{
4
}
>
<
AddressLinkWithTooltip
address=
{
item
.
transaction
}
/>
</
HStack
>
<
AddressLinkWithTooltip
address=
{
item
.
transaction
}
/>
</
Td
>
<
Td
>
<
Tooltip
label=
{
item
.
tag
}
>
...
...
ui/shared/AddressLinkWithTooltip.tsx
View file @
ad7d2fee
...
...
@@ -21,4 +21,4 @@ const AddressLinkWithTooltip = ({ address }: {address: string}) => {
)
}
export
default
AddressLinkWithTooltip
;
export
default
React
.
memo
(
AddressLinkWithTooltip
)
;
ui/watchlist/WatchlistTable/WatchListTableItem.tsx
View file @
ad7d2fee
...
...
@@ -6,11 +6,11 @@ import {
Td
,
Switch
,
HStack
,
Tooltip
,
}
from
'
@chakra-ui/react
'
import
EditButton
from
'
ui/shared/EditButton
'
;
import
DeleteButton
from
'
ui/shared/DeleteButton
'
;
import
TruncatedTextTooltip
from
'
ui/shared/TruncatedTextTooltip
'
;
import
type
{
TWatchlistItem
}
from
'
data/watchlist
'
;
...
...
@@ -35,11 +35,11 @@ const WatchlistTableItem = ({ item, onEditClick, onDeleteClick }: Props) => {
<
Tr
alignItems=
"top"
key=
{
item
.
address
}
>
<
Td
><
WatchListAddressItem
item=
{
item
}
/></
Td
>
<
Td
>
<
Tooltip
label=
{
item
.
tag
}
>
<
T
runcatedTextT
ooltip
label=
{
item
.
tag
}
>
<
Tag
variant=
"gray"
lineHeight=
"24px"
>
{
item
.
tag
}
</
Tag
>
</
Tooltip
>
</
T
runcatedTextT
ooltip
>
</
Td
>
<
Td
><
Switch
colorScheme=
"blue"
size=
"md"
isChecked=
{
item
.
notification
}
/></
Td
>
<
Td
>
...
...
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