Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- web/public/AIOS_DEPLOY_RECEIPT +1 -1
- web/src/customer-grid/CustomerGrid.tsx +5 -1
RELEASES.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "a5d752cfae",
|
| 3 |
"releases": []
|
| 4 |
}
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
a5d752cfae
|
web/public/AIOS_DEPLOY_RECEIPT
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 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={
|
| 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,
|