thadillo commited on
Commit
2aae812
·
1 Parent(s): 26d9af5

Add error handling and logging for category updates

Browse files
app/routes/admin.py CHANGED
@@ -222,21 +222,27 @@ def delete_token(token_id):
222
  @bp.route('/api/update-category/<int:submission_id>', methods=['POST'])
223
  @admin_required
224
  def update_category(submission_id):
225
- submission = Submission.query.get_or_404(submission_id)
226
- data = request.json
227
- category = data.get('category')
 
228
 
229
- # Convert empty string to None
230
- if category == '' or category == 'null':
231
- category = None
232
 
233
- # Validate category if not None
234
- if category and category not in CATEGORIES:
235
- return jsonify({'success': False, 'error': 'Invalid category'}), 400
236
 
237
- submission.category = category
238
- db.session.commit()
239
- return jsonify({'success': True, 'category': category})
 
 
 
 
 
240
 
241
  @bp.route('/api/toggle-flag/<int:submission_id>', methods=['POST'])
242
  @admin_required
 
222
  @bp.route('/api/update-category/<int:submission_id>', methods=['POST'])
223
  @admin_required
224
  def update_category(submission_id):
225
+ try:
226
+ submission = Submission.query.get_or_404(submission_id)
227
+ data = request.json
228
+ category = data.get('category')
229
 
230
+ # Convert empty string to None
231
+ if category == '' or category == 'null':
232
+ category = None
233
 
234
+ # Validate category if not None
235
+ if category and category not in CATEGORIES:
236
+ return jsonify({'success': False, 'error': f'Invalid category: {category}'}), 400
237
 
238
+ submission.category = category
239
+ db.session.commit()
240
+ return jsonify({'success': True, 'category': category})
241
+
242
+ except Exception as e:
243
+ db.session.rollback()
244
+ print(f"Error updating category: {str(e)}")
245
+ return jsonify({'success': False, 'error': str(e)}), 500
246
 
247
  @bp.route('/api/toggle-flag/<int:submission_id>', methods=['POST'])
248
  @admin_required
app/templates/admin/submissions.html CHANGED
@@ -137,12 +137,13 @@ function updateCategory(submissionId, category) {
137
  select.style.backgroundColor = originalBg;
138
  }, 500);
139
  } else {
140
- alert('Failed to update category');
141
  location.reload();
142
  }
143
  })
144
- .catch(() => {
145
- alert('Error updating category');
 
146
  location.reload();
147
  });
148
  }
 
137
  select.style.backgroundColor = originalBg;
138
  }, 500);
139
  } else {
140
+ alert('Failed to update category: ' + (data.error || 'Unknown error'));
141
  location.reload();
142
  }
143
  })
144
+ .catch(err => {
145
+ console.error('Category update error:', err);
146
+ alert('Error updating category: ' + err.message);
147
  location.reload();
148
  });
149
  }
