nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Minimal text wrapping results in disjointed text in Command Output if you adjust window #4810

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Steps to reproduce:

  1. Type any add command into the app
  2. Adjust window size

Text will wrap to the next line, and at some times will become confusing

Examples:

Screenshot 2021-11-12 at 4.21.25 PM.png

For the 50.000g, the 'g' is on the next line which makes it hard to read for the reader

Screenshot 2021-11-12 at 4.24.52 PM.png

For the Steps, the '1.' is on the previous line and 'Mash grapes' is on the next line. Reader will have to constantly check the previous line to check which step 'Mash grapes' is. If there are more steps, this problem is compounded.

Suggestion: Insert line break after each field where necessary (Steps, Quantity, etc.) if window size is changed to smaller instead of having only text wrapping.


[original: nus-cs2103-AY2122S1/pe-interim#4772] [original labels: type.FeatureFlaw severity.VeryLow]

NayLin-H99 commented 2 years ago

Team's Response

I don't see how text wrapping is a feature flaw. The other option is to make a horizontal scroll bar, which will not be optimised for CLI users.

The suggested option is dynamic line breaking, which is beyond our scope.

Duplicate status (if any):

--