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

@@ -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.