@dxos/plugin-thread 0.6.12-main.ed7cda7 → 0.6.12-staging.e11e696

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-thread/src/meta.tsx":{"bytes":1674,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":2595,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3679,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4347,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3056,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":24094,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":25567,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":12144,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18688,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytes":2735,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytes":1740,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1898,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","kind":"dynamic-import","original":"./ThreadMain"},{"path":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","kind":"dynamic-import","original":"./ThreadArticle"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":3584,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":15731,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":4946,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":102581,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./components/ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":948,"imports":[{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":76765},"packages/plugins/plugin-thread/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadMain-2A3VQLCW.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadArticle-NKI5F4W5.mjs","kind":"dynamic-import"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadPlugin","default","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":26814},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":180},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":556},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":6666},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":2915},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":3863},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1495},"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":32}},"bytes":43720},"packages/plugins/plugin-thread/dist/lib/node-esm/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/node-esm/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"}],"exports":["THREAD_ITEM","THREAD_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-thread/src/meta.tsx","inputs":{},"bytes":283},"packages/plugins/plugin-thread/dist/lib/node-esm/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/node-esm/types.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":240},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1941},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":694}},"bytes":962},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadMain-2A3VQLCW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1393},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadMain-2A3VQLCW.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytesInOutput":536}},"bytes":873},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadArticle-NKI5F4W5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":853},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadArticle-NKI5F4W5.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytesInOutput":271}},"bytes":617},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":30262},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","MessageContainer","command","getMessageMetadata","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":975},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4622},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":6321},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":715},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":563}},"bytes":14819},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":780},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-thread/src/meta.tsx":{"bytesInOutput":352}},"bytes":596}}}
1
+ {"inputs":{"packages/plugins/plugin-thread/src/meta.tsx":{"bytes":1674,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":2595,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3679,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4347,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3056,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":24094,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":24394,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":9875,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18688,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytes":2735,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytes":1740,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1898,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","kind":"dynamic-import","original":"./ThreadMain"},{"path":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","kind":"dynamic-import","original":"./ThreadArticle"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":3584,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":14340,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":4946,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":102093,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./components/ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/meta.tsx","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":948,"imports":[{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":74161},"packages/plugins/plugin-thread/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadMain-2A3VQLCW.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadArticle-NKI5F4W5.mjs","kind":"dynamic-import"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadPlugin","default","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":26714},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":180},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":556},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":6440},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":2247},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":3514},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1495},"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":32}},"bytes":42377},"packages/plugins/plugin-thread/dist/lib/node-esm/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/node-esm/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"}],"exports":["THREAD_ITEM","THREAD_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-thread/src/meta.tsx","inputs":{},"bytes":283},"packages/plugins/plugin-thread/dist/lib/node-esm/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/node-esm/types.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":240},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1941},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-YO46JGAE.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":694}},"bytes":962},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadMain-2A3VQLCW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1393},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadMain-2A3VQLCW.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytesInOutput":536}},"bytes":873},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadArticle-NKI5F4W5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":853},"packages/plugins/plugin-thread/dist/lib/node-esm/ThreadArticle-NKI5F4W5.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytesInOutput":271}},"bytes":617},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":30262},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-A44C4MTQ.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","MessageContainer","command","getMessageMetadata","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":975},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4622},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":6321},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":715},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":563}},"bytes":14819},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":780},"packages/plugins/plugin-thread/dist/lib/node-esm/chunk-Y475KZTX.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-thread/src/meta.tsx":{"bytesInOutput":352}},"bytes":596}}}
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadPlugin.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAML,KAAK,gBAAgB,EAMtB,MAAM,qBAAqB,CAAC;AA0B7B,OAAO,EAAgB,KAAK,oBAAoB,EAA4B,MAAM,SAAS,CAAC;AAgB5F,eAAO,MAAM,YAAY,QAAO,gBAAgB,CAAC,oBAAoB,CA2mBpE,CAAC"}
1
+ {"version":3,"file":"ThreadPlugin.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAML,KAAK,gBAAgB,EAMtB,MAAM,qBAAqB,CAAC;AA0B7B,OAAO,EAAgB,KAAK,oBAAoB,EAA4B,MAAM,SAAS,CAAC;AAe5F,eAAO,MAAM,YAAY,QAAO,gBAAgB,CAAC,oBAAoB,CA0mBpE,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type ThreadContainerProps } from './types';
3
- export declare const CommentContainer: ({ thread, detached, context, current, autoFocusTextbox, onAttend, onThreadDelete, onMessageDelete, onResolve, onComment, }: ThreadContainerProps) => React.JSX.Element;
3
+ export declare const CommentContainer: ({ thread, detached, context, current, onAttend, onThreadDelete, onMessageDelete, onResolve, onComment, }: ThreadContainerProps) => React.JSX.Element;
4
4
  //# sourceMappingURL=CommentContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommentContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/CommentContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAoBjF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAiEpD,eAAO,MAAM,gBAAgB,+HAW1B,oBAAoB,sBA2GtB,CAAC"}
1
+ {"version":3,"file":"CommentContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/CommentContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAoBtE,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAiEpD,eAAO,MAAM,gBAAgB,6GAU1B,oBAAoB,sBAwGtB,CAAC"}
@@ -8,7 +8,6 @@ export type ThreadsContainerProps = Omit<ThreadContainerProps, 'thread' | 'detac
8
8
  */
9
9
  detached?: string[];
10
10
  currentId?: string;
11
- autoFocusCurrentTextbox?: boolean;
12
11
  showResolvedThreads?: boolean;
13
12
  onThreadAttend?: (thread: ThreadType) => void;
14
13
  onThreadDelete?: (thread: ThreadType) => void;
@@ -16,11 +15,8 @@ export type ThreadsContainerProps = Omit<ThreadContainerProps, 'thread' | 'detac
16
15
  onThreadToggleResolved?: (thread: ThreadType) => void;
17
16
  onComment?: (thread: ThreadType) => void;
18
17
  };
