diff --git a/CHANGELOG.md b/CHANGELOG.md
index 441c48884..03f1f958d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,16 @@ The format is based on
This project adheres to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
+## [v3.2.2] - 2019-02-28
+### Added
+- Offer "Not an Issue" on step 2 of task completion
+- Zoom JOSM to task map bounding box after loading just features
+
+### Fixed
+- Ensure OSM Data Layer is deactivated after completing a task
+- Honor task priorities when loading the next random task
+
+
## [v3.2.1] - 2019-02-25
### Added
- Create & Manage widget for managing project managers (#534)
diff --git a/package.json b/package.json
index 764ed3c2e..74e822973 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "maproulette3",
- "version": "3.2.1",
+ "version": "3.2.2",
"private": true,
"dependencies": {
"@mapbox/geojsonhint": "^2.0.1",
diff --git a/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep2/TaskCompletionStep2.js b/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep2/TaskCompletionStep2.js
index 6569f1379..89a337a6a 100644
--- a/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep2/TaskCompletionStep2.js
+++ b/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep2/TaskCompletionStep2.js
@@ -5,7 +5,9 @@ import TaskFixedControl from '../TaskFixedControl/TaskFixedControl'
import TaskTooHardControl from '../TaskTooHardControl/TaskTooHardControl'
import TaskAlreadyFixedControl from '../TaskAlreadyFixedControl/TaskAlreadyFixedControl'
import TaskSkipControl from '../TaskSkipControl/TaskSkipControl'
+import TaskFalsePositiveControl from '../TaskFalsePositiveControl/TaskFalsePositiveControl'
import TaskCancelEditingControl from '../TaskCancelEditingControl/TaskCancelEditingControl'
+import Dropdown from '../../../../Dropdown/Dropdown'
import './TaskCompletionStep2.scss'
/**
@@ -17,6 +19,10 @@ import './TaskCompletionStep2.scss'
* @author [Neil Rotstan](https://github.com/nrotstan)
*/
export default class TaskCompletionStep2 extends Component {
+ state = {
+ moreOptionsOpen: false,
+ }
+
render() {
return (
@@ -33,8 +39,17 @@ export default class TaskCompletionStep2 extends Component {
}
- {this.props.allowedProgressions.has(TaskStatus.skipped) &&
-
+ {(this.props.allowedProgressions.has(TaskStatus.skipped) ||
+ this.props.allowedProgressions.has(TaskStatus.falsePositive)) &&
+
+
+ }
+ dropdownContent={dropdown =>
+
+ }
+ />
}
@@ -44,6 +59,34 @@ export default class TaskCompletionStep2 extends Component {
}
}
+const MoreOptionsButton = function(props) {
+ return (
+
+ )
+}
+
+const ListMoreOptionsItems = function(props) {
+ return (
+
+ {props.allowedProgressions.has(TaskStatus.skipped) &&
+ -
+
+
+ }
+ {props.allowedProgressions.has(TaskStatus.falsePositive) &&
+ -
+
+
+ }
+
+ )
+}
+
TaskCompletionStep2.propTypes = {
/** The task being completed */
task: PropTypes.object.isRequired,
diff --git a/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskFalsePositiveControl/TaskFalsePositiveControl.js b/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskFalsePositiveControl/TaskFalsePositiveControl.js
index bc041cd22..32031d7c0 100644
--- a/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskFalsePositiveControl/TaskFalsePositiveControl.js
+++ b/src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskFalsePositiveControl/TaskFalsePositiveControl.js
@@ -32,6 +32,15 @@ export default class TaskFalsePositiveControl extends Component {
}
render() {
+ if (this.props.asLink) {
+ return (
+ // eslint-disable-next-line jsx-a11y/anchor-is-valid
+ this.props.complete(TaskStatus.falsePositive)}>
+
+
+ )
+ }
+
return (