@flamingo-stack/openframe-frontend-core 0.0.597 → 0.0.598-2039.5704.1
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.
- package/dist/{chunk-PT54TJWD.js → chunk-26MKONC3.js} +5 -5
- package/dist/{chunk-NK6COZ3P.cjs → chunk-2TWJF4AB.cjs} +22 -22
- package/dist/{chunk-NK6COZ3P.cjs.map → chunk-2TWJF4AB.cjs.map} +1 -1
- package/dist/{chunk-E74GL4E3.cjs → chunk-3GLZDKWZ.cjs} +8 -8
- package/dist/{chunk-E74GL4E3.cjs.map → chunk-3GLZDKWZ.cjs.map} +1 -1
- package/dist/{chunk-STYNZ4QM.cjs → chunk-3IXDZI3R.cjs} +3 -3
- package/dist/{chunk-STYNZ4QM.cjs.map → chunk-3IXDZI3R.cjs.map} +1 -1
- package/dist/{chunk-DNQP4VPB.js → chunk-3XHNV6W7.js} +12 -12
- package/dist/{chunk-TVK7PQON.js → chunk-442V6CPU.js} +6 -6
- package/dist/{chunk-BZ4UEHNJ.js → chunk-5IMAIYID.js} +9 -9
- package/dist/{chunk-VQ6INRQ4.cjs → chunk-5VQKQIOG.cjs} +105 -105
- package/dist/{chunk-VQ6INRQ4.cjs.map → chunk-5VQKQIOG.cjs.map} +1 -1
- package/dist/{chunk-6QZNDPMV.cjs → chunk-7WTEFZP7.cjs} +9 -9
- package/dist/{chunk-6QZNDPMV.cjs.map → chunk-7WTEFZP7.cjs.map} +1 -1
- package/dist/{chunk-B4BZRBKC.js → chunk-7YMVB7GE.js} +4 -4
- package/dist/{chunk-BOILDHSY.js → chunk-AC2TI6UT.js} +12 -12
- package/dist/{chunk-YBPFIXV4.cjs → chunk-B6ZJV7L4.cjs} +746 -448
- package/dist/{chunk-YBPFIXV4.cjs.map → chunk-B6ZJV7L4.cjs.map} +1 -1
- package/dist/{chunk-RYZKWZBG.cjs → chunk-B72CD6YE.cjs} +15 -15
- package/dist/{chunk-RYZKWZBG.cjs.map → chunk-B72CD6YE.cjs.map} +1 -1
- package/dist/{chunk-EVMHJB6X.js → chunk-BLUL2TE3.js} +4 -4
- package/dist/{chunk-GGQZBSFN.js → chunk-BVQEU5JB.js} +2 -2
- package/dist/{chunk-H64ZHSYR.cjs → chunk-CCWI3622.cjs} +4 -4
- package/dist/{chunk-H64ZHSYR.cjs.map → chunk-CCWI3622.cjs.map} +1 -1
- package/dist/{chunk-ELG2QNW5.js → chunk-D7X33EAT.js} +7 -7
- package/dist/{chunk-L3L2ATFK.cjs → chunk-E2K2LYSM.cjs} +85 -85
- package/dist/{chunk-L3L2ATFK.cjs.map → chunk-E2K2LYSM.cjs.map} +1 -1
- package/dist/{chunk-YH6IQTPI.cjs → chunk-EHAYNUOL.cjs} +3 -3
- package/dist/{chunk-YH6IQTPI.cjs.map → chunk-EHAYNUOL.cjs.map} +1 -1
- package/dist/{chunk-WZJOILPU.js → chunk-F2KBCLUG.js} +2 -2
- package/dist/{chunk-MYBXCWEI.js → chunk-FKBM6U43.js} +2 -2
- package/dist/{chunk-FKOYQPMK.js → chunk-GQLYYZF4.js} +5 -5
- package/dist/{chunk-LRQCKSZC.js → chunk-IW746HJ7.js} +2 -2
- package/dist/{chunk-GKZUTZT3.cjs → chunk-JI2R4UW5.cjs} +15 -15
- package/dist/{chunk-GKZUTZT3.cjs.map → chunk-JI2R4UW5.cjs.map} +1 -1
- package/dist/{chunk-M4YQUHOR.cjs → chunk-JJUV7Z4L.cjs} +15 -15
- package/dist/{chunk-M4YQUHOR.cjs.map → chunk-JJUV7Z4L.cjs.map} +1 -1
- package/dist/{chunk-2JOIC34G.cjs → chunk-KJMXCDYI.cjs} +37 -37
- package/dist/{chunk-2JOIC34G.cjs.map → chunk-KJMXCDYI.cjs.map} +1 -1
- package/dist/{chunk-IRXLB6GV.js → chunk-KV24I5MD.js} +5 -5
- package/dist/{chunk-Z4QFA4BF.cjs → chunk-M7U3MT2Q.cjs} +14 -14
- package/dist/{chunk-Z4QFA4BF.cjs.map → chunk-M7U3MT2Q.cjs.map} +1 -1
- package/dist/{chunk-R2YJKREE.js → chunk-NJCVIERS.js} +4 -4
- package/dist/{chunk-VXEHG53O.js → chunk-OIUXJUMH.js} +6 -6
- package/dist/{chunk-SAEJGTCI.cjs → chunk-QPAPUIF3.cjs} +35 -35
- package/dist/{chunk-SAEJGTCI.cjs.map → chunk-QPAPUIF3.cjs.map} +1 -1
- package/dist/{chunk-CPJP7GKL.cjs → chunk-R6LFBCGC.cjs} +3 -3
- package/dist/{chunk-CPJP7GKL.cjs.map → chunk-R6LFBCGC.cjs.map} +1 -1
- package/dist/{chunk-FHWL7QFL.js → chunk-RTCKC6RH.js} +5 -5
- package/dist/{chunk-UAAXUFK6.js → chunk-RU3IKVY2.js} +3 -3
- package/dist/{chunk-EZM5DNII.js → chunk-S6WBBSII.js} +3 -3
- package/dist/{chunk-WWGSYT7R.js → chunk-SYFSVIGH.js} +2 -2
- package/dist/{chunk-R2MOCGZ7.cjs → chunk-SZRP4264.cjs} +34 -34
- package/dist/{chunk-R2MOCGZ7.cjs.map → chunk-SZRP4264.cjs.map} +1 -1
- package/dist/{chunk-2JNCZDJR.js → chunk-TSCIVH7T.js} +2 -2
- package/dist/{chunk-JJFYMYBJ.cjs → chunk-TYENRLNN.cjs} +39 -39
- package/dist/{chunk-JJFYMYBJ.cjs.map → chunk-TYENRLNN.cjs.map} +1 -1
- package/dist/{chunk-EGQ345IA.js → chunk-UHWDSVZI.js} +4 -4
- package/dist/{chunk-RDTOMWDN.cjs → chunk-UPKZU6QU.cjs} +1 -1
- package/dist/chunk-UPKZU6QU.cjs.map +1 -0
- package/dist/{chunk-WCBRZCU4.cjs → chunk-UQEOAPAI.cjs} +9 -9
- package/dist/{chunk-WCBRZCU4.cjs.map → chunk-UQEOAPAI.cjs.map} +1 -1
- package/dist/{chunk-O4VZOA2Q.cjs → chunk-UXOOVP77.cjs} +3 -3
- package/dist/{chunk-O4VZOA2Q.cjs.map → chunk-UXOOVP77.cjs.map} +1 -1
- package/dist/{chunk-BZEWPW5A.cjs → chunk-VIBREYUK.cjs} +3 -3
- package/dist/{chunk-BZEWPW5A.cjs.map → chunk-VIBREYUK.cjs.map} +1 -1
- package/dist/{chunk-E27AKT4A.cjs → chunk-WRZV3HGH.cjs} +9 -9
- package/dist/{chunk-E27AKT4A.cjs.map → chunk-WRZV3HGH.cjs.map} +1 -1
- package/dist/{chunk-PIQRGLTF.cjs → chunk-WU53IOY6.cjs} +25 -25
- package/dist/{chunk-PIQRGLTF.cjs.map → chunk-WU53IOY6.cjs.map} +1 -1
- package/dist/{chunk-VNSRNVPD.js → chunk-XAJZIDFH.js} +673 -375
- package/dist/chunk-XAJZIDFH.js.map +1 -0
- package/dist/{chunk-UIVLSMEZ.cjs → chunk-XRVFQQ7W.cjs} +242 -242
- package/dist/{chunk-UIVLSMEZ.cjs.map → chunk-XRVFQQ7W.cjs.map} +1 -1
- package/dist/{chunk-RYXIRVDC.js → chunk-YB6FI2G3.js} +1 -1
- package/dist/chunk-YB6FI2G3.js.map +1 -0
- package/dist/{chunk-V6KX4KO3.js → chunk-YPJB4LJD.js} +3 -3
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts +5 -3
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-managed-dialog-list.d.ts +49 -0
- package/dist/components/chat/hooks/use-managed-dialog-list.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +2 -16
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -5
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +8 -4
- package/dist/components/chat/types/unified-chat-state.types.d.ts +55 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/chat/utils/chat-conversations-api.d.ts +29 -0
- package/dist/components/chat/utils/chat-conversations-api.d.ts.map +1 -0
- package/dist/components/chat/utils/index.d.ts +1 -0
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/docs/index.js +11 -11
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/index.js +7 -7
- package/dist/components/help-center-pages/index.cjs +31 -31
- package/dist/components/help-center-pages/index.js +22 -22
- package/dist/components/index.cjs +70 -66
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +26 -22
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +49 -49
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/index.js +10 -10
- package/dist/components/onboarding-guides/index.cjs +12 -12
- package/dist/components/onboarding-guides/index.js +11 -11
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/tickets/index.js +12 -12
- package/dist/components/ui/index.cjs +12 -8
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +11 -7
- package/dist/contexts/chat-runtime-context.d.ts +12 -0
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.js +4 -4
- package/dist/index.cjs +16 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/.embeddable-chat.md +2 -1
- package/src/components/chat/embeddable-chat.tsx +69 -37
- package/src/components/chat/hooks/.use-managed-dialog-list.md +28 -0
- package/src/components/chat/hooks/.use-nats-chat-adapter.md +2 -0
- package/src/components/chat/hooks/.use-sse-chat-adapter.md +7 -0
- package/src/components/chat/hooks/.use-unified-chat.md +1 -1
- package/src/components/chat/hooks/__tests__/managed-dialog-list.test.ts +92 -0
- package/src/components/chat/hooks/__tests__/nats-adapter-managed-dialogs.test.ts +167 -0
- package/src/components/chat/hooks/__tests__/sse-managed-dialogs.test.ts +256 -0
- package/src/components/chat/hooks/index.ts +2 -0
- package/src/components/chat/hooks/use-chat-history-hydration.ts +8 -7
- package/src/components/chat/hooks/use-managed-dialog-list.ts +263 -0
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +65 -150
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +213 -39
- package/src/components/chat/hooks/use-unified-chat.ts +5 -0
- package/src/components/chat/types/unified-chat-state.types.ts +62 -0
- package/src/components/chat/utils/.chat-conversations-api.md +16 -0
- package/src/components/chat/utils/__tests__/chat-conversations-api-golden.test.ts +90 -0
- package/src/components/chat/utils/chat-conversations-api.ts +92 -0
- package/src/components/chat/utils/index.ts +7 -0
- package/src/contexts/.chat-runtime-context.md +2 -0
- package/src/contexts/chat-runtime-context.tsx +12 -0
- package/dist/chunk-RDTOMWDN.cjs.map +0 -1
- package/dist/chunk-RYXIRVDC.js.map +0 -1
- package/dist/chunk-VNSRNVPD.js.map +0 -1
- /package/dist/{chunk-PT54TJWD.js.map → chunk-26MKONC3.js.map} +0 -0
- /package/dist/{chunk-DNQP4VPB.js.map → chunk-3XHNV6W7.js.map} +0 -0
- /package/dist/{chunk-TVK7PQON.js.map → chunk-442V6CPU.js.map} +0 -0
- /package/dist/{chunk-BZ4UEHNJ.js.map → chunk-5IMAIYID.js.map} +0 -0
- /package/dist/{chunk-B4BZRBKC.js.map → chunk-7YMVB7GE.js.map} +0 -0
- /package/dist/{chunk-BOILDHSY.js.map → chunk-AC2TI6UT.js.map} +0 -0
- /package/dist/{chunk-EVMHJB6X.js.map → chunk-BLUL2TE3.js.map} +0 -0
- /package/dist/{chunk-GGQZBSFN.js.map → chunk-BVQEU5JB.js.map} +0 -0
- /package/dist/{chunk-ELG2QNW5.js.map → chunk-D7X33EAT.js.map} +0 -0
- /package/dist/{chunk-WZJOILPU.js.map → chunk-F2KBCLUG.js.map} +0 -0
- /package/dist/{chunk-MYBXCWEI.js.map → chunk-FKBM6U43.js.map} +0 -0
- /package/dist/{chunk-FKOYQPMK.js.map → chunk-GQLYYZF4.js.map} +0 -0
- /package/dist/{chunk-LRQCKSZC.js.map → chunk-IW746HJ7.js.map} +0 -0
- /package/dist/{chunk-IRXLB6GV.js.map → chunk-KV24I5MD.js.map} +0 -0
- /package/dist/{chunk-R2YJKREE.js.map → chunk-NJCVIERS.js.map} +0 -0
- /package/dist/{chunk-VXEHG53O.js.map → chunk-OIUXJUMH.js.map} +0 -0
- /package/dist/{chunk-FHWL7QFL.js.map → chunk-RTCKC6RH.js.map} +0 -0
- /package/dist/{chunk-UAAXUFK6.js.map → chunk-RU3IKVY2.js.map} +0 -0
- /package/dist/{chunk-EZM5DNII.js.map → chunk-S6WBBSII.js.map} +0 -0
- /package/dist/{chunk-WWGSYT7R.js.map → chunk-SYFSVIGH.js.map} +0 -0
- /package/dist/{chunk-2JNCZDJR.js.map → chunk-TSCIVH7T.js.map} +0 -0
- /package/dist/{chunk-EGQ345IA.js.map → chunk-UHWDSVZI.js.map} +0 -0
- /package/dist/{chunk-V6KX4KO3.js.map → chunk-YPJB4LJD.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-STYNZ4QM.cjs","../src/hooks/use-self-fetch.ts"],"names":[],"mappings":"AAA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EAAA,OAAO;AAAA,IACL,IAAA;AAAA,IACA,OAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA;AAAA,IAEA,MAAA,EAAQ;AAAA,EACV,CAAA;AACF;AD5EA;AACA;AACE;AACF,oCAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-STYNZ4QM.cjs","sourcesContent":[null,"'use client';\n\nimport { useEffect, useRef, useState, type Dispatch, type SetStateAction } from 'react';\nimport { contentFetch } from '../utils/embed-content-fetch';\n\nexport interface UseSelfFetchResult<T> {\n data: T | null;\n /** Imperatively patch the fetched data (e.g. optimistic vote updates). */\n setData: Dispatch<SetStateAction<T | null>>;\n isLoading: boolean;\n error: boolean;\n /** Re-run the fetch (error-retry affordance). */\n reload: () => void;\n}\n\n/**\n * The single source for the 4 self-fetching content views\n * (`ProductReleasesView`, `RoadmapView`, the onboarding catalog/detail). GETs a\n * configured `url` into component state with **plain `fetch` + `useEffect`** —\n * deliberately NO react-query, so embedders don't need a QueryClient. This is\n * the same technology choice the shipped `DeliveryLists` makes; that component\n * predates this hook and still hand-rolls the loop (a future pass can migrate\n * it onto a two-url variant of this hook).\n *\n * Behaviour:\n * - `url = null` → fetching is DISABLED (controlled / SSR mode, or missing\n * config); returns `initialData ?? null` and never fetches.\n * - `initialData` provided → hydrates immediately and SKIPS the first fetch\n * (so the hub's server-rendered data isn't re-fetched on mount); later\n * `url` changes still re-fetch.\n * - a `cancelled` guard ensures an in-flight response from a STALE `url`\n * (e.g. a fast pagination / section toggle) can't overwrite a newer one.\n * - `reload()` bumps an internal key to retry after an error.\n * - `revalidateOnVisibleAfterMs` (opt-in) → re-fetch when the tab becomes\n * visible AND the held data is older than the threshold. Event-driven\n * freshness with ZERO background requests — the replacement for\n * setInterval polling. Data age counts from the last completed fetch, or\n * from mount when `initialData` seeded it (an SSR seed is milliseconds\n * old — without that, the first refocus would always refire).\n *\n * Re-fetches whenever `url` changes, so callers fold all query params INTO the\n * url string (the url IS the cache key).\n */\nexport function useSelfFetch<T>(\n url: string | null,\n options?: { initialData?: T; revalidateOnVisibleAfterMs?: number },\n): UseSelfFetchResult<T> {\n const initialData = options?.initialData;\n const revalidateOnVisibleAfterMs = options?.revalidateOnVisibleAfterMs;\n const [data, setData] = useState<T | null>(initialData ?? null);\n const [isLoading, setIsLoading] = useState(initialData === undefined && url !== null);\n const [error, setError] = useState(false);\n const [reloadKey, setReloadKey] = useState(0);\n // When the held data was obtained: seeded at mount for SSR-hydrated data,\n // stamped after each completed fetch. Drives the visibility revalidation age\n // check. 0 = nothing held yet (first visible event may fetch).\n // The mount timestamp comes from a lazy `useState` initialiser — a\n // `useRef(Date.now())` argument is re-evaluated on every render.\n const [mountedAt] = useState(() => Date.now());\n const dataAtRef = useRef<number>(initialData !== undefined ? mountedAt : 0);\n // The url whose data we currently hold — seeded from SSR `initialData`, then set after\n // each completed fetch. The effect skips the fetch when this equals `url` (so server-\n // rendered data isn't re-fetched on mount). A VALUE compare (not a one-shot flag) so the\n // SSR-hydration skip survives React 18 StrictMode's mount→unmount→remount in dev;\n // `reload()` nulls it to force a re-fetch of the same url.\n const dataUrlRef = useRef<string | null>(initialData !== undefined ? url : null);\n\n // Both resets below are prop-driven, so they use React's \"adjust state while\n // rendering\" pattern rather than an effect. From an effect each one commits a\n // frame showing the superseded data (or a spinner that will never resolve)\n // and then immediately re-renders to correct it; done here the wrong frame\n // never reaches the screen.\n const [syncedProps, setSyncedProps] = useState({ url, initialData });\n if (syncedProps.url !== url || syncedProps.initialData !== initialData) {\n setSyncedProps({ url, initialData });\n // A CONTROLLED `initialData` changed (e.g. the host navigates between\n // detail slugs without remounting). No-op in self-fetch mode, where\n // `initialData` is `undefined`.\n if (syncedProps.initialData !== initialData && initialData !== undefined) {\n setData(initialData);\n }\n // Fetching just got disabled — nothing will land to clear the spinner.\n if (syncedProps.url !== url && url === null) {\n setIsLoading(false);\n }\n }\n\n useEffect(() => {\n if (url === null) return undefined;\n // Already hold data for this exact url (SSR-hydrated, or a prior completed fetch) →\n // skip. `reload()` clears `dataUrlRef` so a retry of the same url still fetches.\n if (dataUrlRef.current === url) return undefined;\n const ctrl = new AbortController();\n let cancelled = false;\n async function load() {\n try {\n setIsLoading(true);\n setError(false);\n const res = await contentFetch(url as string, { signal: ctrl.signal });\n if (!res.ok) throw new Error(`Request failed (${res.status})`);\n const json = (await res.json()) as T;\n if (!cancelled) {\n setData(json);\n dataUrlRef.current = url; // remember the url we now hold data for\n dataAtRef.current = Date.now();\n }\n } catch (err) {\n // AbortError on cleanup (unmount / stale-url change / React StrictMode's dev\n // double-invoke) is EXPECTED — the request was intentionally aborted. Aborting\n // also means the orphaned StrictMode fetch shows as \"cancelled\" instead of\n // completing as a wasted duplicate (parity with useChatIdentity). Only real\n // failures fall through to the error state + console.\n if (cancelled || (err as Error)?.name === 'AbortError') return;\n setError(true);\n console.error('useSelfFetch:', url, err);\n } finally {\n if (!cancelled) setIsLoading(false);\n }\n }\n // Never rejects — try/catch/finally, every write gated on `cancelled`.\n void load();\n return () => {\n cancelled = true;\n ctrl.abort();\n };\n // `url` folds in every query param; `reloadKey` drives retry.\n }, [url, reloadKey]);\n\n // ONE force-refetch mechanic shared by reload() and the visibility\n // revalidation: clear the held-url skip, bump the effect key.\n const forceReload = () => {\n dataUrlRef.current = null;\n setReloadKey(k => k + 1);\n };\n\n // Opt-in visibility-driven revalidation. Registered only when the option is\n // set and fetching is enabled; SSR-safe (effects don't run on the server)\n // and StrictMode-safe (idempotent listener, cleaned up per mount cycle).\n useEffect(() => {\n if (!revalidateOnVisibleAfterMs || url === null) return undefined;\n const onVisible = () => {\n if (document.visibilityState !== 'visible') return;\n if (Date.now() - dataAtRef.current < revalidateOnVisibleAfterMs) return;\n forceReload();\n };\n document.addEventListener('visibilitychange', onVisible);\n return () => document.removeEventListener('visibilitychange', onVisible);\n }, [url, revalidateOnVisibleAfterMs]);\n\n return {\n data,\n setData,\n isLoading,\n error,\n // Force a re-fetch of the current url (error-retry affordance).\n reload: forceReload,\n };\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-3IXDZI3R.cjs","../src/hooks/use-self-fetch.ts"],"names":[],"mappings":"AAAA,6rBAAY;AACZ;AACE;AACF,wDAA6B;AAC7B;AACA;ACHA,8BAAgF;AAyCzE,SAAS,YAAA,CACd,GAAA,EACA,OAAA,EACuB;AACvB,EAAA,MAAM,YAAA,kBAAc,OAAA,2BAAS,aAAA;AAC7B,EAAA,MAAM,2BAAA,kBAA6B,OAAA,6BAAS,4BAAA;AAC5C,EAAA,MAAM,CAAC,IAAA,EAAM,OAAO,EAAA,EAAI,6BAAA,iBAAmB,WAAA,UAAe,MAAI,CAAA;AAC9D,EAAA,MAAM,CAAC,SAAA,EAAW,YAAY,EAAA,EAAI,6BAAA,YAAS,IAAgB,KAAA,EAAA,GAAa,IAAA,IAAQ,IAAI,CAAA;AACpF,EAAA,MAAM,CAAC,KAAA,EAAO,QAAQ,EAAA,EAAI,6BAAA,KAAc,CAAA;AACxC,EAAA,MAAM,CAAC,SAAA,EAAW,YAAY,EAAA,EAAI,6BAAA,CAAU,CAAA;AAM5C,EAAA,MAAM,CAAC,SAAS,EAAA,EAAI,6BAAA,CAAS,EAAA,GAAM,IAAA,CAAK,GAAA,CAAI,CAAC,CAAA;AAC7C,EAAA,MAAM,UAAA,EAAY,2BAAA,YAAe,IAAgB,KAAA,EAAA,EAAY,UAAA,EAAY,CAAC,CAAA;AAM1E,EAAA,MAAM,WAAA,EAAa,2BAAA,YAAsB,IAAgB,KAAA,EAAA,EAAY,IAAA,EAAM,IAAI,CAAA;AAO/E,EAAA,MAAM,CAAC,WAAA,EAAa,cAAc,EAAA,EAAI,6BAAA,EAAW,GAAA,EAAK,YAAY,CAAC,CAAA;AACnE,EAAA,GAAA,CAAI,WAAA,CAAY,IAAA,IAAQ,IAAA,GAAO,WAAA,CAAY,YAAA,IAAgB,WAAA,EAAa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CAAA;AACvD,IAAA,OAAO,CAAA,EAAA,GAAM,QAAA,CAAS,mBAAA,CAAoB,kBAAA,EAAoB,SAAS,CAAA;AAAA,EACzE,CAAA,EAAG,CAAC,GAAA,EAAK,0BAA0B,CAAC,CAAA;AAEpC,EAAA,OAAO;AAAA,IACL,IAAA;AAAA,IACA,OAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA;AAAA,IAEA,MAAA,EAAQ;AAAA,EACV,CAAA;AACF;AD5EA;AACA;AACE;AACF,oCAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-3IXDZI3R.cjs","sourcesContent":[null,"'use client';\n\nimport { useEffect, useRef, useState, type Dispatch, type SetStateAction } from 'react';\nimport { contentFetch } from '../utils/embed-content-fetch';\n\nexport interface UseSelfFetchResult<T> {\n data: T | null;\n /** Imperatively patch the fetched data (e.g. optimistic vote updates). */\n setData: Dispatch<SetStateAction<T | null>>;\n isLoading: boolean;\n error: boolean;\n /** Re-run the fetch (error-retry affordance). */\n reload: () => void;\n}\n\n/**\n * The single source for the 4 self-fetching content views\n * (`ProductReleasesView`, `RoadmapView`, the onboarding catalog/detail). GETs a\n * configured `url` into component state with **plain `fetch` + `useEffect`** —\n * deliberately NO react-query, so embedders don't need a QueryClient. This is\n * the same technology choice the shipped `DeliveryLists` makes; that component\n * predates this hook and still hand-rolls the loop (a future pass can migrate\n * it onto a two-url variant of this hook).\n *\n * Behaviour:\n * - `url = null` → fetching is DISABLED (controlled / SSR mode, or missing\n * config); returns `initialData ?? null` and never fetches.\n * - `initialData` provided → hydrates immediately and SKIPS the first fetch\n * (so the hub's server-rendered data isn't re-fetched on mount); later\n * `url` changes still re-fetch.\n * - a `cancelled` guard ensures an in-flight response from a STALE `url`\n * (e.g. a fast pagination / section toggle) can't overwrite a newer one.\n * - `reload()` bumps an internal key to retry after an error.\n * - `revalidateOnVisibleAfterMs` (opt-in) → re-fetch when the tab becomes\n * visible AND the held data is older than the threshold. Event-driven\n * freshness with ZERO background requests — the replacement for\n * setInterval polling. Data age counts from the last completed fetch, or\n * from mount when `initialData` seeded it (an SSR seed is milliseconds\n * old — without that, the first refocus would always refire).\n *\n * Re-fetches whenever `url` changes, so callers fold all query params INTO the\n * url string (the url IS the cache key).\n */\nexport function useSelfFetch<T>(\n url: string | null,\n options?: { initialData?: T; revalidateOnVisibleAfterMs?: number },\n): UseSelfFetchResult<T> {\n const initialData = options?.initialData;\n const revalidateOnVisibleAfterMs = options?.revalidateOnVisibleAfterMs;\n const [data, setData] = useState<T | null>(initialData ?? null);\n const [isLoading, setIsLoading] = useState(initialData === undefined && url !== null);\n const [error, setError] = useState(false);\n const [reloadKey, setReloadKey] = useState(0);\n // When the held data was obtained: seeded at mount for SSR-hydrated data,\n // stamped after each completed fetch. Drives the visibility revalidation age\n // check. 0 = nothing held yet (first visible event may fetch).\n // The mount timestamp comes from a lazy `useState` initialiser — a\n // `useRef(Date.now())` argument is re-evaluated on every render.\n const [mountedAt] = useState(() => Date.now());\n const dataAtRef = useRef<number>(initialData !== undefined ? mountedAt : 0);\n // The url whose data we currently hold — seeded from SSR `initialData`, then set after\n // each completed fetch. The effect skips the fetch when this equals `url` (so server-\n // rendered data isn't re-fetched on mount). A VALUE compare (not a one-shot flag) so the\n // SSR-hydration skip survives React 18 StrictMode's mount→unmount→remount in dev;\n // `reload()` nulls it to force a re-fetch of the same url.\n const dataUrlRef = useRef<string | null>(initialData !== undefined ? url : null);\n\n // Both resets below are prop-driven, so they use React's \"adjust state while\n // rendering\" pattern rather than an effect. From an effect each one commits a\n // frame showing the superseded data (or a spinner that will never resolve)\n // and then immediately re-renders to correct it; done here the wrong frame\n // never reaches the screen.\n const [syncedProps, setSyncedProps] = useState({ url, initialData });\n if (syncedProps.url !== url || syncedProps.initialData !== initialData) {\n setSyncedProps({ url, initialData });\n // A CONTROLLED `initialData` changed (e.g. the host navigates between\n // detail slugs without remounting). No-op in self-fetch mode, where\n // `initialData` is `undefined`.\n if (syncedProps.initialData !== initialData && initialData !== undefined) {\n setData(initialData);\n }\n // Fetching just got disabled — nothing will land to clear the spinner.\n if (syncedProps.url !== url && url === null) {\n setIsLoading(false);\n }\n }\n\n useEffect(() => {\n if (url === null) return undefined;\n // Already hold data for this exact url (SSR-hydrated, or a prior completed fetch) →\n // skip. `reload()` clears `dataUrlRef` so a retry of the same url still fetches.\n if (dataUrlRef.current === url) return undefined;\n const ctrl = new AbortController();\n let cancelled = false;\n async function load() {\n try {\n setIsLoading(true);\n setError(false);\n const res = await contentFetch(url as string, { signal: ctrl.signal });\n if (!res.ok) throw new Error(`Request failed (${res.status})`);\n const json = (await res.json()) as T;\n if (!cancelled) {\n setData(json);\n dataUrlRef.current = url; // remember the url we now hold data for\n dataAtRef.current = Date.now();\n }\n } catch (err) {\n // AbortError on cleanup (unmount / stale-url change / React StrictMode's dev\n // double-invoke) is EXPECTED — the request was intentionally aborted. Aborting\n // also means the orphaned StrictMode fetch shows as \"cancelled\" instead of\n // completing as a wasted duplicate (parity with useChatIdentity). Only real\n // failures fall through to the error state + console.\n if (cancelled || (err as Error)?.name === 'AbortError') return;\n setError(true);\n console.error('useSelfFetch:', url, err);\n } finally {\n if (!cancelled) setIsLoading(false);\n }\n }\n // Never rejects — try/catch/finally, every write gated on `cancelled`.\n void load();\n return () => {\n cancelled = true;\n ctrl.abort();\n };\n // `url` folds in every query param; `reloadKey` drives retry.\n }, [url, reloadKey]);\n\n // ONE force-refetch mechanic shared by reload() and the visibility\n // revalidation: clear the held-url skip, bump the effect key.\n const forceReload = () => {\n dataUrlRef.current = null;\n setReloadKey(k => k + 1);\n };\n\n // Opt-in visibility-driven revalidation. Registered only when the option is\n // set and fetching is enabled; SSR-safe (effects don't run on the server)\n // and StrictMode-safe (idempotent listener, cleaned up per mount cycle).\n useEffect(() => {\n if (!revalidateOnVisibleAfterMs || url === null) return undefined;\n const onVisible = () => {\n if (document.visibilityState !== 'visible') return;\n if (Date.now() - dataAtRef.current < revalidateOnVisibleAfterMs) return;\n forceReload();\n };\n document.addEventListener('visibilitychange', onVisible);\n return () => document.removeEventListener('visibilitychange', onVisible);\n }, [url, revalidateOnVisibleAfterMs]);\n\n return {\n data,\n setData,\n isLoading,\n error,\n // Force a re-fetch of the current url (error-retry affordance).\n reload: forceReload,\n };\n}\n"]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UHWDSVZI.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YPJB4LJD.js";
|
|
11
11
|
import {
|
|
12
12
|
EmptyState,
|
|
13
13
|
UnifiedPagination
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TSCIVH7T.js";
|
|
15
15
|
import {
|
|
16
16
|
TICKET_MARK_READ_DEBOUNCE_MS,
|
|
17
17
|
TICKET_TEXT_MAX_CHARS,
|
|
18
18
|
TOAST_COPY,
|
|
19
19
|
isOptimistic,
|
|
20
20
|
useOptionalTicketLive
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KV24I5MD.js";
|
|
22
22
|
import {
|
|
23
23
|
AlertDialog,
|
|
24
24
|
AlertDialogAction,
|
|
@@ -34,16 +34,16 @@ import {
|
|
|
34
34
|
Textarea,
|
|
35
35
|
TicketAttachmentsList,
|
|
36
36
|
devSectionAnchorId
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-GQLYYZF4.js";
|
|
38
38
|
import {
|
|
39
39
|
toast,
|
|
40
40
|
useScrollToHash
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-S6WBBSII.js";
|
|
42
42
|
import {
|
|
43
43
|
PAGE_PARAM_LIMITS,
|
|
44
44
|
pageCount,
|
|
45
45
|
positiveInt
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-BVQEU5JB.js";
|
|
47
47
|
import {
|
|
48
48
|
Input,
|
|
49
49
|
RequiredMark
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
formatRelativeTime,
|
|
59
59
|
useChatAttachments,
|
|
60
60
|
useChatIdentity
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-XAJZIDFH.js";
|
|
62
62
|
import {
|
|
63
63
|
STICKY_HEADER_OFFSET_PX,
|
|
64
64
|
scrollElementIntoView
|
|
@@ -73,13 +73,13 @@ import {
|
|
|
73
73
|
SquareAvatar,
|
|
74
74
|
StatusBadge,
|
|
75
75
|
getStatusColorScheme
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-RU3IKVY2.js";
|
|
77
77
|
import {
|
|
78
78
|
embedAuthedFetch
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-FKBM6U43.js";
|
|
80
80
|
import {
|
|
81
81
|
useRequiredChatRuntime
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-YB6FI2G3.js";
|
|
83
83
|
import {
|
|
84
84
|
Label,
|
|
85
85
|
Skeleton
|
|
@@ -1845,4 +1845,4 @@ export {
|
|
|
1845
1845
|
HelpCenterCreateForm,
|
|
1846
1846
|
HelpCenterList
|
|
1847
1847
|
};
|
|
1848
|
-
//# sourceMappingURL=chunk-
|
|
1848
|
+
//# sourceMappingURL=chunk-3XHNV6W7.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SearchInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GQLYYZF4.js";
|
|
5
5
|
import {
|
|
6
6
|
contentFetch
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BVQEU5JB.js";
|
|
8
8
|
import {
|
|
9
9
|
NEW_TAB_FEATURES,
|
|
10
10
|
resolveExternalNavigation,
|
|
11
11
|
resolveSourceIcon,
|
|
12
12
|
stripSameOriginToPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XAJZIDFH.js";
|
|
14
14
|
import {
|
|
15
15
|
useDebounce
|
|
16
16
|
} from "./chunk-5LIDR7HL.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
} from "./chunk-XXMHLZ3Y.js";
|
|
20
20
|
import {
|
|
21
21
|
decideNewTab
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RU3IKVY2.js";
|
|
23
23
|
import {
|
|
24
24
|
useChatRuntime
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YB6FI2G3.js";
|
|
26
26
|
|
|
27
27
|
// src/components/shared/doc-search/format-relative-path.ts
|
|
28
28
|
function formatRelativePath(fullPath) {
|
|
@@ -381,4 +381,4 @@ export {
|
|
|
381
381
|
resolveSearchResultAction,
|
|
382
382
|
useDocSearch
|
|
383
383
|
};
|
|
384
|
-
//# sourceMappingURL=chunk-
|
|
384
|
+
//# sourceMappingURL=chunk-442V6CPU.js.map
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ArticleAuthorByline,
|
|
4
4
|
DetailPageSkeleton
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7YMVB7GE.js";
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-442V6CPU.js";
|
|
10
10
|
import {
|
|
11
11
|
useSelfFetch
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F2KBCLUG.js";
|
|
13
13
|
import {
|
|
14
14
|
EntityTagBadges,
|
|
15
15
|
FilterPillRow,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
PageShell,
|
|
19
19
|
RichMarkdownRenderer,
|
|
20
20
|
resolveContentHref
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GQLYYZF4.js";
|
|
22
22
|
import {
|
|
23
23
|
EntityVideoSection,
|
|
24
24
|
VideoBitesStrip,
|
|
25
25
|
useCaptions,
|
|
26
26
|
useVideoWarmup
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XAJZIDFH.js";
|
|
28
28
|
import {
|
|
29
29
|
useRouter,
|
|
30
30
|
useSearchParams
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
OnboardingGuideCard,
|
|
35
35
|
OnboardingGuideCardSkeleton,
|
|
36
36
|
toStripProfile
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-RU3IKVY2.js";
|
|
38
38
|
import {
|
|
39
39
|
buildOgPlaceholderUrl
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FKBM6U43.js";
|
|
41
41
|
import {
|
|
42
42
|
useChatRuntime
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YB6FI2G3.js";
|
|
44
44
|
|
|
45
45
|
// src/components/onboarding-guides/onboarding-guides-catalog-view.tsx
|
|
46
46
|
import { GraduationCap } from "lucide-react";
|
|
@@ -389,4 +389,4 @@ export {
|
|
|
389
389
|
useOnboardingGuide,
|
|
390
390
|
useOnboardingGuideSections
|
|
391
391
|
};
|
|
392
|
-
//# sourceMappingURL=chunk-
|
|
392
|
+
//# sourceMappingURL=chunk-5IMAIYID.js.map
|