Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Only use broader themes patching SPR #24

Merged
merged 5 commits into from Jul 7, 2016
Merged

Only use broader themes patching SPR #24

merged 5 commits into from Jul 7, 2016

Conversation

rgarner
Copy link
Contributor

@rgarner rgarner commented May 20, 2016

User research suggests we don't need finer-grained themes yet.

  • Change the field name to dfid_theme
  • Add a patcher for govuk_content_schemas
  • Separate concerns so that all three patchers can use the same query

User research suggests we don't need finer-grained themes yet.
* They did have %20 for space in them; make them similar to other
  fields by adopting parameterized_form
* As a side-effect, separate theme patching/query concerns: create a
  query when needed, but move that query to the
  DfidTransition::Extract::Query module.
* Uses the same query as the SPR patch
* Uses the same transforms on the results
* Extract those transforms to DfidTransition::Transform::Themes
* Remove RDF/XML requires from SPR patcher, as they're only needed in
  the specs now
Patch the specialist_document schema with the theme enum
* This needs to go in Rummager
* Rummager's field defs are global, so make sure this is namespaced
@rgarner rgarner merged commit 47591d3 into master Jul 7, 2016
@rgarner rgarner deleted the only-broad-themes branch July 7, 2016 07:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant