Keep Context inside the package boundaries

The shell passes the ground picker to the click bridge, so the UI shell no
longer pulls in the annotation and search stack. Context's new modules are
owned by the packages that import them and formatted with the rest.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-16 14:59:01 -08:00
1 parent c351e66af9
commit 902689da8a
11 files changed
+426 -122

No files matched your search

+8 -2
View File
@@ -314,7 +314,10 @@ export function createQueries({
// unverified, everything else still treats the flight as routeless.
routeScheduled:
!routeOk && info?.route?.origin?.code && info?.route?.destination?.code
? { from: text(info.route.origin.code), to: text(info.route.destination.code) }
? {
from: text(info.route.origin.code),
to: text(info.route.destination.code),
}
: null,
};
}
@@ -777,7 +780,10 @@ export function createQueries({
* @param {string} icao24
*/
requestRoute(icao24) {
if (icao24) parts.enrichment._requestRouteEnrichment(String(icao24).trim().toLowerCase());
if (icao24)
parts.enrichment._requestRouteEnrichment(
String(icao24).trim().toLowerCase(),
);
},
/**