datacontract-cli icon indicating copy to clipboard operation
datacontract-cli copied to clipboard

HTML Template Improvements

Open simonharrer opened this issue 1 year ago • 4 comments

HTML templating needs to be improved.

  • Extension of additional key/value pairs within an already existing element (currently only supported in the info, terms, server block)
  • mark custom fields so we can distinguish between custom fields and standard fields
  • Extension of a whole new top level element that might be nested
  • better design for the servicelevels
  • mobile-friendly html support
  • custom elements can be complex (substructures, arrays, ...)
  • [ ] The "Show YAML" should use multi-line syntax for multi-line strings.

simonharrer avatar Jun 25 '24 21:06 simonharrer

Important: the templates are imported in the editor (that is not written in python but in JavaScript). During that process, the templates are transformed a little bit. For any change here, we need to make sure that the editor does not break. https://github.com/datacontract/datacontract-editor

simonharrer avatar Jul 11 '24 14:07 simonharrer

mark custom fields so we can distinguish between custom fields and standard fields

Why?

jochenchrist avatar Jul 12 '24 04:07 jochenchrist

mark custom fields so we can distinguish between custom fields and standard fields

Why?

In customer project, when having a lot of extension fields, it might be helpful to see which ones are part of the standard, and which ones are extra fields. But we could postpone this until the desire becomes stronger.

simonharrer avatar Jul 12 '24 08:07 simonharrer

Would also be great to see all quality entries in the HTML template. I think especially the description there is super helpful to understand the data better.

torbenkeller avatar Jan 31 '25 13:01 torbenkeller