Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blueprint Changes #2092

Merged
merged 41 commits into from
Jul 21, 2020
Merged

Blueprint Changes #2092

merged 41 commits into from
Jul 21, 2020

Commits on Jul 14, 2020

  1. Initial Blueprints revamp ...

    - Remove Blueprint::all()
    - Add Blueprint::in() to get blueprints in a directory (namespace)
    - Blueprint::find() can look in a directory
    - Top level Blueprint CRUD is removed (except listing which will be repurposed) and added to Collections (eventually will get duplicated onto Taxonomies, Globals, Forms, etc)
    - Collection entryBlueprints read from the directory instead of needing to be defined in its YAML file. The method is now only a getter.
    - Remove editUrl and deleteUrl from Blueprint because it complicates things now that it'll be different depending on the usage. Just use the route helper.
    - The "Links" toggle on the edit collection page will create/delete a link.yaml (not entry_link) blueprint, rather than add to the blueprints list.
    jasonvarga committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    d3b38e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75dd755 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Fix blueprint method

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    ccd2354 View commit details
    Browse the repository at this point in the history
  2. Unnecessary

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    0ca90d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b748578 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cbea3c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e383356 View commit details
    Browse the repository at this point in the history
  6. Compose on any blueprint edit view, now that it could be in collectio…

    …ns/blueprints/edit, taxonomies/blueprints/edit, etc.
    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    fb41342 View commit details
    Browse the repository at this point in the history
  7. Adjust some tests

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    e77ac09 View commit details
    Browse the repository at this point in the history
  8. Adjust key

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    2bcf33c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    da16be6 View commit details
    Browse the repository at this point in the history
  10. Apply blueprint changes to globals ...

    - GlobalSet@blueprint is just a getter
    - Global Variables@fallbackBlueprint uses array_values because it shouldn't be keyed by field handles
    - Title is not required on a global set's blueprint because there will always be one. It's unnecessary. Move the validation inline for the collection and taxonomy controllers.
    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    e8429d4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ee397dd View commit details
    Browse the repository at this point in the history
  12. Apply blueprint changes to assets ...

    - Remove PublishBlueprint route and controller. The asset editor was the only one that was using it. Just bring the blueprint directly into the resource now.
    - Removed the fallback asset.yaml and hardcode it right into the AssetContainer class.
    - Blueprint::makeFromFields() calls values to prevent them being keyed by handle.
    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    9e4e3ff View commit details
    Browse the repository at this point in the history
  13. Fix test

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    8b318d9 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    eea6435 View commit details
    Browse the repository at this point in the history
  15. Mark incomplete

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    0b5a323 View commit details
    Browse the repository at this point in the history
  16. Just need the index

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    7b3d37a View commit details
    Browse the repository at this point in the history
  17. Tidy

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    6fa49ce View commit details
    Browse the repository at this point in the history
  18. Blueprint index

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    de4fe70 View commit details
    Browse the repository at this point in the history
  19. Adjust link

    jasonvarga committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    cc72f70 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    efc27da View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Configuration menu
    Copy the full SHA
    271f02c View commit details
    Browse the repository at this point in the history
  2. Static title

    jasonvarga committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    30574f8 View commit details
    Browse the repository at this point in the history
  3. Opt in for title field

    jasonvarga committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    de6cd12 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9915261 View commit details
    Browse the repository at this point in the history
  5. Add docs links

    jasonvarga committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    f4d0861 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a0bd62 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d401f1c View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. More blueprint tweaks ...

    - Clean things up using ExistsAsFile trait.
    - Remove the fallback directory. Instead, bind fallbacks into the repo with closures.
    - Blueprints can have orders defined inside the yaml
    - In memory caching has been removed temporarily from blueprint repo. This will be redone nicer.
    jasonvarga committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    7121463 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ca7928 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd5eda8 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into feature/blueprints

    # Conflicts:
    #	src/Forms/Form.php
    jasonvarga committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    5b3fbd1 View commit details
    Browse the repository at this point in the history
  5. BlueprintFound events

    jasonvarga committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    b96ef99 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f9b3247 View commit details
    Browse the repository at this point in the history
  7. Pass items into method

    jasonvarga committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    156a4e7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c7f977a View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Configuration menu
    Copy the full SHA
    0ff2381 View commit details
    Browse the repository at this point in the history
  2. Simple html fieldtype, which is used to display links to edit bluepri…

    …nts from configure screens.
    jasonvarga committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    44ff384 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab850da View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d22dedc View commit details
    Browse the repository at this point in the history