fsanyoto commited on
Commit
79363fa
·
verified ·
1 Parent(s): af323da

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
RELEASES.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "current": "cd5fc66f77",
3
  "releases": []
4
  }
 
1
  {
2
+ "current": "a5d752cfae",
3
  "releases": []
4
  }
VERSION CHANGED
@@ -1 +1 @@
1
- cd5fc66f77
 
1
+ a5d752cfae
web/public/AIOS_DEPLOY_RECEIPT CHANGED
@@ -1 +1 @@
1
- ae83768860831ad63f756f5b7f6a7376826aac7df0d1a8a946b8ca25d8f56399
 
1
+ b1eebf9f4803ee09916833ed3fea84a2a8a77c5eabba9b436ea01411c9526464
web/src/customer-grid/CustomerGrid.tsx CHANGED
@@ -288,6 +288,10 @@ import { windowLabel } from "./windows";
288
  */
289
  export const GRID_CHAT_OPEN_EVENT = "aios:grid-chat-open";
290
 
 
 
 
 
291
  const ROW_PX: Record<RowHeightMode, number> = { short: 28, medium: 34, tall: 48 };
292
 
293
  /**
@@ -12097,7 +12101,7 @@ function CustomerGridSurface({
12097
  scroll to a row nobody can read. `SUMMARY_BAR_PX` is the component's own
12098
  constant and `--cg-sum-h` in `styles/wave50/grid.css` is its twin. */
12099
  height={Math.max(1, gridSize.height - (summaryShown ? SUMMARY_BAR_PX : 0))}
12100
- customRenderers={[ratingCellRenderer, userCellRenderer, imageCellRenderer]}
12101
  headerIcons={HEADER_ICONS}
12102
  rightElement={!canAddField ? undefined : (
12103
  // Wave-6 item 4 — the "+" of the header row: the create-field form,
 
288
  */
289
  export const GRID_CHAT_OPEN_EVENT = "aios:grid-chat-open";
290
 
291
+ // One identity for the life of the module: a new array remounts glide's open cell editor, which
292
+ // selects the text typed so far, and the next keystroke replaces it.
293
+ const CUSTOM_RENDERERS = [ratingCellRenderer, userCellRenderer, imageCellRenderer];
294
+
295
  const ROW_PX: Record<RowHeightMode, number> = { short: 28, medium: 34, tall: 48 };
296
 
297
  /**
 
12101
  scroll to a row nobody can read. `SUMMARY_BAR_PX` is the component's own
12102
  constant and `--cg-sum-h` in `styles/wave50/grid.css` is its twin. */
12103
  height={Math.max(1, gridSize.height - (summaryShown ? SUMMARY_BAR_PX : 0))}
12104
+ customRenderers={CUSTOM_RENDERERS}
12105
  headerIcons={HEADER_ICONS}
12106
  rightElement={!canAddField ? undefined : (
12107
  // Wave-6 item 4 — the "+" of the header row: the create-field form,