Skip to content

Changes

Summary

  1. fix that non-successful message responses were not displayed in ACE editor (commit: d66fa72) (details)
  2. display attributes in UI in an aceEditor instead of a simple inputfield (commit: 7b6b432) (details)
  3. address review finding, adding class resizable_pane and height (commit: 2780ce6) (details)
  4. improved error toast and showing errors from Ditto (commit: 3ce5b55) (details)
Commit d66fa729ad157fcb2cd406233ad5e946ddcebc94 by Thomas Jaeckle
fix that non-successful message responses were not displayed in ACE editor

* only successful responses were displayed
* however, messages might e.g. be answered with a 400 (bad request) and useful information as response
(commit: d66fa72)
The file was modified ui/modules/api.ts (diff)
The file was modified ui/modules/things/featureMessages.ts (diff)
The file was modified ui/modules/things/thingMessages.ts (diff)
Commit 7b6b4323e67583b36781c89031ac7532aab7457f by Thomas Jaeckle
display attributes in UI in an aceEditor instead of a simple inputfield

* for attributes which were JsonObjects or JsonArrays, displaying them in a single "input" field was very umcomfortable
(commit: 7b6b432)
The file was modified ui/modules/things/attributes.ts (diff)
The file was modified ui/main.scss (diff)
The file was modified ui/modules/things/things.html (diff)
Commit 2780ce6b4d43382f6a47a427a231b37ed1a88d8c by Thomas Jaeckle
address review finding, adding class resizable_pane and height

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
(commit: 2780ce6)
The file was modified ui/modules/things/things.html (diff)
Commit 3ce5b5506e0377a8e2a6129807b0b044d87ed87c by Thomas Jaeckle
improved error toast and showing errors from Ditto

* display error toast also for message responses with "failed" response code
* but still display the response as well in the messages response ace editor
* still show JSON errors which are not formatted as "ditto error" (containing at least status and message)

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
(commit: 3ce5b55)
The file was modified ui/modules/api.ts (diff)