19
- export declare const CommentsHeading: ({ attendableId }: {
20
- attendableId?: string;
21
- }) => React.JSX.Element;
22
18
  /**
23
19
  * Comment threads.
24
20
  */
25
- export declare const CommentsContainer: ({ threads, detached, currentId, autoFocusCurrentTextbox, showResolvedThreads, onThreadAttend, onThreadDelete, onMessageDelete, onThreadToggleResolved, ...props }: ThreadsContainerProps) => React.JSX.Element;
21
+ export declare const CommentsContainer: ({ threads, detached, currentId, showResolvedThreads, onThreadAttend, onThreadDelete, onMessageDelete, onThreadToggleResolved, ...props }: ThreadsContainerProps) => React.JSX.Element;
26
22
  //# sourceMappingURL=CommentsContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommentsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/CommentsContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAO3D,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,oBAAoB,EACpB,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,SAAS,GAAG,WAAW,CACpG,GAAG;IACF,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9C,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9C,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,eAAe,qBAAsB;IAAE,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,sBAW1E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,sKAW3B,qBAAqB,sBAsDvB,CAAC"}
1
+ {"version":3,"file":"CommentsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/CommentsContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAM3D,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,oBAAoB,EACpB,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,SAAS,GAAG,WAAW,CACpG,GAAG;IACF,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9C,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9C,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,6IAU3B,qBAAqB,sBAqDvB,CAAC"}
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import { type ThreadType } from '@dxos/plugin-space';
3
- export declare const ThreadComplementary: ({ role, subject, stagedThreads, current, focus, showResolvedThreads, }: {
3
+ export declare const ThreadComplementary: ({ role, subject, stagedThreads, current, showResolvedThreads, }: {
4
4
  role: string;
5
5
  subject: any;
6
6
  stagedThreads: ThreadType[] | undefined;
7
7
  current?: string;
8
- focus?: boolean;
9
8
  showResolvedThreads?: boolean;
10
9
  }) => React.JSX.Element;
11
10
  //# sourceMappingURL=ThreadComplementary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadComplementary.d.ts","sourceRoot":"","sources":["../../../../src/components/ThreadComplementary.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAarD,eAAO,MAAM,mBAAmB,2EAO7B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,CAAC;IACb,aAAa,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,sBAqFA,CAAC"}
1
+ {"version":3,"file":"ThreadComplementary.d.ts","sourceRoot":"","sources":["../../../../src/components/ThreadComplementary.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAarD,eAAO,MAAM,mBAAmB,oEAM7B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,CAAC;IACb,aAAa,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,sBAgFA,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-thread",
3
- "version": "0.6.12-main.ed7cda7",
3
+ "version": "0.6.12-staging.e11e696",
4
4
  "description": "DXOS Threads Surface plugin",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -48,34 +48,34 @@
48
48
  "src"
49
49
  ],
50
50
  "dependencies": {
51
- "@codemirror/language": "^6.10.2",
51
+ "@codemirror/language": "^6.10.3",
52
52
  "@codemirror/state": "^6.4.1",
53
- "@codemirror/view": "^6.29.1",
53
+ "@codemirror/view": "^6.34.1",
54
54
  "@preact/signals-core": "^1.6.0",
55
55
  "date-fns": "^3.3.1",
56
56
  "lodash.get": "^4.4.2",
57
- "@dxos/async": "0.6.12-main.ed7cda7",
58
- "@dxos/display-name": "0.6.12-main.ed7cda7",
59
- "@dxos/echo-schema": "0.6.12-main.ed7cda7",
60
- "@dxos/app-framework": "0.6.12-main.ed7cda7",
61
- "@dxos/local-storage": "0.6.12-main.ed7cda7",
62
- "@dxos/log": "0.6.12-main.ed7cda7",
63
- "@dxos/invariant": "0.6.12-main.ed7cda7",
64
- "@dxos/plugin-attention": "0.6.12-main.ed7cda7",
65
- "@dxos/plugin-client": "0.6.12-main.ed7cda7",
66
- "@dxos/plugin-graph": "0.6.12-main.ed7cda7",
67
- "@dxos/plugin-markdown": "0.6.12-main.ed7cda7",
68
- "@dxos/plugin-observability": "0.6.12-main.ed7cda7",
69
- "@dxos/plugin-space": "0.6.12-main.ed7cda7",
70
- "@dxos/react-client": "0.6.12-main.ed7cda7",
71
- "@dxos/plugin-settings": "0.6.12-main.ed7cda7",
72
- "@dxos/react-ui-attention": "0.6.12-main.ed7cda7",
73
- "@dxos/react-ui-deck": "0.6.12-main.ed7cda7",
74
- "@dxos/react-ui-mosaic": "0.6.12-main.ed7cda7",
75
- "@dxos/react-ui-editor": "0.6.12-main.ed7cda7",
76
- "@dxos/react-ui-theme": "0.6.12-main.ed7cda7",
77
- "@dxos/util": "0.6.12-main.ed7cda7",
78
- "@dxos/react-ui-thread": "0.6.12-main.ed7cda7"
57
+ "@dxos/app-framework": "0.6.12-staging.e11e696",
58
+ "@dxos/async": "0.6.12-staging.e11e696",
59
+ "@dxos/display-name": "0.6.12-staging.e11e696",
60
+ "@dxos/echo-schema": "0.6.12-staging.e11e696",
61
+ "@dxos/local-storage": "0.6.12-staging.e11e696",
62
+ "@dxos/log": "0.6.12-staging.e11e696",
63
+ "@dxos/plugin-attention": "0.6.12-staging.e11e696",
64
+ "@dxos/plugin-client": "0.6.12-staging.e11e696",
65
+ "@dxos/plugin-graph": "0.6.12-staging.e11e696",
66
+ "@dxos/plugin-markdown": "0.6.12-staging.e11e696",
67
+ "@dxos/plugin-observability": "0.6.12-staging.e11e696",
68
+ "@dxos/invariant": "0.6.12-staging.e11e696",
69
+ "@dxos/plugin-settings": "0.6.12-staging.e11e696",
70
+ "@dxos/plugin-space": "0.6.12-staging.e11e696",
71
+ "@dxos/react-client": "0.6.12-staging.e11e696",
72
+ "@dxos/react-ui-attention": "0.6.12-staging.e11e696",
73
+ "@dxos/react-ui-editor": "0.6.12-staging.e11e696",
74
+ "@dxos/react-ui-theme": "0.6.12-staging.e11e696",
75
+ "@dxos/react-ui-mosaic": "0.6.12-staging.e11e696",
76
+ "@dxos/react-ui-deck": "0.6.12-staging.e11e696",
77
+ "@dxos/util": "0.6.12-staging.e11e696",
78
+ "@dxos/react-ui-thread": "0.6.12-staging.e11e696"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@phosphor-icons/react": "^2.1.5",
@@ -85,16 +85,16 @@
85
85
  "react": "~18.2.0",
86
86
  "react-dom": "~18.2.0",
87
87
  "vite": "5.4.7",
88
- "@dxos/random": "0.6.12-main.ed7cda7",
89
- "@dxos/react-ui": "0.6.12-main.ed7cda7",
90
- "@dxos/storybook-utils": "0.6.12-main.ed7cda7"
88
+ "@dxos/random": "0.6.12-staging.e11e696",
89
+ "@dxos/react-ui": "0.6.12-staging.e11e696",
90
+ "@dxos/storybook-utils": "0.6.12-staging.e11e696"
91
91
  },
92
- "optionalDependencies": {
92
+ "peerDependencies": {
93
93
  "@phosphor-icons/react": "^2.1.5",
94
94
  "react": "~18.2.0",
95
95
  "react-dom": "~18.2.0",
96
- "@dxos/react-ui": "0.6.12-main.ed7cda7",
97
- "@dxos/react-ui-theme": "0.6.12-main.ed7cda7"
96
+ "@dxos/react-ui": "0.6.12-staging.e11e696",
97
+ "@dxos/react-ui-theme": "0.6.12-staging.e11e696"
98
98
  },
99
99
  "publishConfig": {
100
100
  "access": "public"
@@ -49,7 +49,6 @@ type ThreadState = {
49
49
  /** An in-memory staging area for threads that are being drafted. */
50
50
  staging: Record<string, ThreadType[]>;
51
51
  current?: string | undefined;
52
- focus?: boolean;
53
52
  };
54
53
 
55
54
  type SubjectId = string;
@@ -169,11 +168,12 @@ export const ThreadPlugin = (): PluginDefinition<ThreadPluginProvides> => {
169
168
  return {
170
169
  id,
171
170
  type: 'orphan-comments-for-subject',
172
- data: object,
171
+ data: null,
173
172
  properties: {
174
- icon: meta.icon,
173
+ icon: 'ph--chat-text--regular',
175
174
  label,
176
175
  showResolvedThreads: viewState.showResolvedThreads,
176
+ object,
177
177
  },
178
178
  };
179
179
  },
@@ -305,7 +305,6 @@ export const ThreadPlugin = (): PluginDefinition<ThreadPluginProvides> => {
305
305
  subject={data.subject}
306
306
  stagedThreads={state.staging[fullyQualifiedId(data.subject)]}
307
307
  current={state.current}
308
- focus
309
308
  showResolvedThreads={showResolvedThreads}
310
309
  />
311
310
  );
@@ -349,7 +348,7 @@ export const ThreadPlugin = (): PluginDefinition<ThreadPluginProvides> => {
349
348
  [
350
349
  {
351
350
  action: ThreadAction.SELECT,
352
- data: { current: fullyQualifiedId(thread), focus: true },
351
+ data: { current: fullyQualifiedId(thread) },
353
352
  },
354
353
  {
355
354
  action: LayoutAction.SET_LAYOUT,
@@ -369,7 +368,6 @@ export const ThreadPlugin = (): PluginDefinition<ThreadPluginProvides> => {
369
368
  }
370
369
 
371
370
  case ThreadAction.SELECT: {
372
- state.focus = intent.data?.current === state.current ? state.focus : intent.data?.focus;
373
371
  state.current = intent.data?.current;
374
372
  return { data: true };
375
373
  }
@@ -618,7 +616,7 @@ export const ThreadPlugin = (): PluginDefinition<ThreadPluginProvides> => {
618
616
  },
619
617
  }),
620
618
  createExternalCommentSync(
621
- doc.id,
619
+ fullyQualifiedId(doc),
622
620
  (sink) => effect(() => sink()),
623
621
  () =>
624
622
  threads.value
@@ -626,7 +624,7 @@ export const ThreadPlugin = (): PluginDefinition<ThreadPluginProvides> => {
626
624
  .map((thread) => ({ id: fullyQualifiedId(thread), cursor: thread.anchor! })),
627
625
  ),
628
626
  comments({
629
- id: doc.id,
627
+ id: fullyQualifiedId(doc),
630
628
  onCreate: ({ cursor }) => {
631
629
  const [start, end] = cursor.split(':');
632
630
  const name = doc.content && getTextInRange(createDocAccessor(doc.content, ['content']), start, end);
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  import { CheckCircle, X } from '@phosphor-icons/react';
6
- import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
6
+ import React, { useCallback, useMemo, useRef, useState } from 'react';
7
7
 
8
8
  import { create } from '@dxos/echo-schema';
9
9
  import { MessageType } from '@dxos/plugin-space/types';
@@ -93,7 +93,6 @@ export const CommentContainer = ({
93
93
  detached,
94
94
  context,
95
95
  current,
96
- autoFocusTextbox,
97
96
  onAttend,
98
97
  onThreadDelete,
99
98
  onMessageDelete,
@@ -106,7 +105,6 @@ export const CommentContainer = ({
106
105
  const activity = useStatus(space, fullyQualifiedId(thread));
107
106
  const { t } = useTranslation(THREAD_PLUGIN);
108
107
  const threadScrollRef = useRef<HTMLDivElement | null>(null);
109
- const [autoFocus, setAutoFocus] = useState(!!autoFocusTextbox);
110
108
  const { themeMode } = useThemeContext();
111
109
 
112
110
  const textboxMetadata = getMessageMetadata(fullyQualifiedId(thread), identity);
@@ -124,13 +122,6 @@ export const CommentContainer = ({
124
122
  [_count],
125
123
  );
126
124
 
127
- // TODO(thure): Because of the way the `autoFocus` property is handled by TextEditor,
128
- // this is the least-bad way of moving focus at the right time, though it is an anti-pattern.
129
- // Refactor to behave more like <input/>’s `autoFocus` or `autofocus` (yes, they’re different).
130
- useEffect(() => {
131
- setAutoFocus(!!autoFocusTextbox);
132
- }, [autoFocusTextbox]);
133
-
134
125
  // TODO(thure): Factor out.
135
126
  const scrollToEnd = (behavior: ScrollBehavior) =>
136
127
  setTimeout(() => threadScrollRef.current?.scrollIntoView({ behavior, block: 'end' }), 10);
@@ -151,7 +142,6 @@ export const CommentContainer = ({
151
142
  onComment?.(thread);
152
143
 
153
144
  messageRef.current = '';
154
- setAutoFocus(true);
155
145
  scrollToEnd('instant');
156
146
  rerenderEditor();
157
147
 
@@ -200,7 +190,13 @@ export const CommentContainer = ({
200
190
  onDelete={(id: string) => onMessageDelete?.(id)}
201
191
  />
202
192
  ))}
203
- <MessageTextbox extensions={extensions} autoFocus={autoFocus} onSend={handleCreate} {...textboxMetadata} />
193
+ {/*
194
+ TODO(wittjosiah): Can't autofocus this generally.
195
+ There can be multiple threads with inputs and they can't all be focused.
196
+ Also, it steals focus from documents when first rendered.
197
+ Need to find a way to autofocus in one scenario only: when a new thread is created.
198
+ */}
199
+ <MessageTextbox extensions={extensions} onSend={handleCreate} {...textboxMetadata} />
204
200
  <ThreadFooter activity={activity}>{t('activity message')}</ThreadFooter>
205
201
  {/* NOTE(thure): This can’t also be the `overflow-anchor` because `ScrollArea` injects an interceding node that contains this necessary ref’d element. */}
206
202
  <div role='none' className='bs-px -mbs-px' ref={threadScrollRef} />
@@ -7,8 +7,7 @@ import React, { useEffect } from 'react';
7
7
 
8
8
  import { type ThreadType } from '@dxos/plugin-space/types';
9
9
  import { fullyQualifiedId } from '@dxos/react-client/echo';
10
- import { useTranslation, Icon, Trans } from '@dxos/react-ui';
11
- import { PlankHeading } from '@dxos/react-ui-deck';
10
+ import { useTranslation, Trans } from '@dxos/react-ui';
12
11
  import { descriptionText, mx } from '@dxos/react-ui-theme';
13
12
 
14
13
  import { CommentContainer } from './CommentContainer';
@@ -25,7 +24,6 @@ export type ThreadsContainerProps = Omit<
25
24
  */
26
25
  detached?: string[];
27
26
  currentId?: string;
28
- autoFocusCurrentTextbox?: boolean;
29
27
  showResolvedThreads?: boolean;
30
28
  onThreadAttend?: (thread: ThreadType) => void;
31
29
  onThreadDelete?: (thread: ThreadType) => void;
@@ -34,19 +32,6 @@ export type ThreadsContainerProps = Omit<
34
32
  onComment?: (thread: ThreadType) => void;
35
33
  };
36
34
 
37
- export const CommentsHeading = ({ attendableId }: { attendableId?: string }) => {
38
- const { t } = useTranslation(THREAD_PLUGIN);
39
-
40
- return (
41
- <div role='none' className='flex items-center'>
42
- <PlankHeading.Button attendableId={attendableId}>
43
- <Icon icon='ph--quotes--regular' size={5} />
44
- </PlankHeading.Button>
45
- <PlankHeading.Label attendableId={attendableId}>{t('comments heading')}</PlankHeading.Label>
46
- </div>
47
- );
48
- };
49
-
50
35
  /**
51
36
  * Comment threads.
52
37
  */
@@ -54,7 +39,6 @@ export const CommentsContainer = ({
54
39
  threads,
55
40
  detached = [],
56
41
  currentId,
57
- autoFocusCurrentTextbox,
58
42
  showResolvedThreads,
59
43
  onThreadAttend,
60
44
  onThreadDelete,
@@ -82,7 +66,6 @@ export const CommentsContainer = ({
82
66
  thread={thread}
83
67
  current={currentId === threadId}
84
68
  detached={detached.includes(threadId)}
85
- autoFocusTextbox={autoFocusCurrentTextbox && currentId === threadId}
86
69
  {...(onThreadAttend && { onAttend: () => onThreadAttend(thread) })}
87
70
  {...(onThreadDelete && { onThreadDelete: () => onThreadDelete(thread) })}
88
71
  {...(onMessageDelete && { onMessageDelete: (messageId: string) => onMessageDelete(thread, messageId) })}
@@ -8,10 +8,10 @@ import { LayoutAction, type Plugin, useIntentDispatcher, useResolvePlugins } fro
8
8
  import { type ThreadType } from '@dxos/plugin-space';
9
9
  import { fullyQualifiedId } from '@dxos/react-client/echo';
10
10
  import { ScrollArea } from '@dxos/react-ui';
11
- import { createAttendableAttributes, useAttentionContext } from '@dxos/react-ui-attention';
11
+ import { useAttended } from '@dxos/react-ui-attention';
12
12
  import { nonNullable } from '@dxos/util';
13
13
 
14
- import { CommentsContainer, CommentsHeading } from '../components';
14
+ import { CommentsContainer } from '../components';
15
15
  import { THREAD_PLUGIN } from '../meta';
16
16
  import { ThreadAction, type ThreadProvides } from '../types';
17
17
 
@@ -23,14 +23,12 @@ export const ThreadComplementary = ({
23
23
  subject,
24
24
  stagedThreads,
25
25
  current,
26
- focus,
27
26
  showResolvedThreads,
28
27
  }: {
29
28
  role: string;
30
29
  subject: any;
31
30
  stagedThreads: ThreadType[] | undefined;
32
31
  current?: string;
33
- focus?: boolean;
34
32
  showResolvedThreads?: boolean;
35
33
  }) => {
36
34
  const dispatch = useIntentDispatcher();
@@ -58,22 +56,17 @@ export const ThreadComplementary = ({
58
56
  threads.sort((a, b) => sort(a?.anchor, b?.anchor));
59
57
  }, [sort, threads]);
60
58
 
61
- // TODO(Zan): Maybe we should have a hook for this?
62
- const { attended } = useAttentionContext('Thread Complementary');
59
+ const attended = useAttended();
63
60
  const qualifiedSubjectId = fullyQualifiedId(subject);
64
61
 
65
- const attendableAttrs = createAttendableAttributes(qualifiedSubjectId);
66
-
67
62
  return (
68
- <div role='none' className='contents group/attention' {...attendableAttrs}>
69
- {role === 'complementary' && <CommentsHeading attendableId={qualifiedSubjectId} />}
63
+ <div role='none' className='contents'>
70
64
  <ScrollArea.Root classNames='row-span-2'>
71
65
  <ScrollArea.Viewport>
72
66
  <CommentsContainer
73
67
  threads={threads}
74
68
  detached={detachedIds}
75
- currentId={attended.has(qualifiedSubjectId) ? current : undefined}
76
- autoFocusCurrentTextbox={focus}
69
+ currentId={attended.includes(qualifiedSubjectId) ? current : undefined}
77
70
  showResolvedThreads={showResolvedThreads}
78
71
  onThreadAttend={(thread) => {
79
72
  const threadId = fullyQualifiedId(thread);