Userscripts for wombles (womblescripts?) for use on https://candidates.democracyclub.org.uk/
To install:
- Install Tampermonkey or another user script manager
- Open the script on github.com
- Click "Raw"
- The script will install
Scripts will be updated automatically by Tampermonkey when there is a new version
Compact candidate pages:
- Line up labels and fields in tabular format
- Remove banners
Improvements to the candidate edit form:
- Line up labels and fields in tabular format
- Clean up and sort dropdown list of elections
- Display a warning if a candidate has no current elections
Addition to the candidate edit form:
- Display a box in the sidebar showing other candidates already entered for this post (to avoid double-entry)
Automatically clean data pasted into any input field:
- Convert names from any format into Firstname Lastname
- Trim extra whitespace
Compact the list of election buttons when adding a new candidate:
- Shorten text in buttons and show list in columns
- Sort by date and separate out mayoral elections
- Highlight the most recently selected election
- Add a search box to filter the list of elections
Speed up bulk add page:
- Line up labels and fields in tabular format
- Show one row at a time
- Option to include only active parties in the dropdown list (those with at least one candidate in a current election)
- Hide instructions
Improvements to bulk adding review page:
- Display list of previous candidacies for each name suggestion
- Add search links to candidate names
- Highlight radio button selection
Compact previous versions on candidate pages:
- Show fields in a table
- Highlight added and deleted data
- Highlight diffs in candidate statements (NOTE: this occasionally shows an incorrect diff when a completely new statement is pasted in, so don't rely on it)
Display previous versions as a tree, showing which IDs have been merged together and when
Suggestions on how to improve this by showing more useful data in the tree are welcome...