Skip to content

Flags tile

The Flags tile is the list-view sibling of the map-tile flag markers. Where the map shows flags in geographic context, this tile shows them as a chronological table with media and SAM segmentation tools. It’s the place for reviewing every flag operators have dropped during a mission.

Each row

Visible columns:

  • Type icon + colour — one of 13 flag types (see flags on the map for the full list).
  • Flag name.
  • Dropper — asset chip + display name + callsign.
  • Timestamp.
  • State badge — Active / Removed / Picked up.
  • Actions — media button (if attachments exist), map-focus, expand chevron.

Paginated — 25 / 50 / 100 rows.

Expanding a flag

Click to slide out details:

  • Coordinates — lat / lng with a copy-to-clipboard button.
  • Creation + last-updated timestamps.
  • Dropper info — profile card.
  • Message — the operator-entered description.
  • Media thumbnail — photo or video preview with an “enlarge” button.

The media lightbox

Clicking a photo attachment opens a full-tile lightbox with:

  • Pan — click + drag.
  • Zoom — scroll wheel.
  • Rotate — 90° step button.
  • SAM segmentation panel — see below.
  • Download — saves the file locally.
  • Close — returns to the list view.

SAM segmentation on photo attachments

While viewing a photo in the lightbox, the SAM panel lets you run Segment-Anything on the flag’s photo:

  • Encode — loads the image into the SAM model (Web Worker).
  • Segment all — tiles the image and generates masks for every region.
  • Click-to-classify — click any mask to see its class label from DETR.

This is the same SAM pipeline as the live-stream overlay but applied to a static flag photo. Useful for post-operation analysis: operator drops a flag with a photo, analyst later opens it and segments the image to find details.

Permissions

The flags tile is read-only in the operation view — flags are created via the map tile, voice commands, or AI auto-flags. The tile doesn’t have add / edit / delete buttons.

Click-jumps

  • Map-focus — pans the map to the flag’s coordinates.
  • Expand row — toggles the detail panel.

Persistence

Firestore: missions/{missionId}/flags/{flagId}. Media S3 keys stored on the doc; ARGUS resolves to short-lived presigned URLs for playback.

Known limitations

  • Read-only tile — no author / edit / delete from here (use the map tile’s flag panel).
  • SAM output on photos isn’t exported — annotations stay in the lightbox.
  • No filter / search (planned).