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

Added Metadata Contract Name To Success Modal #2677

Merged
merged 7 commits into from
Mar 31, 2020
Merged

Conversation

ioedeveloper
Copy link
Member

@ioedeveloper ioedeveloper commented Mar 25, 2020

@@ -348,7 +349,7 @@ class CompileTab extends ViewPlugin {
var result = yo`<div>${uploaded.map((value) => {
return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>`
})}</div>`
modalDialogCustom.alert(yo`<span>Metadata published successfully.<br> <pre>${result}</pre> </span>`)
modalDialogCustom.alert(`Published ${contract.name} Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} contract was published successfully.<br> <pre>${result}</pre> </span>`)
Copy link
Collaborator

@LianaHus LianaHus Mar 27, 2020

Choose a reason for hiding this comment

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

could you please add quotes around the 'contract.name'?

@@ -332,7 +332,7 @@ class CompileTab extends ViewPlugin {
var result = yo`<div>${uploaded.map((value) => {
return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>`
})}</div>`
modalDialogCustom.alert(`Published ${contract.name} Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} contract was published successfully.<br> <pre>${result}</pre> </span>`)
modalDialogCustom.alert(`Published "${contract.name}" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm sorry but could you please also add ""s to contract name in the text?
Metadata of "ballot" was.....

@yann300 yann300 merged commit f6ce838 into master Mar 31, 2020
@yann300 yann300 deleted the publish-metadata branch March 31, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UX: copy request when publishing metadata
3 participants