fsanyoto commited on
Commit
83f1a82
·
verified ·
1 Parent(s): 4570323

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
RELEASES.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "current": "ecea68d4a0e",
3
  "releases": []
4
  }
 
1
  {
2
+ "current": "3a06f3b9a660",
3
  "releases": []
4
  }
VERSION CHANGED
@@ -1 +1 @@
1
- ecea68d4a0e
 
1
+ 3a06f3b9a660
web/public/AIOS_DEPLOY_RECEIPT CHANGED
@@ -1 +1 @@
1
- c0776774e85ed178dd2e88bcc6c5a998015b97c2d43db7d54b2a5570eb611e61
 
1
+ 907bac122cd7340228710666643ce80135f9570f307a27d069261a5d73104b48
web/src/customer-grid/CustomerGrid.tsx CHANGED
@@ -12721,6 +12721,7 @@ function CustomerGridSurface({
12721
  rows={modeDataRows}
12722
  fields={fields}
12723
  routingFilterNodes={config.filters}
 
12724
  routingFilters={routeApplicationSurface ? (
12725
  <div style={{ width: "100%", minWidth: 0 }}>
12726
  <>{mapSettingsRow}{primaryToolbar}</>
 
12721
  rows={modeDataRows}
12722
  fields={fields}
12723
  routingFilterNodes={config.filters}
12724
+ routingFilterConj={config.filterConj}
12725
  routingFilters={routeApplicationSurface ? (
12726
  <div style={{ width: "100%", minWidth: 0 }}>
12727
  <>{mapSettingsRow}{primaryToolbar}</>
web/src/customer-grid/MapView.tsx CHANGED
@@ -55,7 +55,7 @@
55
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
56
  import { LogoLoader } from "../ui/LogoLoader";
57
  import type { KeyboardEvent as ReactKeyboardEvent, PointerEvent as ReactPointerEvent, ReactNode } from "react";
58
- import type { CatalogSpec, Field, FilterNode, Row, ViewConfig } from "./types";
59
  import { API_V1, CREDENTIALS, NAV_MINIMIZE_EVENT, signal } from "../apiContract";
60
  import { formatDisplay } from "./cells";
61
  import { readDataPath } from "./dataPath";
@@ -5092,6 +5092,7 @@ type MapViewProps = Omit<Parameters<typeof MapViewSurface>[0], "field" | "onOpen
5092
  field?: Field; fields?: Field[];
5093
  onOpen: (pid: number, row?: Row) => void;
5094
  routingFilterNodes?: FilterNode[];
 
5095
  onCatalogData?: (fields: Field[], rows: Row[]) => void;
5096
  };
5097
 
@@ -5120,8 +5121,8 @@ function RouteApplicationMapView({ props, titleKey, applicationId }: {
5120
  }) {
5121
  const [customerPid, setCustomerPid] = useState<number | null>(null);
5122
  const data = useCatalogRecords(props.tableKey, {
5123
- filters: props.activeView?.config.filters ?? [],
5124
- filterConj: props.activeView?.config.filterConj ?? "and",
5125
  sorts: props.activeView?.config.sorts ?? [],
5126
  }, [titleKey]);
5127
  const [search, setSearch] = useState("");
 
55
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
56
  import { LogoLoader } from "../ui/LogoLoader";
57
  import type { KeyboardEvent as ReactKeyboardEvent, PointerEvent as ReactPointerEvent, ReactNode } from "react";
58
+ import type { CatalogSpec, Conjunction, Field, FilterNode, Row, ViewConfig } from "./types";
59
  import { API_V1, CREDENTIALS, NAV_MINIMIZE_EVENT, signal } from "../apiContract";
60
  import { formatDisplay } from "./cells";
61
  import { readDataPath } from "./dataPath";
 
5092
  field?: Field; fields?: Field[];
5093
  onOpen: (pid: number, row?: Row) => void;
5094
  routingFilterNodes?: FilterNode[];
5095
+ routingFilterConj?: Conjunction;
5096
  onCatalogData?: (fields: Field[], rows: Row[]) => void;
5097
  };
5098
 
 
5121
  }) {
5122
  const [customerPid, setCustomerPid] = useState<number | null>(null);
5123
  const data = useCatalogRecords(props.tableKey, {
5124
+ filters: props.routingFilterNodes ?? props.activeView?.config.filters ?? [],
5125
+ filterConj: props.routingFilterConj ?? props.activeView?.config.filterConj ?? "and",
5126
  sorts: props.activeView?.config.sorts ?? [],
5127
  }, [titleKey]);
5128
  const [search, setSearch] = useState("");