alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
306 stars 236 forks source link

[Discuss] "Sandwich" agnostic service prototype's functionality #366

Closed feedmypixel closed 6 years ago

feedmypixel commented 7 years ago

Provide the ability to "Sandwich" prototypes together

For a while we (HMRC) have had an implementation in some of our prototypes that enables you to "Sandwich" your prototype around an agnostic service prototype. Think Prototype -> Two Step Verification Prototype -> Prototype.

This is particularly useful for integrating with another teams agnostic prototype without having to include their code in your prototype.

As this work has already been done I have raised a PR adding it to the GOV.UK prototype kit containing this work and associated documentation. We are including it as and when in prototypes and would prefer to have it for free and also see if the wider GOV community would benefit from it.

NickColley commented 6 years ago

Thanks for your work, however this currently seems like something specific to HMRC work, so we don't think we should merge this to be available to everyone. Please feel free to comment if anyone disagrees.

https://github.com/alphagov/govuk-prototype-kit/pull/358#issuecomment-412868983

Thanks for raising :)