Skip to content

Blueprint meta: Add "More Information" type field #43

Open

Description

@flexseth

Recently I was working on a Blueprint from the Gallery, and wasn't sure if I had changed the code or if something wasn't working correctly. If there was a link to more info about the blueprint, that would be helpful!

Suggesting a new meta value, name TBD. Currently the standard is lowercase..

  • url
  • link
  • blueprint-url
  • blueprint-URI
  • more-info
  • origin

The source of truth and more information about the blueprint.

The URL could link to part of a repository for more info or a raw blueprint.json file (for simpler blueprints)


Sample

Run unit, accessibility, and theme review tests

"meta": {
        "title": "Theme Ready",
        "description": "Runs all theme tests and reports back",
        "author": "WP.org Themes Team",
        "categories": [
          "themes",
          "content"
        ],
        "link": "themetest.playground.wordpress.net"
      }, 
"steps": {
      ...
}

Where themetest.playground.wordpress.net provides more information about what the blueprint does

Activity

  1. changed the title [-]Blueprint meta: Add Blueprint URL field (link to source of truth)[/-] [+]Blueprint meta: Add Blueprint URL field[/+] on Apr 26, 2024
  2. adamziel commented on Apr 27, 2024

    @adamziel
    Contributor

    Where themetest.playground.wordpress.net provides more information about what the blueprint does

    what information could it provide beyond what’s in the meta section?

  3. flexseth commented on May 5, 2024

    @flexseth
    Author

    Essentially I was thinking about a "More information" type field...

    Use case

    Let's say you found a Blueprint somewhere and want to work on it. You copy the code, do some modifications, but for some reason forget where the blueprint came from (this actually happened to me)

    Having somewhat of a canonical link to the blueprint - where did it come from - would be a way to get back to more info on the steps provided. As blueprints grow in complexity, I'm just envisioning users wanting to know more about the steps involved. IE:

    • do I need this step?
    • What does this step do?
    • OH! OK, it downloads a custom plugin as a .zip file from GitHub...
    • and installs it - aha!

    Blueprints documentation

    Ideally, blueprint authors would find some way to document what the steps actually do, so if someone wanted to do something similar, they wouldn't have too much trouble.

    Similar to the Plugin URI header field for plugins

    Plugin URI: The home page of the plugin, which should be a unique URL, preferably on your own website. This must be unique to your plugin. You cannot use a WordPress.org URL here.

    Thinking of those who are new to blueprints, giving a trail of breadcrumbs back to where they came from.

    (Could be a GitHub repo)

    ... more info on Plugin Headers

    Notes from my findings on possible structure for the new meta

  4. changed the title [-]Blueprint meta: Add Blueprint URL field[/-] [+]Blueprint meta: Add Blueprint "More Information" type field[/+] on May 5, 2024
  5. changed the title [-]Blueprint meta: Add Blueprint "More Information" type field[/-] [+]Blueprint meta: Add "More Information" type field[/+] on May 5, 2024
  6. ironnysh commented on May 6, 2024

    @ironnysh
    Collaborator

    That's basically an extension of the discussion we had in issue #3 🙂

  7. flexseth commented on Jul 20, 2024

    @flexseth
    Author

    Maybe a link meta field?

    link: Canonical link to the blueprint design, more information, or the actual blueprint JSON file.

    Description: A link to a GitHub repo (README), link to a raw JSON file on someone's website, or a link to a full description about what the blueprint does, etc.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions