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
fc883af1
Commit
fc883af1
authored
Nov 24, 2022
by
tom
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'main' of github.com:blockscout/frontend into api-changes
parents
9722b71a
c8bb1097
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
15 deletions
+17
-15
values.yaml
deploy/values/main/values.yaml
+8
-8
values.yaml
deploy/values/review/values.yaml
+2
-0
LatestTxsItem.tsx
ui/home/LatestTxsItem.tsx
+0
-1
FormModal.tsx
ui/shared/FormModal.tsx
+4
-1
AddressLink.tsx
ui/shared/address/AddressLink.tsx
+2
-2
NavFooter.tsx
ui/snippets/navigation/NavFooter.tsx
+1
-1
TxsListItem.tsx
ui/txs/TxsListItem.tsx
+0
-1
TxsTableItem.tsx
ui/txs/TxsTableItem.tsx
+0
-1
No files found.
deploy/values/main/values.yaml
View file @
fc883af1
...
...
@@ -44,14 +44,14 @@ blockscout:
resources
:
limits
:
memory
:
_default
:
"
1
Gi"
_default
:
"
4
Gi"
cpu
:
_default
:
"
2
"
_default
:
"
4
"
requests
:
memory
:
_default
:
"
1
Gi"
_default
:
"
4
Gi"
cpu
:
_default
:
"
2
"
_default
:
"
4
"
# enable service to connect to RDS
rds
:
enabled
:
false
...
...
@@ -158,14 +158,14 @@ postgres:
resources
:
limits
:
memory
:
_default
:
"
1
Gi"
_default
:
"
2
Gi"
cpu
:
_default
:
"
1
"
_default
:
"
2
"
requests
:
memory
:
_default
:
"
1
Gi"
_default
:
"
2
Gi"
cpu
:
_default
:
"
1
"
_default
:
"
2
"
environment
:
POSTGRES_USER
:
...
...
deploy/values/review/values.yaml
View file @
fc883af1
...
...
@@ -124,6 +124,8 @@ postgres:
command
:
'
["docker-entrypoint.sh",
"-c"]'
args
:
'
["max_connections=300"]'
strategy
:
Recreate
resources
:
limits
:
memory
:
...
...
ui/home/LatestTxsItem.tsx
View file @
fc883af1
...
...
@@ -100,7 +100,6 @@ const LatestBlocksItem = ({ tx }: Props) => {
type=
"transaction"
fontWeight=
"700"
truncation=
"constant"
target=
"_self"
/>
</
Address
>
</
Flex
>
...
...
ui/shared/FormModal.tsx
View file @
fc883af1
...
...
@@ -10,6 +10,7 @@ import {
}
from
'
@chakra-ui/react
'
;
import
React
,
{
useCallback
}
from
'
react
'
;
import
useIsMobile
from
'
lib/hooks/useIsMobile
'
;
import
FormSubmitAlert
from
'
ui/shared/FormSubmitAlert
'
;
interface
Props
<
TData
>
{
...
...
@@ -38,8 +39,10 @@ export default function FormModal<TData>({
onClose
();
},
[
onClose
,
setAlertVisible
]);
const
isMobile
=
useIsMobile
();
return
(
<
Modal
isOpen=
{
isOpen
}
onClose=
{
onModalClose
}
size=
{
{
base
:
'
full
'
,
lg
:
'
md
'
}
}
>
<
Modal
isOpen=
{
isOpen
}
onClose=
{
onModalClose
}
size=
{
isMobile
?
'
full
'
:
'
md
'
}
>
<
ModalOverlay
/>
<
ModalContent
>
<
ModalHeader
fontWeight=
"500"
textStyle=
"h3"
>
{
title
}
</
ModalHeader
>
...
...
ui/shared/address/AddressLink.tsx
View file @
fc883af1
...
...
@@ -17,7 +17,7 @@ interface Props {
target
?:
HTMLAttributeAnchorTarget
;
}
const
AddressLink
=
({
alias
,
type
,
className
,
truncation
=
'
dynamic
'
,
hash
,
id
,
fontWeight
,
target
}:
Props
)
=>
{
const
AddressLink
=
({
alias
,
type
,
className
,
truncation
=
'
dynamic
'
,
hash
,
id
,
fontWeight
,
target
=
'
_self
'
}:
Props
)
=>
{
let
url
;
if
(
type
===
'
transaction
'
)
{
url
=
link
(
'
tx
'
,
{
id
:
id
||
hash
});
...
...
@@ -53,7 +53,7 @@ const AddressLink = ({ alias, type, className, truncation = 'dynamic', hash, id,
<
Link
className=
{
className
}
href=
{
url
}
target=
{
target
||
'
_blank
'
}
target=
{
target
}
overflow=
"hidden"
whiteSpace=
"nowrap"
>
...
...
ui/snippets/navigation/NavFooter.tsx
View file @
fc883af1
...
...
@@ -51,7 +51,7 @@ const NavFooter = ({ isCollapsed, hasAccount }: Props) => {
<
Stack
direction=
{
{
base
:
'
row
'
,
lg
:
isExpanded
?
'
row
'
:
'
column
'
,
xl
:
isCollapsed
?
'
column
'
:
'
row
'
}
}
>
{
SOCIAL_LINKS
.
map
(
sl
=>
{
return
(
<
Link
href=
{
sl
.
link
}
key=
{
sl
.
link
}
variant=
"secondary"
w=
{
5
}
h=
{
5
}
aria
-
label=
{
sl
.
label
}
>
<
Link
href=
{
sl
.
link
}
key=
{
sl
.
link
}
variant=
"secondary"
w=
{
5
}
h=
{
5
}
aria
-
label=
{
sl
.
label
}
target=
"_blank"
>
<
Icon
as=
{
sl
.
icon
}
boxSize=
{
5
}
/>
</
Link
>
);
...
...
ui/txs/TxsListItem.tsx
View file @
fc883af1
...
...
@@ -59,7 +59,6 @@ const TxsListItem = ({ tx, showBlockInfo }: {tx: Transaction; showBlockInfo: boo
type=
"transaction"
fontWeight=
"700"
truncation=
"constant"
target=
"_self"
/>
</
Address
>
</
Flex
>
...
...
ui/txs/TxsTableItem.tsx
View file @
fc883af1
...
...
@@ -87,7 +87,6 @@ const TxsTableItem = ({ tx, showBlockInfo }: {tx: Transaction; showBlockInfo: bo
hash=
{
tx
.
hash
}
type=
"transaction"
fontWeight=
"700"
target=
"_self"
/>
</
Address
>
<
Text
color=
"gray.500"
fontWeight=
"400"
>
{
dayjs
(
tx
.
timestamp
).
fromNow
()
}
</
Text
>
...
...
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