Git Product home page Git Product logo

Comments (4)

erler avatar erler commented on August 16, 2024

Good question. I have less understanding what happens behind the scenes technically. But if the UI can tell which message is just a non-payable query and which is a payable transaction, we should indeed change the design here.

from contracts-ui.

statictype avatar statictype commented on August 16, 2024

i was confused about the use case of this dropdown, it is actually the dry run we were talking about
but, does it make sense anymore as a dropdown?
On the instantiation form we want to display the estimations that come back from the dry run whenever the user changes an input.
We could do something similar here, just show the estimations to the user whenever they type something. But where to display them in the layout? The results panel can be long. With the dropdown approach, they can be shown inside the results panel.
what do you think? @erler @kwingram25

from contracts-ui.

statictype avatar statictype commented on August 16, 2024

2 new ideas for dispatchables, the getters will only have a read button:

  1. display a call button and a dry run button. each button generates a result in the results panel, wether it's a call resul or a dry run result. the dry run happens on click, not as users type
  2. display a call button and a predicted outcome panel, similar to the instantiation one but maybe more compact, above the call results panel. the predicted outcome panel will display only the dry run result and will be updated as the user types. in case of unsuccessful dry run, the call button should be disabled, while giving the user meaningful information about what went wrong.

from contracts-ui.

statictype avatar statictype commented on August 16, 2024

will be done in #297

from contracts-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.