Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Handle appData errors #566

Merged
merged 5 commits into from
Jul 25, 2023
Merged

Handle appData errors #566

merged 5 commits into from
Jul 25, 2023

Conversation

anxolin
Copy link
Contributor

@anxolin anxolin commented Jul 25, 2023

Summary

Closes #560

Handles the errors when generating the app-data CID/HEX

This is how it looks when the codes can be generated (valid input)
image

This is when you add something illegal in the JSON:
image

Bonus

Adds the latest app-data LIB version, which solves a concurrency issue that was braking the app (not loading the CID/hex on the first load)

cowprotocol/app-data#33

To Test

  1. Test to add an invalid Referrer address (like asdfgh instead of an address)

@vercel
Copy link

vercel bot commented Jul 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
explorer-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 4:38pm

@github-actions
Copy link

Pull Request Test Coverage Report for Build 5658356984

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 61.69%

Totals Coverage Status
Change from base Build 5643110612: 0.0%
Covered Lines: 877
Relevant Lines: 1236

💛 - Coveralls

@anxolin anxolin changed the base branch from develop to release/2.25 July 25, 2023 14:58
Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @anxolin , LGTM now!
Thank you!

@anxolin
Copy link
Contributor Author

anxolin commented Jul 25, 2023

@nenadV91 pls review and let me know if all good

@anxolin anxolin merged commit fc07fe3 into release/2.25 Jul 25, 2023
textToCopy={fullAppDataPrettified}
contentsToDisplay={<pre className="json-formatter">{fullAppDataPrettified}</pre>}
/>
<p>This content is for illustration porpouses, see below.</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo here porpouses

@nenadV91 nenadV91 mentioned this pull request Jul 25, 2023
@alfetopito alfetopito deleted the handle-app-data-errors branch July 25, 2023 16:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AppData: sections are missing when fill in Referrer + mixed UI issues
3 participants