Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Documentation Updates

default discord avatar
notchr2 years ago
8
Documentation | Globals | Preview
https://payloadcms.com/docs/configuration/globals#preview

The example in this section should probably include the export of

MyGlobal

.



Thanks!



@854377910689202256

tagging jess, but concerned because they were replying to these messages at 5am 😄



Documentation Updates



Documentation | I18n | Admin UI
https://payloadcms.com/docs/configuration/i18n

The example in this section should probably include the import of CollectionConfig and export of

Articles

to keep consistent with other examples.

  • default discord avatar
    jessrynkar2 years ago

    On it 🤓

  • default discord avatar
    notchr2 years ago
    Documentation | Styling

    (Opinion)



    Location: Any example



    Comments are styled very closely to brackets. This is maybe just me, but sometimes it's hard to differentiate.



    Documentation | Fields Overview
    https://payloadcms.com/docs/fields/overview

    Example should probably include the export of

    Page

    to stay consistent with other examples.



    Documentation | Fields Validation
    https://payloadcms.com/docs/fields/overview#validation

    Example should include export of

    Orders

    Documentation | Fields

    The following examples should include the export of

    Example Collection

    for consistency.



    All Fields.

  • default discord avatar
    jessrynkar2 years ago

    I'll check the export across the doc examples this seems like a lot of checking for you!!

  • default discord avatar
    notchr2 years ago

    Also, one last thing I noticed on the examples, I think the "Relationship" example should be shown inside of a collection maybe? So that the ExampleCollection pattern is consistent

  • discord user avatar
    jarrod_not_jared
    2 years ago

    I opened an issue to track these here:

    https://github.com/payloadcms/payload/issues/2594
  • default discord avatar
    notchr2 years ago

    Nice!! I'll post anything else I see!



    Also, over the weekend I built out a whole Vue3 + Payload example site with user auth setup



    Going to make a repo later and share it 😄

  • default discord avatar
    jessrynkar2 years ago

    Thank you for your attention to detail 🙏



    oh sick can't wait to take a look!

  • default discord avatar
    notchr2 years ago

    Of course!!



    Awesome, I cheated a bit on the typescript so it may neeed a few extra eyes haha

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.