mock_data_dfw.json ADDED
@@ -0,0 +1,418 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokens": [
3
+ {"token": "ADMIN123", "type": "admin", "name": "Administrator"},
4
+ {"token": "GOV-ABC123", "type": "government", "name": "City Planner A"},
5
+ {"token": "GOV-DEF456", "type": "government", "name": "Transportation Officer B"},
6
+ {"token": "COM-GHI789", "type": "community", "name": "Resident C"},
7
+ {"token": "COM-JKL012", "type": "community", "name": "Neighborhood Leader D"},
8
+ {"token": "IND-MNO345", "type": "industry", "name": "Business Owner E"},
9
+ {"token": "NGO-PQR678", "type": "ngo", "name": "Environmental Advocate F"},
10
+ {"token": "ACA-STU901", "type": "academic", "name": "Urban Studies Professor G"},
11
+ {"token": "OTH-VWX234", "type": "other", "name": "Concerned Citizen H"}
12
+ ],
13
+ "submissions": [
14
+ {
15
+ "message": "We need better bike lanes connecting downtown Dallas to the Katy Trail. Currently it's too dangerous to cycle on busy streets like McKinney Avenue.",
16
+ "contributorType": "community",
17
+ "location": {"lat": 32.7942, "lng": -96.8010},
18
+ "timestamp": "2025-01-15T10:30:00",
19
+ "category": null,
20
+ "flaggedAsOffensive": false
21
+ },
22
+ {
23
+ "message": "Fort Worth's Trinity River Vision project should prioritize flood control over aesthetic improvements. Recent flooding near the Stockyards area shows we need better drainage infrastructure.",
24
+ "contributorType": "government",
25
+ "location": {"lat": 32.7555, "lng": -97.3308},
26
+ "timestamp": "2025-01-15T10:45:00",
27
+ "category": null,
28
+ "flaggedAsOffensive": false
29
+ },
30
+ {
31
+ "message": "Public transportation between Dallas and Fort Worth needs significant improvement. The TRE train is unreliable and doesn't run frequently enough during peak hours.",
32
+ "contributorType": "community",
33
+ "location": {"lat": 32.7767, "lng": -96.7970},
34
+ "timestamp": "2025-01-15T11:00:00",
35
+ "category": null,
36
+ "flaggedAsOffensive": false
37
+ },
38
+ {
39
+ "message": "Dallas should establish more green spaces in South Dallas neighborhoods. Areas like Oak Cliff lack accessible parks compared to North Dallas.",
40
+ "contributorType": "ngo",
41
+ "location": {"lat": 32.7343, "lng": -96.8352},
42
+ "timestamp": "2025-01-15T11:15:00",
43
+ "category": null,
44
+ "flaggedAsOffensive": false
45
+ },
46
+ {
47
+ "message": "The DFW airport expansion should include better public transit connections. Currently, getting to the airport without a car is nearly impossible from many parts of the metroplex.",
48
+ "contributorType": "industry",
49
+ "location": {"lat": 32.8968, "lng": -97.0380},
50
+ "timestamp": "2025-01-15T11:30:00",
51
+ "category": null,
52
+ "flaggedAsOffensive": false
53
+ },
54
+ {
55
+ "message": "Affordable housing crisis in Plano and Frisco needs immediate attention. Young professionals and families are being priced out of these growing suburbs.",
56
+ "contributorType": "community",
57
+ "location": {"lat": 33.0198, "lng": -96.6989},
58
+ "timestamp": "2025-01-15T11:45:00",
59
+ "category": null,
60
+ "flaggedAsOffensive": false
61
+ },
62
+ {
63
+ "message": "Arlington needs dedicated bus rapid transit lanes. Being the largest US city without public transportation is no longer sustainable given our population growth.",
64
+ "contributorType": "academic",
65
+ "location": {"lat": 32.7357, "lng": -97.1081},
66
+ "timestamp": "2025-01-15T12:00:00",
67
+ "category": null,
68
+ "flaggedAsOffensive": false
69
+ },
70
+ {
71
+ "message": "The Dallas Arts District should expand cultural programming that's accessible to all income levels. Too many events are expensive and exclusive.",
72
+ "contributorType": "ngo",
73
+ "location": {"lat": 32.7886, "lng": -96.7989},
74
+ "timestamp": "2025-01-15T12:15:00",
75
+ "category": null,
76
+ "flaggedAsOffensive": false
77
+ },
78
+ {
79
+ "message": "Traffic congestion on I-35E through Dallas is unbearable during rush hour. We need alternatives like commuter rail or express lanes.",
80
+ "contributorType": "community",
81
+ "location": {"lat": 32.7767, "lng": -96.8089},
82
+ "timestamp": "2025-01-15T12:30:00",
83
+ "category": null,
84
+ "flaggedAsOffensive": false
85
+ },
86
+ {
87
+ "message": "Fort Worth's Southside neighborhood deserves investment in community centers and youth programs to reduce crime and increase opportunities.",
88
+ "contributorType": "community",
89
+ "location": {"lat": 32.7196, "lng": -97.3307},
90
+ "timestamp": "2025-01-15T12:45:00",
91
+ "category": null,
92
+ "flaggedAsOffensive": false
93
+ },
94
+ {
95
+ "message": "Irving needs better pedestrian infrastructure near the Las Colinas business district. Sidewalks are incomplete and crosswalks are dangerous.",
96
+ "contributorType": "industry",
97
+ "location": {"lat": 32.8140, "lng": -96.9489},
98
+ "timestamp": "2025-01-15T13:00:00",
99
+ "category": null,
100
+ "flaggedAsOffensive": false
101
+ },
102
+ {
103
+ "message": "The lack of shade trees along Dallas streets makes walking unbearable in summer. We need an urban forestry program focusing on heat island reduction.",
104
+ "contributorType": "ngo",
105
+ "location": {"lat": 32.7831, "lng": -96.8067},
106
+ "timestamp": "2025-01-15T13:15:00",
107
+ "category": null,
108
+ "flaggedAsOffensive": false
109
+ },
110
+ {
111
+ "message": "McKinney's historic downtown square is a model for other DFW cities. We should replicate this walkable, mixed-use development pattern in newer suburbs.",
112
+ "contributorType": "academic",
113
+ "location": {"lat": 33.1972, "lng": -96.6154},
114
+ "timestamp": "2025-01-15T13:30:00",
115
+ "category": null,
116
+ "flaggedAsOffensive": false
117
+ },
118
+ {
119
+ "message": "Garland needs more grocery stores in food desert areas. Many residents lack access to fresh produce and healthy food options.",
120
+ "contributorType": "community",
121
+ "location": {"lat": 32.9126, "lng": -96.6389},
122
+ "timestamp": "2025-01-15T13:45:00",
123
+ "category": null,
124
+ "flaggedAsOffensive": false
125
+ },
126
+ {
127
+ "message": "The Dallas DART system should extend to more suburban areas like Rockwall and Kaufman County. Current coverage is too limited.",
128
+ "contributorType": "government",
129
+ "location": {"lat": 32.9312, "lng": -96.4597},
130
+ "timestamp": "2025-01-15T14:00:00",
131
+ "category": null,
132
+ "flaggedAsOffensive": false
133
+ },
134
+ {
135
+ "message": "Fort Worth's Magnolia Avenue revitalization shows how historic corridors can thrive with local businesses. This model should guide future development citywide.",
136
+ "contributorType": "industry",
137
+ "location": {"lat": 32.7502, "lng": -97.3245},
138
+ "timestamp": "2025-01-15T14:15:00",
139
+ "category": null,
140
+ "flaggedAsOffensive": false
141
+ },
142
+ {
143
+ "message": "DFW needs regional coordination on climate action planning. Each city having separate sustainability goals creates inefficiency and missed opportunities.",
144
+ "contributorType": "academic",
145
+ "location": {"lat": 32.8998, "lng": -97.0403},
146
+ "timestamp": "2025-01-15T14:30:00",
147
+ "category": null,
148
+ "flaggedAsOffensive": false
149
+ },
150
+ {
151
+ "message": "The Dallas Farmers Market area should become a true food hub with year-round programming, cooking classes, and urban agriculture demonstration sites.",
152
+ "contributorType": "ngo",
153
+ "location": {"lat": 32.7822, "lng": -96.7856},
154
+ "timestamp": "2025-01-15T14:45:00",
155
+ "category": null,
156
+ "flaggedAsOffensive": false
157
+ },
158
+ {
159
+ "message": "Water conservation should be mandatory for new developments in drought-prone North Texas. Incentivize xeriscaping and rainwater harvesting systems.",
160
+ "contributorType": "government",
161
+ "location": {"lat": 32.9595, "lng": -96.8295},
162
+ "timestamp": "2025-01-15T15:00:00",
163
+ "category": null,
164
+ "flaggedAsOffensive": false
165
+ },
166
+ {
167
+ "message": "The Bishop Arts District demonstrates the value of preserving neighborhood character while allowing growth. Other Dallas areas should follow this balanced approach.",
168
+ "contributorType": "community",
169
+ "location": {"lat": 32.7494, "lng": -96.8206},
170
+ "timestamp": "2025-01-15T15:15:00",
171
+ "category": null,
172
+ "flaggedAsOffensive": false
173
+ },
174
+ {
175
+ "message": "Denton needs more mixed-income housing near the university. Students and working families are competing for limited affordable units.",
176
+ "contributorType": "academic",
177
+ "location": {"lat": 33.2148, "lng": -97.1331},
178
+ "timestamp": "2025-01-15T15:30:00",
179
+ "category": null,
180
+ "flaggedAsOffensive": false
181
+ },
182
+ {
183
+ "message": "Air quality monitoring stations should be installed in industrial areas of southern Dallas to track pollution levels and protect public health.",
184
+ "contributorType": "ngo",
185
+ "location": {"lat": 32.7065, "lng": -96.8323},
186
+ "timestamp": "2025-01-15T15:45:00",
187
+ "category": null,
188
+ "flaggedAsOffensive": false
189
+ },
190
+ {
191
+ "message": "The Mesquite rodeo and entertainment district could anchor broader economic development if connected to DART rail with better pedestrian access.",
192
+ "contributorType": "industry",
193
+ "location": {"lat": 32.7668, "lng": -96.5991},
194
+ "timestamp": "2025-01-15T16:00:00",
195
+ "category": null,
196
+ "flaggedAsOffensive": false
197
+ },
198
+ {
199
+ "message": "Dallas needs stronger historic preservation policies. Too many architecturally significant buildings are being demolished for generic mid-rise apartments.",
200
+ "contributorType": "community",
201
+ "location": {"lat": 32.7831, "lng": -96.7958},
202
+ "timestamp": "2025-01-15T16:15:00",
203
+ "category": null,
204
+ "flaggedAsOffensive": false
205
+ },
206
+ {
207
+ "message": "Grand Prairie's entertainment venues should be connected by pedestrian-friendly corridors rather than forcing visitors to drive between attractions.",
208
+ "contributorType": "other",
209
+ "location": {"lat": 32.7459, "lng": -96.9978},
210
+ "timestamp": "2025-01-15T16:30:00",
211
+ "category": null,
212
+ "flaggedAsOffensive": false
213
+ },
214
+ {
215
+ "message": "Community solar programs should be established across DFW to allow renters and low-income residents to benefit from renewable energy.",
216
+ "contributorType": "ngo",
217
+ "location": {"lat": 32.8207, "lng": -96.8720},
218
+ "timestamp": "2025-01-15T16:45:00",
219
+ "category": null,
220
+ "flaggedAsOffensive": false
221
+ },
222
+ {
223
+ "message": "The Dallas Central Library should expand services as a community hub with maker spaces, job training, and social services coordination.",
224
+ "contributorType": "community",
225
+ "location": {"lat": 32.7827, "lng": -96.7981},
226
+ "timestamp": "2025-01-15T17:00:00",
227
+ "category": null,
228
+ "flaggedAsOffensive": false
229
+ },
230
+ {
231
+ "message": "Fort Worth ISD facilities should be available for community use after hours. Schools are valuable public assets that sit empty too often.",
232
+ "contributorType": "community",
233
+ "location": {"lat": 32.7513, "lng": -97.3438},
234
+ "timestamp": "2025-01-15T17:15:00",
235
+ "category": null,
236
+ "flaggedAsOffensive": false
237
+ },
238
+ {
239
+ "message": "The Dallas streetcar should be expanded beyond its current limited route to serve more neighborhoods and connect to DART stations.",
240
+ "contributorType": "government",
241
+ "location": {"lat": 32.7763, "lng": -96.7969},
242
+ "timestamp": "2025-01-15T17:30:00",
243
+ "category": null,
244
+ "flaggedAsOffensive": false
245
+ },
246
+ {
247
+ "message": "Richardson's tech corridor needs better affordable housing options for workers. High housing costs are pushing employees to long commutes.",
248
+ "contributorType": "industry",
249
+ "location": {"lat": 32.9483, "lng": -96.7299},
250
+ "timestamp": "2025-01-15T17:45:00",
251
+ "category": null,
252
+ "flaggedAsOffensive": false
253
+ },
254
+ {
255
+ "message": "DFW should create a regional trail network connecting existing greenways. The Trinity River trail system is a good start but needs expansion.",
256
+ "contributorType": "ngo",
257
+ "location": {"lat": 32.7555, "lng": -97.3308},
258
+ "timestamp": "2025-01-15T18:00:00",
259
+ "category": null,
260
+ "flaggedAsOffensive": false
261
+ },
262
+ {
263
+ "message": "Small business support programs in Dallas need better coordination. Many entrepreneurs don't know what resources are available through the city.",
264
+ "contributorType": "industry",
265
+ "location": {"lat": 32.7767, "lng": -96.7970},
266
+ "timestamp": "2025-01-15T18:15:00",
267
+ "category": null,
268
+ "flaggedAsOffensive": false
269
+ },
270
+ {
271
+ "message": "The Cedars neighborhood in Dallas has potential but needs infrastructure investment - better lighting, sidewalks, and public spaces to support growth.",
272
+ "contributorType": "community",
273
+ "location": {"lat": 32.7687, "lng": -96.8016},
274
+ "timestamp": "2025-01-15T18:30:00",
275
+ "category": null,
276
+ "flaggedAsOffensive": false
277
+ },
278
+ {
279
+ "message": "Lewisville Lake environmental management should balance recreation with ecosystem protection. Current usage is degrading water quality.",
280
+ "contributorType": "ngo",
281
+ "location": {"lat": 33.0640, "lng": -96.9895},
282
+ "timestamp": "2025-01-15T18:45:00",
283
+ "category": null,
284
+ "flaggedAsOffensive": false
285
+ },
286
+ {
287
+ "message": "Dallas Love Field noise pollution affects surrounding neighborhoods. Need better sound mitigation and flight path management.",
288
+ "contributorType": "community",
289
+ "location": {"lat": 32.8469, "lng": -96.8517},
290
+ "timestamp": "2025-01-15T19:00:00",
291
+ "category": null,
292
+ "flaggedAsOffensive": false
293
+ },
294
+ {
295
+ "message": "The Fort Worth Cultural District should have better transit connections. Relying solely on cars limits accessibility for many residents.",
296
+ "contributorType": "academic",
297
+ "location": {"lat": 32.7480, "lng": -97.3707},
298
+ "timestamp": "2025-01-15T19:15:00",
299
+ "category": null,
300
+ "flaggedAsOffensive": false
301
+ },
302
+ {
303
+ "message": "Dallas needs inclusive playground equipment in more parks. Children with disabilities deserve equal access to outdoor recreation.",
304
+ "contributorType": "community",
305
+ "location": {"lat": 32.8133, "lng": -96.7787},
306
+ "timestamp": "2025-01-15T19:30:00",
307
+ "category": null,
308
+ "flaggedAsOffensive": false
309
+ },
310
+ {
311
+ "message": "The I-30 corridor redevelopment should prioritize affordable housing alongside market-rate units to prevent displacement of current residents.",
312
+ "contributorType": "ngo",
313
+ "location": {"lat": 32.7796, "lng": -96.7699},
314
+ "timestamp": "2025-01-15T19:45:00",
315
+ "category": null,
316
+ "flaggedAsOffensive": false
317
+ },
318
+ {
319
+ "message": "Carrollton needs a comprehensive pedestrian master plan. Many areas are completely unwalkable despite having destinations within short distances.",
320
+ "contributorType": "government",
321
+ "location": {"lat": 32.9537, "lng": -96.8903},
322
+ "timestamp": "2025-01-15T20:00:00",
323
+ "category": null,
324
+ "flaggedAsOffensive": false
325
+ },
326
+ {
327
+ "message": "The Dallas Zoo should expand its conservation and education programs, becoming a regional leader in wildlife preservation and environmental awareness.",
328
+ "contributorType": "ngo",
329
+ "location": {"lat": 32.7409, "lng": -96.8153},
330
+ "timestamp": "2025-01-15T20:15:00",
331
+ "category": null,
332
+ "flaggedAsOffensive": false
333
+ },
334
+ {
335
+ "message": "Urban agriculture should be encouraged through zoning changes allowing community gardens and small-scale farming in residential areas.",
336
+ "contributorType": "community",
337
+ "location": {"lat": 32.7555, "lng": -96.8067},
338
+ "timestamp": "2025-01-15T20:30:00",
339
+ "category": null,
340
+ "flaggedAsOffensive": false
341
+ },
342
+ {
343
+ "message": "The legacy of redlining continues to affect DFW neighborhoods. Targeted investment in historically marginalized communities is essential for equity.",
344
+ "contributorType": "academic",
345
+ "location": {"lat": 32.7357, "lng": -96.8352},
346
+ "timestamp": "2025-01-15T20:45:00",
347
+ "category": null,
348
+ "flaggedAsOffensive": false
349
+ },
350
+ {
351
+ "message": "White Rock Lake needs better facilities - more bathrooms, water fountains, and rest areas for the thousands who use it daily.",
352
+ "contributorType": "community",
353
+ "location": {"lat": 32.8479, "lng": -96.7219},
354
+ "timestamp": "2025-01-15T21:00:00",
355
+ "category": null,
356
+ "flaggedAsOffensive": false
357
+ },
358
+ {
359
+ "message": "Fort Worth's Near Southside shows how adaptive reuse of old buildings can create vibrant neighborhoods without displacement. Scale this approach citywide.",
360
+ "contributorType": "industry",
361
+ "location": {"lat": 32.7379, "lng": -97.3277},
362
+ "timestamp": "2025-01-15T21:15:00",
363
+ "category": null,
364
+ "flaggedAsOffensive": false
365
+ },
366
+ {
367
+ "message": "Dallas needs stricter regulations on short-term rentals. They're reducing available housing stock and changing neighborhood character.",
368
+ "contributorType": "community",
369
+ "location": {"lat": 32.7920, "lng": -96.7656},
370
+ "timestamp": "2025-01-15T21:30:00",
371
+ "category": null,
372
+ "flaggedAsOffensive": false
373
+ },
374
+ {
375
+ "message": "The DFW region should establish a climate resilience fund to help vulnerable communities adapt to extreme heat and flooding risks.",
376
+ "contributorType": "ngo",
377
+ "location": {"lat": 32.8207, "lng": -96.8489},
378
+ "timestamp": "2025-01-15T21:45:00",
379
+ "category": null,
380
+ "flaggedAsOffensive": false
381
+ },
382
+ {
383
+ "message": "Coppell's town center design creates a sense of community. Other suburbs should adopt similar mixed-use development patterns.",
384
+ "contributorType": "government",
385
+ "location": {"lat": 32.9546, "lng": -97.0150},
386
+ "timestamp": "2025-01-15T22:00:00",
387
+ "category": null,
388
+ "flaggedAsOffensive": false
389
+ },
390
+ {
391
+ "message": "Mental health services need to be integrated into Dallas public libraries and community centers for better accessibility.",
392
+ "contributorType": "ngo",
393
+ "location": {"lat": 32.7767, "lng": -96.7970},
394
+ "timestamp": "2025-01-15T22:15:00",
395
+ "category": null,
396
+ "flaggedAsOffensive": false
397
+ },
398
+ {
399
+ "message": "The Cotton Bowl area development should honor Fair Park's historic character while creating year-round programming and economic opportunities.",
400
+ "contributorType": "community",
401
+ "location": {"lat": 32.7791, "lng": -96.7627},
402
+ "timestamp": "2025-01-15T22:30:00",
403
+ "category": null,
404
+ "flaggedAsOffensive": false
405
+ },
406
+ {
407
+ "message": "DFW needs a comprehensive vision for equitable development that prioritizes people over profit and long-term sustainability over short-term gains.",
408
+ "contributorType": "academic",
409
+ "location": {"lat": 32.8207, "lng": -96.8489},
410
+ "timestamp": "2025-01-15T22:45:00",
411
+ "category": null,
412
+ "flaggedAsOffensive": false
413
+ }
414
+ ],
415
+ "submissionOpen": true,
416
+ "tokenGenerationEnabled": true,
417
+ "exportDate": "2025-01-15T23:00:00"
418
+ }