nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Long Text Input Causes Truncation in 'View' Command UI #3712

Open nus-se-script opened 1 week ago

nus-se-script commented 1 week ago

Description

When editing a patient's name to a very long value (e.g., "aaaaa..."), the view command does not display the full name. The name is cut off halfway, with no truncation indicator or soft wrapping in the JavaFX UI.

Steps to Reproduce

  1. Add or edit a patient's name to a long string (e.g., "aaaaa..." repeated multiple times).
    edit NRIC n|<very_long_name>
  2. Use the view command to display the patient's full profile. view NRIC

    Expected Result

The full name is displayed, or truncation with an indicator (e.g., "...") or soft wrapping is applied to ensure no information loss.

Actual Result

Screenshot 2567-11-15 at 16.37.40.png

The name is cut off halfway without any indicator, resulting in loss of information.

Concern

This impacts data visibility and may lead to misinterpretation or incomplete access to critical patient information.


[original: nus-cs2103-AY2425S1/pe-interim#3268] [original labels: severity.Medium type.FunctionalityBug]

yugan01 commented 1 week ago

Team's Response

We believe this is to be a minor inconvenience that affects a minority of users as firstly, the name field allows for most normal-length names to be viewed at default window size without any issues. Furthermore, for long names that clips beyond the default window, the user can simply open the window in full screen with one click to view the entire name without any issues. Therefore, we believe this is of low severity. Furthermore, we have stated this as a planned enhancement to limit name length (point 6) in our UG and DG, doing so will eliminate this bug from occurring.

Duplicate status (if any):

--