@hot-updater/console 1.2.0-rc.26 → 1.2.0-rc.28
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-7blX2yQW.js} +1 -1
- package/.output/public/assets/BundleIdDisplay-B0gAH01c.js +1 -0
- package/.output/public/assets/CompositeItem-Dy4xgOMg.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-DUqlpHCp.js → ConsoleFeatureUnavailable-cy_snb33.js} +1 -1
- package/.output/public/assets/{EventDetails-DZsRlDHk.js → EventDetails-sxag8Hfc.js} +1 -1
- package/.output/public/assets/{HashValueDisplay-MoZMmTeP.js → HashValueDisplay-DMweha_0.js} +1 -1
- package/.output/public/assets/{InsightsPageHeader-2bTrjXln.js → InsightsPageHeader-D5TJspVe.js} +1 -1
- package/.output/public/assets/IosInstall-B5NspihF.js +1 -0
- package/.output/public/assets/NativeBuildsNav-CjOOlbEu.js +1 -0
- package/.output/public/assets/{NotFoundPage-Ckb5GMhh.js → NotFoundPage-DDOJarFa.js} +1 -1
- package/.output/public/assets/{PlatformIcon-CJ69KopR.js → PlatformIcon-BBvlg6JY.js} +1 -1
- package/.output/public/assets/RelativeTime-CY1dKZpv.js +1 -0
- package/.output/public/assets/{RolloutPercentageBadge-G6qt8rVb.js → RolloutPercentageBadge-BHgHkBGB.js} +1 -1
- package/.output/public/assets/RowReason-BMx_vclu.js +1 -0
- package/.output/public/assets/SandboxBadge-irEkMf1P.js +1 -0
- package/.output/public/assets/TargetDisplay-DB8D019f.js +1 -0
- package/.output/public/assets/{alert-dialog-DiRLrFVe.js → alert-dialog-CLC_h1fL.js} +1 -1
- package/.output/public/assets/api-DLryz9hA.js +1 -0
- package/.output/public/assets/api-keys-Cd-aNt-v.js +1 -0
- package/.output/public/assets/api-keys-D3tAc4Uu.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-DJMW4YVM.js} +1 -1
- package/.output/public/assets/card-C4sBAMU-.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-tCTZmAo8.js +1 -0
- package/.output/public/assets/{dist-Bf1BPKMs.js → dist-Bw_uSBJn.js} +1 -1
- package/.output/public/assets/empty-DsbLxQ1w.js +1 -0
- package/.output/public/assets/field-DL4OXTJ7.js +1 -0
- package/.output/public/assets/git-branch-ByZMEBxZ.js +1 -0
- package/.output/public/assets/history-wYnPoVmT.js +1 -0
- package/.output/public/assets/index-CAnjb7M2.js +10 -0
- package/.output/public/assets/{input-group-D_NfhUbX.js → input-group-B7jx0icS.js} +1 -1
- package/.output/public/assets/insights-DIs4nJI9.js +2 -0
- package/.output/public/assets/insights-DTF7C4jb.js +42 -0
- package/.output/public/assets/insights-api-B6Gj74n5.js +1 -0
- package/.output/public/assets/insights-bUk3ChoU.js +1 -0
- package/.output/public/assets/{insights-search-CYPrQVUC.js → insights-search-TfRz5kGG.js} +1 -1
- package/.output/public/assets/insights-usage-rpc-B4V-Qqo4.js +1 -0
- package/.output/public/assets/insights_.distribution-BPl5oRt4.js +2 -0
- package/.output/public/assets/{insights_.distribution-_dZi1_ay.js → insights_.distribution-BqfzAuAf.js} +1 -1
- package/.output/public/assets/insights_.distribution-BqtmnGTt.js +1 -0
- package/.output/public/assets/installations-6U8c_03X.js +1 -0
- package/.output/public/assets/{installations-Y_7QW_p8.js → installations-BU65zztK.js} +1 -1
- package/.output/public/assets/installations-D3MbzcFb.js +2 -0
- package/.output/public/assets/{key-round-DzBe6DHr.js → key-round-B-P_hhUB.js} +1 -1
- package/.output/public/assets/{link-DTEyW70e.js → link-CN3iHC4A.js} +2 -2
- package/.output/public/assets/{list-B6GeoQ_b.js → list-fFsS8Wxe.js} +1 -1
- package/.output/public/assets/loader-circle-GWIgH0fo.js +1 -0
- package/.output/public/assets/native-builds-BdzfAFnF.js +1 -0
- package/.output/public/assets/native-builds-CWwvuOXr.js +2 -0
- package/.output/public/assets/native-builds-Eh72Vr2G.js +1 -0
- package/.output/public/assets/native-builds_._buildId-33ksAlnZ.js +1 -0
- package/.output/public/assets/native-builds_._buildId-BVA5GnZP.js +2 -0
- package/.output/public/assets/native-builds_.devices-CElovmwq.js +1 -0
- package/.output/public/assets/native-builds_.devices-DWtcOVYO.js +2 -0
- package/.output/public/assets/{package-ytYrywZH.js → package-CXSDZsME.js} +1 -1
- package/.output/public/assets/plus-Cx-yFNd9.js +1 -0
- package/.output/public/assets/preload-helper-CRQjUQaZ.js +1 -0
- package/.output/public/assets/{refresh-cw-C-tvoCcE.js → refresh-cw-BgiOaFX3.js} +1 -1
- package/.output/public/assets/{relativeTime-DvyxGIsm.js → relativeTime-CBmDq8wh.js} +1 -1
- package/.output/public/assets/remote-config-B3oq9qR0.js +1 -0
- package/.output/public/assets/remote-config-CGbqsPh_.js +6 -0
- package/.output/public/assets/remote-config-D1OkfQKt.js +1 -0
- package/.output/public/assets/{rotate-cw-Clk5xTeE.js → rotate-cw-C1v7YuN7.js} +1 -1
- package/.output/public/assets/{routes-gQXSzO_n.js → routes-BTG3rg0l.js} +2 -2
- package/.output/public/assets/routes-CVbPjRKo.js +1 -0
- package/.output/public/assets/search-DiOSjaYL.js +1 -0
- package/.output/public/assets/select-CA8r-UUe.js +1 -0
- package/.output/public/assets/send-BgXZNiEA.js +1 -0
- package/.output/public/assets/{sidebar-Di9SN47G.js → sidebar-yC7KdImc.js} +1 -1
- package/.output/public/assets/smartphone-CxP0GGT6.js +1 -0
- package/.output/public/assets/styles-B0kzy3kp.css +2 -0
- package/.output/public/assets/switch-BTHWmKQ5.js +1 -0
- package/.output/public/assets/table-CwF7yxj4.js +1 -0
- package/.output/public/assets/tabs-CHNnCyvw.js +1 -0
- package/.output/public/assets/trash-2-CYISg7ZF.js +1 -0
- package/.output/public/assets/{undo-2-Bt0YXG26.js → undo-2-Bod3vw7x.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-z8rr63xV.mjs → __23tanstack-start-server-fn-resolver-BFiPs5uv.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 +1 -1
- 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-DRnAzJse.mjs → BundleIdDisplay-BSBR5eJ3.mjs} +3 -3
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-BEU7r4aH.mjs → ConsoleFeatureUnavailable-DcZ4JBVq.mjs} +8 -8
- package/.output/server/_ssr/CopyableText-DgNEsByt.mjs +33 -0
- package/.output/server/_ssr/{EventDetails-CjT6o2sJ.mjs → EventDetails-CUHZuwei.mjs} +9 -9
- package/.output/server/_ssr/{HashValueDisplay-Bkim8r3-.mjs → HashValueDisplay-B9ORaCcP.mjs} +3 -3
- package/.output/server/_ssr/{InsightsPageHeader-Ctw4N3SZ.mjs → InsightsPageHeader-C0bJqC-n.mjs} +9 -9
- package/.output/server/_ssr/IosInstall-C5Y5gnDY.mjs +574 -0
- package/.output/server/_ssr/NativeBuildsNav-hFiyBaFW.mjs +38 -0
- package/.output/server/_ssr/{NotFoundPage-Bh3gFsR6.mjs → NotFoundPage-D4xRjmIA.mjs} +3 -3
- package/.output/server/_ssr/{PlatformIcon-CMLs3Wez.mjs → PlatformIcon-BpGOEXjU.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-DjdCU0J7.mjs → RelativeTime-DnvxB666.mjs} +20 -9
- package/.output/server/_ssr/{RolloutPercentageBadge-BiIHw-V2.mjs → RolloutPercentageBadge-NBnIOzY9.mjs} +4 -4
- package/.output/server/_ssr/RowReason-B_jZN48d.mjs +169 -0
- package/.output/server/_ssr/{StoreSubmission-Cv59joPo.mjs → SandboxBadge-CFtTG1ZJ.mjs} +17 -17
- package/.output/server/_ssr/{TargetDisplay-D1PKOupt.mjs → TargetDisplay-0sb03v_6.mjs} +7 -33
- package/.output/server/_ssr/{alert-dialog-BOKQTpmP.mjs → alert-dialog-SLr1Q_AI.mjs} +2 -2
- package/.output/server/_ssr/{api-CDvGGB1B.mjs → api-CkgOQzSb.mjs} +74 -17
- package/.output/server/_ssr/{api-keys-DvbSgd9L.mjs → api-keys-BP7NJtoX.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-NYJ0VaDB.mjs → api-keys-BcSzq0TA.mjs} +11 -11
- package/.output/server/_ssr/{api-keys-rpc-B0MrcD15.mjs → api-keys-rpc-IWPOq5vn.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-CIB9gcI7.mjs → api-rpc-cNJTB3v4.mjs} +48 -32
- package/.output/server/_ssr/{auth-rpc-DsIffEXe.mjs → auth-rpc-oaBbtxSP.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-Dt9XHLs_.mjs → auth.server-WQw9JjMm.mjs} +587 -19
- package/.output/server/_ssr/{badge-KS3YftV5.mjs → badge-n3c0OTBQ.mjs} +2 -2
- package/.output/server/_ssr/{bundleActivity-BGVvqWx7.mjs → bundleActivity-BP40zYSt.mjs} +1 -1
- package/.output/server/_ssr/{card-CG5GqIoA.mjs → card-CYgCcRUd.mjs} +2 -2
- package/.output/server/_ssr/{config.server-CJs-9Zd_.mjs → config.server-R3KQbcML.mjs} +4 -4
- package/.output/server/_ssr/{console-access-ClmTMpo_.mjs → console-access-BLVi82IN.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-CpMYF0Pb.mjs → console-features-api-B2JvJOlE.mjs} +4 -4
- package/.output/server/_ssr/{console-features-rpc-D-dr-WF8.mjs → console-features-rpc-LAxQoSNw.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-DvHMJkq7.mjs → dialog-eru_h5oK.mjs} +2 -2
- package/.output/server/_ssr/{downloadBundle-BX8ODCZT.mjs → downloadBundle-DnoYpi36.mjs} +1 -1
- package/.output/server/_ssr/{empty-Bx8DnyWN.mjs → empty-Bu4qodCx.mjs} +3 -3
- package/.output/server/_ssr/{failureReports-C_CmBF4x.mjs → failureReports-BA2eg11O.mjs} +3 -3
- package/.output/server/_ssr/{field-BVI4lxoz.mjs → field-DA5lwO5U.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-CpJwooTk.mjs → input-group-VV5E3q78.mjs} +2 -2
- package/.output/server/_ssr/{insights-b1hq1O0p.mjs → insights-BJIt1xuT.mjs} +2 -2
- package/.output/server/_ssr/{insights-B-VtObqr.mjs → insights-C23mopzv.mjs} +5 -5
- package/.output/server/_ssr/{insights-DxlHHXPK.mjs → insights-Ci82qdkq.mjs} +27 -27
- package/.output/server/_ssr/{insights-api-8PWQ7PiR.mjs → insights-api-BwXMKUSe.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-pY2KV9HI.mjs → insights-failures-rpc-BuZ-jnby.mjs} +10 -10
- package/.output/server/_ssr/{insights-recovery-DOkpqnQ8.mjs → insights-recovery-BhOg6kz2.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-CejmWL_y.mjs → insights-recovery-rpc-DrXSy9aA.mjs} +6 -6
- package/.output/server/_ssr/{insights-rpc-D_7d_AAJ.mjs → insights-rpc-DyrIZg3a.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-CoMkZvRt.mjs → insights-search-CNkNB-aa.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-4KDIN3Kg.mjs → insights-usage-h8fipPTv.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-CrGZDHzO.mjs → insights-usage-rpc-C7UC1lom.mjs} +6 -6
- package/.output/server/_ssr/{insights-usage-rpc-B1XSuara.mjs → insights-usage-rpc-cTgmD-Ej.mjs} +5 -5
- package/.output/server/_ssr/{insightsUsage-DmQdJZqT.mjs → insightsUsage-BjSiV_X_.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-EOOOOTb6.mjs → insights_.distribution-BauOpBTE.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-CpqnDZNG.mjs → insights_.distribution-CIY_IGmh.mjs} +16 -16
- package/.output/server/_ssr/{insights_.distribution-B9sPDvG4.mjs → insights_.distribution-wfFKEv-Z.mjs} +5 -5
- package/.output/server/_ssr/{installations-BOI_y7Ma.mjs → installations-Ba3YVrAf.mjs} +13 -13
- package/.output/server/_ssr/{installations-dWlOOS7Y.mjs → installations-VzacOKHp.mjs} +2 -2
- package/.output/server/_ssr/{installations-D0_0hzdi.mjs → installations-jGW7nvEV.mjs} +4 -4
- package/.output/server/_ssr/ios-devices-rpc-Bhn7VVIh.mjs +138 -0
- package/.output/server/_ssr/iosDeviceProfile-_XT8TpgZ.mjs +176 -0
- package/.output/server/_ssr/iosDevices-Bc27J72d.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-Bx_az6YZ.mjs → native-builds-DZFJGcHy.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-C721Rw23.mjs → native-builds-DiNkKHly.mjs} +221 -86
- package/.output/server/_ssr/{native-builds_._buildId-ubi48Sfs.mjs → native-builds_._buildId-CuM1PsT6.mjs} +108 -294
- package/.output/server/_ssr/{native-builds_._buildId-YItxv8j9.mjs → native-builds_._buildId-D0n4QZY6.mjs} +3 -3
- package/.output/server/_ssr/native-builds_.devices-D0JJlX8E.mjs +689 -0
- package/.output/server/_ssr/native-builds_.devices-DiM2FdcW.mjs +10 -0
- package/.output/server/_ssr/{nativeBuildDownloadLink-C0I8eLpS.mjs → nativeBuildDownloadLink-CvvWuhh0.mjs} +3 -3
- package/.output/server/_ssr/{nativeBuildInstall-CxG8K8TL.mjs → nativeBuildInstall-BqcVHBaD.mjs} +54 -7
- 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-DcZAYRWJ.mjs → release-adoption-rpc-Dm-5yAJG.mjs} +8 -8
- package/.output/server/_ssr/{releaseAdoption-D6ScSu-W.mjs → releaseAdoption-kHZo8P90.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-gKqDKMxk.mjs → remote-config-D1BhIBKu.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-DOcSXzxG.mjs → remote-config-D7RruPiO.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-BZ_vGV97.mjs → remote-config-ZFm-l4Gi.mjs} +20 -20
- package/.output/server/_ssr/{remote-config-rpc-CVPd3V69.mjs → remote-config-rpc-C7AZy37o.mjs} +3 -3
- package/.output/server/_ssr/{router-Bcyej4cr.mjs → router-BGkGFMsT.mjs} +72 -75
- package/.output/server/_ssr/{routes-B10xsCh4.mjs → routes-CJJxz-Ak.mjs} +304 -230
- package/.output/server/_ssr/{routes-ddBRVSju.mjs → routes-CiJ2dhL9.mjs} +14 -13
- package/.output/server/_ssr/{runtime.server-wcHT2Cop.mjs → runtime.server-CkSbWaZm.mjs} +2 -2
- package/.output/server/_ssr/{schema-migration-rpc-iWZzLv70.mjs → schema-migration-rpc-D4YlwvGH.mjs} +3 -3
- package/.output/server/_ssr/{select-i4WT0c9r.mjs → select-BB8GE7OZ.mjs} +3 -3
- package/.output/server/_ssr/{server-CMgMPrDx.mjs → server-DAHTchcr.mjs} +5 -5
- package/.output/server/_ssr/{sidebar-mIQgB0iy.mjs → sidebar-CsKVgZHa.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-DR8EAh5C.mjs → switch-BvvmP7Y3.mjs} +3 -3
- package/.output/server/_ssr/{table-DXmK6G7A.mjs → table-WKKzprFn.mjs} +2 -2
- package/.output/server/_ssr/{tabs-DAfypcYe.mjs → tabs-BJ-4SgmC.mjs} +4 -4
- package/.output/server/_ssr/{updateFailures-DNiv3S_y.mjs → updateFailures-D0bP_Ume.mjs} +3 -3
- package/.output/server/_tanstack-start-manifest_v-CSUJeG5D.mjs +219 -0
- package/.output/server/index.mjs +436 -366
- package/lib/index.d.mts +9 -0
- package/package.json +7 -30
- package/src/components/DataTable.tsx +21 -2
- package/src/components/FoldedRows.tsx +201 -0
- package/src/components/RowReason.tsx +56 -0
- package/src/components/features/native-builds/InstallCard.tsx +1 -1
- package/src/components/features/native-builds/IosDevicesPage.tsx +892 -0
- package/src/components/features/native-builds/IosInstall.tsx +292 -62
- package/src/components/features/native-builds/IpaDevicesCard.tsx +107 -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 +214 -30
- package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
- package/src/index.ts +9 -0
- package/src/lib/api-rpc.ts +56 -29
- package/src/lib/api.ts +65 -2
- package/src/lib/ios-devices-api.ts +110 -0
- package/src/lib/ios-devices-rpc.ts +174 -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 +138 -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 +444 -299
- package/src/routes/native-builds_.devices.tsx +21 -0
- package/.output/public/assets/BundleIdDisplay-CP6rsdFO.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/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-CVJ09bBG.js} +0 -0
- /package/.output/public/assets/{valueToPercent-B6X9rUJM.js → valueToPercent-Db73Kirz.js} +0 -0
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
2
|
+
import { Et as require_react, Tt as require_jsx_runtime, a as SliderIndicator, c as SliderControl, l as SliderRoot, o as SliderThumb, s as SliderTrack } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
+
import { B as Download, D as LoaderCircle, O as List, P as Funnel, R as ExternalLink, T as Minus, U as CircleOff, X as Check, Y as ChevronDown, a as Trash2, g as RotateCcw, i as TriangleAlert, nt as ArrowRight, o as Tags, q as ChevronRight, s as Tag, t as X, tt as ArrowUpRight, v as Plus, x as Package } from "../_libs/lucide-react.mjs";
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-CsKVgZHa.mjs";
|
|
5
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
7
|
-
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-
|
|
8
|
-
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-
|
|
9
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-
|
|
10
|
-
import { a as FieldLabel, c as Label, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-
|
|
11
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CYgCcRUd.mjs";
|
|
7
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-n3c0OTBQ.mjs";
|
|
8
|
+
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-SLr1Q_AI.mjs";
|
|
9
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-eru_h5oK.mjs";
|
|
10
|
+
import { a as FieldLabel, c as Label, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-DA5lwO5U.mjs";
|
|
11
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-WKKzprFn.mjs";
|
|
12
12
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
13
13
|
import { D as normalizeRolloutCohortCount, E as normalizeCohortValue, T as isValidCohort, b as getPatchFileHash, g as getNumericCohortRolloutPosition, i as NUMERIC_COHORT_SIZE, t as INVALID_COHORT_ERROR_MESSAGE, v as getPatchBaseBundleId, y as getPatchBaseFileHash } from "./dist-B6-irDRA.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { D as platformLabel, O as releaseNativeBuildScope, m as nativeBuildArtifacts } from "./native-builds-BXBkklfA.mjs";
|
|
15
15
|
import { n as normalizeRange } from "../_libs/verkit.mjs";
|
|
16
|
-
import { n as InfoTooltip } from "./insights-search-
|
|
17
|
-
import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-
|
|
18
|
-
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-
|
|
19
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
20
|
-
import { S as
|
|
21
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
22
|
-
import { t as HashValueDisplay } from "./HashValueDisplay-
|
|
23
|
-
import {
|
|
24
|
-
import { a as
|
|
25
|
-
import {
|
|
26
|
-
import { n as
|
|
27
|
-
import {
|
|
28
|
-
|
|
16
|
+
import { n as InfoTooltip } from "./insights-search-CNkNB-aa.mjs";
|
|
17
|
+
import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
|
|
18
|
+
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-VV5E3q78.mjs";
|
|
19
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-BB8GE7OZ.mjs";
|
|
20
|
+
import { C as useReleasesQuery, S as useReleaseQuery, _ as usePreflightReleaseMutation, a as useConfigQuery, b as useReleaseFoldQuery, c as useDeleteReleaseMutation, i as useChannelsQuery, n as useBundleChildrenQuery, o as useCreateChannelMutation, r as useBundleQuery, s as useDeleteChannelMutation, t as useBundleChildCountsQuery, v as usePromoteReleaseMutation, w as useUpdateReleaseMutation, x as useReleaseNativeBuildQuery, y as useReleaseCatalogDiagnosticsQuery } from "./api-CkgOQzSb.mjs";
|
|
21
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-BSBR5eJ3.mjs";
|
|
22
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-B9ORaCcP.mjs";
|
|
23
|
+
import { i as TargetDisplay, n as ChannelBadge } from "./TargetDisplay-0sb03v_6.mjs";
|
|
24
|
+
import { a as DataTableBody, c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, l as DataTablePagination, n as DataCardSkeletons, o as DataTableEmpty, p as openOutsideControls, r as DataCardsEmpty, s as DataTableFrame, t as DataCard, u as DataTableRow } from "./RelativeTime-DnvxB666.mjs";
|
|
25
|
+
import { t as CopyableText } from "./CopyableText-DgNEsByt.mjs";
|
|
26
|
+
import { a as foldKey, c as useOpenFolds, i as RowReason, n as DataTableFold, o as foldLabel, r as FoldStatus, s as groupsOf, t as DataCardFold } from "./RowReason-B_jZN48d.mjs";
|
|
27
|
+
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-NBnIOzY9.mjs";
|
|
28
|
+
import { n as useDialogTarget, t as Switch$1 } from "./switch-BvvmP7Y3.mjs";
|
|
29
|
+
import { a as updateReleaseFilters, i as releaseFilterOf, n as Route, r as hasReleaseFilters, s as useReleaseColumns, t as ReleaseSections } from "./routes-CiJ2dhL9.mjs";
|
|
30
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-CJJxz-Ak.js
|
|
29
31
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
30
32
|
var import_jsx_runtime = require_jsx_runtime();
|
|
31
33
|
function EnabledStatusIcon({ enabled, className, falseIcon = "x", colorMode = "semantic" }) {
|
|
@@ -1350,7 +1352,11 @@ function ReleaseStateBadge({ release }) {
|
|
|
1350
1352
|
children: [release.enabled ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { className: "size-3" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CircleOff, { className: "size-3" }), release.enabled ? "Enabled" : "Disabled"]
|
|
1351
1353
|
});
|
|
1352
1354
|
}
|
|
1353
|
-
|
|
1355
|
+
/** A fold of unreachable bundles: "1 unreachable bundle", "2 …". */
|
|
1356
|
+
var UNREACHABLE_BUNDLES = {
|
|
1357
|
+
one: "unreachable bundle",
|
|
1358
|
+
other: "unreachable bundles"
|
|
1359
|
+
};
|
|
1354
1360
|
var platformFilterItems = [{
|
|
1355
1361
|
label: "iOS",
|
|
1356
1362
|
value: "ios"
|
|
@@ -1535,11 +1541,11 @@ function BundleEntry({ expanded, onOpen, onToggleExpand, release }) {
|
|
|
1535
1541
|
variant: "secondary",
|
|
1536
1542
|
children: operationLabel
|
|
1537
1543
|
}) : null,
|
|
1538
|
-
release.currentlyUnreachable ? /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
children:
|
|
1544
|
+
release.currentlyUnreachable ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RowReason, {
|
|
1545
|
+
icon: CircleOff,
|
|
1546
|
+
label: "Unreachable: no device gets this bundle with the current delivery settings.",
|
|
1547
|
+
reason: "No device gets this bundle with the current delivery settings.",
|
|
1548
|
+
children: "Unreachable"
|
|
1543
1549
|
}) : null
|
|
1544
1550
|
]
|
|
1545
1551
|
});
|
|
@@ -1574,44 +1580,111 @@ function ReleaseBundleChildrenPanel({ onDetailClick, panelId, release }) {
|
|
|
1574
1580
|
panelId
|
|
1575
1581
|
});
|
|
1576
1582
|
}
|
|
1583
|
+
/**
|
|
1584
|
+
* The patch counts and feature slots of a group of releases: the page's
|
|
1585
|
+
* reachable ones, or one fold's, so opening a fold reads its own rows'
|
|
1586
|
+
* and changes no other query.
|
|
1587
|
+
*/
|
|
1588
|
+
function useRowContext(releases, channels) {
|
|
1589
|
+
return {
|
|
1590
|
+
patchCounts: useBundleChildCountsQuery(Array.from(new Set(releases.flatMap((release) => release.bundle_id ? [release.bundle_id] : [])))).data ?? {},
|
|
1591
|
+
slotReleases: releases.flatMap((release) => {
|
|
1592
|
+
const channel = channels.find((item) => item.id === release.channel_id)?.name;
|
|
1593
|
+
return channel ? [{
|
|
1594
|
+
releaseId: release.id,
|
|
1595
|
+
platform: release.platform,
|
|
1596
|
+
channel,
|
|
1597
|
+
builtIn: !release.bundle_id
|
|
1598
|
+
}] : [];
|
|
1599
|
+
})
|
|
1600
|
+
};
|
|
1601
|
+
}
|
|
1602
|
+
/** Whether a fold of the page holds `releaseId`: IDs order the list. */
|
|
1603
|
+
var foldHolds = (fold, releaseId) => releaseId >= fold.to && (fold.from === void 0 || releaseId < fold.from);
|
|
1604
|
+
/**
|
|
1605
|
+
* A fold of unreachable bundles, where they sit in the list: closed, the
|
|
1606
|
+
* number it holds; open, those bundles in order, subdued, read a chunk at a
|
|
1607
|
+
* time once it opens.
|
|
1608
|
+
*/
|
|
1609
|
+
function UnreachableBundlesFold({ fold, filter, channels, columns, isMobile, open, onOpenChange, render }) {
|
|
1610
|
+
const query = useReleaseFoldQuery(filter, {
|
|
1611
|
+
...fold.from === void 0 ? {} : { from: fold.from },
|
|
1612
|
+
to: fold.to
|
|
1613
|
+
}, open);
|
|
1614
|
+
const rows = query.data?.pages.flatMap((page) => page.rows) ?? [];
|
|
1615
|
+
const ctx = useRowContext(rows, channels);
|
|
1616
|
+
const statusColumns = isMobile ? void 0 : columns;
|
|
1617
|
+
const status = query.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FoldStatus, {
|
|
1618
|
+
columns: statusColumns,
|
|
1619
|
+
label: "Unreachable bundles",
|
|
1620
|
+
onRetry: () => void query.refetch(),
|
|
1621
|
+
state: "error"
|
|
1622
|
+
}) : query.isPending || query.isFetchingNextPage ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FoldStatus, {
|
|
1623
|
+
columns: statusColumns,
|
|
1624
|
+
label: "Loading unreachable bundles",
|
|
1625
|
+
state: "loading"
|
|
1626
|
+
}) : query.hasNextPage ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FoldStatus, {
|
|
1627
|
+
columns: statusColumns,
|
|
1628
|
+
label: "Unreachable bundles",
|
|
1629
|
+
onMore: () => void query.fetchNextPage(),
|
|
1630
|
+
state: "more"
|
|
1631
|
+
}) : null;
|
|
1632
|
+
const props = {
|
|
1633
|
+
label: foldLabel(fold, UNREACHABLE_BUNDLES),
|
|
1634
|
+
open,
|
|
1635
|
+
onOpenChange,
|
|
1636
|
+
panelId: `bundle-fold-${fold.to}`
|
|
1637
|
+
};
|
|
1638
|
+
return isMobile ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataCardFold, {
|
|
1639
|
+
...props,
|
|
1640
|
+
children: [rows.map((release) => render(release, ctx)), status]
|
|
1641
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataTableFold, {
|
|
1642
|
+
...props,
|
|
1643
|
+
columns,
|
|
1644
|
+
children: [rows.map((release) => render(release, ctx)), status]
|
|
1645
|
+
});
|
|
1646
|
+
}
|
|
1577
1647
|
function BundlesPage() {
|
|
1578
1648
|
const search = Route.useSearch();
|
|
1579
1649
|
const navigate = Route.useNavigate();
|
|
1580
1650
|
const isMobile = useIsMobile();
|
|
1581
1651
|
const [channelsOpen, setChannelsOpen] = (0, import_react.useState)(false);
|
|
1582
1652
|
const [expandedReleaseId, setExpandedReleaseId] = (0, import_react.useState)();
|
|
1653
|
+
const folds = useOpenFolds();
|
|
1654
|
+
const filter = releaseFilterOf(search);
|
|
1583
1655
|
const releasesQuery = useReleasesQuery({
|
|
1584
1656
|
afterReleaseId: search.afterReleaseId,
|
|
1585
1657
|
beforeReleaseId: search.beforeReleaseId,
|
|
1586
|
-
filter
|
|
1587
|
-
|
|
1658
|
+
filter,
|
|
1659
|
+
releaseId: search.releaseId
|
|
1588
1660
|
});
|
|
1589
1661
|
const channels = useChannelsQuery().data ?? [];
|
|
1590
|
-
const
|
|
1591
|
-
const
|
|
1662
|
+
const entries = releasesQuery.data?.entries ?? [];
|
|
1663
|
+
const releases = entries.flatMap((entry) => entry.kind === "row" ? [entry.row] : []);
|
|
1664
|
+
const pageContext = useRowContext(releases, channels);
|
|
1592
1665
|
const nextCursor = releasesQuery.data?.next;
|
|
1593
1666
|
const previousCursor = releasesQuery.data?.previous;
|
|
1594
|
-
const slotReleases = releases.flatMap((release) => {
|
|
1595
|
-
const channel = channels.find((item) => item.id === release.channel_id)?.name;
|
|
1596
|
-
return channel ? [{
|
|
1597
|
-
releaseId: release.id,
|
|
1598
|
-
platform: release.platform,
|
|
1599
|
-
channel,
|
|
1600
|
-
builtIn: !release.bundle_id
|
|
1601
|
-
}] : [];
|
|
1602
|
-
});
|
|
1603
1667
|
const featureColumns = useReleaseColumns();
|
|
1604
1668
|
const columnCount = 10 + featureColumns.length;
|
|
1605
1669
|
const channelNames = new Map(channels.map((channel) => [channel.id, channel.name]));
|
|
1670
|
+
const visible = (releaseId) => releases.some((release) => release.id === releaseId) || entries.some((entry) => entry.kind === "fold" && folds.isOpen(foldKey(entry)) && foldHolds(entry, releaseId));
|
|
1671
|
+
const lineageVisible = expandedReleaseId !== void 0 && visible(expandedReleaseId);
|
|
1606
1672
|
(0, import_react.useEffect)(() => {
|
|
1607
|
-
if (expandedReleaseId
|
|
1608
|
-
}, [expandedReleaseId,
|
|
1673
|
+
if (expandedReleaseId !== void 0 && !lineageVisible) setExpandedReleaseId(void 0);
|
|
1674
|
+
}, [expandedReleaseId, lineageVisible]);
|
|
1609
1675
|
const go = (nextSearch, resetScroll = true) => void navigate({
|
|
1610
1676
|
resetScroll,
|
|
1611
1677
|
search: nextSearch,
|
|
1612
1678
|
to: "/"
|
|
1613
1679
|
});
|
|
1614
1680
|
const changeFilters = (filters) => go(updateReleaseFilters(search, filters));
|
|
1681
|
+
const select = (release) => {
|
|
1682
|
+
if (!releases.some(({ id }) => id === release.id)) folds.set(release.id, true);
|
|
1683
|
+
go({
|
|
1684
|
+
...search,
|
|
1685
|
+
releaseId: release.id
|
|
1686
|
+
}, false);
|
|
1687
|
+
};
|
|
1615
1688
|
const openChildBundle = (bundle) => {
|
|
1616
1689
|
const childRelease = releases.find((release) => release.bundle_id === bundle.id);
|
|
1617
1690
|
setExpandedReleaseId(void 0);
|
|
@@ -1627,8 +1700,8 @@ function BundlesPage() {
|
|
|
1627
1700
|
const onLaterPage = search.afterReleaseId !== void 0 || search.beforeReleaseId !== void 0;
|
|
1628
1701
|
const previousSearch = previousCursor ? {
|
|
1629
1702
|
...search,
|
|
1630
|
-
afterReleaseId: previousCursor,
|
|
1631
|
-
beforeReleaseId: void 0,
|
|
1703
|
+
afterReleaseId: "after" in previousCursor ? previousCursor.after : void 0,
|
|
1704
|
+
beforeReleaseId: "before" in previousCursor ? previousCursor.before : void 0,
|
|
1632
1705
|
releaseId: void 0
|
|
1633
1706
|
} : null;
|
|
1634
1707
|
const nextSearch = nextCursor ? {
|
|
@@ -1643,9 +1716,188 @@ function BundlesPage() {
|
|
|
1643
1716
|
beforeReleaseId: void 0,
|
|
1644
1717
|
releaseId: void 0
|
|
1645
1718
|
};
|
|
1719
|
+
const renderCard = (release, ctx) => {
|
|
1720
|
+
const channelName = channelNames.get(release.channel_id) ?? release.channel_id;
|
|
1721
|
+
const patchCount = release.bundle_id ? ctx.patchCounts[release.bundle_id] : 0;
|
|
1722
|
+
const isExpanded = lineageVisible && expandedReleaseId === release.id;
|
|
1723
|
+
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
1724
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataCard, {
|
|
1725
|
+
"aria-label": `Bundle ${release.id}`,
|
|
1726
|
+
className: cn("gap-3", release.currentlyUnreachable && "bg-muted/35 saturate-50 hover:bg-muted/50 hover:saturate-100 focus-within:saturate-100", isExpanded && "border-b-0 bg-primary/5"),
|
|
1727
|
+
"data-state": search.releaseId === release.id ? "selected" : void 0,
|
|
1728
|
+
onClick: openOutsideControls(() => select(release)),
|
|
1729
|
+
children: [
|
|
1730
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1731
|
+
className: "flex items-start justify-between gap-3",
|
|
1732
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleEntry, {
|
|
1733
|
+
expanded: isExpanded,
|
|
1734
|
+
onOpen: () => select(release),
|
|
1735
|
+
onToggleExpand: () => setExpandedReleaseId(isExpanded ? void 0 : release.id),
|
|
1736
|
+
release
|
|
1737
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelBadge, {
|
|
1738
|
+
channel: channelName,
|
|
1739
|
+
className: "shrink-0"
|
|
1740
|
+
})]
|
|
1741
|
+
}),
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
|
|
1743
|
+
className: "flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground",
|
|
1744
|
+
children: [
|
|
1745
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1746
|
+
className: "flex items-center gap-1.5 text-foreground",
|
|
1747
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(PlatformIcon, {
|
|
1748
|
+
className: "size-4",
|
|
1749
|
+
platform: release.platform
|
|
1750
|
+
}), release.platform === "ios" ? "iOS" : "Android"]
|
|
1751
|
+
}),
|
|
1752
|
+
patchCount === void 0 || patchCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1753
|
+
"aria-hidden": "true",
|
|
1754
|
+
children: "·"
|
|
1755
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: patchCount === void 0 ? "Checking patches" : `${patchCount} ${patchCount === 1 ? "patch" : "patches"}` })] }) : null,
|
|
1756
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1757
|
+
"aria-hidden": "true",
|
|
1758
|
+
children: "·"
|
|
1759
|
+
}),
|
|
1760
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RelativeTime, { ms: release.created_at_ms })
|
|
1761
|
+
]
|
|
1762
|
+
}),
|
|
1763
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1764
|
+
className: "flex flex-wrap items-center gap-x-3 gap-y-2 text-xs",
|
|
1765
|
+
children: [
|
|
1766
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RolloutPercentageBadge, { percentage: release.rollout_cohort_count / 10 }),
|
|
1767
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseStateBadge, { release }),
|
|
1768
|
+
release.should_force_update ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
1769
|
+
variant: "secondary",
|
|
1770
|
+
children: "Force update"
|
|
1771
|
+
}) : null,
|
|
1772
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1773
|
+
className: "flex items-center",
|
|
1774
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1775
|
+
className: "sr-only",
|
|
1776
|
+
children: "Target "
|
|
1777
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TargetDisplay, {
|
|
1778
|
+
appVersion: release.target_app_version,
|
|
1779
|
+
fingerprintHash: release.fingerprint_hash
|
|
1780
|
+
})]
|
|
1781
|
+
})
|
|
1782
|
+
]
|
|
1783
|
+
}),
|
|
1784
|
+
featureColumns.map(({ Cell, feature, label }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1785
|
+
className: "mt-3 text-xs",
|
|
1786
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1787
|
+
className: "sr-only",
|
|
1788
|
+
children: label
|
|
1789
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cell, {
|
|
1790
|
+
releaseId: release.id,
|
|
1791
|
+
releases: ctx.slotReleases
|
|
1792
|
+
})]
|
|
1793
|
+
}, feature)),
|
|
1794
|
+
release.message ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
1795
|
+
className: "line-clamp-2 text-xs text-muted-foreground",
|
|
1796
|
+
children: release.message
|
|
1797
|
+
}) : null
|
|
1798
|
+
]
|
|
1799
|
+
}), isExpanded && release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseBundleChildrenPanel, {
|
|
1800
|
+
onDetailClick: openChildBundle,
|
|
1801
|
+
panelId,
|
|
1802
|
+
release
|
|
1803
|
+
}) : null] }, release.id);
|
|
1804
|
+
};
|
|
1805
|
+
const renderRow = (release, ctx) => {
|
|
1806
|
+
const isExpanded = lineageVisible && expandedReleaseId === release.id;
|
|
1807
|
+
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
1808
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataTableRow, {
|
|
1809
|
+
"aria-label": `Open bundle ${release.id}`,
|
|
1810
|
+
className: cn(release.currentlyUnreachable && "bg-muted/35 saturate-50 hover:bg-muted/50 hover:saturate-100 focus-within:saturate-100", isExpanded && "bg-primary/5"),
|
|
1811
|
+
"data-state": search.releaseId === release.id ? "selected" : void 0,
|
|
1812
|
+
onOpen: () => select(release),
|
|
1813
|
+
children: [
|
|
1814
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleEntry, {
|
|
1815
|
+
expanded: isExpanded,
|
|
1816
|
+
onOpen: () => select(release),
|
|
1817
|
+
onToggleExpand: () => setExpandedReleaseId(isExpanded ? void 0 : release.id),
|
|
1818
|
+
release
|
|
1819
|
+
}) }),
|
|
1820
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelBadge, { channel: channelNames.get(release.channel_id) ?? release.channel_id }) }),
|
|
1821
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1822
|
+
className: "whitespace-nowrap",
|
|
1823
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PlatformLabel, { platform: release.platform })
|
|
1824
|
+
}),
|
|
1825
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: release.bundle_id && ctx.patchCounts[release.bundle_id] === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1826
|
+
className: "text-sm text-muted-foreground",
|
|
1827
|
+
children: "Checking"
|
|
1828
|
+
}) : release.bundle_id && ctx.patchCounts[release.bundle_id] > 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
|
|
1829
|
+
variant: "secondary",
|
|
1830
|
+
children: [
|
|
1831
|
+
ctx.patchCounts[release.bundle_id],
|
|
1832
|
+
" ",
|
|
1833
|
+
ctx.patchCounts[release.bundle_id] === 1 ? "patch" : "patches"
|
|
1834
|
+
]
|
|
1835
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1836
|
+
className: "text-muted-foreground",
|
|
1837
|
+
children: "-"
|
|
1838
|
+
}) }),
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TargetDisplay, {
|
|
1840
|
+
appVersion: release.target_app_version,
|
|
1841
|
+
fingerprintHash: release.fingerprint_hash
|
|
1842
|
+
}) }),
|
|
1843
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1844
|
+
className: "flex items-center",
|
|
1845
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EnabledStatusIcon, { enabled: release.enabled }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1846
|
+
className: "sr-only",
|
|
1847
|
+
children: release.enabled ? "Enabled" : "Disabled"
|
|
1848
|
+
})]
|
|
1849
|
+
}) }),
|
|
1850
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1851
|
+
className: "flex items-center",
|
|
1852
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EnabledStatusIcon, {
|
|
1853
|
+
enabled: release.should_force_update,
|
|
1854
|
+
falseIcon: "minus"
|
|
1855
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1856
|
+
className: "sr-only",
|
|
1857
|
+
children: release.should_force_update ? "Required" : "Optional"
|
|
1858
|
+
})]
|
|
1859
|
+
}) }),
|
|
1860
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RolloutPercentageBadge, { percentage: release.rollout_cohort_count / 10 }) }),
|
|
1861
|
+
featureColumns.map(({ Cell, feature }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cell, {
|
|
1862
|
+
releaseId: release.id,
|
|
1863
|
+
releases: ctx.slotReleases
|
|
1864
|
+
}) }, feature)),
|
|
1865
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1866
|
+
className: "text-sm text-muted-foreground",
|
|
1867
|
+
title: release.message ?? void 0,
|
|
1868
|
+
children: release.message || "-"
|
|
1869
|
+
}),
|
|
1870
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1871
|
+
className: "text-xs text-muted-foreground",
|
|
1872
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RelativeTime, { ms: release.created_at_ms })
|
|
1873
|
+
})
|
|
1874
|
+
]
|
|
1875
|
+
}), isExpanded && release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
|
|
1876
|
+
className: "hover:bg-transparent",
|
|
1877
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1878
|
+
className: "border-t-0 p-0",
|
|
1879
|
+
colSpan: columnCount,
|
|
1880
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseBundleChildrenPanel, {
|
|
1881
|
+
onDetailClick: openChildBundle,
|
|
1882
|
+
panelId,
|
|
1883
|
+
release
|
|
1884
|
+
})
|
|
1885
|
+
})
|
|
1886
|
+
}) : null] }, release.id);
|
|
1887
|
+
};
|
|
1888
|
+
const fold = (entry, render) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(UnreachableBundlesFold, {
|
|
1889
|
+
channels,
|
|
1890
|
+
columns: columnCount,
|
|
1891
|
+
filter,
|
|
1892
|
+
fold: entry,
|
|
1893
|
+
isMobile,
|
|
1894
|
+
onOpenChange: (open) => folds.set(foldKey(entry), open),
|
|
1895
|
+
open: folds.isOpen(foldKey(entry)),
|
|
1896
|
+
render
|
|
1897
|
+
}, `fold-${entry.to}`);
|
|
1646
1898
|
const empty = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableEmpty, {
|
|
1647
1899
|
icon: Package,
|
|
1648
|
-
title: onLaterPage ? "No more bundles" : hasReleaseFilters(search) ? "No bundles match these filters" : "No bundles yet",
|
|
1900
|
+
title: releases.length === 0 && entries.length > 0 ? "No device gets the bundles here" : onLaterPage ? "No more bundles" : hasReleaseFilters(search) ? "No bundles match these filters" : "No bundles yet",
|
|
1649
1901
|
children: onLaterPage ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
|
|
1650
1902
|
className: buttonVariants({
|
|
1651
1903
|
className: "mt-1 min-h-11 sm:min-h-8",
|
|
@@ -1689,99 +1941,9 @@ function BundlesPage() {
|
|
|
1689
1941
|
]
|
|
1690
1942
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableFrame, { children: isMobile ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
1691
1943
|
className: "h-full overflow-y-auto",
|
|
1692
|
-
children: releasesQuery.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataCardSkeletons, {}) : releases.length ?
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
const isExpanded = expandedReleaseId === release.id;
|
|
1696
|
-
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
1697
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataCard, {
|
|
1698
|
-
"aria-label": `Bundle ${release.id}`,
|
|
1699
|
-
className: cn("gap-3", release.currentlyUnreachable && "bg-muted/35 saturate-50 hover:bg-muted/50 hover:saturate-100 focus-within:saturate-100", isExpanded && "border-b-0 bg-primary/5"),
|
|
1700
|
-
"data-state": search.releaseId === release.id ? "selected" : void 0,
|
|
1701
|
-
onClick: openOutsideControls(() => go({
|
|
1702
|
-
...search,
|
|
1703
|
-
releaseId: release.id
|
|
1704
|
-
}, false)),
|
|
1705
|
-
children: [
|
|
1706
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1707
|
-
className: "flex items-start justify-between gap-3",
|
|
1708
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleEntry, {
|
|
1709
|
-
expanded: isExpanded,
|
|
1710
|
-
onOpen: () => go({
|
|
1711
|
-
...search,
|
|
1712
|
-
releaseId: release.id
|
|
1713
|
-
}, false),
|
|
1714
|
-
onToggleExpand: () => setExpandedReleaseId(isExpanded ? void 0 : release.id),
|
|
1715
|
-
release
|
|
1716
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelBadge, {
|
|
1717
|
-
channel: channelName,
|
|
1718
|
-
className: "shrink-0"
|
|
1719
|
-
})]
|
|
1720
|
-
}),
|
|
1721
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
|
|
1722
|
-
className: "flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground",
|
|
1723
|
-
children: [
|
|
1724
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1725
|
-
className: "flex items-center gap-1.5 text-foreground",
|
|
1726
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(PlatformIcon, {
|
|
1727
|
-
className: "size-4",
|
|
1728
|
-
platform: release.platform
|
|
1729
|
-
}), release.platform === "ios" ? "iOS" : "Android"]
|
|
1730
|
-
}),
|
|
1731
|
-
patchCount === void 0 || patchCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1732
|
-
"aria-hidden": "true",
|
|
1733
|
-
children: "·"
|
|
1734
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: patchCount === void 0 ? "Checking patches" : `${patchCount} ${patchCount === 1 ? "patch" : "patches"}` })] }) : null,
|
|
1735
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1736
|
-
"aria-hidden": "true",
|
|
1737
|
-
children: "·"
|
|
1738
|
-
}),
|
|
1739
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RelativeTime, { ms: release.created_at_ms })
|
|
1740
|
-
]
|
|
1741
|
-
}),
|
|
1742
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1743
|
-
className: "flex flex-wrap items-center gap-x-3 gap-y-2 text-xs",
|
|
1744
|
-
children: [
|
|
1745
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RolloutPercentageBadge, { percentage: release.rollout_cohort_count / 10 }),
|
|
1746
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseStateBadge, { release }),
|
|
1747
|
-
release.should_force_update ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
1748
|
-
variant: "secondary",
|
|
1749
|
-
children: "Force update"
|
|
1750
|
-
}) : null,
|
|
1751
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1752
|
-
className: "flex items-center",
|
|
1753
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1754
|
-
className: "sr-only",
|
|
1755
|
-
children: "Target "
|
|
1756
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TargetDisplay, {
|
|
1757
|
-
appVersion: release.target_app_version,
|
|
1758
|
-
fingerprintHash: release.fingerprint_hash
|
|
1759
|
-
})]
|
|
1760
|
-
})
|
|
1761
|
-
]
|
|
1762
|
-
}),
|
|
1763
|
-
featureColumns.map(({ Cell, feature, label }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1764
|
-
className: "mt-3 text-xs",
|
|
1765
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1766
|
-
className: "sr-only",
|
|
1767
|
-
children: label
|
|
1768
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cell, {
|
|
1769
|
-
releaseId: release.id,
|
|
1770
|
-
releases: slotReleases
|
|
1771
|
-
})]
|
|
1772
|
-
}, feature)),
|
|
1773
|
-
release.message ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
1774
|
-
className: "line-clamp-2 text-xs text-muted-foreground",
|
|
1775
|
-
children: release.message
|
|
1776
|
-
}) : null
|
|
1777
|
-
]
|
|
1778
|
-
}), isExpanded && release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseBundleChildrenPanel, {
|
|
1779
|
-
onDetailClick: openChildBundle,
|
|
1780
|
-
panelId,
|
|
1781
|
-
release
|
|
1782
|
-
}) : null] }, release.id);
|
|
1783
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataCardsEmpty, { children: empty })
|
|
1784
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataTable, {
|
|
1944
|
+
children: releasesQuery.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataCardSkeletons, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [releases.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataCardsEmpty, { children: empty }) : null, entries.map((entry) => entry.kind === "row" ? renderCard(entry.row, pageContext) : fold(entry, renderCard))] })
|
|
1945
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTable, {
|
|
1946
|
+
rowGroups: true,
|
|
1785
1947
|
header: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
1786
1948
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "ID" }),
|
|
1787
1949
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Channel" }),
|
|
@@ -1795,98 +1957,10 @@ function BundlesPage() {
|
|
|
1795
1957
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Message" }),
|
|
1796
1958
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Created" })
|
|
1797
1959
|
] }),
|
|
1798
|
-
children:
|
|
1799
|
-
const isExpanded = expandedReleaseId === release.id;
|
|
1800
|
-
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
1801
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataTableRow, {
|
|
1802
|
-
"aria-label": `Open bundle ${release.id}`,
|
|
1803
|
-
className: cn(release.currentlyUnreachable && "bg-muted/35 saturate-50 hover:bg-muted/50 hover:saturate-100 focus-within:saturate-100", isExpanded && "bg-primary/5"),
|
|
1804
|
-
"data-state": search.releaseId === release.id ? "selected" : void 0,
|
|
1805
|
-
onOpen: () => go({
|
|
1806
|
-
...search,
|
|
1807
|
-
releaseId: release.id
|
|
1808
|
-
}, false),
|
|
1809
|
-
children: [
|
|
1810
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleEntry, {
|
|
1811
|
-
expanded: isExpanded,
|
|
1812
|
-
onOpen: () => go({
|
|
1813
|
-
...search,
|
|
1814
|
-
releaseId: release.id
|
|
1815
|
-
}, false),
|
|
1816
|
-
onToggleExpand: () => setExpandedReleaseId(isExpanded ? void 0 : release.id),
|
|
1817
|
-
release
|
|
1818
|
-
}) }),
|
|
1819
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelBadge, { channel: channelNames.get(release.channel_id) ?? release.channel_id }) }),
|
|
1820
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1821
|
-
className: "whitespace-nowrap",
|
|
1822
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PlatformLabel, { platform: release.platform })
|
|
1823
|
-
}),
|
|
1824
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: release.bundle_id && patchCountsByBundleId[release.bundle_id] === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1825
|
-
className: "text-sm text-muted-foreground",
|
|
1826
|
-
children: "Checking"
|
|
1827
|
-
}) : release.bundle_id && patchCountsByBundleId[release.bundle_id] > 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
|
|
1828
|
-
variant: "secondary",
|
|
1829
|
-
children: [
|
|
1830
|
-
patchCountsByBundleId[release.bundle_id],
|
|
1831
|
-
" ",
|
|
1832
|
-
patchCountsByBundleId[release.bundle_id] === 1 ? "patch" : "patches"
|
|
1833
|
-
]
|
|
1834
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1835
|
-
className: "text-muted-foreground",
|
|
1836
|
-
children: "-"
|
|
1837
|
-
}) }),
|
|
1838
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TargetDisplay, {
|
|
1839
|
-
appVersion: release.target_app_version,
|
|
1840
|
-
fingerprintHash: release.fingerprint_hash
|
|
1841
|
-
}) }),
|
|
1842
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1843
|
-
className: "flex items-center",
|
|
1844
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EnabledStatusIcon, { enabled: release.enabled }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1845
|
-
className: "sr-only",
|
|
1846
|
-
children: release.enabled ? "Enabled" : "Disabled"
|
|
1847
|
-
})]
|
|
1848
|
-
}) }),
|
|
1849
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1850
|
-
className: "flex items-center",
|
|
1851
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EnabledStatusIcon, {
|
|
1852
|
-
enabled: release.should_force_update,
|
|
1853
|
-
falseIcon: "minus"
|
|
1854
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1855
|
-
className: "sr-only",
|
|
1856
|
-
children: release.should_force_update ? "Required" : "Optional"
|
|
1857
|
-
})]
|
|
1858
|
-
}) }),
|
|
1859
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RolloutPercentageBadge, { percentage: release.rollout_cohort_count / 10 }) }),
|
|
1860
|
-
featureColumns.map(({ Cell, feature }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cell, {
|
|
1861
|
-
releaseId: release.id,
|
|
1862
|
-
releases: slotReleases
|
|
1863
|
-
}) }, feature)),
|
|
1864
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1865
|
-
className: "text-sm text-muted-foreground",
|
|
1866
|
-
title: release.message ?? void 0,
|
|
1867
|
-
children: release.message || "-"
|
|
1868
|
-
}),
|
|
1869
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1870
|
-
className: "text-xs text-muted-foreground",
|
|
1871
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RelativeTime, { ms: release.created_at_ms })
|
|
1872
|
-
})
|
|
1873
|
-
]
|
|
1874
|
-
}), isExpanded && release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
|
|
1875
|
-
className: "hover:bg-transparent",
|
|
1876
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1877
|
-
className: "border-t-0 p-0",
|
|
1878
|
-
colSpan: columnCount,
|
|
1879
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseBundleChildrenPanel, {
|
|
1880
|
-
onDetailClick: openChildBundle,
|
|
1881
|
-
panelId,
|
|
1882
|
-
release
|
|
1883
|
-
})
|
|
1884
|
-
})
|
|
1885
|
-
}) : null] }, release.id);
|
|
1886
|
-
}), !releasesQuery.isPending && releases.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableFullRow, {
|
|
1960
|
+
children: releasesQuery.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableBody, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableSkeletonRows, { columns: columnCount }) }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [releases.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableBody, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableFullRow, {
|
|
1887
1961
|
columns: columnCount,
|
|
1888
1962
|
children: empty
|
|
1889
|
-
}) : null]
|
|
1963
|
+
}) }) : null, groupsOf(entries).map((group) => group.kind === "fold" ? fold(group.fold, renderRow) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableBody, { children: group.rows.map((release) => renderRow(release, pageContext)) }, `rows-${group.rows[0].id}`))] })
|
|
1890
1964
|
}) }), !releasesQuery.isError && !releasesQuery.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTablePagination, {
|
|
1891
1965
|
count: releases.length,
|
|
1892
1966
|
label: "Bundle pagination",
|