yournextrepresentative icon indicating copy to clipboard operation
yournextrepresentative copied to clipboard

Add ability to split incorrectly merged candidates

Open Jez-C opened this issue 7 years ago • 8 comments

Jim Fitzpatrick contains a candidacy for Hyde Godley - Tameside from 3 May 2018, but it's a different person with the same name that stood for this election. Compare: Jim Fitzpatrick, MP - https://twitter.com/FitzMP Jim Fitzpatrick, Cllr - https://twitter.com/jimFitzpatrick5

Jez-C avatar Sep 21 '18 08:09 Jez-C

I've found a few more like this, listed in this Google doc: https://docs.google.com/document/d/1_-a4-cCPsFjK_zlk1vnm3EpQ8b8SWVxapqD5DfwBZsg/edit?usp=sharing

sjorford avatar Oct 09 '18 18:10 sjorford

If it's worth designing a user interface to split candidates, then Goodreads have something that might be a good model:

image

sjorford avatar Oct 09 '18 18:10 sjorford

Thanks both. I'm having a think about how best to deal with this.

@sjorford that interface looks handy, and it's fairly obvious how to split elections, but what to do about other profile data? What if someone's added a Twitter profile for one person and I need to split them up? Do you think all info on the profile should get a radio button like that?

symroe avatar Nov 05 '18 13:11 symroe

I've thought about this a bit (and half-prototyped a splitting interface). I quite like the Goodreads example, so I went with something similar, including all the person properties that are actually set, other names, identifiers and memberships.

My first instinct is to make them checkboxes rather radio buttons, because a few fields (in particular the name field and gender) you might want to copy rather than move:

checkboxes

But there aren't many fields that we actually use which you might want to copy rather than split, so equally you could assume the name field is copied over and leave that row out of the interface (and assume that any other fields you could update manually after splitting):

radio-buttons

Obviously design isn't my strong point, but does something along those lines look possible?

mhl avatar Nov 13 '19 13:11 mhl

Radio buttons seem best and fwiw I'd name them 'keep on original' and 'move to new'.

Another column with 'Add to new' checkboxes (to be used as well as 'keep on original') might be useful for gender but I can't think of any other fields that'd benefit from this and it doesn't seem worthwhile for just that one field.

jf1 avatar Nov 13 '19 17:11 jf1

The radio buttons version is the kind of thing I was thinking of - @jf1 I agree that there isn't much value in treating the gender field differently.

Photos would also have to be splittable - would all of the photos attached to the page have its own radio button?

It's probably worth having a post-split screen, with links to both split pages, and a request to the user to double-check all the data and make any further changes that might be necessary.

sjorford avatar Nov 13 '19 22:11 sjorford

Thanks both of you - oops, I'd forgotten about photos, but yeah, I think a thumbnail (linking to the full size image) in the table would work OK. Also :+1: for the post-split page

mhl avatar Nov 14 '19 10:11 mhl

Refs https://github.com/DemocracyClub/yournextrepresentative/issues/1462

symroe avatar Sep 23 '21 14:09 symroe