Skip to content

Releases: rancher/api-ui

Show embedded font correctly when hosted by rancher

12 Sep 07:46
9fc1158
Compare
Choose a tag to compare

v1.0.4 - Support arrays of embedded types

25 Mar 00:19
Compare
Choose a tag to compare
Support arrays of embedded types

v1.0.3 - Action defaults

04 Feb 00:47
Compare
Choose a tag to compare
  • Read defaults from action input schemas
  • Support nullable booleans correctly
  • int/float fields should send a number, not a string
  • Build & upload sourcemaps

Basic embedded resource support

21 Jan 22:15
Compare
Choose a tag to compare
Add basic support for embedded types

For example, given:
```javascript
{
  {
    id: 'container',
    type: 'schema',
    resourceFields: {
      restart: {
        type: 'restartPolicy'
      }
    }
  },

  {
    id: 'restartPolicy',
    type: 'schema',
    resourceFields: {
      name: {
        type: 'string'
      },

      maximumRetryCount: {
        type: 'int',
      }
    }
  }
}
```

the `restart` field will now show up as a textarea that you can put JSON in.
It would be nicer if it looked up the properties of a restartPolicy and allowed
you to enter them directly, but nesting complex types is not a terribly simple
change so this will provide a way to set embedded types in the meantime.