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

simplify validation errors

Open pomdtr opened this issue 2 years ago • 0 comments

Our current validation error message are hard to craft, and still do not provide a good user experience.

Error: Spacefile
  L Micro 'static-app'
    L Micro 'static-app'
      L Micro 'static-app'
        L missing properties: 'serve'

Ideally, we want something like like this

image

However, it is not trivial to achieve. In the meantime, I think this is a good middleground:

Error: validation failed:
L /micros/static-app: missing properties: 'serve'

pomdtr avatar May 03 '23 14:05 pomdtr