Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactor patron from <InputFile/> into <Step1/> #529

Merged
merged 8 commits into from
Mar 28, 2024

Conversation

peetzweg
Copy link
Collaborator

@peetzweg peetzweg commented Nov 21, 2023

Hoists patron integration (#518) a component higher. This makes the integration only work on the /instatiate route. Before it was working anywhere a <InputFile /> component was used.

Here is a valid link to the current deployment using the patron url search parameter:

https://deploy-preview-529--contracts-ui.netlify.app/instantiate?patron=0efaf17fd9145a2c7d59821aea6036549f4b6f2d0c86440a16d4c1ac9d57a295

Furthermore, making File=>FileState logic reusable by putting them into a dedicated file, fileToFileState.ts.

https://github.com/peetzweg/contracts-ui/blob/3cf8d2beda078f77a5ce4e056f929bff074268df/src/lib/fileToFileState.ts#L6-L8

cc @o-tsaruk

Copy link

netlify bot commented Nov 21, 2023

Deploy Preview for contracts-ui ready!

Name Link
🔨 Latest commit 3cf8d2b
🔍 Latest deploy log https://app.netlify.com/sites/contracts-ui/deploys/655dd5ee874fea00080f1b65
😎 Deploy Preview https://deploy-preview-529--contracts-ui.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@peetzweg peetzweg marked this pull request as ready for review November 22, 2023 10:21
@peetzweg peetzweg changed the title chore: refactor <InputFile/> and <Step1/> chore: refactor patron from <InputFile/> into <Step1/> Nov 22, 2023
@peetzweg peetzweg merged commit 8b78644 into use-ink:master Mar 28, 2024
10 checks passed
Copy link

cypress bot commented Mar 28, 2024

Passing run #385 ↗︎

0 61 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

chore: refactor patron from `` into `` (#529)
Project: Contracts UI Commit: 8b786444a5
Status: Passed Duration: 01:15 💡
Started: Mar 28, 2024 10:20 AM Ended: Mar 28, 2024 10:21 AM

Review all test suite changes for PR #529 ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants