decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

feat: add uuid widget

Open liufuyang opened this issue 2 years ago • 4 comments

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: image

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

liufuyang avatar Jan 30 '23 16:01 liufuyang

@liufuyang do you have time to update this pull request?

dopry avatar May 02 '23 16:05 dopry

Thank you, I can try to find some time recently. Perhaps just rebase onto master will do?

liufuyang avatar May 03 '23 11:05 liufuyang

Deploy Preview for decap-www canceled.

Name Link
Latest commit 54b4271be1c76cf6befb8e6d8e232c2958a10ece
Latest deploy log https://app.netlify.com/sites/decap-www/deploys/64524ddb2a89f90007bd0775

netlify[bot] avatar May 03 '23 12:05 netlify[bot]

@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!

martinjagodic avatar Feb 05 '24 08:02 martinjagodic