Skip to content

Commit b73919e

Browse files
committed
Added comments, tasks page, change in generate& save tasks flow and other miscellaneous changes
remove task generation from the project setup wizard and delete the old wizard-only task generation components/composables add a dedicated project details page for /projects/[projectId] with overview, instructions, tasks, and contributions tabs add zero-task task setup flow in the Tasks tab with separate generate and save steps persist generated grids through the task save API and refresh project state from real backend data add real map-based AOI and task grid rendering with selectable tasks, status colors, lock markers, and legend add task list selection/filtering UI and task setup panel styling updates replace mock project detail usage with real API-backed project data on the details page extend project and task typings plus project service methods to support AOI, task list, and task status normalization clean up service typing by removing any from the projects client override update env/package/config files required for the new tasking flow
1 parent f585f68 commit b73919e

22 files changed

Lines changed: 3985 additions & 602 deletions

components/project-wizard/AoiGeometryMap.vue

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ function ensureLayers() {
297297
source: AOI_SOURCE_ID,
298298
filter: ['==', ['geometry-type'], 'Polygon'],
299299
paint: {
300-
'line-color': '#d9a43d',
301-
'line-width': 2.5,
302-
'line-dasharray': [2, 2],
300+
'line-color': '#cf9830',
301+
'line-width': 3.5,
302+
'line-dasharray': [2, 1.6],
303303
},
304304
};
305305
@@ -320,9 +320,9 @@ function ensureLayers() {
320320
source: DRAFT_SOURCE_ID,
321321
filter: ['==', ['geometry-type'], 'Polygon'],
322322
paint: {
323-
'line-color': '#d9a43d',
324-
'line-width': 2.5,
325-
'line-dasharray': [2, 2],
323+
'line-color': '#cf9830',
324+
'line-width': 3.5,
325+
'line-dasharray': [2, 1.6],
326326
},
327327
};
328328
@@ -357,9 +357,24 @@ function ensureLayers() {
357357
source: TASK_GRID_SOURCE_ID,
358358
filter: ['==', ['geometry-type'], 'Polygon'],
359359
paint: {
360-
'fill-color': '#000000',
361-
'fill-opacity': 0.17,
362-
'fill-outline-color': '#dedede',
360+
'fill-color': [
361+
'match',
362+
['coalesce', ['get', 'featureKind'], 'saved-grid'],
363+
'grid-fill', '#4f8fbe',
364+
'#25598d',
365+
],
366+
'fill-opacity': [
367+
'match',
368+
['coalesce', ['get', 'featureKind'], 'saved-grid'],
369+
'grid-fill', 0.18,
370+
0.24,
371+
],
372+
'fill-outline-color': [
373+
'match',
374+
['coalesce', ['get', 'featureKind'], 'saved-grid'],
375+
'grid-fill', '#1c6ea4',
376+
'#153f6e',
377+
],
363378
},
364379
};
365380
@@ -369,8 +384,9 @@ function ensureLayers() {
369384
source: TASK_GRID_SOURCE_ID,
370385
filter: ['==', ['geometry-type'], 'LineString'],
371386
paint: {
372-
'line-color': '#dedede',
373-
'line-width': 1.35,
387+
'line-color': '#145488',
388+
'line-width': 2.1,
389+
'line-opacity': 0.92,
374390
},
375391
};
376392

components/project-wizard/steps/TasksGenerationStep.vue

Lines changed: 0 additions & 320 deletions
This file was deleted.

0 commit comments

Comments
 (0)