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

WIP: Spike "pseudo self serve" feature #2775

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Sep 20, 2024

  1. WIP: allow Design System on Specialist Publisher

    It's hard to build a pretty or compliant form without the Design
    System. This commit (based on what's in Content Publisher) quickly
    hacks a layout we can use.
    ChrisBAshton committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    53f12f7 View commit details
    Browse the repository at this point in the history
  2. WIP: add pseudo self serve

    Adds an `/admin/:document_type_slug` path, which reads the config
    from the associated schema JSON file, and displays it in basic
    form inputs.
    
    Clicking "Generate schema" generates a JSON string which the user
    can copy and paste. In theory, this makes requesting edits to
    finders easier, as users can see the existing configuration, make
    tweaks, and then give us the tweaked configuration in a ready to
    use format. It also paves the way for self-serve in future, where
    we may want to automatically republish finders after edits.
    ChrisBAshton committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ac4566a View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. WIP: split out into multiple forms

    We can still lean on the "generate a big blob of JSON we can copy
    and paste", while splitting the user experience up into more
    manageable chunks.
    ChrisBAshton committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    454a678 View commit details
    Browse the repository at this point in the history
  2. Add 'diff' for proposed schema change

    For local dev only
    
    Taking the same CSS and dependency as used in Travel Advice
    Publisher.
    ChrisBAshton committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    33d6312 View commit details
    Browse the repository at this point in the history
  3. WIP: implement rudimentary "pass this onto a dev" step

    The linked form currently goes to Tech 2nd Line, but we will
    have it go to the publishing queue. See:
    https://govuk.zendesk.com/agent/tickets/5930911
    ChrisBAshton committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    22540cb View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. fix linting

    ChrisBAshton committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f57e2f2 View commit details
    Browse the repository at this point in the history