nodeSolidServer / nodeSolidServer/node-solid-server

'solid init' command shows some confusing output when custom values are added

Open
#1,451 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

If you specify custom values when prompted to by solid init, the output looks a bit confusing.

For example, the first question is:

? Path to the folder you want to serve. Default is (./data)

if I set a value here (e.g. /external/data) then after I press return, the line shows:

? Path to the folder you want to serve. Default is /external/data

(note the additional text 'Default is'). Ideally this part of the text should disappear once a value is entered to reduce confusion.

These two questions look nice once an answer has been given:

? Solid server uri (with protocol, hostname and port) https://localhost:8443
? Enable WebID authentication Yes

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.

Research direction

Start by locating the prompt rendering used by the solid init command and reproduce the issue with a custom answer such as /external/data. Done means the displayed prompt no longer includes the Default is text after a value is entered, while the other question output remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.