Skip to content

Update Tree CoTs#1420

Merged
Nick (ingalls) merged 12 commits into
mainfrom
tree-cots
Apr 25, 2026
Merged

Update Tree CoTs#1420
Nick (ingalls) merged 12 commits into
mainfrom
tree-cots

Conversation

@ingalls
Copy link
Copy Markdown
Member

@ingalls Nick (ingalls) commented Apr 24, 2026

Context

  • 🚀 Fix bugs in spritesheet loading
  • 🚀 Allow editing keywords in a Mission
  • 🐛 Fix bug related to importing XML documents
  • 🎉 Allow changing channels on a mission sync

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

❌ Patch coverage is 86.95652% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
api/routes/marti-mission.ts 40.00% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

@ingalls Nick (ingalls) requested a review from Copilot April 24, 2026 21:49
@ingalls Nick (ingalls) self-assigned this Apr 24, 2026
@ingalls Nick (ingalls) added data-sync Data synchronization and ETL operations api-backend Issues affecting API routes, server logic, database operations api-routes REST API endpoints labels Apr 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates CloudTAK’s overlay labeling and mission UX while improving several API import/upload paths and associated schema/test coverage.

Changes:

  • Rename the internal “CoT Icons” overlay to “Map Features” and update lasso selection defaults accordingly.
  • Add mission metadata editing (keywords + groups/channels) in the web UI and extend mission PATCH behavior to support those fields.
  • Improve basemap import handling (including jpg→jpeg normalization and multipart/xml import), expand OpenAPI/schema body declarations for multipart endpoints, and add/adjust server tests.

Reviewed changes

Copilot reviewed 26 out of 28 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
api/web/src/stores/modules/draw.ts Updates lasso overlay default/selection to use “Map Features”.
api/web/src/stores/map.ts Renames the internal overlay from “CoT Icons” to “Map Features”.
api/web/src/components/CloudTAK/util/SingleContainer.vue Removes a UI utility component (replaced by TablerBorder patterns elsewhere).
api/web/src/components/CloudTAK/util/DrawOverlay.vue Updates the lasso layer selection default label to “Map Features”.
api/web/src/components/CloudTAK/util/CopyField.vue Adjusts styling bindings for non-pre display mode.
api/web/src/components/CloudTAK/Menu/Overlays/TreeCots.vue Fixes layout by adding d-flex to the header container.
api/web/src/components/CloudTAK/Menu/Mission/MissionInfo.vue Adds editable mission keywords and groups UI; refactors layout to TablerBorder and adds “Child Missions” section shell.
api/web/src/components/CloudTAK/Menu/MenuPackage.vue Refactors editable sections from SingleContainer to TablerBorder + inline editing UI.
api/web/src/components/CloudTAK/Menu/MenuMissions.vue Adds mission list filtering by channels and keywords via a dropdown UI.
api/web/src/components/CloudTAK/Menu/MenuImport.vue Refactors card layout to TablerBorder.
api/web/src/components/CloudTAK/Menu/MenuIcon.vue Refactors card layout to TablerBorder.
api/web/src/base/subscription.ts Extends mission PATCH support to include keywords and groups.
api/web/src/base/database.ts Moves sprite store into v1 and removes v2 schema declaration (problematic for Dexie upgrades).
api/web/package.json Bumps @tak-ps/vue-tabler dependency version.
api/web/package-lock.json Updates lockfile for web dependency upgrades.
api/test/marti-mission.srv.test.ts Adds test ensuring mission group updates return refreshed groups.
api/test/fixtures/get_schema.json Updates schema fixture to mark several endpoints as having request bodies.
api/test/basemap-put.srv.test.ts Adds basemap import tests for text/plain, JSON, and multipart TAK XML.
api/routes/server-tileset.ts Declares multipart/form-data body in schema metadata for tileset upload.
api/routes/marti-package.ts Declares multipart/form-data body in schema metadata for package creation.
api/routes/marti-mission.ts Adds groups support to mission PATCH and returns refreshed mission data.
api/routes/import.ts Declares multipart/form-data body in schema metadata for import endpoints.
api/routes/connection-data-asset.ts Declares multipart/form-data body in schema metadata for data asset creation.
api/routes/connection-asset.ts Declares multipart/form-data body in schema metadata for asset creation.
api/routes/basemap.ts Adds import body content-type mapping, normalizes jpg→jpeg, and tweaks text/plain handling.
api/routes/attachments.ts Moves user auth resolution to after content-type validation for uploads.
api/package-lock.json Updates lockfile for API dependency upgrades.
api/lib/types.ts Extends OptionalTileJSON with serverParts.
Files not reviewed (2)
  • api/package-lock.json: Language not supported
  • api/web/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread api/web/src/base/database.ts
@ingalls Nick (ingalls) merged commit 5d5c0a7 into main Apr 25, 2026
15 checks passed
@ingalls Nick (ingalls) deleted the tree-cots branch April 25, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-backend Issues affecting API routes, server logic, database operations api-routes REST API endpoints data-sync Data synchronization and ETL operations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants