Skip to content

Commit d74c8ff

Browse files
authored
Bump version to v1.14.0 (#269)
1 parent b054a79 commit d74c8ff

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Log of changes since the 1.1.0 version
44

5+
#### 1.14.0
6+
- Add link to Wikidata items
7+
- Switch to @osmcha/osm-adiff-parser
8+
59
#### 1.13.0
610
- Change OSM API /changeset/:id.json endpoint response parsing to handle new JSON schema (#265)
711

lib/featureDiff/DiffColumn.js

+6-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const DiffColumn = function({ diff, prop, type, propClass }) {
1010
);
1111
};
1212

13-
const DiffColumnContent = function ({ diff, prop, type }) {
13+
const DiffColumnContent = function({ diff, prop, type }) {
1414
let renderOutput;
1515
const value = diff[prop][type],
1616
propIsWikidata = typeof prop == 'string' && /wikidata$/.test(prop);
@@ -22,7 +22,7 @@ const DiffColumnContent = function ({ diff, prop, type }) {
2222
rel="noopener noreferrer"
2323
className="cmap-changeset-link"
2424
href={`${config.osmchaBase}changesets/${value}`}
25-
title={`Go to changeset ${value}`}
25+
title={`See changeset ${value}`}
2626
>
2727
{value}
2828
</a>
@@ -35,8 +35,7 @@ const DiffColumnContent = function ({ diff, prop, type }) {
3535
wikidataQIdArray.forEach((QId, index) => {
3636
const isValidWikidataQId = /^Q\d+$/.test(QId);
3737

38-
if (index !== 0)
39-
renderArray.push(<span>;</span>);
38+
if (index !== 0) renderArray.push(<span>;</span>);
4039

4140
if (isValidWikidataQId) {
4241
renderArray.push(
@@ -45,7 +44,7 @@ const DiffColumnContent = function ({ diff, prop, type }) {
4544
rel="noopener noreferrer"
4645
className="cmap-wikidata-link"
4746
href={`https://www.wikidata.org/wiki/${QId}`}
48-
title={`Go to Wikidata entity ${QId}`}
47+
title={`Access Wikidata entity ${QId}`}
4948
>
5049
{QId}
5150
</a>
@@ -54,10 +53,10 @@ const DiffColumnContent = function ({ diff, prop, type }) {
5453
renderArray.push(<span>{QId}</span>);
5554
}
5655
});
57-
renderOutput = (<span>{renderArray}</span>);
56+
renderOutput = <span>{renderArray}</span>;
5857
} else {
5958
// Standard tag, no processing needed
60-
renderOutput = (<span>{value}</span>);
59+
renderOutput = <span>{value}</span>;
6160
}
6261
return renderOutput;
6362
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "changeset-map",
3-
"version": "1.13.0",
3+
"version": "1.14.0",
44
"description": "Provide visualization of changesets to OSMCha & to the OSM community",
55
"main": "dist/bundle.js",
66
"scripts": {

0 commit comments

Comments
 (0)