feat: add uuid widget
Add a uuid widget which supports options:
- read_only (bool)
- prefix (string)
- use_b32_encoding (bool)
close: https://github.com/netlify/netlify-cms/issues/1975
Summary
Test plan
Checklist
Please add a x inside each checkbox:
- [x] I have read the contribution guidelines.
- [x] Code is formatted via running
yarn format. - [x] Tests are passing via running
yarn test. - [x] The status checks are successful (continuous integration). Those can be seen below.
A picture of a cute animal (not mandatory but encouraged)
So we can know easily having read-only UUID field like this:

And when prefix as "sink/" and use_b32_encode is used, it shows up as this:

@liufuyang do you have time to update this pull request?
Thank you, I can try to find some time recently. Perhaps just rebase onto master will do?
Deploy Preview for decap-www canceled.
| Name | Link |
|---|---|
| Latest commit | 54b4271be1c76cf6befb8e6d8e232c2958a10ece |
| Latest deploy log | https://app.netlify.com/sites/decap-www/deploys/64524ddb2a89f90007bd0775 |
@liufuyang I know it's been a while, would you be able to brig the branch up to date with master and solve merge conflicts? Thanks!