{"push_id":2591174401,"size":4,"distinct_size":4,"ref":"refs/heads/split-out-worldwide-tagging-v3","head":"68e0b7a89c42be0e15d2fb826a1ee5b218f2d435","before":"c3588e479394e99ee63a1ae6a0529c0e00586d54","commits":[{"sha":"4b7115dd9800fc08afc6ce4ed56cc5d83251a423","author":{"name":"Leena Gupte","email":"95ff60c7d7e33c5bbd817e4643a0ea35251cc1c8@digital.cabinet-office.gov.uk"},"message":"Get world taxons separately in EditionTaxonsFetcher\n\nThis class gets the taxons that are currently tagged to the\ndocument in the publishing-api. As the publishing-api treats\nall taxons as the same, we need to separate world taxons\nfrom topic taxons again here so that we can use\nEditionTaxonFetcher to pre-populate the \"Selected taxons\" box.\n\nUpdate Statistics Announcements and Publications controller\ntests\n\nAs EditionsTaxonFetcher is now checking whether taxons are part\nof the world taxonomy we need to stub the world taxonomy in these\ntests.","distinct":true,"url":"https://api.github.com/repos/alphagov/whitehall/commits/4b7115dd9800fc08afc6ce4ed56cc5d83251a423"},{"sha":"9b54469e19df6ff2968ee53f6ad1f6fbb9b08c28","author":{"name":"Leena Gupte","email":"95ff60c7d7e33c5bbd817e4643a0ea35251cc1c8@digital.cabinet-office.gov.uk"},"message":"Create a new Controller to tag to the world taxonomy\n\nAlso create the accompanying view\n\nThis is based on the existing controller for the topic taxonomy, but\ninstead populates the taxons to be selected from WorldTaxonomy.","distinct":true,"url":"https://api.github.com/repos/alphagov/whitehall/commits/9b54469e19df6ff2968ee53f6ad1f6fbb9b08c28"},{"sha":"9cd9b756e75d3c8dff9181cacd035284c9bd900d","author":{"name":"Leena Gupte","email":"95ff60c7d7e33c5bbd817e4643a0ea35251cc1c8@digital.cabinet-office.gov.uk"},"message":"Make sure that world and topic taxons are not overwritten.\n\nThe publishing-api does not distinguish between topic and world\ntaxons. They are linked to the the edition as \"taxons\".\n\nTherefore when we save newly selected topic or world taxons to the\npublishing-api we must make sure that we also resend the \"other\"\nselected taxons.\n\nSo we need to go and get the worldwide taxons already tagged on the topic\ntagging form, and go and get the topic taxons already tagged on the world\ntaxon tagging form.\n\nThis fix only works because at the moment clicking on \"Save\" in the\ntagging form saves directly to the publishing-api. When this behaviour\nis changed, we will have to make sure we get this draft data from the\nWhitehall database rather than the publishing-api.\n\nAdd tests to topic tagging to check world tagging is kept\n\nThis test checks that if an edition is already tagged to the world\ntaxonomy, that that tagging is not overwritten when topics are\ntagged.","distinct":true,"url":"https://api.github.com/repos/alphagov/whitehall/commits/9cd9b756e75d3c8dff9181cacd035284c9bd900d"},{"sha":"68e0b7a89c42be0e15d2fb826a1ee5b218f2d435","author":{"name":"Leena Gupte","email":"95ff60c7d7e33c5bbd817e4643a0ea35251cc1c8@digital.cabinet-office.gov.uk"},"message":"Show the World taxon selection box on the edition review page\n\n1. Get currently tagged world taxons in editions controller\n\nThis will be used to populate the select box on the edition\nreview page that displays which world taxons have been tagged.\n\n2. Create a view to show the selected world topics\n\nAlso update publication controller tests to check for presence of World\ntaxonomy selector.","distinct":true,"url":"https://api.github.com/repos/alphagov/whitehall/commits/68e0b7a89c42be0e15d2fb826a1ee5b218f2d435"}]}
{"actor":{"display_login":"leenagupte"}}