@hot-updater/console 1.2.0-rc.27 → 1.2.0-rc.29
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/.output/nitro.json +1 -1
- package/.output/public/assets/{-native-builds-search-OlRj4Jz0.js → -native-builds-search-DdHwfe4q.js} +1 -1
- package/.output/public/assets/BundleIdDisplay-CTBdtFQ8.js +1 -0
- package/.output/public/assets/ChannelBadge-CEabmopB.js +1 -0
- package/.output/public/assets/CompositeItem-KUM5yQVr.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-DUqlpHCp.js → ConsoleFeatureUnavailable-Be-0iTww.js} +1 -1
- package/.output/public/assets/EventDetails-bDOYte1z.js +1 -0
- package/.output/public/assets/HashValueDisplay-D2f0HmyU.js +1 -0
- package/.output/public/assets/{InsightsPageHeader-2bTrjXln.js → InsightsPageHeader-Cj2ROSQO.js} +1 -1
- package/.output/public/assets/IosInstall-CHI2C4Yd.js +1 -0
- package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +1 -0
- package/.output/public/assets/{NotFoundPage-Ckb5GMhh.js → NotFoundPage-CVBtl68B.js} +1 -1
- package/.output/public/assets/{PlatformIcon-CJ69KopR.js → PlatformIcon-DVnzzGqM.js} +1 -1
- package/.output/public/assets/RelativeTime-B4PK8qDw.js +1 -0
- package/.output/public/assets/{RolloutPercentageBadge-G6qt8rVb.js → RolloutPercentageBadge-D_I0Raj2.js} +1 -1
- package/.output/public/assets/RowReason-B7VM1ztc.js +1 -0
- package/.output/public/assets/SandboxBadge-BVxHg_HF.js +1 -0
- package/.output/public/assets/TargetDisplay-KU7JhIWG.js +1 -0
- package/.output/public/assets/{alert-dialog-DiRLrFVe.js → alert-dialog-Ch0QxRsa.js} +1 -1
- package/.output/public/assets/api-C1OPeiG1.js +1 -0
- package/.output/public/assets/api-keys-DLC8jjaM.js +1 -0
- package/.output/public/assets/api-keys-eDnzgFAf.js +1 -0
- package/.output/public/assets/arrow-left-DQjHJAnT.js +1 -0
- package/.output/public/assets/arrow-right-CXp_K3xK.js +1 -0
- package/.output/public/assets/arrow-up-right-BFafIOrq.js +1 -0
- package/.output/public/assets/{badge-D0NFvUY5.js → badge-FZMD5vvS.js} +1 -1
- package/.output/public/assets/card-CyHYmHue.js +1 -0
- package/.output/public/assets/check-CqWNyG93.js +1 -0
- package/.output/public/assets/chevron-right-DNbYTBX1.js +1 -0
- package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-BCkZpskJ.js} +1 -1
- package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-DZrZK5gR.js} +1 -1
- package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-BO5V64P3.js} +1 -1
- package/.output/public/assets/{copy-DsuLj3oj.js → copy-CH1__JAW.js} +1 -1
- package/.output/public/assets/dialog-BLj71-Nf.js +1 -0
- package/.output/public/assets/{dist-Bf1BPKMs.js → dist-DAM__Tdz.js} +1 -1
- package/.output/public/assets/download-B2GjTySo.js +1 -0
- package/.output/public/assets/empty--YaE5Z4p.js +1 -0
- package/.output/public/assets/field-CdhSgWhI.js +1 -0
- package/.output/public/assets/git-branch-DG1VDaKq.js +1 -0
- package/.output/public/assets/history-C0wv4htz.js +1 -0
- package/.output/public/assets/index-BdyQq4-k.js +10 -0
- package/.output/public/assets/{input-group-D_NfhUbX.js → input-group-XKLcUGoa.js} +1 -1
- package/.output/public/assets/insights-C94CdeAA.js +1 -0
- package/.output/public/assets/insights-DILMVpk8.js +2 -0
- package/.output/public/assets/insights-_j_ieOyh.js +42 -0
- package/.output/public/assets/insights-api-B6Gj74n5.js +1 -0
- package/.output/public/assets/{insights-search-CYPrQVUC.js → insights-search-Bgvg6wSP.js} +1 -1
- package/.output/public/assets/insights-usage-rpc-BUCinjSN.js +1 -0
- package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +2 -0
- package/.output/public/assets/{insights_.distribution-_dZi1_ay.js → insights_.distribution-CRkGNelG.js} +1 -1
- package/.output/public/assets/insights_.distribution-CyAu3RN3.js +1 -0
- package/.output/public/assets/installations-BA01mqJE.js +1 -0
- package/.output/public/assets/installations-BsD6LgNc.js +2 -0
- package/.output/public/assets/installations-CYTzndfP.js +1 -0
- package/.output/public/assets/{key-round-DzBe6DHr.js → key-round-D7UgdXyA.js} +1 -1
- package/.output/public/assets/{link-DTEyW70e.js → link-CN3iHC4A.js} +2 -2
- package/.output/public/assets/{list-B6GeoQ_b.js → list-Bm-CfN5g.js} +1 -1
- package/.output/public/assets/loader-circle-iMqC-8ZE.js +1 -0
- package/.output/public/assets/native-builds-BMbws1g5.js +2 -0
- package/.output/public/assets/native-builds-xgHiHQML.js +1 -0
- package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +1 -0
- package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +2 -0
- package/.output/public/assets/native-builds_.devices-B-u7uLLG.js +2 -0
- package/.output/public/assets/native-builds_.devices-CVNAQtSy.js +1 -0
- package/.output/public/assets/{package-ytYrywZH.js → package-BmfoZ5Zj.js} +1 -1
- package/.output/public/assets/plus-Db0KxLZp.js +1 -0
- package/.output/public/assets/preload-helper-CRQjUQaZ.js +1 -0
- package/.output/public/assets/{refresh-cw-C-tvoCcE.js → refresh-cw-BHhBYjS8.js} +1 -1
- package/.output/public/assets/{relativeTime-DvyxGIsm.js → relativeTime-BYRt19mj.js} +1 -1
- package/.output/public/assets/remote-config-Cxkr7_BP.js +1 -0
- package/.output/public/assets/remote-config-DAOyn5xL.js +1 -0
- package/.output/public/assets/remote-config-DXv25LX1.js +6 -0
- package/.output/public/assets/{rotate-cw-Clk5xTeE.js → rotate-cw-Ba-slJea.js} +1 -1
- package/.output/public/assets/{routes-gQXSzO_n.js → routes-DM3TyTLW.js} +2 -2
- package/.output/public/assets/routes-Des97uK_.js +1 -0
- package/.output/public/assets/search-dJG2BYmx.js +1 -0
- package/.output/public/assets/select-CA8r-UUe.js +1 -0
- package/.output/public/assets/send-DuMOCzbD.js +1 -0
- package/.output/public/assets/{sidebar-Di9SN47G.js → sidebar-yC7KdImc.js} +1 -1
- package/.output/public/assets/smartphone-D1C6BRd_.js +1 -0
- package/.output/public/assets/styles-BHLI87EH.css +2 -0
- package/.output/public/assets/switch-BsV3d4km.js +1 -0
- package/.output/public/assets/table-D8YjT_ht.js +1 -0
- package/.output/public/assets/tabs-RdhEl9sE.js +1 -0
- package/.output/public/assets/trash-2-B5KIvrXy.js +1 -0
- package/.output/public/assets/{undo-2-Bt0YXG26.js → undo-2-CFcU9dIB.js} +1 -1
- package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-lAmUsXcc.js} +1 -1
- package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-w3qYaU2L.js} +1 -1
- package/.output/server/{__23tanstack-start-server-fn-resolver-CIN7Hpjl.mjs → __23tanstack-start-server-fn-resolver-DTuNq7_z.mjs} +85 -49
- package/.output/server/_libs/@base-ui/react+[...].mjs +1488 -183
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +2 -2
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_libs/lucide-react.mjs +22 -2
- package/.output/server/_libs/next-themes.mjs +1 -1
- package/.output/server/_libs/react-redux+[...].mjs +1 -1
- package/.output/server/_libs/recharts+[...].mjs +1 -1
- package/.output/server/_libs/sonner.mjs +1 -1
- package/.output/server/_libs/tanstack__react-query.mjs +1 -1
- package/.output/server/_ssr/{-native-builds-search-M6t7EIt4.mjs → -native-builds-search-Mm_AZoRU.mjs} +8 -2
- package/.output/server/_ssr/{BundleIdDisplay-BaFPllhZ.mjs → BundleIdDisplay-BX6DLh1K.mjs} +3 -3
- package/.output/server/_ssr/ChannelBadge-D7O95Ack.mjs +23 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-C-1Ls1sm.mjs → ConsoleFeatureUnavailable-Dfs3WUZf.mjs} +8 -8
- package/.output/server/_ssr/{EventDetails-jVM6sD8m.mjs → EventDetails-C1Q9caVa.mjs} +9 -9
- package/.output/server/_ssr/{HashValueDisplay-C7nja_fn.mjs → HashValueDisplay-SIEeZe0O.mjs} +3 -3
- package/.output/server/_ssr/{InsightsPageHeader-CDJhClRy.mjs → InsightsPageHeader-CAcbXSFD.mjs} +9 -9
- package/.output/server/_ssr/IosInstall-B7yxnQ7o.mjs +615 -0
- package/.output/server/_ssr/NativeBuildsNav-BwoEX7xx.mjs +38 -0
- package/.output/server/_ssr/{NotFoundPage-DclXpGzY.mjs → NotFoundPage-Cd_nKv04.mjs} +3 -3
- package/.output/server/_ssr/{PlatformIcon-CMLs3Wez.mjs → PlatformIcon-BpGOEXjU.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-DUr_cgha.mjs → RelativeTime-B5txzq94.mjs} +40 -12
- package/.output/server/_ssr/{RolloutPercentageBadge-Mg4g25Gf.mjs → RolloutPercentageBadge-BEV8btLv.mjs} +4 -4
- package/.output/server/_ssr/RowReason-CEDEk7-N.mjs +186 -0
- package/.output/server/_ssr/{StoreSubmission-CUIg6WXQ.mjs → SandboxBadge-wlOMZIUd.mjs} +17 -17
- package/.output/server/_ssr/{TargetDisplay-C-C8MKuf.mjs → TargetDisplay-076I9qHx.mjs} +6 -23
- package/.output/server/_ssr/{alert-dialog-CiN6BFHg.mjs → alert-dialog-DrD4hAp4.mjs} +2 -2
- package/.output/server/_ssr/{api-BeWenjNl.mjs → api-C1plnjZg.mjs} +74 -17
- package/.output/server/_ssr/{api-keys-DzWwXpi5.mjs → api-keys-Bzn-P-lX.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-Bzaj1vWD.mjs → api-keys-L8_p18pO.mjs} +12 -12
- package/.output/server/_ssr/{api-keys-rpc-BRnZWUpw.mjs → api-keys-rpc-Mne2yo8z.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-B87QoJwB.mjs → api-rpc-ChVBmeca.mjs} +56 -33
- package/.output/server/_ssr/{auth-rpc-CO1_TL1b.mjs → auth-rpc-Dml8l_eq.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-BWTHsAlW.mjs → auth.server-DOShgraQ.mjs} +587 -19
- package/.output/server/_ssr/{badge-C7PdVtoH.mjs → badge-BasQflNy.mjs} +2 -2
- package/.output/server/_ssr/{bundleActivity-BGVvqWx7.mjs → bundleActivity-BP40zYSt.mjs} +1 -1
- package/.output/server/_ssr/{card-BkxhOkGp.mjs → card-BrGGQYC0.mjs} +2 -2
- package/.output/server/_ssr/{config.server-Bvqyj9Ec.mjs → config.server-CVOdMDBk.mjs} +4 -4
- package/.output/server/_ssr/{console-access-CHD7-b3E.mjs → console-access-Bi-abtY-.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-Btkz_ZEj.mjs → console-features-api-Bjxo5ur3.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-DYf3xbak.mjs → console-features-rpc-xzdodg3g.mjs} +3 -3
- package/.output/server/_ssr/{console-features-CRP-pfov.mjs → console-features-xaGDhRC9.mjs} +1 -1
- package/.output/server/_ssr/deviceProfileToken-CwWb1lPq.mjs +82 -0
- package/.output/server/_ssr/{dialog-fnm03nlH.mjs → dialog-7iMkt9l0.mjs} +2 -2
- package/.output/server/_ssr/{downloadBundle-BX8ODCZT.mjs → downloadBundle-DnoYpi36.mjs} +1 -1
- package/.output/server/_ssr/{empty-BzjaWjuQ.mjs → empty-Chb-YL3R.mjs} +3 -3
- package/.output/server/_ssr/{failureReports-C_CmBF4x.mjs → failureReports-BA2eg11O.mjs} +3 -3
- package/.output/server/_ssr/{field-C2GZCygB.mjs → field-mL_Aa6ff.mjs} +3 -3
- package/.output/server/_ssr/foldedPage-CqpVk31Q.mjs +176 -0
- package/.output/server/_ssr/{getBundleChildren-BJTufthT.mjs → getBundleChildren-CdqFonhl.mjs} +1 -1
- package/.output/server/_ssr/{input-group-Cu6TtdYb.mjs → input-group-C00_xYka.mjs} +2 -2
- package/.output/server/_ssr/{insights-DuQB3_VX.mjs → insights-BcVNQCXf.mjs} +28 -28
- package/.output/server/_ssr/{insights-DZZsKfdZ.mjs → insights-BdF3o0Yp.mjs} +2 -2
- package/.output/server/_ssr/{insights-D_XXiwXz.mjs → insights-C9sSQPMF.mjs} +5 -5
- package/.output/server/_ssr/{insights-api-a8B90BHl.mjs → insights-api-CShlv9dA.mjs} +5 -5
- package/.output/server/_ssr/{insights-errors-Bz3sWNZm.mjs → insights-errors-CXHg1lLV.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-DNQ9qVVf.mjs → insights-failures-7zH97WOO.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-DM5dPfnS.mjs → insights-failures-rpc-C-cv9bId.mjs} +10 -10
- package/.output/server/_ssr/{insights-recovery-DOkpqnQ8.mjs → insights-recovery-BhOg6kz2.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-C81f-2Xa.mjs → insights-recovery-rpc-Ct-jIQZU.mjs} +6 -6
- package/.output/server/_ssr/{insights-rpc-DVbg0dsI.mjs → insights-rpc-Dc0I8O3n.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-sCdCd-8P.mjs → insights-search-D_vVwBwW.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-4KDIN3Kg.mjs → insights-usage-h8fipPTv.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-CKfXb-tc.mjs → insights-usage-rpc-4TR94EHa.mjs} +6 -6
- package/.output/server/_ssr/{insights-usage-rpc-DAwc4FE6.mjs → insights-usage-rpc-D60hOhzl.mjs} +5 -5
- package/.output/server/_ssr/{insightsUsage-DmQdJZqT.mjs → insightsUsage-BjSiV_X_.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-FhZMnsNm.mjs → insights_.distribution-BgnfMzw1.mjs} +17 -17
- package/.output/server/_ssr/{insights_.distribution-CvPrNh8j.mjs → insights_.distribution-DkD7uAwA.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-Bq52kUtA.mjs → insights_.distribution-wT1mjWsG.mjs} +2 -2
- package/.output/server/_ssr/{installations-BjOaol_w.mjs → installations-DtRbzy3N.mjs} +2 -2
- package/.output/server/_ssr/{installations-CKe2Srtx.mjs → installations-DvxMRP5u.mjs} +4 -4
- package/.output/server/_ssr/{installations-B2anrEwv.mjs → installations-tFsFnxKk.mjs} +13 -13
- package/.output/server/_ssr/ios-devices-rpc-CIPuCUQ8.mjs +139 -0
- package/.output/server/_ssr/iosDeviceProfile-WyMC1593.mjs +176 -0
- package/.output/server/_ssr/iosDevices-B0TjF_sb.mjs +129 -0
- package/.output/server/_ssr/listReleases-DYYA5alS.mjs +94 -0
- package/.output/server/_ssr/{native-builds-OUdRtp6m.mjs → native-builds-BXBkklfA.mjs} +28 -6
- package/.output/server/_ssr/{native-builds-DSOAh1CX.mjs → native-builds-C458T7Ts.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-BsfydODe.mjs → native-builds-C5WxR0BT.mjs} +235 -90
- package/.output/server/_ssr/{native-builds_._buildId-BOedzqOS.mjs → native-builds_._buildId-CyCGKZ1H.mjs} +165 -323
- package/.output/server/_ssr/{native-builds_._buildId-DSfes24H.mjs → native-builds_._buildId-UsgsqKI8.mjs} +3 -3
- package/.output/server/_ssr/native-builds_.devices-BcfLIzJs.mjs +10 -0
- package/.output/server/_ssr/native-builds_.devices-BpTcIWm0.mjs +689 -0
- package/.output/server/_ssr/{nativeBuildDownloadLink-D-yCU-H7.mjs → nativeBuildDownloadLink-CtB2G7qG.mjs} +3 -3
- package/.output/server/_ssr/{nativeBuildInstall-szlEt-t_.mjs → nativeBuildInstall-PavEyZtZ.mjs} +56 -8
- package/.output/server/_ssr/{nativeBuilds-CRLmvFaO.mjs → nativeBuilds-Cub0EUGN.mjs} +135 -13
- package/.output/server/_ssr/{publicConsoleBase-DvHYxDaG.mjs → publicConsoleBase-f67NLLXZ.mjs} +11 -3
- package/.output/server/_ssr/{release-adoption-C7sUFDwa.mjs → release-adoption-DeICczY7.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-DHqnRw73.mjs → release-adoption-rpc-DkT6ui4_.mjs} +8 -8
- package/.output/server/_ssr/{releaseAdoption-D6ScSu-W.mjs → releaseAdoption-kHZo8P90.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-D2wHSNjm.mjs → remote-config-BKlK0dFP.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-Byc4JHkB.mjs → remote-config-D_nQT__6.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-ZOfBMLtE.mjs → remote-config-rpc-BW6lyp9Y.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-DkrjdfMC.mjs → remote-config-v1hs050H.mjs} +24 -24
- package/.output/server/_ssr/{router-D0GDdWkI.mjs → router-hKO__Vrv.mjs} +74 -77
- package/.output/server/_ssr/{routes-C10oCddR.mjs → routes-DKxm5A7X.mjs} +312 -233
- package/.output/server/_ssr/{routes-ChnyY2qP.mjs → routes-OhljAvlx.mjs} +15 -14
- package/.output/server/_ssr/{runtime.server-wcHT2Cop.mjs → runtime.server-CkSbWaZm.mjs} +2 -2
- package/.output/server/_ssr/{schema-migration-rpc-BKRs4MNf.mjs → schema-migration-rpc-DrrYEFqy.mjs} +3 -3
- package/.output/server/_ssr/{select-B9du7Z50.mjs → select-M4kWGKJW.mjs} +3 -3
- package/.output/server/_ssr/{server-CApi3lVS.mjs → server-4hXySEh0.mjs} +5 -5
- package/.output/server/_ssr/{sidebar-BwMkm72O.mjs → sidebar-CFlo6lny.mjs} +3 -3
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-By4wHYjG.mjs → start-D3noqqOK.mjs} +1 -1
- package/.output/server/_ssr/{switch-DyShvUOF.mjs → switch-xTCGSBdC.mjs} +3 -3
- package/.output/server/_ssr/{table-DMj6AnqH.mjs → table-CqdaVMjd.mjs} +2 -2
- package/.output/server/_ssr/{tabs-5a_JPYme.mjs → tabs-DtMAFr25.mjs} +4 -4
- package/.output/server/_ssr/{updateFailures-DNiv3S_y.mjs → updateFailures-D0bP_Ume.mjs} +3 -3
- package/.output/server/_tanstack-start-manifest_v-CYfHRC4i.mjs +225 -0
- package/.output/server/index.mjs +452 -375
- package/lib/index.d.mts +9 -0
- package/package.json +7 -7
- package/src/components/DataTable.tsx +47 -3
- package/src/components/FoldedRows.tsx +219 -0
- package/src/components/RowReason.tsx +56 -0
- package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +2 -2
- package/src/components/features/native-builds/CommitLink.tsx +2 -1
- package/src/components/features/native-builds/InstallCard.tsx +77 -40
- package/src/components/features/native-builds/IosDevicesPage.tsx +925 -0
- package/src/components/features/native-builds/IosInstall.tsx +375 -73
- package/src/components/features/native-builds/IpaDevicesCard.tsx +111 -0
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +7 -0
- package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
- package/src/components/features/native-builds/NativeBuildsPage.tsx +2 -0
- package/src/components/features/native-builds/NativeBuildsTable.tsx +220 -32
- package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
- package/src/components/features/native-builds/ShortHash.tsx +5 -2
- package/src/components/features/remote-config/PublishDialog.tsx +4 -1
- package/src/components/features/remote-config/VersionsCard.tsx +5 -2
- package/src/components/ui/sonner.tsx +3 -1
- package/src/index.ts +9 -0
- package/src/lib/api-rpc.ts +70 -30
- package/src/lib/api.ts +65 -2
- package/src/lib/ios-devices-api.ts +110 -0
- package/src/lib/ios-devices-rpc.ts +183 -0
- package/src/lib/native-builds.ts +72 -7
- package/src/lib/server/console-runtime.server.ts +9 -2
- package/src/lib/server/deviceProfileToken.ts +187 -0
- package/src/lib/server/foldedPage.ts +360 -0
- package/src/lib/server/iosDeviceProfile.ts +230 -0
- package/src/lib/server/iosDevices.ts +223 -0
- package/src/lib/server/listReleases.ts +101 -62
- package/src/lib/server/nativeBuildInstall.ts +147 -7
- package/src/lib/server/nativeBuilds.ts +221 -26
- package/src/routeTree.gen.ts +64 -67
- package/src/routes/-native-builds-search.ts +20 -0
- package/src/routes/[_]hot-updater/devices/device-response.ts +21 -0
- package/src/routes/[_]hot-updater/devices/device[.]mobileconfig.ts +17 -0
- package/src/routes/index.tsx +447 -299
- package/src/routes/native-builds_.devices.tsx +21 -0
- package/src/styles.css +2 -2
- package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +0 -1
- package/.output/public/assets/EventDetails-DZsRlDHk.js +0 -1
- package/.output/public/assets/HashValueDisplay-MoZMmTeP.js +0 -1
- package/.output/public/assets/RelativeTime-TCmpOVPg.js +0 -1
- package/.output/public/assets/StoreSubmission-CqSg880n.js +0 -1
- package/.output/public/assets/TargetDisplay-DwOaMOiI.js +0 -1
- package/.output/public/assets/api-LQJH44FU.js +0 -1
- package/.output/public/assets/api-keys-4w2-ofii.js +0 -1
- package/.output/public/assets/api-keys-uFY8FsN9.js +0 -1
- package/.output/public/assets/arrow-left-g9cKqXuC.js +0 -1
- package/.output/public/assets/arrow-right-CNII8TYn.js +0 -1
- package/.output/public/assets/arrow-up-right-DK8Zdg40.js +0 -1
- package/.output/public/assets/card-ulgg5xHn.js +0 -1
- package/.output/public/assets/check-CXVR3s3X.js +0 -1
- package/.output/public/assets/chevron-right-BoUXo82O.js +0 -1
- package/.output/public/assets/dialog-CLIaC82_.js +0 -1
- package/.output/public/assets/empty-Bhlj8PEo.js +0 -1
- package/.output/public/assets/field-q4sTYzNU.js +0 -1
- package/.output/public/assets/history-DakJoeSM.js +0 -1
- package/.output/public/assets/index-CJclLsbG.js +0 -10
- package/.output/public/assets/insights-0TUItqwh.js +0 -1
- package/.output/public/assets/insights-B75txQ_F.js +0 -42
- package/.output/public/assets/insights-C17Z0whn.js +0 -2
- package/.output/public/assets/insights-api-BVCXJsoV.js +0 -1
- package/.output/public/assets/insights-usage-rpc-BbFllvi_.js +0 -1
- package/.output/public/assets/insights_.distribution-AZcfvK7x.js +0 -1
- package/.output/public/assets/insights_.distribution-gDqNqI5E.js +0 -2
- package/.output/public/assets/installations-Ap2G2tDs.js +0 -1
- package/.output/public/assets/installations-D0g3xvw8.js +0 -2
- package/.output/public/assets/installations-Y_7QW_p8.js +0 -1
- package/.output/public/assets/native-builds-Ba6cEZfm.js +0 -2
- package/.output/public/assets/native-builds-C3_-21we.js +0 -1
- package/.output/public/assets/native-builds_._buildId-BnP31v32.js +0 -1
- package/.output/public/assets/native-builds_._buildId-Cp9LJiMP.js +0 -2
- package/.output/public/assets/plus-BVhOauU3.js +0 -1
- package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
- package/.output/public/assets/remote-config-BRdy8QFR.js +0 -1
- package/.output/public/assets/remote-config-C9p5Pcdj.js +0 -6
- package/.output/public/assets/remote-config-CIAEArwq.js +0 -1
- package/.output/public/assets/routes-BLTF7nwe.js +0 -1
- package/.output/public/assets/search-nnvSOTEB.js +0 -1
- package/.output/public/assets/select-CBIU0_M1.js +0 -1
- package/.output/public/assets/smartphone-r0rRdPas.js +0 -1
- package/.output/public/assets/styles-BdlrKlVs.css +0 -2
- package/.output/public/assets/switch-CP6GsHmN.js +0 -1
- package/.output/public/assets/table-TUtVz-2l.js +0 -1
- package/.output/public/assets/tabs-CP3CSmtI.js +0 -1
- package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
- package/.output/server/_ssr/listReleases-CQEceg8j.mjs +0 -79
- package/.output/server/_ssr/nativeBuildDevice-DJUAzAIj.mjs +0 -210
- package/.output/server/_tanstack-start-manifest_v-8M7ggCuB.mjs +0 -192
- package/src/lib/server/nativeBuildDevice.ts +0 -253
- package/src/routes/[_]hot-updater/native-builds/$buildId/device-response.ts +0 -17
- package/src/routes/[_]hot-updater/native-builds/$buildId/device.ts +0 -17
- package/src/routes/[_]hot-updater/native-builds/$buildId/device[.]mobileconfig.ts +0 -17
- /package/.output/public/assets/{uuidv7-cI6C63Fm.js → uuidv7-DAoOOpz9.js} +0 -0
- /package/.output/public/assets/{valueToPercent-B6X9rUJM.js → valueToPercent-Bn8p2lng.js} +0 -0
package/src/routes/index.tsx
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Tags,
|
|
12
12
|
X,
|
|
13
13
|
} from "lucide-react";
|
|
14
|
-
import { Fragment, useEffect, useState } from "react";
|
|
14
|
+
import { Fragment, type ReactNode, useEffect, useState } from "react";
|
|
15
15
|
|
|
16
16
|
import { BundleIdDisplay } from "@/components/BundleIdDisplay";
|
|
17
17
|
import { ChannelBadge } from "@/components/ChannelBadge";
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
DataCardSkeletons,
|
|
21
21
|
DataCardsEmpty,
|
|
22
22
|
DataTable,
|
|
23
|
+
DataTableBody,
|
|
23
24
|
DataTableFrame,
|
|
24
25
|
DataTableEmpty,
|
|
25
26
|
DataTableFullRow,
|
|
@@ -35,9 +36,20 @@ import { useReleaseColumns } from "@/components/features/FeatureSlots";
|
|
|
35
36
|
import { CopyableText } from "@/components/features/native-builds/CopyableText";
|
|
36
37
|
import { ReleaseEditorSheet } from "@/components/features/releases/ReleaseEditorSheet";
|
|
37
38
|
import { ReleaseStateBadge } from "@/components/features/releases/ReleaseStateBadge";
|
|
39
|
+
import {
|
|
40
|
+
DataCardFold,
|
|
41
|
+
DataTableFold,
|
|
42
|
+
foldKey,
|
|
43
|
+
foldLabel,
|
|
44
|
+
FoldStatus,
|
|
45
|
+
foldedTotal,
|
|
46
|
+
groupsOf,
|
|
47
|
+
useOpenFolds,
|
|
48
|
+
} from "@/components/FoldedRows";
|
|
38
49
|
import { PlatformIcon, PlatformLabel } from "@/components/PlatformIcon";
|
|
39
50
|
import { RelativeTime } from "@/components/RelativeTime";
|
|
40
51
|
import { RolloutPercentageBadge } from "@/components/RolloutPercentageBadge";
|
|
52
|
+
import { RowReason } from "@/components/RowReason";
|
|
41
53
|
import { TargetDisplay } from "@/components/TargetDisplay";
|
|
42
54
|
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
|
|
43
55
|
import { Badge } from "@/components/ui/badge";
|
|
@@ -59,8 +71,10 @@ import {
|
|
|
59
71
|
useBundleChildrenQuery,
|
|
60
72
|
useBundleQuery,
|
|
61
73
|
useChannelsQuery,
|
|
74
|
+
useReleaseFoldQuery,
|
|
62
75
|
useReleasesQuery,
|
|
63
76
|
} from "@/lib/api";
|
|
77
|
+
import type { Fold } from "@/lib/server/foldedPage";
|
|
64
78
|
import type { ReleaseListRow } from "@/lib/server/releaseReachability";
|
|
65
79
|
import { cn } from "@/lib/utils";
|
|
66
80
|
|
|
@@ -72,7 +86,11 @@ import {
|
|
|
72
86
|
validateReleaseSearch,
|
|
73
87
|
} from "./-releases-search";
|
|
74
88
|
|
|
75
|
-
|
|
89
|
+
/** A fold of unreachable bundles: "1 unreachable bundle", "2 …". */
|
|
90
|
+
const UNREACHABLE_BUNDLES = {
|
|
91
|
+
one: "unreachable bundle",
|
|
92
|
+
other: "unreachable bundles",
|
|
93
|
+
} as const;
|
|
76
94
|
const platformFilterItems = [
|
|
77
95
|
{ label: "iOS", value: "ios" },
|
|
78
96
|
{ label: "Android", value: "android" },
|
|
@@ -314,14 +332,13 @@ function BundleEntry({
|
|
|
314
332
|
</Badge>
|
|
315
333
|
) : null}
|
|
316
334
|
{release.currentlyUnreachable ? (
|
|
317
|
-
<
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
335
|
+
<RowReason
|
|
336
|
+
icon={CircleOff}
|
|
337
|
+
label="Unreachable: no device gets this bundle with the current delivery settings."
|
|
338
|
+
reason="No device gets this bundle with the current delivery settings."
|
|
321
339
|
>
|
|
322
|
-
<CircleOff className="size-3.5" />
|
|
323
340
|
Unreachable
|
|
324
|
-
</
|
|
341
|
+
</RowReason>
|
|
325
342
|
) : null}
|
|
326
343
|
</div>
|
|
327
344
|
);
|
|
@@ -388,47 +405,155 @@ function ReleaseBundleChildrenPanel({
|
|
|
388
405
|
);
|
|
389
406
|
}
|
|
390
407
|
|
|
408
|
+
/** What a group of release rows renders with: its own patch counts and feature slots. */
|
|
409
|
+
interface RowContext {
|
|
410
|
+
readonly patchCounts: Readonly<Record<string, number | undefined>>;
|
|
411
|
+
readonly slotReleases: readonly {
|
|
412
|
+
readonly releaseId: string;
|
|
413
|
+
readonly platform: "ios" | "android";
|
|
414
|
+
readonly channel: string;
|
|
415
|
+
readonly builtIn: boolean;
|
|
416
|
+
}[];
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* The patch counts and feature slots of a group of releases: the page's
|
|
421
|
+
* reachable ones, or one fold's, so opening a fold reads its own rows'
|
|
422
|
+
* and changes no other query.
|
|
423
|
+
*/
|
|
424
|
+
function useRowContext(
|
|
425
|
+
releases: readonly ReleaseListRow[],
|
|
426
|
+
channels: readonly ChannelRow[],
|
|
427
|
+
): RowContext {
|
|
428
|
+
const bundleIds = Array.from(
|
|
429
|
+
new Set(
|
|
430
|
+
releases.flatMap((release) =>
|
|
431
|
+
release.bundle_id ? [release.bundle_id] : [],
|
|
432
|
+
),
|
|
433
|
+
),
|
|
434
|
+
);
|
|
435
|
+
const patchCountsQuery = useBundleChildCountsQuery(bundleIds);
|
|
436
|
+
return {
|
|
437
|
+
patchCounts: patchCountsQuery.data ?? {},
|
|
438
|
+
slotReleases: releases.flatMap((release) => {
|
|
439
|
+
const channel = channels.find(
|
|
440
|
+
(item) => item.id === release.channel_id,
|
|
441
|
+
)?.name;
|
|
442
|
+
return channel
|
|
443
|
+
? [
|
|
444
|
+
{
|
|
445
|
+
releaseId: release.id,
|
|
446
|
+
platform: release.platform,
|
|
447
|
+
channel,
|
|
448
|
+
builtIn: !release.bundle_id,
|
|
449
|
+
},
|
|
450
|
+
]
|
|
451
|
+
: [];
|
|
452
|
+
}),
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/** Whether a fold of the page holds `releaseId`: IDs order the list. */
|
|
457
|
+
const foldHolds = (fold: Fold, releaseId: string) =>
|
|
458
|
+
releaseId >= fold.to && (fold.from === undefined || releaseId < fold.from);
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* A fold of unreachable bundles, where they sit in the list: closed, the
|
|
462
|
+
* number it holds; open, those bundles in order, subdued, read a chunk at a
|
|
463
|
+
* time once it opens.
|
|
464
|
+
*/
|
|
465
|
+
function UnreachableBundlesFold({
|
|
466
|
+
fold,
|
|
467
|
+
filter,
|
|
468
|
+
channels,
|
|
469
|
+
columns,
|
|
470
|
+
isMobile,
|
|
471
|
+
open,
|
|
472
|
+
onOpenChange,
|
|
473
|
+
render,
|
|
474
|
+
}: {
|
|
475
|
+
readonly fold: Fold;
|
|
476
|
+
readonly filter: ReturnType<typeof releaseFilterOf>;
|
|
477
|
+
readonly channels: readonly ChannelRow[];
|
|
478
|
+
readonly columns: number;
|
|
479
|
+
readonly isMobile: boolean;
|
|
480
|
+
readonly open: boolean;
|
|
481
|
+
readonly onOpenChange: (open: boolean) => void;
|
|
482
|
+
readonly render: (release: ReleaseListRow, ctx: RowContext) => ReactNode;
|
|
483
|
+
}) {
|
|
484
|
+
const query = useReleaseFoldQuery(
|
|
485
|
+
filter,
|
|
486
|
+
{ ...(fold.from === undefined ? {} : { from: fold.from }), to: fold.to },
|
|
487
|
+
open,
|
|
488
|
+
);
|
|
489
|
+
const rows = query.data?.pages.flatMap((page) => page.rows) ?? [];
|
|
490
|
+
const ctx = useRowContext(rows, channels);
|
|
491
|
+
const statusColumns = isMobile ? undefined : columns;
|
|
492
|
+
const status = query.isError ? (
|
|
493
|
+
<FoldStatus
|
|
494
|
+
columns={statusColumns}
|
|
495
|
+
label="Unreachable bundles"
|
|
496
|
+
onRetry={() => void query.refetch()}
|
|
497
|
+
state="error"
|
|
498
|
+
/>
|
|
499
|
+
) : query.isPending || query.isFetchingNextPage ? (
|
|
500
|
+
<FoldStatus
|
|
501
|
+
columns={statusColumns}
|
|
502
|
+
label="Loading unreachable bundles"
|
|
503
|
+
state="loading"
|
|
504
|
+
/>
|
|
505
|
+
) : query.hasNextPage ? (
|
|
506
|
+
<FoldStatus
|
|
507
|
+
columns={statusColumns}
|
|
508
|
+
label="Unreachable bundles"
|
|
509
|
+
onMore={() => void query.fetchNextPage()}
|
|
510
|
+
state="more"
|
|
511
|
+
/>
|
|
512
|
+
) : null;
|
|
513
|
+
const props = {
|
|
514
|
+
label: foldLabel(fold, UNREACHABLE_BUNDLES),
|
|
515
|
+
open,
|
|
516
|
+
onOpenChange,
|
|
517
|
+
panelId: `bundle-fold-${fold.to}`,
|
|
518
|
+
};
|
|
519
|
+
return isMobile ? (
|
|
520
|
+
<DataCardFold {...props}>
|
|
521
|
+
{rows.map((release) => render(release, ctx))}
|
|
522
|
+
{status}
|
|
523
|
+
</DataCardFold>
|
|
524
|
+
) : (
|
|
525
|
+
<DataTableFold {...props} columns={columns}>
|
|
526
|
+
{rows.map((release) => render(release, ctx))}
|
|
527
|
+
{status}
|
|
528
|
+
</DataTableFold>
|
|
529
|
+
);
|
|
530
|
+
}
|
|
531
|
+
|
|
391
532
|
function BundlesPage() {
|
|
392
533
|
const search = Route.useSearch();
|
|
393
534
|
const navigate = Route.useNavigate();
|
|
394
535
|
const isMobile = useIsMobile();
|
|
395
536
|
const [channelsOpen, setChannelsOpen] = useState(false);
|
|
396
537
|
const [expandedReleaseId, setExpandedReleaseId] = useState<string>();
|
|
538
|
+
const folds = useOpenFolds();
|
|
539
|
+
const filter = releaseFilterOf(search);
|
|
397
540
|
const releasesQuery = useReleasesQuery({
|
|
398
541
|
afterReleaseId: search.afterReleaseId,
|
|
399
542
|
beforeReleaseId: search.beforeReleaseId,
|
|
400
|
-
filter
|
|
401
|
-
|
|
543
|
+
filter,
|
|
544
|
+
// The selected release never folds, so a link to it shows its row.
|
|
545
|
+
releaseId: search.releaseId,
|
|
402
546
|
});
|
|
403
547
|
const channelsQuery = useChannelsQuery();
|
|
404
548
|
const channels = channelsQuery.data ?? [];
|
|
405
|
-
const
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
release.bundle_id ? [release.bundle_id] : [],
|
|
410
|
-
),
|
|
411
|
-
),
|
|
549
|
+
const entries = releasesQuery.data?.entries ?? [];
|
|
550
|
+
// The page's reachable releases (and the selected one), outside its folds.
|
|
551
|
+
const releases = entries.flatMap((entry) =>
|
|
552
|
+
entry.kind === "row" ? [entry.row] : [],
|
|
412
553
|
);
|
|
413
|
-
const
|
|
414
|
-
const patchCountsByBundleId = patchCountsQuery.data ?? {};
|
|
554
|
+
const pageContext = useRowContext(releases, channels);
|
|
415
555
|
const nextCursor = releasesQuery.data?.next;
|
|
416
556
|
const previousCursor = releasesQuery.data?.previous;
|
|
417
|
-
const slotReleases = releases.flatMap((release) => {
|
|
418
|
-
const channel = channels.find(
|
|
419
|
-
(item) => item.id === release.channel_id,
|
|
420
|
-
)?.name;
|
|
421
|
-
return channel
|
|
422
|
-
? [
|
|
423
|
-
{
|
|
424
|
-
releaseId: release.id,
|
|
425
|
-
platform: release.platform,
|
|
426
|
-
channel,
|
|
427
|
-
builtIn: !release.bundle_id,
|
|
428
|
-
},
|
|
429
|
-
]
|
|
430
|
-
: [];
|
|
431
|
-
});
|
|
432
557
|
// Features add columns, such as release activity where the console reads it.
|
|
433
558
|
const featureColumns = useReleaseColumns();
|
|
434
559
|
const columnCount = 10 + featureColumns.length;
|
|
@@ -436,19 +561,37 @@ function BundlesPage() {
|
|
|
436
561
|
channels.map((channel) => [channel.id, channel.name]),
|
|
437
562
|
);
|
|
438
563
|
|
|
564
|
+
// A lineage panel shows only with its row: whatever hides the row, a fold
|
|
565
|
+
// closing, a filter, a refetch or Back, closes the panel, and opening the
|
|
566
|
+
// row again opens none.
|
|
567
|
+
const visible = (releaseId: string) =>
|
|
568
|
+
releases.some((release) => release.id === releaseId) ||
|
|
569
|
+
entries.some(
|
|
570
|
+
(entry) =>
|
|
571
|
+
entry.kind === "fold" &&
|
|
572
|
+
folds.isOpen(foldKey(entry)) &&
|
|
573
|
+
foldHolds(entry, releaseId),
|
|
574
|
+
);
|
|
575
|
+
const lineageVisible =
|
|
576
|
+
expandedReleaseId !== undefined && visible(expandedReleaseId);
|
|
439
577
|
useEffect(() => {
|
|
440
|
-
if (
|
|
441
|
-
expandedReleaseId &&
|
|
442
|
-
!releases.some((release) => release.id === expandedReleaseId)
|
|
443
|
-
) {
|
|
578
|
+
if (expandedReleaseId !== undefined && !lineageVisible) {
|
|
444
579
|
setExpandedReleaseId(undefined);
|
|
445
580
|
}
|
|
446
|
-
}, [expandedReleaseId,
|
|
581
|
+
}, [expandedReleaseId, lineageVisible]);
|
|
447
582
|
|
|
448
583
|
const go = (nextSearch: ReleaseSearch, resetScroll = true) =>
|
|
449
584
|
void navigate({ resetScroll, search: nextSearch, to: "/" });
|
|
450
585
|
const changeFilters = (filters: Partial<ReleaseSearch>) =>
|
|
451
586
|
go(updateReleaseFilters(search, filters));
|
|
587
|
+
// Selecting a bundle in an open fold splits the fold around it: the part
|
|
588
|
+
// under it opens too, so no row moves out of sight.
|
|
589
|
+
const select = (release: ReleaseListRow) => {
|
|
590
|
+
if (!releases.some(({ id }) => id === release.id)) {
|
|
591
|
+
folds.set(release.id, true);
|
|
592
|
+
}
|
|
593
|
+
go({ ...search, releaseId: release.id }, false);
|
|
594
|
+
};
|
|
452
595
|
const openChildBundle = (bundle: Bundle) => {
|
|
453
596
|
const childRelease = releases.find(
|
|
454
597
|
(release) => release.bundle_id === bundle.id,
|
|
@@ -466,8 +609,10 @@ function BundlesPage() {
|
|
|
466
609
|
const previousSearch: ReleaseSearch | null = previousCursor
|
|
467
610
|
? {
|
|
468
611
|
...search,
|
|
469
|
-
afterReleaseId:
|
|
470
|
-
|
|
612
|
+
afterReleaseId:
|
|
613
|
+
"after" in previousCursor ? previousCursor.after : undefined,
|
|
614
|
+
beforeReleaseId:
|
|
615
|
+
"before" in previousCursor ? previousCursor.before : undefined,
|
|
471
616
|
releaseId: undefined,
|
|
472
617
|
}
|
|
473
618
|
: null;
|
|
@@ -486,15 +631,236 @@ function BundlesPage() {
|
|
|
486
631
|
releaseId: undefined,
|
|
487
632
|
};
|
|
488
633
|
|
|
634
|
+
const renderCard = (release: ReleaseListRow, ctx: RowContext) => {
|
|
635
|
+
const channelName =
|
|
636
|
+
channelNames.get(release.channel_id) ?? release.channel_id;
|
|
637
|
+
const patchCount = release.bundle_id
|
|
638
|
+
? ctx.patchCounts[release.bundle_id]
|
|
639
|
+
: 0;
|
|
640
|
+
const isExpanded = lineageVisible && expandedReleaseId === release.id;
|
|
641
|
+
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
642
|
+
|
|
643
|
+
return (
|
|
644
|
+
<Fragment key={release.id}>
|
|
645
|
+
{/* The ID button opens it for keyboards and screen
|
|
646
|
+
readers; a tap anywhere else on the card does too. */}
|
|
647
|
+
<DataCard
|
|
648
|
+
aria-label={`Bundle ${release.id}`}
|
|
649
|
+
className={cn(
|
|
650
|
+
"gap-3",
|
|
651
|
+
release.currentlyUnreachable &&
|
|
652
|
+
"bg-muted/60 saturate-50 hover:bg-muted/60 hover:saturate-100 focus-within:saturate-100",
|
|
653
|
+
isExpanded && "border-b-0 bg-primary/5",
|
|
654
|
+
)}
|
|
655
|
+
data-state={search.releaseId === release.id ? "selected" : undefined}
|
|
656
|
+
onClick={openOutsideControls(() => select(release))}
|
|
657
|
+
>
|
|
658
|
+
<div className="flex items-start justify-between gap-3">
|
|
659
|
+
<BundleEntry
|
|
660
|
+
expanded={isExpanded}
|
|
661
|
+
onOpen={() => select(release)}
|
|
662
|
+
onToggleExpand={() =>
|
|
663
|
+
setExpandedReleaseId(isExpanded ? undefined : release.id)
|
|
664
|
+
}
|
|
665
|
+
release={release}
|
|
666
|
+
/>
|
|
667
|
+
<ChannelBadge channel={channelName} className="shrink-0" />
|
|
668
|
+
</div>
|
|
669
|
+
<p className="flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground">
|
|
670
|
+
<span className="flex items-center gap-1.5 text-foreground">
|
|
671
|
+
<PlatformIcon className="size-4" platform={release.platform} />
|
|
672
|
+
{release.platform === "ios" ? "iOS" : "Android"}
|
|
673
|
+
</span>
|
|
674
|
+
{patchCount === undefined || patchCount > 0 ? (
|
|
675
|
+
<>
|
|
676
|
+
<span aria-hidden="true">·</span>
|
|
677
|
+
<span>
|
|
678
|
+
{patchCount === undefined
|
|
679
|
+
? "Checking patches"
|
|
680
|
+
: `${patchCount} ${patchCount === 1 ? "patch" : "patches"}`}
|
|
681
|
+
</span>
|
|
682
|
+
</>
|
|
683
|
+
) : null}
|
|
684
|
+
<span aria-hidden="true">·</span>
|
|
685
|
+
<RelativeTime ms={release.created_at_ms} />
|
|
686
|
+
</p>
|
|
687
|
+
<div className="flex flex-wrap items-center gap-x-3 gap-y-2 text-xs">
|
|
688
|
+
<RolloutPercentageBadge
|
|
689
|
+
percentage={release.rollout_cohort_count / 10}
|
|
690
|
+
/>
|
|
691
|
+
<ReleaseStateBadge release={release} />
|
|
692
|
+
{release.should_force_update ? (
|
|
693
|
+
<Badge variant="secondary">Force update</Badge>
|
|
694
|
+
) : null}
|
|
695
|
+
<span className="flex items-center">
|
|
696
|
+
<span className="sr-only">Target </span>
|
|
697
|
+
<TargetDisplay
|
|
698
|
+
appVersion={release.target_app_version}
|
|
699
|
+
fingerprintHash={release.fingerprint_hash}
|
|
700
|
+
/>
|
|
701
|
+
</span>
|
|
702
|
+
</div>
|
|
703
|
+
{featureColumns.map(({ Cell, feature, label }) => (
|
|
704
|
+
<div className="mt-3 text-xs" key={feature}>
|
|
705
|
+
<span className="sr-only">{label}</span>
|
|
706
|
+
<Cell releaseId={release.id} releases={ctx.slotReleases} />
|
|
707
|
+
</div>
|
|
708
|
+
))}
|
|
709
|
+
{release.message ? (
|
|
710
|
+
<p className="line-clamp-2 text-xs text-muted-foreground">
|
|
711
|
+
{release.message}
|
|
712
|
+
</p>
|
|
713
|
+
) : null}
|
|
714
|
+
</DataCard>
|
|
715
|
+
{isExpanded && release.bundle_id ? (
|
|
716
|
+
<ReleaseBundleChildrenPanel
|
|
717
|
+
onDetailClick={openChildBundle}
|
|
718
|
+
panelId={panelId}
|
|
719
|
+
release={release}
|
|
720
|
+
/>
|
|
721
|
+
) : null}
|
|
722
|
+
</Fragment>
|
|
723
|
+
);
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
const renderRow = (release: ReleaseListRow, ctx: RowContext) => {
|
|
727
|
+
const isExpanded = lineageVisible && expandedReleaseId === release.id;
|
|
728
|
+
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
729
|
+
|
|
730
|
+
return (
|
|
731
|
+
<Fragment key={release.id}>
|
|
732
|
+
<DataTableRow
|
|
733
|
+
aria-label={`Open bundle ${release.id}`}
|
|
734
|
+
className={cn(
|
|
735
|
+
release.currentlyUnreachable &&
|
|
736
|
+
"bg-muted/60 saturate-50 hover:bg-muted/60 hover:saturate-100 focus-within:saturate-100",
|
|
737
|
+
isExpanded && "bg-primary/5",
|
|
738
|
+
)}
|
|
739
|
+
data-state={search.releaseId === release.id ? "selected" : undefined}
|
|
740
|
+
onOpen={() => select(release)}
|
|
741
|
+
>
|
|
742
|
+
<TableCell>
|
|
743
|
+
<BundleEntry
|
|
744
|
+
expanded={isExpanded}
|
|
745
|
+
onOpen={() => select(release)}
|
|
746
|
+
onToggleExpand={() =>
|
|
747
|
+
setExpandedReleaseId(isExpanded ? undefined : release.id)
|
|
748
|
+
}
|
|
749
|
+
release={release}
|
|
750
|
+
/>
|
|
751
|
+
</TableCell>
|
|
752
|
+
<TableCell>
|
|
753
|
+
<ChannelBadge
|
|
754
|
+
channel={
|
|
755
|
+
channelNames.get(release.channel_id) ?? release.channel_id
|
|
756
|
+
}
|
|
757
|
+
/>
|
|
758
|
+
</TableCell>
|
|
759
|
+
<TableCell className="whitespace-nowrap">
|
|
760
|
+
<PlatformLabel platform={release.platform} />
|
|
761
|
+
</TableCell>
|
|
762
|
+
<TableCell>
|
|
763
|
+
{release.bundle_id &&
|
|
764
|
+
ctx.patchCounts[release.bundle_id] === undefined ? (
|
|
765
|
+
<span className="text-sm text-muted-foreground">Checking</span>
|
|
766
|
+
) : release.bundle_id && ctx.patchCounts[release.bundle_id]! > 0 ? (
|
|
767
|
+
<Badge variant="secondary">
|
|
768
|
+
{ctx.patchCounts[release.bundle_id]}{" "}
|
|
769
|
+
{ctx.patchCounts[release.bundle_id] === 1 ? "patch" : "patches"}
|
|
770
|
+
</Badge>
|
|
771
|
+
) : (
|
|
772
|
+
<span className="text-muted-foreground">-</span>
|
|
773
|
+
)}
|
|
774
|
+
</TableCell>
|
|
775
|
+
<TableCell>
|
|
776
|
+
<TargetDisplay
|
|
777
|
+
appVersion={release.target_app_version}
|
|
778
|
+
fingerprintHash={release.fingerprint_hash}
|
|
779
|
+
/>
|
|
780
|
+
</TableCell>
|
|
781
|
+
<TableCell>
|
|
782
|
+
<span className="flex items-center">
|
|
783
|
+
<EnabledStatusIcon enabled={release.enabled} />
|
|
784
|
+
<span className="sr-only">
|
|
785
|
+
{release.enabled ? "Enabled" : "Disabled"}
|
|
786
|
+
</span>
|
|
787
|
+
</span>
|
|
788
|
+
</TableCell>
|
|
789
|
+
<TableCell>
|
|
790
|
+
<span className="flex items-center">
|
|
791
|
+
<EnabledStatusIcon
|
|
792
|
+
enabled={release.should_force_update}
|
|
793
|
+
falseIcon="minus"
|
|
794
|
+
/>
|
|
795
|
+
<span className="sr-only">
|
|
796
|
+
{release.should_force_update ? "Required" : "Optional"}
|
|
797
|
+
</span>
|
|
798
|
+
</span>
|
|
799
|
+
</TableCell>
|
|
800
|
+
<TableCell>
|
|
801
|
+
<RolloutPercentageBadge
|
|
802
|
+
percentage={release.rollout_cohort_count / 10}
|
|
803
|
+
/>
|
|
804
|
+
</TableCell>
|
|
805
|
+
{featureColumns.map(({ Cell, feature }) => (
|
|
806
|
+
<TableCell key={feature}>
|
|
807
|
+
<Cell releaseId={release.id} releases={ctx.slotReleases} />
|
|
808
|
+
</TableCell>
|
|
809
|
+
))}
|
|
810
|
+
<TableCell
|
|
811
|
+
className="text-sm text-muted-foreground"
|
|
812
|
+
title={release.message ?? undefined}
|
|
813
|
+
>
|
|
814
|
+
{release.message || "-"}
|
|
815
|
+
</TableCell>
|
|
816
|
+
<TableCell className="text-xs text-muted-foreground">
|
|
817
|
+
<RelativeTime ms={release.created_at_ms} />
|
|
818
|
+
</TableCell>
|
|
819
|
+
</DataTableRow>
|
|
820
|
+
{isExpanded && release.bundle_id ? (
|
|
821
|
+
<TableRow className="hover:bg-transparent">
|
|
822
|
+
<TableCell className="border-t-0 p-0" colSpan={columnCount}>
|
|
823
|
+
<ReleaseBundleChildrenPanel
|
|
824
|
+
onDetailClick={openChildBundle}
|
|
825
|
+
panelId={panelId}
|
|
826
|
+
release={release}
|
|
827
|
+
/>
|
|
828
|
+
</TableCell>
|
|
829
|
+
</TableRow>
|
|
830
|
+
) : null}
|
|
831
|
+
</Fragment>
|
|
832
|
+
);
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
const fold = (
|
|
836
|
+
entry: Fold,
|
|
837
|
+
render: (release: ReleaseListRow, ctx: RowContext) => ReactNode,
|
|
838
|
+
) => (
|
|
839
|
+
<UnreachableBundlesFold
|
|
840
|
+
channels={channels}
|
|
841
|
+
columns={columnCount}
|
|
842
|
+
filter={filter}
|
|
843
|
+
fold={entry}
|
|
844
|
+
isMobile={isMobile}
|
|
845
|
+
key={`fold-${entry.to}`}
|
|
846
|
+
onOpenChange={(open) => folds.set(foldKey(entry), open)}
|
|
847
|
+
open={folds.isOpen(foldKey(entry))}
|
|
848
|
+
render={render}
|
|
849
|
+
/>
|
|
850
|
+
);
|
|
851
|
+
// A page of unreachable bundles alone: one fold under the empty state.
|
|
852
|
+
const foldedOnly = releases.length === 0 && entries.length > 0;
|
|
489
853
|
const empty = (
|
|
490
854
|
<DataTableEmpty
|
|
491
855
|
icon={Package}
|
|
492
856
|
title={
|
|
493
|
-
|
|
494
|
-
? "No
|
|
495
|
-
:
|
|
496
|
-
? "No bundles
|
|
497
|
-
:
|
|
857
|
+
foldedOnly
|
|
858
|
+
? "No device gets the bundles here"
|
|
859
|
+
: onLaterPage
|
|
860
|
+
? "No more bundles"
|
|
861
|
+
: hasReleaseFilters(search)
|
|
862
|
+
? "No bundles match these filters"
|
|
863
|
+
: "No bundles yet"
|
|
498
864
|
}
|
|
499
865
|
>
|
|
500
866
|
{onLaterPage ? (
|
|
@@ -554,126 +920,22 @@ function BundlesPage() {
|
|
|
554
920
|
<div className="h-full overflow-y-auto">
|
|
555
921
|
{releasesQuery.isPending ? (
|
|
556
922
|
<DataCardSkeletons />
|
|
557
|
-
) : releases.length ? (
|
|
558
|
-
releases.map((release) => {
|
|
559
|
-
const channelName =
|
|
560
|
-
channelNames.get(release.channel_id) ??
|
|
561
|
-
release.channel_id;
|
|
562
|
-
const patchCount = release.bundle_id
|
|
563
|
-
? patchCountsByBundleId[release.bundle_id]
|
|
564
|
-
: 0;
|
|
565
|
-
const isExpanded = expandedReleaseId === release.id;
|
|
566
|
-
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
567
|
-
|
|
568
|
-
return (
|
|
569
|
-
<Fragment key={release.id}>
|
|
570
|
-
{/* The ID button opens it for keyboards and screen
|
|
571
|
-
readers; a tap anywhere else on the card does too. */}
|
|
572
|
-
<DataCard
|
|
573
|
-
aria-label={`Bundle ${release.id}`}
|
|
574
|
-
className={cn(
|
|
575
|
-
"gap-3",
|
|
576
|
-
release.currentlyUnreachable &&
|
|
577
|
-
"bg-muted/35 saturate-50 hover:bg-muted/50 hover:saturate-100 focus-within:saturate-100",
|
|
578
|
-
isExpanded && "border-b-0 bg-primary/5",
|
|
579
|
-
)}
|
|
580
|
-
data-state={
|
|
581
|
-
search.releaseId === release.id
|
|
582
|
-
? "selected"
|
|
583
|
-
: undefined
|
|
584
|
-
}
|
|
585
|
-
onClick={openOutsideControls(() =>
|
|
586
|
-
go({ ...search, releaseId: release.id }, false),
|
|
587
|
-
)}
|
|
588
|
-
>
|
|
589
|
-
<div className="flex items-start justify-between gap-3">
|
|
590
|
-
<BundleEntry
|
|
591
|
-
expanded={isExpanded}
|
|
592
|
-
onOpen={() =>
|
|
593
|
-
go({ ...search, releaseId: release.id }, false)
|
|
594
|
-
}
|
|
595
|
-
onToggleExpand={() =>
|
|
596
|
-
setExpandedReleaseId(
|
|
597
|
-
isExpanded ? undefined : release.id,
|
|
598
|
-
)
|
|
599
|
-
}
|
|
600
|
-
release={release}
|
|
601
|
-
/>
|
|
602
|
-
<ChannelBadge
|
|
603
|
-
channel={channelName}
|
|
604
|
-
className="shrink-0"
|
|
605
|
-
/>
|
|
606
|
-
</div>
|
|
607
|
-
<p className="flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground">
|
|
608
|
-
<span className="flex items-center gap-1.5 text-foreground">
|
|
609
|
-
<PlatformIcon
|
|
610
|
-
className="size-4"
|
|
611
|
-
platform={release.platform}
|
|
612
|
-
/>
|
|
613
|
-
{release.platform === "ios" ? "iOS" : "Android"}
|
|
614
|
-
</span>
|
|
615
|
-
{patchCount === undefined || patchCount > 0 ? (
|
|
616
|
-
<>
|
|
617
|
-
<span aria-hidden="true">·</span>
|
|
618
|
-
<span>
|
|
619
|
-
{patchCount === undefined
|
|
620
|
-
? "Checking patches"
|
|
621
|
-
: `${patchCount} ${
|
|
622
|
-
patchCount === 1 ? "patch" : "patches"
|
|
623
|
-
}`}
|
|
624
|
-
</span>
|
|
625
|
-
</>
|
|
626
|
-
) : null}
|
|
627
|
-
<span aria-hidden="true">·</span>
|
|
628
|
-
<RelativeTime ms={release.created_at_ms} />
|
|
629
|
-
</p>
|
|
630
|
-
<div className="flex flex-wrap items-center gap-x-3 gap-y-2 text-xs">
|
|
631
|
-
<RolloutPercentageBadge
|
|
632
|
-
percentage={release.rollout_cohort_count / 10}
|
|
633
|
-
/>
|
|
634
|
-
<ReleaseStateBadge release={release} />
|
|
635
|
-
{release.should_force_update ? (
|
|
636
|
-
<Badge variant="secondary">Force update</Badge>
|
|
637
|
-
) : null}
|
|
638
|
-
<span className="flex items-center">
|
|
639
|
-
<span className="sr-only">Target </span>
|
|
640
|
-
<TargetDisplay
|
|
641
|
-
appVersion={release.target_app_version}
|
|
642
|
-
fingerprintHash={release.fingerprint_hash}
|
|
643
|
-
/>
|
|
644
|
-
</span>
|
|
645
|
-
</div>
|
|
646
|
-
{featureColumns.map(({ Cell, feature, label }) => (
|
|
647
|
-
<div className="mt-3 text-xs" key={feature}>
|
|
648
|
-
<span className="sr-only">{label}</span>
|
|
649
|
-
<Cell
|
|
650
|
-
releaseId={release.id}
|
|
651
|
-
releases={slotReleases}
|
|
652
|
-
/>
|
|
653
|
-
</div>
|
|
654
|
-
))}
|
|
655
|
-
{release.message ? (
|
|
656
|
-
<p className="line-clamp-2 text-xs text-muted-foreground">
|
|
657
|
-
{release.message}
|
|
658
|
-
</p>
|
|
659
|
-
) : null}
|
|
660
|
-
</DataCard>
|
|
661
|
-
{isExpanded && release.bundle_id ? (
|
|
662
|
-
<ReleaseBundleChildrenPanel
|
|
663
|
-
onDetailClick={openChildBundle}
|
|
664
|
-
panelId={panelId}
|
|
665
|
-
release={release}
|
|
666
|
-
/>
|
|
667
|
-
) : null}
|
|
668
|
-
</Fragment>
|
|
669
|
-
);
|
|
670
|
-
})
|
|
671
923
|
) : (
|
|
672
|
-
|
|
924
|
+
<>
|
|
925
|
+
{releases.length === 0 ? (
|
|
926
|
+
<DataCardsEmpty>{empty}</DataCardsEmpty>
|
|
927
|
+
) : null}
|
|
928
|
+
{entries.map((entry) =>
|
|
929
|
+
entry.kind === "row"
|
|
930
|
+
? renderCard(entry.row, pageContext)
|
|
931
|
+
: fold(entry, renderCard),
|
|
932
|
+
)}
|
|
933
|
+
</>
|
|
673
934
|
)}
|
|
674
935
|
</div>
|
|
675
936
|
) : (
|
|
676
937
|
<DataTable
|
|
938
|
+
rowGroups
|
|
677
939
|
header={
|
|
678
940
|
<>
|
|
679
941
|
<TableHead>ID</TableHead>
|
|
@@ -693,147 +955,31 @@ function BundlesPage() {
|
|
|
693
955
|
}
|
|
694
956
|
>
|
|
695
957
|
{releasesQuery.isPending ? (
|
|
696
|
-
<
|
|
958
|
+
<DataTableBody>
|
|
959
|
+
<DataTableSkeletonRows columns={columnCount} />
|
|
960
|
+
</DataTableBody>
|
|
697
961
|
) : (
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
962
|
+
<>
|
|
963
|
+
{releases.length === 0 ? (
|
|
964
|
+
<DataTableBody>
|
|
965
|
+
<DataTableFullRow columns={columnCount}>
|
|
966
|
+
{empty}
|
|
967
|
+
</DataTableFullRow>
|
|
968
|
+
</DataTableBody>
|
|
969
|
+
) : null}
|
|
970
|
+
{groupsOf(entries).map((group) =>
|
|
971
|
+
group.kind === "fold" ? (
|
|
972
|
+
fold(group.fold, renderRow)
|
|
973
|
+
) : (
|
|
974
|
+
<DataTableBody key={`rows-${group.rows[0]!.id}`}>
|
|
975
|
+
{group.rows.map((release) =>
|
|
976
|
+
renderRow(release, pageContext),
|
|
710
977
|
)}
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
onOpen={() =>
|
|
717
|
-
go({ ...search, releaseId: release.id }, false)
|
|
718
|
-
}
|
|
719
|
-
>
|
|
720
|
-
<TableCell>
|
|
721
|
-
<BundleEntry
|
|
722
|
-
expanded={isExpanded}
|
|
723
|
-
onOpen={() =>
|
|
724
|
-
go({ ...search, releaseId: release.id }, false)
|
|
725
|
-
}
|
|
726
|
-
onToggleExpand={() =>
|
|
727
|
-
setExpandedReleaseId(
|
|
728
|
-
isExpanded ? undefined : release.id,
|
|
729
|
-
)
|
|
730
|
-
}
|
|
731
|
-
release={release}
|
|
732
|
-
/>
|
|
733
|
-
</TableCell>
|
|
734
|
-
<TableCell>
|
|
735
|
-
<ChannelBadge
|
|
736
|
-
channel={
|
|
737
|
-
channelNames.get(release.channel_id) ??
|
|
738
|
-
release.channel_id
|
|
739
|
-
}
|
|
740
|
-
/>
|
|
741
|
-
</TableCell>
|
|
742
|
-
<TableCell className="whitespace-nowrap">
|
|
743
|
-
<PlatformLabel platform={release.platform} />
|
|
744
|
-
</TableCell>
|
|
745
|
-
<TableCell>
|
|
746
|
-
{release.bundle_id &&
|
|
747
|
-
patchCountsByBundleId[release.bundle_id] ===
|
|
748
|
-
undefined ? (
|
|
749
|
-
<span className="text-sm text-muted-foreground">
|
|
750
|
-
Checking
|
|
751
|
-
</span>
|
|
752
|
-
) : release.bundle_id &&
|
|
753
|
-
patchCountsByBundleId[release.bundle_id]! > 0 ? (
|
|
754
|
-
<Badge variant="secondary">
|
|
755
|
-
{patchCountsByBundleId[release.bundle_id]}{" "}
|
|
756
|
-
{patchCountsByBundleId[release.bundle_id] === 1
|
|
757
|
-
? "patch"
|
|
758
|
-
: "patches"}
|
|
759
|
-
</Badge>
|
|
760
|
-
) : (
|
|
761
|
-
<span className="text-muted-foreground">-</span>
|
|
762
|
-
)}
|
|
763
|
-
</TableCell>
|
|
764
|
-
<TableCell>
|
|
765
|
-
<TargetDisplay
|
|
766
|
-
appVersion={release.target_app_version}
|
|
767
|
-
fingerprintHash={release.fingerprint_hash}
|
|
768
|
-
/>
|
|
769
|
-
</TableCell>
|
|
770
|
-
<TableCell>
|
|
771
|
-
<span className="flex items-center">
|
|
772
|
-
<EnabledStatusIcon enabled={release.enabled} />
|
|
773
|
-
<span className="sr-only">
|
|
774
|
-
{release.enabled ? "Enabled" : "Disabled"}
|
|
775
|
-
</span>
|
|
776
|
-
</span>
|
|
777
|
-
</TableCell>
|
|
778
|
-
<TableCell>
|
|
779
|
-
<span className="flex items-center">
|
|
780
|
-
<EnabledStatusIcon
|
|
781
|
-
enabled={release.should_force_update}
|
|
782
|
-
falseIcon="minus"
|
|
783
|
-
/>
|
|
784
|
-
<span className="sr-only">
|
|
785
|
-
{release.should_force_update
|
|
786
|
-
? "Required"
|
|
787
|
-
: "Optional"}
|
|
788
|
-
</span>
|
|
789
|
-
</span>
|
|
790
|
-
</TableCell>
|
|
791
|
-
<TableCell>
|
|
792
|
-
<RolloutPercentageBadge
|
|
793
|
-
percentage={release.rollout_cohort_count / 10}
|
|
794
|
-
/>
|
|
795
|
-
</TableCell>
|
|
796
|
-
{featureColumns.map(({ Cell, feature }) => (
|
|
797
|
-
<TableCell key={feature}>
|
|
798
|
-
<Cell
|
|
799
|
-
releaseId={release.id}
|
|
800
|
-
releases={slotReleases}
|
|
801
|
-
/>
|
|
802
|
-
</TableCell>
|
|
803
|
-
))}
|
|
804
|
-
<TableCell
|
|
805
|
-
className="text-sm text-muted-foreground"
|
|
806
|
-
title={release.message ?? undefined}
|
|
807
|
-
>
|
|
808
|
-
{release.message || "-"}
|
|
809
|
-
</TableCell>
|
|
810
|
-
<TableCell className="text-xs text-muted-foreground">
|
|
811
|
-
<RelativeTime ms={release.created_at_ms} />
|
|
812
|
-
</TableCell>
|
|
813
|
-
</DataTableRow>
|
|
814
|
-
{isExpanded && release.bundle_id ? (
|
|
815
|
-
<TableRow className="hover:bg-transparent">
|
|
816
|
-
<TableCell
|
|
817
|
-
className="border-t-0 p-0"
|
|
818
|
-
colSpan={columnCount}
|
|
819
|
-
>
|
|
820
|
-
<ReleaseBundleChildrenPanel
|
|
821
|
-
onDetailClick={openChildBundle}
|
|
822
|
-
panelId={panelId}
|
|
823
|
-
release={release}
|
|
824
|
-
/>
|
|
825
|
-
</TableCell>
|
|
826
|
-
</TableRow>
|
|
827
|
-
) : null}
|
|
828
|
-
</Fragment>
|
|
829
|
-
);
|
|
830
|
-
})
|
|
978
|
+
</DataTableBody>
|
|
979
|
+
),
|
|
980
|
+
)}
|
|
981
|
+
</>
|
|
831
982
|
)}
|
|
832
|
-
{!releasesQuery.isPending && releases.length === 0 ? (
|
|
833
|
-
<DataTableFullRow columns={columnCount}>
|
|
834
|
-
{empty}
|
|
835
|
-
</DataTableFullRow>
|
|
836
|
-
) : null}
|
|
837
983
|
</DataTable>
|
|
838
984
|
)}
|
|
839
985
|
</DataTableFrame>
|
|
@@ -842,7 +988,9 @@ function BundlesPage() {
|
|
|
842
988
|
{!releasesQuery.isError && !releasesQuery.isPending ? (
|
|
843
989
|
<DataTablePagination
|
|
844
990
|
count={releases.length}
|
|
991
|
+
folded={{ ...foldedTotal(entries), label: "unreachable" }}
|
|
845
992
|
label="Bundle pagination"
|
|
993
|
+
noun={["bundle", "bundles"]}
|
|
846
994
|
pending={releasesQuery.isPlaceholderData}
|
|
847
995
|
newest={onLaterPage ? { search: newestSearch, to: "/" } : undefined}
|
|
848
996
|
next={nextSearch ? { search: nextSearch, to: "/" } : undefined}
|