Skip to content

Enhancement: Ability to create new data files for a folder #834

Closed

Description

@estruyf

Add the functionality to create new data files for the data folders (frontMatter.data.folders).

  • Create a new property to turn on data file creation
  • Add a create new data folder button on the dashboard
    • If only one data folder is configured, use that one and ask for the name of the file
    • If multiple are configured, ask to which folder you want to create the data file and provide the name

Discussion on Discord: https://discord.com/channels/992409023607476224/992409556351189082/1266087192242028617

Activity

  1. moved this to Ready in v10.13.0on Jul 26, 2024
  2. pinned this issue on Jul 26, 2024
  3. moved this from Ready to In progress in v10.13.0on Aug 14, 2024
  4. added
    v10.4.0Project: v10.4.0
    In progressThis is actively being worked on
    and removed
    ReadyThis is ready to be picked up
    on Aug 14, 2024
  5. estruyf commented on Aug 14, 2024

    @estruyf
    OwnerAuthor

    In the 10.4 BETA you can give it a try.

    I have added the following properties on the frontMatter.data.folders setting:

    • enableFileCreation: Defines if you want to enable file creation for the folder
    • fileType: The file type to create the new file. Only json or yaml are supported.
    {
      "frontMatter.data.folders": [{
        "id": "data",
        "path": "[[workspace]]/data/authors",
        "singleEntry": true,
        "enableFileCreation": true,
        "fileType": "json",
        "schema": {
          ...
        }
      }]
    }

    Once configured, you'll see the following new experiences/elements.

    image

    image

  6. moved this from In progress to In BETA in v10.13.0on Aug 14, 2024
  7. added
    In BETAThe current task is available for testing in the BETA version.
    and removed
    In progressThis is actively being worked on
    on Aug 14, 2024
  8. 1 remaining item

  9. moved this from In BETA to To document in v10.13.0on Aug 14, 2024
  10. added
    To documentThis item needs to be documented
    and removed
    In BETAThe current task is available for testing in the BETA version.
    on Aug 14, 2024
  11. added
    In BETAThe current task is available for testing in the BETA version.
    and removed
    To documentThis item needs to be documented
    on Sep 16, 2024
  12. moved this from In BETA to Released in v10.13.0on Sep 25, 2024
  13. added
    ReleasedThe task has been released
    and removed
    In BETAThe current task is available for testing in the BETA version.
    on Sep 25, 2024
  14. moved this from Released to In BETA in v10.13.0on Sep 25, 2024
  15. added
    In BETAThe current task is available for testing in the BETA version.
    and removed
    ReleasedThe task has been released
    on Sep 25, 2024
  16. estruyf commented on Sep 25, 2024

    @estruyf
    OwnerAuthor

    This functionality is now part of the v10.4.0 main release.

  17. unpinned this issue on Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    In BETAThe current task is available for testing in the BETA version.enhancementNew feature or requestv10.4.0Project: v10.4.0

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions