-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
…upload it to IPFS
Pull Request Test Coverage Report for Build 2883630218
💛 - Coveralls |
Socket Security Report👍 No new dependency issues detected in pull request Socket.dev scan summary
Powered by socket.dev |
@ramirotw could you try build the |
|
Hey @matextrem , @alongoni changes LGTM! Still, I see that the issue with periods in the end of sentences is not fixed (will be addressed in cowprotocol/app-data#10 a bit later). And there is no path to the page, but will be implemented soon. Also I have found #175 issue that @ramirotw can take a look into a bit later. So I'm approving the current PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I'm happy with the behaviour and looks good for merging.
Doesn't mean there isn't more stuff to address :)
I'll write it down in more details tomorrow, when I'll also finish the code review.
src/apps/explorer/ExplorerApp.tsx
Outdated
@@ -132,6 +140,7 @@ const AppContent = (): JSX.Element => { | |||
<Route path={pathPrefix + '/address/:address'} exact component={UserDetails} /> | |||
<Route path={pathPrefix + '/tx/:txHash'} exact component={TransactionDetails} /> | |||
<Route path={pathPrefix + '/search/:searchString?'} exact component={SearchNotFound} /> | |||
<Route path={pathPrefix + '/metadata'} exact component={AppDataDetails} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Route path={pathPrefix + '/metadata'} exact component={AppDataDetails} /> | |
<Route path={pathPrefix + '/appdata'} exact component={AppDataDetails} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of nitpicks regarding the code but nothing major.
All of them can be addressed in follow up PRs.
I'm happy merging as is and iterate.
As I mentioned today, this page will be hidden until the new menu is ready, so it's fine to be merged even if some things still need to be adjusted.
I also mentioned to the team some more information to be displayed in each of the new types to give more context to users.
@alfetopito fixed! Cc: @elena-zh |
Hey @matextrem , could toy please describe what exactly I need to retest except changing the page path to /appdata and changing the tab name to 'Encode'? |
src/const.ts
Outdated
acc[networkId] = new CowSdk(networkId, { | ||
isDevEnvironment: true, | ||
}) | ||
acc[networkId] = new CowSdk(networkId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for changing this?
I haven't checked it throughly, but I suspect it might be the cause of duplicated orders, like seen in this batch
I would avoid touching this if possible and leave that up to Ramiro's/mine PR which is adding Goerli support and also updating the SDK that does this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this broke when I merged from develop. Will fix this
@elena-zh I made some changes in the logic for the encode tab, so maybe we could test it again to see nothing is broken |
Seems like works as expected. |
Summary
Closes #160
Added a new Metadata page where you can create a new app data document and also upload it to
IPFS
To Test
metadata
GENERATE METADATA DOC
buttonUPLOAD APP DATA TO IPFS
button