kura icon indicating copy to clipboard operation
kura copied to clipboard

Component Names in Wires Not Limited

Open LeoNerdoG opened this issue 4 years ago • 0 comments

Component names in wires are not limited, which can cause browser to stop responging or crash. I suggest this gets limited to e.g. 255 characters, because this is more than enough to set a proper name for a component.

Testflow:

  1. Login to Kura as admin/admin
  2. Go to Wires, try to create a wire component with name that has 10k+ characters
  3. Observe the behaviour

Expected behavior Component names should be limited, because browser slows down when creating them (or can even crash) and if there are a lot of components with long names, the graph becomes unreadable. Maybe there should be "Description" field added in every component for users that need larger description for a certain component?

Screenshot No.1: Screenshot 2020-03-09 at 08 43 51

Screenshot No. 2: Screenshot 2020-03-09 at 08 43 51

Target Environment (please complete the following information): Board: Raspberry Pi 3 OS version: Linux raspberrypi 4.19.75-v7+ # 1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux Additional info: /

LeoNerdoG avatar Mar 09 '20 10:03 LeoNerdoG