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

Replace SnippetObjectType with SnippetInterface #405

Merged
merged 9 commits into from
Sep 24, 2024

Commits on Sep 20, 2024

  1. Rename CustomInterface to AdditionalInterface

    The name `CustomInterface` is too similar with `CustomPageInterface` and
    the upcoming `CustomSnippetInterface` and their custom interfaces
    settings file. Better rename it to `AdditionalInterface` so there is
    less confusion.
    mgax committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    d092770 View commit details
    Browse the repository at this point in the history
  2. Rename the custom interface settings file

    The settings file will contain an override for the default snippet
    interface, in addition to the default page interface, so we're renaming
    it up front here.
    mgax committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    3205be2 View commit details
    Browse the repository at this point in the history
  3. Replace SnippetObjectType with SnippetInterface

    Fixes torchbox#386
    
    API clients could use a field on snippet objects to determine the type
    of snippet they are looking at. Therefore, we change the snippet type to
    an interface, similar to the page interface, so it can expose a new
    field called `snippetType`.
    mgax committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    e2729f4 View commit details
    Browse the repository at this point in the history
  4. Update changelog

    mgax committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    50cd83a View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Fix typo

    mgax committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    33edb50 View commit details
    Browse the repository at this point in the history
  2. Fold the new migration into 0001

    mgax committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    34a3c3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    09ea03b View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Test for no registered snippets

    mgax committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    4cb019a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40a16ac View commit details
    Browse the repository at this point in the history