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

[UX] Apply filtering in contract invoke input fields #128

Open
ixje opened this issue Mar 9, 2022 · 6 comments
Open

[UX] Apply filtering in contract invoke input fields #128

ixje opened this issue Mar 9, 2022 · 6 comments

Comments

@ixje
Copy link

ixje commented Mar 9, 2022

It is possible to type in the contract name and "operation" input fields, but no filtering is applied. Ideally filtering should be applied, otherwise disable the possibility to type in those fields.
image

@robliou
Copy link

robliou commented Jun 4, 2022

@ixje @devhawk Erik, can you please explain what you mean by 'filtering' here?

From my end, I've been unable to get these methods to work, much less get consistent access to this page..?

Is this page even operable at this point for you (i.e. do the methods function properly when called from this page)?

@devhawk
Copy link
Contributor

devhawk commented Jun 4, 2022

Yes, this page works for me. I just did the following:

  1. opened the Registrar sample
  2. opened the command palettte
  3. Selected the "Neo N3: Invoke Contract" command

You can also open the register-sample-domain.neo-invoke.json to bring up the invoke file editor

This brings up the contract invoke file editor. When the cursor is in the top text box, it will display the visual from @ixje screenshot of all the contract's DevTracker is aware of and their operations.

What I think @ixje is asking for is for that visual to automatically exclude contracts from the visualization as the user types. So if the user types N, then NeoToken contract should remain but GasToken contract should disappear

@robliou
Copy link

robliou commented Jun 5, 2022

Yes, this page works for me. I just did the following:

  1. opened the Registrar sample
  2. opened the command palettte
  3. Selected the "Neo N3: Invoke Contract" command

You can also open the register-sample-domain.neo-invoke.json to bring up the invoke file editor

This brings up the contract invoke file editor. When the cursor is in the top text box, it will display the visual from @ixje screenshot of all the contract's DevTracker is aware of and their operations.

What I think @ixje is asking for is for that visual to automatically exclude contracts from the visualization as the user types. So if the user types N, then NeoToken contract should remain but GasToken contract should disappear

Thanks, Harry. I followed these steps and was able to get the Invoke Contract menu to show up.

I tried a simple command, GetContract, with a sample contract name as an argument. However, even though my status is confirmed as being connected (using both MainNet as well as TestNet), I keep getting the error "You must be connected to a NeoExpress blockchain to invoke contract."
A13

Does this error show up for you as well?

@devhawk

@ixje
Copy link
Author

ixje commented Jun 6, 2022 via email

@devhawk
Copy link
Contributor

devhawk commented Jun 6, 2022

Contract execution on MainNet or TestNet is disabled at this time. We could probably allow for contract invocation as that does not require wallet integration. But contract execution that modifies chain state (i.e. submitting a signed transaction) has to remain disabled until wallet integration is added

@robliou
Copy link

robliou commented Jun 7, 2022

Contract execution on MainNet or TestNet is disabled at this time. We could probably allow for contract invocation as that does not require wallet integration. But contract execution that modifies chain state (i.e. submitting a signed transaction) has to remain disabled until wallet integration is added

OK, so contract invocation is currently not enabled or even functioning for other users as well? Just wanted to confirm that..

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

No branches or pull requests

3 participants