feature/IO-3499-React-19 Checkpoint
This commit is contained in:
@@ -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%",
|
||||
|
||||
@@ -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%",
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user