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
c0d92d89
Commit
c0d92d89
authored
May 27, 2024
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review fixes
parent
52b25e6a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
3 deletions
+7
-3
redirects.js
nextjs/redirects.js
+4
-0
PublicTagsSubmitForm.tsx
ui/publicTags/submit/PublicTagsSubmitForm.tsx
+1
-1
PublicTagsSubmitForm.pw.tsx_default_base-view-mobile-1.png
...ublicTagsSubmitForm.pw.tsx_default_base-view-mobile-1.png
+0
-0
PublicTagsSubmitForm.pw.tsx_mobile_base-view-mobile-1.png
...PublicTagsSubmitForm.pw.tsx_mobile_base-view-mobile-1.png
+0
-0
PublicTagsSubmitFieldAddresses.tsx
...blicTags/submit/fields/PublicTagsSubmitFieldAddresses.tsx
+1
-1
PublicTagsSubmitFieldTags.tsx
ui/publicTags/submit/fields/PublicTagsSubmitFieldTags.tsx
+1
-1
No files found.
nextjs/redirects.js
View file @
c0d92d89
...
...
@@ -48,6 +48,10 @@ const oldUrls = [
source
:
'
/account/custom_abi/new
'
,
destination
:
'
/account/custom-abi
'
,
},
{
source
:
'
/account/public-tags-request
'
,
destination
:
'
/public-tags/submit
'
,
},
// TRANSACTIONS
{
...
...
ui/publicTags/submit/PublicTagsSubmitForm.tsx
View file @
c0d92d89
...
...
@@ -51,7 +51,7 @@ const PublicTagsSubmitForm = ({ config, userInfo, onSubmitResult }: Props) => {
)
{
router
.
replace
({
pathname
:
'
/public-tags/submit
'
},
undefined
,
{
shallow
:
true
});
}
},
[
router
.
query
.
addresses
,
router
]);
},
[
router
]);
const
onFormSubmit
:
SubmitHandler
<
FormFields
>
=
React
.
useCallback
(
async
(
data
)
=>
{
const
requestsBody
=
convertFormDataToRequestsBody
(
data
);
...
...
ui/publicTags/submit/__screenshots__/PublicTagsSubmitForm.pw.tsx_default_base-view-mobile-1.png
View replaced file @
52b25e6a
View file @
c0d92d89
94 KB
|
W:
|
H:
93.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/publicTags/submit/__screenshots__/PublicTagsSubmitForm.pw.tsx_mobile_base-view-mobile-1.png
View replaced file @
52b25e6a
View file @
c0d92d89
79.8 KB
|
W:
|
H:
79.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/publicTags/submit/fields/PublicTagsSubmitFieldAddresses.tsx
View file @
c0d92d89
...
...
@@ -52,7 +52,7 @@ const PublicTagsSubmitFieldAddresses = () => {
</
FormControl
>
</
GridItem
>
<
GridItem
display=
"flex"
alignItems=
"center"
columnGap=
{
5
}
justifyContent=
{
{
base
:
'
flex-end
'
,
lg
:
'
flex-start
'
}
}
>
{
fields
.
length
<
LIMIT
&&
!
(
fields
.
length
>
1
&&
index
===
0
)
&&
(
{
fields
.
length
<
LIMIT
&&
index
===
fields
.
length
-
1
&&
(
<
IconButton
aria
-
label=
"add"
data
-
index=
{
index
}
...
...
ui/publicTags/submit/fields/PublicTagsSubmitFieldTags.tsx
View file @
c0d92d89
...
...
@@ -50,7 +50,7 @@ const PublicTagsSubmitFieldTags = ({ tagTypes }: Props) => {
register=
{
register
}
errors=
{
errors
}
isDisabled=
{
isDisabled
}
onAddClick=
{
fields
.
length
<
LIMIT
&&
!
(
fields
.
length
>
1
&&
index
===
0
)
?
handleAddFieldClick
:
undefined
}
onAddClick=
{
fields
.
length
<
LIMIT
&&
index
===
fields
.
length
-
1
?
handleAddFieldClick
:
undefined
}
onRemoveClick=
{
fields
.
length
>
1
?
handleRemoveFieldClick
:
undefined
}
/>
);
...
...
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