SafeExamBrowser / seb-server

The Safe Exam Browser Server web application simplifies and centralizes the configuration of SEB clients for exams. It interacts with a learning management or exam system for setting up and conducting e-assessments with Safe Exam Browser. It also improves security by allowing to monitor connected SEB clients in real time during e-assessments.
Mozilla Public License 2.0
46 stars 38 forks source link

No automatic line wrap in the textareas for descriptions #93

Closed michaelhq closed 8 months ago

michaelhq commented 1 year ago

Word wrap is set to off in the textareas for the description in the forms for "Exam Template", "Exam Configuration" and "Configuration Templates".

Steps to reproduce the behavior:

  1. Go to 'Exam Templates'
  2. Click on 'Add Exam Template'
  3. Paste or enter a text in the textarea for the description with more than 100 characters.
  4. You will get no automatic line wrap of the text you entered (a manual line break with Shift + Enter works).

Expected behavior: An automatic word wrap.

Screenshots grafik

The marked parameter in the html code is set to "off" instead to "on". grafik

There is no word wrap too when viewing a configuration or template. grafik

After changing to "on". grafik

Setup

anhefti commented 1 year ago

Hi,

Yes the Text Input field is just a ordinary text input with no auto-wrap. but you can add line-brakes when you enter the text for the description just with usual line-breaks: image

image

michaelhq commented 1 year ago

It is only a minor issue, but would it be possible just to change the described parameter in the code from "off" to "on" in a future release?

This would be a more common behavior with such input fields and perhaps more user-friendly.

anhefti commented 1 year ago

The problem here is that currently in SEB Server we use a Java Framework (Eclipse RAP) that generates all the HTML code with only a minor possibility to interfere with this HTML generation process of the Framework. I will have a look if I can change this setting and if so, we will adapt this for the next SEB Server version.

In the long-term we plan to exchange the current GUI framework with a modern Type-Script (Vue) GUI.

anhefti commented 1 year ago

@michaelhq By the way, we just released the next patch for SEB Server v1.5.2. This fixes some major bugs within v1.5.1 (and v1.5.0): https://github.com/SafeExamBrowser/seb-server/releases/tag/v1.5.2 We recommend to update to v1.5.2 as soon as possible.

michaelhq commented 1 year ago

@anhefti: @lucaboesch installed the patch about 15 minutes after you published it this morning... 😃