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/ViewSidebar.tsx +18 -6
RELEASES.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v75",
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "df68553",
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v75",
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
df68553
|
web/public/AIOS_DEPLOY_RECEIPT
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
0144152dddb2b5892d9f27e555accc9818fbc6c892bd010ce1f71394a69bc33f
|
web/src/customer-grid/ViewSidebar.tsx
CHANGED
|
@@ -858,10 +858,11 @@ function DataDatabaseNavigator({
|
|
| 858 |
];
|
| 859 |
const openDatabase = (database: DataDatabase) => {
|
| 860 |
if (database.externalHref) return;
|
| 861 |
-
|
| 862 |
-
|
| 863 |
-
|
| 864 |
-
|
|
|
|
| 865 |
};
|
| 866 |
const pathDatabaseRow = (database: DataDatabase) => {
|
| 867 |
const active = database.key === activeDatabaseKey;
|
|
@@ -1292,9 +1293,20 @@ export default function ViewSidebar({
|
|
| 1292 |
const views = useMemo(() => suppliedViews.filter((row) =>
|
| 1293 |
!isDeleted({ kind: "view", id: row.id, database: activeDatabaseKey })), [suppliedViews, isDeleted, activeDatabaseKey]);
|
| 1294 |
const onSelect = (id: string) => {
|
| 1295 |
-
|
| 1296 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1297 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1298 |
const requestedDeletes = useRef(new Map<string, string>());
|
| 1299 |
const onDelete = (id: string) => {
|
| 1300 |
requestedDeletes.current.set(id, activeDatabaseKey);
|
|
|
|
| 858 |
];
|
| 859 |
const openDatabase = (database: DataDatabase) => {
|
| 860 |
if (database.externalHref) return;
|
| 861 |
+
// HOTFIX 2026-09-24: open first, check second. W61-T22's existence read took ~5 s on the
|
| 862 |
+
// store and the click waited for it; the shell rail already commits before the check (S65-T09).
|
| 863 |
+
visitDataLevel({ kind: "database", key: database.key });
|
| 864 |
+
onSelect?.(database.key);
|
| 865 |
+
void openExistingItem({ kind: "database", id: database.key }, () => {});
|
| 866 |
};
|
| 867 |
const pathDatabaseRow = (database: DataDatabase) => {
|
| 868 |
const active = database.key === activeDatabaseKey;
|
|
|
|
| 1293 |
const views = useMemo(() => suppliedViews.filter((row) =>
|
| 1294 |
!isDeleted({ kind: "view", id: row.id, database: activeDatabaseKey })), [suppliedViews, isDeleted, activeDatabaseKey]);
|
| 1295 |
const onSelect = (id: string) => {
|
| 1296 |
+
/* ⭐⭐ HOTFIX 2026-09-24 (owner: "clicking to a different view takes longer than instant") —
|
| 1297 |
+
THE VIEW OPENS IN THE SAME FRAME AS THE CLICK. W61-T22 awaited `openExistingItem`'s server
|
| 1298 |
+
read (`/grid/shared-note`, ~5 s on staging) BEFORE switching, so every view switch on every
|
| 1299 |
+
database waited on it. The check still runs, in the background: a view that proves missing
|
| 1300 |
+
leaves the rail, and the effect below moves off it if it was the one just opened. */
|
| 1301 |
+
requestSelect(id);
|
| 1302 |
+
if (!activeDatabaseKey) return;
|
| 1303 |
+
void openExistingItem({ kind: "view", id, database: activeDatabaseKey }, () => {}, { scope });
|
| 1304 |
};
|
| 1305 |
+
const activeViewGone = !!activeViewId
|
| 1306 |
+
&& isDeleted({ kind: "view", id: activeViewId, database: activeDatabaseKey });
|
| 1307 |
+
useEffect(() => {
|
| 1308 |
+
if (activeViewGone && views.length) requestSelect(views[0].id);
|
| 1309 |
+
}, [activeViewGone, views, requestSelect]);
|
| 1310 |
const requestedDeletes = useRef(new Map<string, string>());
|
| 1311 |
const onDelete = (id: string) => {
|
| 1312 |
requestedDeletes.current.set(id, activeDatabaseKey);
|