Joystream / Joystream/joystream

CLI: Worker application form displays answers incorrectly

Open
#4,149 4 comments 0 reactions 0 assignees View on GitHub
bug CLI scope:working-groups
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

## Context

When creating application via CLI some of the answers are skipped (as its in metaprotocol, cannot be made mandatory), which causes the form to be rendered incorrectly when some answers are skipped.

Here's the chat with @RadoslawWyszynski

Screenshot 2022-08-09 at 10 41 31

⚠️ Related CLI issue: https://github.com/Joystream/joystream/issues/4149

## Scope
- [ ] Fix the handling of submitting the empty strings

## More info

As far a I know, when creating an application, there is no way to mark certain questions as mandatory. Due to this design, applicant often skip questions they feel uncomfortable to answer or simply not knowing what to answer :)

This is completely fine, we are all people after all! However, if an application form has some skipped questions, it is displayed incorrectly in Pioneer UI.

Example:
Screenshot 2022-07-19 at 10 33 45

In this example, an applicant chose not to answer the question about compensation model. Because of this, his next answer (asking for Github link) is shown **shifted** one row up. This makes the form very hard-to-read and needs to be fixed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.