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

udapp fixes #3895

Merged
merged 11 commits into from
Jul 13, 2023
Merged

udapp fixes #3895

merged 11 commits into from
Jul 13, 2023

Conversation

LianaHus
Copy link
Collaborator

@LianaHus LianaHus commented Jul 5, 2023

  • fixing badges for fork alert
  • fixing paddings in function buttons
  • btns are now disabled if input is required but not filled
  • some small refactoring and fixes in some themes
  • CSS style classes -> bootstrap
  • coding style fixes

@netlify
Copy link

netlify bot commented Jul 5, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 9286c71
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/64b01bcaeedff200086656c3
😎 Deploy Preview https://deploy-preview-3895--remixproject.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.

@LianaHus LianaHus requested review from joeizang, yann300, ioedeveloper and Aniket-Engg and removed request for joeizang and yann300 July 6, 2023 07:42
}
props.loadAddress(loadedContractData, address)
} catch(e) {
console.log("Invalid Address input: ", e)
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove log

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

why? We should improve UI error feedback. For now I would keep this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok 👍

Copy link
Collaborator

@Aniket-Engg Aniket-Engg left a comment

Choose a reason for hiding this comment

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

  1. Not sure if No compiled contracts can be more visible. Also in tooltip text, AtAddress' can be replace with At Address

Screenshot 2023-07-06 at 2 24 43 PM

  1. At address button looks enabled even if no address is provided
  2. About the badges, I think we decided to remove compiled by Remix for non-remixd connection
  3. Disabling the method name on no input parameters can be confusing for some users, can we have a tooltip when method button is disabled

@LianaHus
Copy link
Collaborator Author

LianaHus commented Jul 10, 2023

  1. Not sure if No compiled contracts can be more visible. Also in tooltip text, AtAddress' can be replace with At Address

done

Screenshot 2023-07-06 at 2 24 43 PM

  1. At address button looks enabled even if no address is provided

done

  1. About the badges, I think we decided to remove compiled by Remix for non-remixd connection

done

  1. Disabling the method name on no input parameters can be confusing for some users, can we have a tooltip when method button is disabled

we had. I'll check what's broken there

@@ -26,7 +26,7 @@
"udapp.contractOptionsTitle1": "Please compile *.sol file to deploy or access a contract",
"udapp.contractOptionsTitle2": "Select a compiled contract to deploy or to use with At Address.",
"udapp.contractOptionsTitle3": "Select and compile *.sol file to deploy or access a contract.",
"udapp.contractOptionsTitle4": "When there is a compiled .sol file, choose the contract to deploy or to use with AtAddress.'",
"udapp.contractOptionsTitle4": "When there is a compiled .sol file, choose the contract to deploy or to use with At Address.'",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think ' from the end can still be removed

@@ -25,7 +25,7 @@
"udapp.contractOptionsTitle1": "Please compile *.sol file to deploy or access a contract",
"udapp.contractOptionsTitle2": "Select a compiled contract to deploy or to use with At Address.",
"udapp.contractOptionsTitle3": "Select and compile *.sol file to deploy or access a contract.",
"udapp.contractOptionsTitle4": "When there is a compiled .sol file, choose the contract to deploy or to use with AtAddress.'",
"udapp.contractOptionsTitle4": "When there is a compiled .sol file, choose the contract to deploy or to use with At Address.'",
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

@@ -25,7 +25,7 @@
"udapp.contractOptionsTitle1": "Please compile *.sol file to deploy or access a contract",
"udapp.contractOptionsTitle2": "Select a compiled contract to deploy or to use with At Address.",
"udapp.contractOptionsTitle3": "Select and compile *.sol file to deploy or access a contract.",
"udapp.contractOptionsTitle4": "When there is a compiled .sol file, choose the contract to deploy or to use with AtAddress.'",
"udapp.contractOptionsTitle4": "When there is a compiled .sol file, choose the contract to deploy or to use with At Address.'",
Copy link
Collaborator

Choose a reason for hiding this comment

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

and here

Copy link
Collaborator

@Aniket-Engg Aniket-Engg left a comment

Choose a reason for hiding this comment

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

If I compile a contract and select another in editor, it shows contracts dropdown empty:

Screenshot 2023-07-10 at 3 36 41 PM

Not sure if it is intentional

@Aniket-Engg
Copy link
Collaborator

If I provide an invalid type value for constructor params, deploy button is enabled. When I click on Deploy button, nothing happens. User has no clue what is wrong

@LianaHus
Copy link
Collaborator Author

to use with AtAddress.'

same on live. will fix it in second pr

@Aniket-Engg
Copy link
Collaborator

If I provide an invalid type value for constructor params, deploy button is enabled. When I click on Deploy button, nothing happens. User has no clue what is wrong

fixed by #3912

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.

2 participants