@@ -10,6 +10,8 @@ import { Header } from './header';
10
10
import { User } from './user' ;
11
11
import { Features } from './features' ;
12
12
import { TagChanges } from './tag_changes' ;
13
+ import { OtherFeatures } from './other_features' ;
14
+ import { GeometryChanges } from './geometry_changes' ;
13
15
import { Box } from './box' ;
14
16
import { Discussions } from './discussions' ;
15
17
import { MapOptions } from './map_options' ;
@@ -23,6 +25,8 @@ import {
23
25
CHANGESET_DETAILS_DETAILS ,
24
26
CHANGESET_DETAILS_SUSPICIOUS ,
25
27
CHANGESET_DETAILS_TAGS ,
28
+ CHANGESET_DETAILS_GEOMETRY_CHANGES ,
29
+ CHANGESET_DETAILS_OTHER_FEATURES ,
26
30
CHANGESET_DETAILS_USER ,
27
31
CHANGESET_DETAILS_DISCUSSIONS ,
28
32
CHANGESET_DETAILS_MAP
@@ -120,6 +124,16 @@ export class _Changeset extends React.PureComponent<*, propsType, *> {
120
124
< TagChanges changesetId = { changesetId } />
121
125
</ Box >
122
126
) }
127
+ { bindingsState . get ( CHANGESET_DETAILS_GEOMETRY_CHANGES . label ) && (
128
+ < Box key = { 5 } className = " responsive-box round-tr round-br" >
129
+ < GeometryChanges changesetId = { changesetId } />
130
+ </ Box >
131
+ ) }
132
+ { bindingsState . get ( CHANGESET_DETAILS_OTHER_FEATURES . label ) && (
133
+ < Box key = { 5 } className = " responsive-box round-tr round-br" >
134
+ < OtherFeatures changesetId = { changesetId } />
135
+ </ Box >
136
+ ) }
123
137
{ bindingsState . get ( CHANGESET_DETAILS_DISCUSSIONS . label ) && (
124
138
< Box key = { 1 } className = " responsive-box round-tr round-br" >
125
139
< Discussions
@@ -183,10 +197,18 @@ export class _Changeset extends React.PureComponent<*, propsType, *> {
183
197
this . props . exclusiveKeyToggle &&
184
198
this . props . exclusiveKeyToggle ( CHANGESET_DETAILS_SUSPICIOUS . label ) ;
185
199
} ;
200
+ toggleOtherFeatures = ( ) => {
201
+ this . props . exclusiveKeyToggle &&
202
+ this . props . exclusiveKeyToggle ( CHANGESET_DETAILS_OTHER_FEATURES . label ) ;
203
+ } ;
186
204
toggleTags = ( ) => {
187
205
this . props . exclusiveKeyToggle &&
188
206
this . props . exclusiveKeyToggle ( CHANGESET_DETAILS_TAGS . label ) ;
189
207
} ;
208
+ toggleGeometryChanges = ( ) => {
209
+ this . props . exclusiveKeyToggle &&
210
+ this . props . exclusiveKeyToggle ( CHANGESET_DETAILS_GEOMETRY_CHANGES . label ) ;
211
+ } ;
190
212
toggleDiscussions = ( ) => {
191
213
this . props . exclusiveKeyToggle &&
192
214
this . props . exclusiveKeyToggle ( CHANGESET_DETAILS_DISCUSSIONS . label ) ;
@@ -212,7 +234,9 @@ export class _Changeset extends React.PureComponent<*, propsType, *> {
212
234
< ControlLayout
213
235
toggleDetails = { this . toggleDetails }
214
236
toggleFeatures = { this . toggleFeatures }
237
+ toggleOtherFeatures = { this . toggleOtherFeatures }
215
238
toggleTags = { this . toggleTags }
239
+ toggleGeometryChanges = { this . toggleGeometryChanges }
216
240
toggleDiscussions = { this . toggleDiscussions }
217
241
toggleUser = { this . toggleUser }
218
242
toggleMapOptions = { this . toggleMapOptions }
@@ -234,6 +258,8 @@ let Changeset = keyboardToggleEnhancer(
234
258
CHANGESET_DETAILS_DETAILS ,
235
259
CHANGESET_DETAILS_SUSPICIOUS ,
236
260
CHANGESET_DETAILS_TAGS ,
261
+ CHANGESET_DETAILS_GEOMETRY_CHANGES ,
262
+ CHANGESET_DETAILS_OTHER_FEATURES ,
237
263
CHANGESET_DETAILS_USER ,
238
264
CHANGESET_DETAILS_DISCUSSIONS ,
239
265
CHANGESET_DETAILS_MAP
0 commit comments