Update Tree CoTs#1420
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context