Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1e89d32
Feature stage sync (#67)
susrisha Jun 29, 2026
a93e379
Add workspace projects UI, components & mocks
shweta2101 Jun 10, 2026
a89ae71
Extract project display logic to composable
shweta2101 Jun 10, 2026
ba21447
Switch px to rem, add line-clamp, simplify options
shweta2101 Jun 10, 2026
1c2c2dd
Replace status/project glyphs with SVG icons
shweta2101 Jun 11, 2026
17f59b0
Add project wizard UI and map preview
shweta2101 Jun 11, 2026
8e63cca
Improve project wizard, services, and UI behaviors
shweta2101 Jun 11, 2026
d7e1712
Add AOI draw/upload UI and map component
shweta2101 Jun 12, 2026
5bd7b7f
Add draft AOI polygon support and Aoi composable
shweta2101 Jun 15, 2026
0b057c3
Add task generation UI & preview grid
shweta2101 Jun 15, 2026
0d852af
Add project settings UI, user assign & rich editor
shweta2101 Jun 15, 2026
2c9a555
Project wizard: add review & status dialog
shweta2101 Jun 16, 2026
7e7b0c6
Persist created project and add task generation
shweta2101 Jun 17, 2026
76f5980
Use tasking API and normalize project/task payloads
shweta2101 Jun 18, 2026
1e1ec12
Add project-created notice; clear persisted draft
shweta2101 Jun 18, 2026
002274d
Added comments, tasks page, change in generate& save tasks flow and o…
shweta2101 Jun 22, 2026
95a8bcf
Integrated lock task and other UI improvements
shweta2101 Jun 23, 2026
2ff99e1
Refine task setup and task list UX for large task sets
shweta2101 Jun 23, 2026
a8de634
Update README.md
susrisha Jun 14, 2026
5b5b31c
Simple integration
susrisha Jun 22, 2026
a67bd5a
work in progress with more changes
susrisha Jun 22, 2026
ef60a66
Update rapid.vue
susrisha Jun 23, 2026
0f978d0
Add task editor route and task submission flow on new tasking API
shweta2101 Jun 24, 2026
b93cd01
fixed editor path
shweta2101 Jun 24, 2026
1d75788
fixed tasks status issues, added project roles addition, updation and…
shweta2101 Jun 25, 2026
6ba796d
enforce role-based project access and persist Rapid changesets
shweta2101 Jun 26, 2026
7477b5a
Fixed demo comments
shweta2101 Jun 26, 2026
53e30ea
Fixed task selection highlighting issue & other minor fixes
shweta2101 Jun 26, 2026
2908869
Develop To Staging (#66)
shweta2101 Jun 29, 2026
197cd19
Update workspaces.ts
susrisha Jun 29, 2026
ee62b4a
Update workspaces.ts (#69)
susrisha Jun 29, 2026
aa25032
Sync with Dev (#70)
susrisha Jun 29, 2026
f7d355e
Merge of develop to staging
jeffmaki Jul 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"Bash(npm ls *)",
"Bash(node -e \"const e=require\\('./node_modules/vue-router/package.json'\\).exports; console.log\\(JSON.stringify\\(Object.keys\\(e\\)\\)\\)\")",
"Bash(node -e \"console.log\\(require\\('./node_modules/vue-router/package.json'\\).version\\)\")",
"Bash(node -e \"console.log\\(require\\('./node_modules/@sentry/nuxt/package.json'\\).version\\)\")"
"Bash(node -e \"console.log\\(require\\('./node_modules/@sentry/nuxt/package.json'\\).version\\)\")",
"Bash(npx vue-tsc *)",
"Bash(git add *)"
]
}
}
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introdu

### Note: The new workflow enabled creates the tags once the PR is merged to develop, stage or production

# TODOs
* Remove "any" typing, currently ignored by linter/tsc

## Dev Setup

```zsh
Expand Down
17 changes: 8 additions & 9 deletions services/rapid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class RapidManager {
this.#stateCallback(state);
}
}

onUploadResult(callback: (result: any) => void) {
this.#uploadCallback = callback;
}
Expand All @@ -49,7 +50,6 @@ export class RapidManager {
}
}


load() {
if (this.loaded.value) {
return
Expand Down Expand Up @@ -97,9 +97,7 @@ export class RapidManager {
this.rapidContext.containerNode = this.containerNode;
this.rapidContext.assetPath = this.#baseUrl;


console.log('Rapid loaded', this.rapidContext);

}

#patchRapid() {
Expand All @@ -110,22 +108,23 @@ export class RapidManager {
rapidOsmClient.authenticated = () => this.#tdeiAuth.ok;

// Don't bother to fetch user details when uploading changesets:
rapidOsmService.userDetails = (callback) => { callback('dummy error') };
// const editor = this.rapidContext.editor;
// console.info('Rapid editor', editor);
rapidOsmService.userDetails = (callback: (error: string) => void) => {
callback('dummy error')
};

console.log('Rapid editor ', this.rapidContext);
const editSystem = this.rapidContext.systems.editor;
editSystem.on('stablechange', (state) => {
editSystem.on('stablechange', (state: any) => {
// this.#notifyStateChange(state);
const changes = editSystem.changes();
console.log('Rapid editor changes', changes);
const changesLength = changes.modified.length || changes.created.length || changes.deleted.length;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

changesLength uses || instead of +, underreporting pending edits.

When multiple change categories are non-empty (e.g., 2 modified + 3 created), || returns only the first non-zero count (2), not the total (5). The downstream consumer normalizePendingEditCount treats this as the pending edit count shown to users, so the count will be wrong whenever edits span more than one category.

🐛 Proposed fix
-      const changesLength = changes.modified.length || changes.created.length || changes.deleted.length;
+      const changesLength = changes.modified.length + changes.created.length + changes.deleted.length;
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
const changesLength = changes.modified.length || changes.created.length || changes.deleted.length;
const changesLength = changes.modified.length + changes.created.length + changes.deleted.length;
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@services/rapid.ts` at line 121, The `changesLength` calculation in
`services/rapid.ts` is using `||`, so it only returns the first non-zero bucket
instead of the total pending edits. Update the `changesLength` assignment in the
`rapid` flow to sum `changes.modified`, `changes.created`, and `changes.deleted`
so `normalizePendingEditCount` receives the full count. Keep the fix localized
to the `changesLength` variable used right before the pending edit
normalization.


this.#notifyStateChange(changesLength);

});

const uploader = this.rapidContext.systems.uploader;
uploader.on('resultSuccess', (result) => {
uploader.on('resultSuccess', (result: any) => {
console.log('Rapid uploader resultSuccess', result);
this.#notifyUploadResult(result);
});
Expand Down