dfinity / dfinity/candid

Feature Request: the Candid Web UI should label input fields with arg name in addition to type when available

Open
#383 4 comments 0 reactions 1 assignee View on GitHub

@chenyan-dfinity is already working on this.

Since Sep 15, 2020.

Dominant language
Rust
Stars
301
Forks
85
Avg merge
1h 4m
Merged PRs (30d)
4

Description

Example: in a .did file I have:

type ProposalId = nat64;
service : {
  "change_proposal_deadline_for_tests": (proposal_id: ProposalId, timestamp_unix_epoch_nanos: nat64) -> ();
}

In the web UI, I get 2 input fields both labelled nat64 --- so it's hard to tell apart the 2 arguments. It'd be nice if the Web UI would also display the arg name, here proposal_id and timestamp_unix_epoch_nanos.

screenshot-2020-09-15-11-28-41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.