feature/IO-3499-React-19 Checkpoint

This commit is contained in:
Dave
2026-01-21 17:27:21 -05:00
parent d06b20b1a8
commit f5a618319a
5 changed files with 14 additions and 28 deletions

View File

@@ -252,11 +252,11 @@ jobs:
name: Execute migration
command: |
curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash
hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >>
hasura migrate apply --endpoint https://db.test.imex.online/ --admin-secret << parameters.secret >>
sleep 15
hasura metadata apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >>
hasura metadata apply --endpoint https://db.test.imex.online/ --admin-secret << parameters.secret >>
sleep 30
hasura metadata reload --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >>
hasura metadata reload --endpoint https://db.test.imex.online/ --admin-secret << parameters.secret >>
- jira/notify:
environment: Test (ImEX) - Hasura
environment_type: testing

View File

@@ -1,5 +1,5 @@
VITE_APP_GRAPHQL_ENDPOINT=https://db.test.bodyshop.app/v1/graphql
VITE_APP_GRAPHQL_ENDPOINT_WS=wss://db.test.bodyshop.app/v1/graphql
VITE_APP_GRAPHQL_ENDPOINT=https://db.test.imex.online/v1/graphql
VITE_APP_GRAPHQL_ENDPOINT_WS=wss://db.test.imex.online/v1/graphql
VITE_APP_GA_CODE=231099835
VITE_APP_FIREBASE_CONFIG={ "apiKey":"AIzaSyBw7_GTy7GtQyfkIRPVrWHEGKfcqeyXw0c", "authDomain":"imex-test.firebaseapp.com", "projectId":"imex-test", "storageBucket":"imex-test.appspot.com", "messagingSenderId":"991923618608", "appId":"1:991923618608:web:633437569cdad78299bef5", "measurementId":"G-TW0XLZEH18"}
VITE_APP_CLOUDINARY_ENDPOINT_API=https://api.cloudinary.com/v1_1/bodyshop

View File

@@ -43,11 +43,7 @@ export default function ProductionListColumnComment({ record }) {
};
const content = (
<div
style={{ width: "30em" }}
onMouseDown={(e) => e.stopPropagation()}
onClick={(e) => e.stopPropagation()}
>
<div style={{ width: "30em" }} onMouseDown={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()}>
<Input.TextArea
rows={5}
value={note}
@@ -67,14 +63,7 @@ export default function ProductionListColumnComment({ record }) {
);
return (
<Popover
onOpenChange={handleOpenChange}
open={open}
content={content}
trigger="click"
fresh
getPopupContainer={(trigger) => trigger.parentElement}
>
<Popover onOpenChange={handleOpenChange} open={open} content={content} trigger="click" fresh>
<div
style={{
width: "100%",

View File

@@ -92,14 +92,7 @@ function ProductionListColumnProductionNote({ record, setNoteUpsertContext }) {
);
return (
<Popover
onOpenChange={handleOpenChange}
open={open}
content={content}
trigger="click"
fresh
getPopupContainer={(trigger) => trigger.parentElement}
>
<Popover onOpenChange={handleOpenChange} open={open} content={content} trigger="click" fresh>
<div
style={{
width: "100%",

View File

@@ -180,6 +180,11 @@ const cache = new InMemoryCache({
},
Query: {
fields: {
job_watchers: {
merge(_existing, incoming) {
return incoming;
}
},
conversations: {
keyArgs: ["where", "order_by"],
merge(existing = [], incoming = [], { args, readField }) {
@@ -200,7 +205,6 @@ const cache = new InMemoryCache({
});
}
},
notifications: {
// Keep "respect the current query filter" behavior (i.e., don't union with existing),
// but dedupe within the incoming page/list so UI doesn't flicker with duplicates.