@hot-updater/console 1.2.0-rc.2 → 1.2.0-rc.21
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-C-TGpFAm.js → -native-builds-search-OlRj4Jz0.js} +1 -1
- package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-DUqlpHCp.js} +1 -1
- package/.output/public/assets/EventDetails-Dcpdu7re.js +1 -0
- package/.output/public/assets/HashValueDisplay-MoZMmTeP.js +1 -0
- package/.output/public/assets/{InsightsPageHeader-DHhqY3DT.js → InsightsPageHeader-CSas9gM0.js} +1 -1
- package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-CJ69KopR.js} +1 -1
- package/.output/public/assets/RelativeTime-CiZ7yXNJ.js +1 -0
- package/.output/public/assets/RolloutPercentageBadge-D-tZKnX7.js +1 -0
- package/.output/public/assets/StoreSubmission-F00RL5rI.js +1 -0
- package/.output/public/assets/TargetDisplay-CoYY8Fs4.js +1 -0
- package/.output/public/assets/api-LQJH44FU.js +1 -0
- package/.output/public/assets/api-keys-3IL4dIHe.js +1 -0
- package/.output/public/assets/api-keys-4w2-ofii.js +1 -0
- package/.output/public/assets/badge-laIuYW1U.js +1 -0
- package/.output/public/assets/card-ulgg5xHn.js +1 -0
- package/.output/public/assets/{index-CqP5HPV6.js → index-Cde2QQJq.js} +3 -3
- package/.output/public/assets/insights-0TUItqwh.js +1 -0
- package/.output/public/assets/insights-DDRfERph.js +2 -0
- package/.output/public/assets/insights-_6iMn8GR.js +42 -0
- package/.output/public/assets/{insights-search-DghCbEnk.js → insights-search-CYPrQVUC.js} +1 -1
- package/.output/public/assets/{insights-usage-rpc-CKQH0pUS.js → insights-usage-rpc-BbFllvi_.js} +1 -1
- package/.output/public/assets/insights_.distribution-AZcfvK7x.js +1 -0
- package/.output/public/assets/insights_.distribution-BGAqgPi0.js +1 -0
- package/.output/public/assets/insights_.distribution-CjYkDRA4.js +2 -0
- package/.output/public/assets/installations-Ap2G2tDs.js +1 -0
- package/.output/public/assets/{installations-B674P5Z5.js → installations-CSZfo1rG.js} +2 -2
- package/.output/public/assets/installations-CwQYwQ6K.js +1 -0
- package/.output/public/assets/native-builds-cT9Ha-jZ.js +1 -0
- package/.output/public/assets/native-builds-v5wez34c.js +2 -0
- package/.output/public/assets/native-builds_._buildId-BBwE8Pcc.js +2 -0
- package/.output/public/assets/native-builds_._buildId-DZPcR_up.js +1 -0
- package/.output/public/assets/package-ytYrywZH.js +1 -0
- package/.output/public/assets/remote-config-CIAEArwq.js +1 -0
- package/.output/public/assets/{remote-config-WjpozBG5.js → remote-config-Dwdc-sij.js} +1 -1
- package/.output/public/assets/remote-config-ZJ_IRSKE.js +6 -0
- package/.output/public/assets/routes-BUWLcUqW.js +1 -0
- package/.output/public/assets/routes-Rtz-KcQO.js +2 -0
- package/.output/public/assets/styles-bNNic0NS.css +2 -0
- package/.output/public/assets/valueToPercent-B6X9rUJM.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-BcDgi7Q7.mjs → __23tanstack-start-server-fn-resolver-C-9gAWtP.mjs} +58 -46
- package/.output/server/_chunks/ssr-renderer.mjs +2 -2
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +2 -0
- package/.output/server/_libs/lucide-react.mjs +1 -27
- package/.output/server/_ssr/{-native-builds-search-CwNcoXf4.mjs → -native-builds-search-Cl8EZ0Ud.mjs} +2 -2
- package/.output/server/_ssr/{BundleIdDisplay-ys5eRBiX.mjs → BundleIdDisplay-gVoZLoqU.mjs} +2 -2
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-DFrogDwc.mjs → ConsoleFeatureUnavailable-Dcibk9QQ.mjs} +7 -7
- package/.output/server/_ssr/{EventDetails-BOJR7vO-.mjs → EventDetails-CCZ9mS_F.mjs} +8 -8
- package/.output/server/_ssr/{HashValueDisplay-d4OxpYG1.mjs → HashValueDisplay-BxHC8iAG.mjs} +6 -6
- package/.output/server/_ssr/{InsightsPageHeader-D_ON_oXO.mjs → InsightsPageHeader-CqJqdi-m.mjs} +8 -8
- package/.output/server/_ssr/{NotFoundPage-BJKqYxfO.mjs → NotFoundPage-BLIrdxfa.mjs} +2 -2
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-Cuhy0CIO.mjs} +12 -2
- package/.output/server/_ssr/RelativeTime-B1Sy1q_O.mjs +209 -0
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-BmWPR_Tb.mjs} +19 -3
- package/.output/server/_ssr/StoreSubmission-DIsoEgf-.mjs +65 -0
- package/.output/server/_ssr/TargetDisplay-C2ROSppY.mjs +100 -0
- package/.output/server/_ssr/{alert-dialog-BU7QeAL9.mjs → alert-dialog-C1y2G90R.mjs} +1 -1
- package/.output/server/_ssr/{api-Dn2NwWiq.mjs → api-D8gN7V0h.mjs} +99 -22
- package/.output/server/_ssr/{api-keys-D5rW-eAH.mjs → api-keys-DybL9aTC.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-Ckoc4av7.mjs → api-keys-W6eabF-V.mjs} +10 -9
- package/.output/server/_ssr/{api-keys-rpc-Bf2x7mQb.mjs → api-keys-rpc-CEaSDqVK.mjs} +4 -4
- package/.output/server/_ssr/{api-rpc-Bg7CTu5A.mjs → api-rpc-DloD35JY.mjs} +43 -18
- package/.output/server/_ssr/{auth-rpc-C41fl9Q5.mjs → auth-rpc-DOGHWAlV.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-Dfa8DroN.mjs → auth.server-BO8fBOxh.mjs} +165 -149
- package/.output/server/_ssr/{badge-B-YGm4ng.mjs → badge-DFQ0dCIK.mjs} +2 -44
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-BGVvqWx7.mjs} +1 -1
- package/.output/server/_ssr/card-Ec0pJUEs.mjs +49 -0
- package/.output/server/_ssr/{config.server-DBX318ww.mjs → config.server-AfVsZPlA.mjs} +4 -4
- package/.output/server/_ssr/{console-access-CwSkUsOn.mjs → console-access-fb0N6Nkh.mjs} +2 -2
- package/.output/server/_ssr/{console-features-BTV-XuhQ.mjs → console-features-CgdQJQlX.mjs} +1 -1
- package/.output/server/_ssr/{console-features-api-BbojT91g.mjs → console-features-api-VIcoTdNC.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-3bq2wS5U.mjs → console-features-rpc-BNjlCLLR.mjs} +4 -4
- package/.output/server/_ssr/{createServerRpc-BVvRVOz5.mjs → createServerRpc-DJZel12M.mjs} +1 -1
- package/.output/server/_ssr/{databaseConfig-B_Bg7qS5.mjs → databaseConfig-XAvDetmn.mjs} +1 -1
- package/.output/server/_ssr/{databaseJsonValue-kS7cvEtz.mjs → databaseJsonValue-DuUoft8j.mjs} +1 -1
- package/.output/server/_ssr/{databaseRows-B6H8Cmgq.mjs → databaseRows-BtRVBD0C.mjs} +3 -3
- package/.output/server/_ssr/{dialog-RPz_4IaA.mjs → dialog-CqqX-d24.mjs} +1 -1
- package/.output/server/_ssr/{dist-TEpM_UAD.mjs → dist-B6-irDRA.mjs} +1 -1
- package/.output/server/_ssr/{downloadBundle-DCmr7vsj.mjs → downloadBundle-BX8ODCZT.mjs} +1 -1
- package/.output/server/_ssr/{empty-BE1Gn6IB.mjs → empty-o55VPF-m.mjs} +2 -2
- package/.output/server/_ssr/{empty-plugin-adapters-zrZ0xs6n.mjs → empty-plugin-adapters-BYBYBaxo.mjs} +1 -1
- package/.output/server/_ssr/{failureReports-Cn_zU9S8.mjs → failureReports-C_CmBF4x.mjs} +3 -3
- package/.output/server/_ssr/{field-DUwSBic5.mjs → field-yKSsJRQo.mjs} +2 -2
- package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-BJTufthT.mjs} +2 -2
- package/.output/server/_ssr/{input-group-BHI0ziHT.mjs → input-group-DlSVwRKN.mjs} +1 -1
- package/.output/server/_ssr/{insights-DVvFyEOH.mjs → insights-D1hSSSnf.mjs} +5 -5
- package/.output/server/_ssr/{insights-BGzKbtLf.mjs → insights-DmskI16o.mjs} +28 -27
- package/.output/server/_ssr/{insights-api-Bw_ZEDUY.mjs → insights-api-BedUQeHn.mjs} +5 -5
- package/.output/server/_ssr/{insights-errors-7BCwFybo.mjs → insights-errors-Bz3sWNZm.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-DNQ9qVVf.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-BuRU2I5g.mjs → insights-failures-rpc-pyvkJiMW.mjs} +11 -11
- package/.output/server/_ssr/{insights-DF0SkYDy.mjs → insights-oydyzlp4.mjs} +2 -2
- package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-DOkpqnQ8.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-CsWe72mW.mjs → insights-recovery-rpc-C8oSWMSL.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-CD5VaLy2.mjs → insights-rpc-Bt3dM8UW.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-C3R6mzW-.mjs → insights-search-CH_Q2pPQ.mjs} +4 -4
- package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-4KDIN3Kg.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-Bbg14JFS.mjs → insights-usage-rpc-CTZ63vhq.mjs} +7 -7
- package/.output/server/_ssr/{insights-usage-rpc-Duqu3q-H.mjs → insights-usage-rpc-CTt1yIIY.mjs} +4 -4
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-DmQdJZqT.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-HZrwJteU.mjs → insights_.distribution-CxB6jrKu.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-DH_9B5XU.mjs → insights_.distribution-DG4pvrB8.mjs} +16 -15
- package/.output/server/_ssr/{insights_.distribution-DIA0Gi7f.mjs → insights_.distribution-DS8Dc6_5.mjs} +2 -2
- package/.output/server/_ssr/{installations-SuuoQ-xH.mjs → installations-BgVrlTdW.mjs} +12 -12
- package/.output/server/_ssr/{installations-Ct7njvit.mjs → installations-ChOjrcPZ.mjs} +4 -4
- package/.output/server/_ssr/{installations-D-O92-Nr.mjs → installations-_PSpNZM6.mjs} +2 -2
- package/.output/server/_ssr/{listReleases-D_GY00SQ.mjs → listReleases-CQEceg8j.mjs} +1 -1
- package/.output/server/_ssr/{request-guard-CPdRBuGW.mjs → local-console-Dtxlsav0.mjs} +2 -9
- package/.output/server/_ssr/native-artifact-H1MDP0Jz.mjs +593 -0
- package/.output/server/_ssr/native-builds-CHOxmjmm.mjs +548 -0
- package/.output/server/_ssr/{native-builds-DhXL5zf_.mjs → native-builds-CWA9Y__P.mjs} +58 -20
- package/.output/server/_ssr/{native-builds-DhVG-4du.mjs → native-builds-DqJ41IA-.mjs} +3 -3
- package/.output/server/_ssr/{native-builds_._buildId-dDLkfNFZ.mjs → native-builds_._buildId-Bb-mVQnh.mjs} +3 -3
- package/.output/server/_ssr/native-builds_._buildId-C1lMUjaj.mjs +1294 -0
- package/.output/server/_ssr/nativeBuildDevice-Dn16gNmZ.mjs +230 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-wyUj7Oyi.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-i5f-2-qd.mjs +203 -0
- package/.output/server/_ssr/nativeBuildQr-P9qKcI7l.mjs +115 -0
- package/.output/server/_ssr/{nativeBuilds-B_7BPjt_.mjs → nativeBuilds-ByQdDnHG.mjs} +61 -29
- package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-CX7wutet.mjs} +6 -6
- package/.output/server/_ssr/publicConsoleBase-3IHSHvqd.mjs +27 -0
- package/.output/server/_ssr/{qr-code-C7kNRIDX.mjs → qr-code-pENFuyy9.mjs} +1 -1
- package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-C7sUFDwa.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-Cc2AJ-yS.mjs → release-adoption-rpc-BUPLEJYw.mjs} +9 -9
- package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-LLYlRnUB.mjs} +4 -4
- package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-D9dAMI17.mjs} +3 -3
- package/.output/server/_ssr/{releaseManagement-DHUux2az.mjs → releaseManagement-EPhok_Py.mjs} +1 -1
- package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-DaZ7ifUF.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-BYyQFBG8.mjs → remote-config-BMdoiYuB.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-CTZ_zxNg.mjs → remote-config-DvM_KKl6.mjs} +20 -19
- package/.output/server/_ssr/{remote-config-DvMHWxja.mjs → remote-config-XmtJFUKn.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-DibiGuw7.mjs → remote-config-rpc-DFRsn7f8.mjs} +5 -5
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-Da0sMVN2.mjs → router-KM_t8okm.mjs} +103 -52
- package/.output/server/_ssr/{routes-CHl0_VK3.mjs → routes-Beckr53C.mjs} +260 -383
- package/.output/server/_ssr/{routes-FE2SJgBr.mjs → routes-MrSajWvI.mjs} +14 -18
- package/.output/server/_ssr/{runtime.server-BdMY1blX.mjs → runtime.server-BsTTLV-B.mjs} +4 -4
- package/.output/server/_ssr/{schema-ChlRtZIo.mjs → schema-3oDJJFWa.mjs} +1 -1
- package/.output/server/_ssr/{schema-migration-rpc-Bh7oEZEG.mjs → schema-migration-rpc-BqNKpOrg.mjs} +4 -4
- package/.output/server/_ssr/{select-BhPCNdHx.mjs → select-CUCLbsEW.mjs} +2 -2
- package/.output/server/_ssr/{server-BjkQXKZR.mjs → server-DpE_idiZ.mjs} +6 -6
- package/.output/server/_ssr/{sidebar-B7OTpt-8.mjs → sidebar-xs2XmYh9.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-BvDsQehg.mjs → start-C0XSSCq4.mjs} +2 -2
- package/.output/server/_ssr/{switch-CIkMfFrN.mjs → switch-CWp_RWCq.mjs} +2 -2
- package/.output/server/_ssr/{table-BIzH49v-.mjs → table-DtPvFx_v.mjs} +1 -1
- package/.output/server/_ssr/{tabs-WDYlrXEm.mjs → tabs-D0Jdy8v4.mjs} +2 -2
- package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-DPYzv9bE.mjs} +3 -3
- package/.output/server/_ssr/{uuidv7-BIF4nb_q.mjs → uuidv7-CmHbryZT.mjs} +2 -2
- package/.output/server/_ssr/{version-CQ98ZBpL-CWSkTT9J.mjs → version-CQ98ZBpL-NmbU0MD2.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-AYP07Vaf.mjs +194 -0
- package/.output/server/index.mjs +318 -297
- package/package.json +7 -7
- package/src/components/ChannelBadge.tsx +9 -9
- package/src/components/DataTable.tsx +303 -0
- package/src/components/HashValueDisplay.tsx +6 -3
- package/src/components/PlatformIcon.tsx +10 -0
- package/src/components/RelativeTime.tsx +31 -0
- package/src/components/TargetDisplay.tsx +69 -0
- package/src/components/features/channels/ChannelManagementDialog.tsx +3 -8
- package/src/components/features/insights/ReleaseActivity.tsx +1 -1
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +108 -58
- package/src/components/features/native-builds/CommitLink.tsx +1 -1
- package/src/components/features/native-builds/ImportBuild.tsx +1 -1
- package/src/components/features/native-builds/InstallCard.tsx +246 -46
- package/src/components/features/native-builds/IosInstall.tsx +300 -0
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +4 -1
- package/src/components/features/native-builds/NativeBuildsPage.tsx +63 -76
- package/src/components/features/native-builds/NativeBuildsTable.tsx +436 -315
- package/src/components/features/native-builds/PatchesCard.tsx +3 -2
- package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +4 -4
- package/src/components/features/native-builds/ServedNowCard.tsx +33 -1
- package/src/components/features/native-builds/ShortHash.tsx +1 -1
- package/src/components/features/native-builds/StoreSubmission.tsx +12 -3
- package/src/lib/api-rpc.ts +55 -6
- package/src/lib/api.ts +85 -12
- package/src/lib/native-builds.ts +95 -17
- package/src/lib/server/local-console.ts +1 -1
- package/src/lib/server/nativeBuildDevice.ts +274 -0
- package/src/lib/server/nativeBuildDownloadLink.ts +193 -0
- package/src/lib/server/nativeBuildInstall.ts +355 -0
- package/src/lib/server/nativeBuildQr.ts +114 -24
- package/src/lib/server/nativeBuilds.ts +87 -33
- package/src/lib/server/plistText.ts +17 -0
- package/src/lib/server/publicConsoleBase.ts +17 -0
- package/src/routeTree.gen.ts +114 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/device-response.ts +17 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/device.ts +17 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/device[.]mobileconfig.ts +17 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/manifest[.]plist.ts +22 -0
- package/src/routes/[_]hot-updater/native-builds/preview-qr.ts +14 -0
- package/src/routes/api/native-builds/$buildId/download.ts +22 -1
- package/src/routes/index.tsx +290 -429
- package/src/styles.css +16 -0
- package/.output/public/assets/EventDetails-Dl2RvPAk.js +0 -1
- package/.output/public/assets/HashValueDisplay-6lNRxDJX.js +0 -1
- package/.output/public/assets/RolloutPercentageBadge-Cxogpi8F.js +0 -1
- package/.output/public/assets/StoreSubmission-ViTkW4eJ.js +0 -1
- package/.output/public/assets/api-P2g8dCNg.js +0 -1
- package/.output/public/assets/api-keys-DWQC2q6y.js +0 -1
- package/.output/public/assets/api-keys-FueRkF9q.js +0 -1
- package/.output/public/assets/badge-DWFcDWho.js +0 -1
- package/.output/public/assets/download-Cf24LBde.js +0 -1
- package/.output/public/assets/insights-B-0odqpt.js +0 -42
- package/.output/public/assets/insights-BSVGfxSL.js +0 -1
- package/.output/public/assets/insights-NK5B6ReS.js +0 -2
- package/.output/public/assets/insights_.distribution-CJvgwcVZ.js +0 -2
- package/.output/public/assets/insights_.distribution-DblZM0mO.js +0 -1
- package/.output/public/assets/insights_.distribution-dvk6vYDM.js +0 -1
- package/.output/public/assets/installations-BWxczZ2t.js +0 -1
- package/.output/public/assets/installations-Dv4kWQYz.js +0 -1
- package/.output/public/assets/native-builds-BOC71grI.js +0 -1
- package/.output/public/assets/native-builds-D6rldpSh.js +0 -2
- package/.output/public/assets/native-builds-DAy2678K.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DD58_Phd.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DvQDKnUQ.js +0 -2
- package/.output/public/assets/remote-config-B7ujqhLa.js +0 -6
- package/.output/public/assets/remote-config-gXeH6PBW.js +0 -1
- package/.output/public/assets/routes-BDdBIxYS.js +0 -1
- package/.output/public/assets/routes-CCD33Azv.js +0 -2
- package/.output/public/assets/styles-uK-0vUMk.css +0 -2
- package/.output/public/assets/valueToPercent-BLwGy_xK.js +0 -1
- package/.output/server/_ssr/RolloutPercentageBadge-BpI_iTsm.mjs +0 -21
- package/.output/server/_ssr/StoreSubmission-CXMFpHyp.mjs +0 -139
- package/.output/server/_ssr/native-builds-bTSKsvYp.mjs +0 -510
- package/.output/server/_ssr/native-builds_._buildId-D20tGR3l.mjs +0 -813
- package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
- package/.output/server/_tanstack-start-manifest_v-B5nsO5L4.mjs +0 -184
- /package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-Ckb5GMhh.js} +0 -0
- /package/.output/public/assets/{alert-dialog-BqYScr9y.js → alert-dialog-DiRLrFVe.js} +0 -0
- /package/.output/public/assets/{dialog-CNUPxNxH.js → dialog-CLIaC82_.js} +0 -0
- /package/.output/public/assets/{dist-CPlO6ko9.js → dist-Bf1BPKMs.js} +0 -0
- /package/.output/public/assets/{empty-B3Uwdd6k.js → empty-Bhlj8PEo.js} +0 -0
- /package/.output/public/assets/{field-D-2-mnNh.js → field-q4sTYzNU.js} +0 -0
- /package/.output/public/assets/{history-DqHlgSuV.js → history-DakJoeSM.js} +0 -0
- /package/.output/public/assets/{input-group-D3OUBk4n.js → input-group-D_NfhUbX.js} +0 -0
- /package/.output/public/assets/{key-round-DwNKkHhy.js → key-round-DzBe6DHr.js} +0 -0
- /package/.output/public/assets/{list--NIee1FZ.js → list-B6GeoQ_b.js} +0 -0
- /package/.output/public/assets/{plus-BReVKct-.js → plus-BVhOauU3.js} +0 -0
- /package/.output/public/assets/{refresh-cw-B9HHjLej.js → refresh-cw-C-tvoCcE.js} +0 -0
- /package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-DvyxGIsm.js} +0 -0
- /package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-Clk5xTeE.js} +0 -0
- /package/.output/public/assets/{search-BCel4Oy6.js → search-nnvSOTEB.js} +0 -0
- /package/.output/public/assets/{smartphone-CMaSy_ir.js → smartphone-r0rRdPas.js} +0 -0
- /package/.output/public/assets/{switch-BpdiHL_t.js → switch-CP6GsHmN.js} +0 -0
- /package/.output/public/assets/{table-Bpy3SvSo.js → table-TUtVz-2l.js} +0 -0
- /package/.output/public/assets/{tabs-Xmt7tZeG.js → tabs-CP3CSmtI.js} +0 -0
- /package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-Bt0YXG26.js} +0 -0
- /package/.output/public/assets/{uuidv7-zXMtwR9Q.js → uuidv7-cI6C63Fm.js} +0 -0
|
@@ -1,43 +1,33 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { a as SliderIndicator, bt as require_react, c as SliderControl, l as SliderRoot, o as SliderThumb, s as SliderTrack, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
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-
|
|
5
|
-
import { a as Badge, c as CardDescription, d as CardTitle, i as AlertTitle, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-B-YGm4ng.mjs";
|
|
6
|
-
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-BU7QeAL9.mjs";
|
|
7
|
-
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-RPz_4IaA.mjs";
|
|
8
|
-
import { a as FieldLabel, c as Label, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-DUwSBic5.mjs";
|
|
9
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BIzH49v-.mjs";
|
|
10
|
-
import { n as toast } from "../_libs/sonner.mjs";
|
|
3
|
+
import { D as LoaderCircle, H as CircleOff, J as ChevronDown, K as ChevronRight, O as List, P as Funnel, R as ExternalLink, T as Minus, Y as Check, a as Trash2, et as ArrowUpRight, g as RotateCcw, i as TriangleAlert, o as Tags, s as Tag, t as X, tt as ArrowRight, v as Plus, x as Package, z as Download } 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-xs2XmYh9.mjs";
|
|
11
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-Ec0pJUEs.mjs";
|
|
7
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-DFQ0dCIK.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-C1y2G90R.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-CqqX-d24.mjs";
|
|
10
|
+
import { a as FieldLabel, c as Label, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-yKSsJRQo.mjs";
|
|
11
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DtPvFx_v.mjs";
|
|
12
|
+
import { n as toast } from "../_libs/sonner.mjs";
|
|
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 { S as releaseNativeBuildScope, s as nativeBuildArtifacts, x as platformLabel } from "./native-builds-CWA9Y__P.mjs";
|
|
14
15
|
import { n as normalizeRange } from "../_libs/verkit.mjs";
|
|
15
|
-
import { n as InfoTooltip } from "./insights-search-
|
|
16
|
-
import { t as PlatformIcon } from "./PlatformIcon-
|
|
17
|
-
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-
|
|
18
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
19
|
-
import { _ as
|
|
20
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
21
|
-
import { t as HashValueDisplay } from "./HashValueDisplay-
|
|
22
|
-
import { n as
|
|
23
|
-
import { t as
|
|
24
|
-
import { n as
|
|
25
|
-
import {
|
|
26
|
-
|
|
16
|
+
import { n as InfoTooltip } from "./insights-search-CH_Q2pPQ.mjs";
|
|
17
|
+
import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-Cuhy0CIO.mjs";
|
|
18
|
+
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-DlSVwRKN.mjs";
|
|
19
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-CUCLbsEW.mjs";
|
|
20
|
+
import { S as useUpdateReleaseMutation, _ as usePromoteReleaseMutation, a as useConfigQuery, b as useReleaseQuery, c as useDeleteReleaseMutation, g as usePreflightReleaseMutation, i as useChannelsQuery, n as useBundleChildrenQuery, o as useCreateChannelMutation, r as useBundleQuery, s as useDeleteChannelMutation, t as useBundleChildCountsQuery, v as useReleaseCatalogDiagnosticsQuery, x as useReleasesQuery, y as useReleaseNativeBuildQuery } from "./api-D8gN7V0h.mjs";
|
|
21
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-gVoZLoqU.mjs";
|
|
22
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-BxHC8iAG.mjs";
|
|
23
|
+
import { a as TargetDisplay, n as ChannelBadge, r as CopyableText } from "./TargetDisplay-C2ROSppY.mjs";
|
|
24
|
+
import { a as DataTableEmpty, c as DataTablePagination, d as RelativeTime, f as openOutsideControls, i as DataTable, l as DataTableRow, n as DataCardSkeletons, o as DataTableFrame, r as DataCardsEmpty, s as DataTableFullRow, t as DataCard, u as DataTableSkeletonRows } from "./RelativeTime-B1Sy1q_O.mjs";
|
|
25
|
+
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-BmWPR_Tb.mjs";
|
|
26
|
+
import { n as useDialogTarget, t as Switch$1 } from "./switch-CWp_RWCq.mjs";
|
|
27
|
+
import { a as updateReleaseFilters, i as releaseFilterOf, n as Route, r as hasReleaseFilters, s as useReleaseColumns, t as ReleaseSections } from "./routes-MrSajWvI.mjs";
|
|
28
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-Beckr53C.js
|
|
27
29
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
28
30
|
var import_jsx_runtime = require_jsx_runtime();
|
|
29
|
-
var channelColors = {
|
|
30
|
-
production: "bg-green-500/10 text-green-700 dark:text-green-400 border-green-500/20",
|
|
31
|
-
dev: "bg-blue-500/10 text-blue-700 dark:text-blue-400 border-blue-500/20",
|
|
32
|
-
staging: "bg-yellow-500/10 text-yellow-700 dark:text-yellow-400 border-yellow-500/20"
|
|
33
|
-
};
|
|
34
|
-
function ChannelBadge({ channel, className }) {
|
|
35
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
36
|
-
variant: "outline",
|
|
37
|
-
className: cn(channelColors[channel.toLowerCase()] || "bg-gray-500/10 text-gray-700 dark:text-gray-400 border-gray-500/20", className),
|
|
38
|
-
children: channel
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
31
|
function EnabledStatusIcon({ enabled, className, falseIcon = "x", colorMode = "semantic" }) {
|
|
42
32
|
const iconColorClassName = colorMode === "inherit" ? "text-current" : void 0;
|
|
43
33
|
if (enabled) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { className: cn("h-4 w-4", iconColorClassName ?? "text-green-600 dark:text-green-400", className) });
|
|
@@ -320,15 +310,9 @@ function ChannelManagementDialog({ open, onOpenChange }) {
|
|
|
320
310
|
className: "divide-y",
|
|
321
311
|
children: channels.map((channel) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", {
|
|
322
312
|
className: "flex min-h-12 items-center gap-3 px-3 py-2",
|
|
323
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.
|
|
324
|
-
className: "min-w-0 flex-1",
|
|
325
|
-
children:
|
|
326
|
-
className: "truncate text-xs font-medium",
|
|
327
|
-
children: channel.name
|
|
328
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
329
|
-
className: "truncate font-mono text-[10px] text-muted-foreground",
|
|
330
|
-
children: channel.id
|
|
331
|
-
})]
|
|
313
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
314
|
+
className: "min-w-0 flex-1 truncate text-xs font-medium",
|
|
315
|
+
children: channel.name
|
|
332
316
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
333
317
|
type: "button",
|
|
334
318
|
variant: "ghost",
|
|
@@ -579,10 +563,10 @@ function RolloutCohortsDialog({ releaseId, rolloutCohortCount, targetCohorts })
|
|
|
579
563
|
})] });
|
|
580
564
|
}
|
|
581
565
|
/**
|
|
582
|
-
* The native build a release's
|
|
583
|
-
* a patch from its built-in bundle: the
|
|
584
|
-
*
|
|
585
|
-
* so it shows none and reads nothing.
|
|
566
|
+
* The native build new deploys to a release's scope patch from, and whether
|
|
567
|
+
* this bundle has a patch from its built-in bundle: the scope's store build,
|
|
568
|
+
* or with none its newest, in two reads at most. A release of an app version
|
|
569
|
+
* range targets many builds, so it shows none and reads nothing.
|
|
586
570
|
*/
|
|
587
571
|
function ReleaseNativeBuildLink({ release, channel, bundle }) {
|
|
588
572
|
const input = release.bundle_id === null ? null : {
|
|
@@ -1388,19 +1372,6 @@ var statusFilterItems = [
|
|
|
1388
1372
|
value: "disabled"
|
|
1389
1373
|
}
|
|
1390
1374
|
];
|
|
1391
|
-
var dateFormatter = new Intl.DateTimeFormat(void 0, {
|
|
1392
|
-
dateStyle: "medium",
|
|
1393
|
-
timeStyle: "short"
|
|
1394
|
-
});
|
|
1395
|
-
var tableDateFormatter = new Intl.DateTimeFormat(void 0, { dateStyle: "medium" });
|
|
1396
|
-
/**
|
|
1397
|
-
* Opens a bundle from a click anywhere on its row or card, except on a
|
|
1398
|
-
* control inside it, which keeps its own action.
|
|
1399
|
-
*/
|
|
1400
|
-
var openOutsideControls = (open) => (event) => {
|
|
1401
|
-
if (event.target instanceof Element && event.target.closest("button, a, input, select, textarea")) return;
|
|
1402
|
-
open();
|
|
1403
|
-
};
|
|
1404
1375
|
function BundleFilterToolbar({ channels, onChange, onClear, onManageChannels, search }) {
|
|
1405
1376
|
const hasFilters = hasReleaseFilters(search);
|
|
1406
1377
|
const channelSelected = search.channelId !== void 0;
|
|
@@ -1414,7 +1385,7 @@ function BundleFilterToolbar({ channels, onChange, onClear, onManageChannels, se
|
|
|
1414
1385
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", {
|
|
1415
1386
|
className: "sticky top-0 z-10 flex shrink-0 flex-wrap items-center gap-2 border-b bg-background px-3 py-3 sm:h-12 sm:flex-nowrap sm:bg-card/70 sm:px-4 sm:py-0 sm:backdrop-blur-sm",
|
|
1416
1387
|
children: [
|
|
1417
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarTrigger, { className: "-ml-1" }),
|
|
1388
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarTrigger, { className: "-ml-1 size-11 lg:size-7" }),
|
|
1418
1389
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", {
|
|
1419
1390
|
className: "sr-only",
|
|
1420
1391
|
children: "Bundles"
|
|
@@ -1432,7 +1403,7 @@ function BundleFilterToolbar({ channels, onChange, onClear, onManageChannels, se
|
|
|
1432
1403
|
value: search.channelId ?? "all",
|
|
1433
1404
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
1434
1405
|
"aria-label": "Channel",
|
|
1435
|
-
className: "
|
|
1406
|
+
className: "w-[calc(50%-0.25rem)] min-w-[132px] text-xs data-[size=default]:h-11 sm:w-[140px] sm:data-[size=default]:h-8",
|
|
1436
1407
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
1437
1408
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectGroup, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
1438
1409
|
value: "all",
|
|
@@ -1449,7 +1420,7 @@ function BundleFilterToolbar({ channels, onChange, onClear, onManageChannels, se
|
|
|
1449
1420
|
value: search.platform ?? "ios",
|
|
1450
1421
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
1451
1422
|
"aria-label": "Platform",
|
|
1452
|
-
className: "
|
|
1423
|
+
className: "w-[calc(50%-0.25rem)] min-w-[132px] text-xs data-[size=default]:h-11 max-sm:order-2 sm:w-[140px] sm:data-[size=default]:h-8",
|
|
1453
1424
|
title: channelSelected ? void 0 : "Choose a channel first",
|
|
1454
1425
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
1455
1426
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectGroup, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
@@ -1467,7 +1438,7 @@ function BundleFilterToolbar({ channels, onChange, onClear, onManageChannels, se
|
|
|
1467
1438
|
value: search.enabled === void 0 ? "all" : search.enabled ? "enabled" : "disabled",
|
|
1468
1439
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
1469
1440
|
"aria-label": "Status",
|
|
1470
|
-
className: "
|
|
1441
|
+
className: "w-[calc(50%-0.25rem)] min-w-[132px] text-xs data-[size=default]:h-11 max-sm:order-2 sm:w-[140px] sm:data-[size=default]:h-8",
|
|
1471
1442
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
1472
1443
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectGroup, { children: [
|
|
1473
1444
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
@@ -1486,6 +1457,7 @@ function BundleFilterToolbar({ channels, onChange, onClear, onManageChannels, se
|
|
|
1486
1457
|
}),
|
|
1487
1458
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
1488
1459
|
"aria-label": "Manage channels",
|
|
1460
|
+
className: "size-11 max-sm:order-1 sm:size-7",
|
|
1489
1461
|
onClick: onManageChannels,
|
|
1490
1462
|
size: "icon-sm",
|
|
1491
1463
|
title: "Manage channels",
|
|
@@ -1493,29 +1465,29 @@ function BundleFilterToolbar({ channels, onChange, onClear, onManageChannels, se
|
|
|
1493
1465
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tags, {})
|
|
1494
1466
|
}),
|
|
1495
1467
|
search.bundleId ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
|
|
1496
|
-
className: "max-w-48 gap-1",
|
|
1468
|
+
className: "max-w-48 gap-1 max-sm:order-3",
|
|
1497
1469
|
variant: "secondary",
|
|
1498
1470
|
children: ["Artifact filter", /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
|
|
1499
1471
|
"aria-label": "Clear artifact filter",
|
|
1500
|
-
className: "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1472
|
+
className: "relative rounded-sm after:absolute after:-inset-4 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring sm:after:hidden",
|
|
1501
1473
|
onClick: () => onChange({ bundleId: void 0 }),
|
|
1502
1474
|
type: "button",
|
|
1503
1475
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(X, { className: "size-3" })
|
|
1504
1476
|
})]
|
|
1505
1477
|
}) : null,
|
|
1506
1478
|
search.scopeKey ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
|
|
1507
|
-
className: "max-w-48 gap-1",
|
|
1479
|
+
className: "max-w-48 gap-1 max-sm:order-3",
|
|
1508
1480
|
variant: "secondary",
|
|
1509
1481
|
children: ["Target filter", /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
|
|
1510
1482
|
"aria-label": "Clear target filter",
|
|
1511
|
-
className: "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1483
|
+
className: "relative rounded-sm after:absolute after:-inset-4 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring sm:after:hidden",
|
|
1512
1484
|
onClick: () => onChange({ scopeKey: void 0 }),
|
|
1513
1485
|
type: "button",
|
|
1514
1486
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(X, { className: "size-3" })
|
|
1515
1487
|
})]
|
|
1516
1488
|
}) : null,
|
|
1517
1489
|
hasFilters ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
|
|
1518
|
-
className: "h-
|
|
1490
|
+
className: "h-11 px-2 text-xs text-muted-foreground hover:text-foreground max-sm:order-3 sm:ml-auto sm:h-8",
|
|
1519
1491
|
onClick: onClear,
|
|
1520
1492
|
size: "sm",
|
|
1521
1493
|
variant: "ghost",
|
|
@@ -1534,7 +1506,7 @@ function BundleEntry({ expanded, onOpen, onToggleExpand, release }) {
|
|
|
1534
1506
|
"aria-expanded": expanded,
|
|
1535
1507
|
"aria-label": expanded ? "Hide advanced artifact diagnostics" : "Show advanced artifact diagnostics",
|
|
1536
1508
|
title: "Advanced artifact diagnostics",
|
|
1537
|
-
className: "size-
|
|
1509
|
+
className: "size-11 shrink-0 touch-manipulation sm:size-8",
|
|
1538
1510
|
onClick: onToggleExpand,
|
|
1539
1511
|
size: "icon",
|
|
1540
1512
|
type: "button",
|
|
@@ -1542,7 +1514,7 @@ function BundleEntry({ expanded, onOpen, onToggleExpand, release }) {
|
|
|
1542
1514
|
children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, {})
|
|
1543
1515
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1544
1516
|
"aria-hidden": "true",
|
|
1545
|
-
className: "size-
|
|
1517
|
+
className: "size-11 shrink-0 sm:size-8"
|
|
1546
1518
|
}),
|
|
1547
1519
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
|
|
1548
1520
|
"aria-label": `Open details for ID ${release.id}`,
|
|
@@ -1671,6 +1643,31 @@ function BundlesPage() {
|
|
|
1671
1643
|
beforeReleaseId: void 0,
|
|
1672
1644
|
releaseId: void 0
|
|
1673
1645
|
};
|
|
1646
|
+
const empty = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableEmpty, {
|
|
1647
|
+
icon: Package,
|
|
1648
|
+
title: onLaterPage ? "No more bundles" : hasReleaseFilters(search) ? "No bundles match these filters" : "No bundles yet",
|
|
1649
|
+
children: onLaterPage ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
|
|
1650
|
+
className: buttonVariants({
|
|
1651
|
+
className: "mt-1 min-h-11 sm:min-h-8",
|
|
1652
|
+
variant: "outline"
|
|
1653
|
+
}),
|
|
1654
|
+
search: newestSearch,
|
|
1655
|
+
to: "/",
|
|
1656
|
+
children: "Show the newest bundles"
|
|
1657
|
+
}) : hasReleaseFilters(search) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
1658
|
+
className: "mt-1 min-h-11 sm:min-h-8",
|
|
1659
|
+
onClick: () => go({}),
|
|
1660
|
+
variant: "outline",
|
|
1661
|
+
children: "Clear filters"
|
|
1662
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Deploy one from your app's project:" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
1663
|
+
className: "w-full text-left",
|
|
1664
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CopyableText, {
|
|
1665
|
+
label: "the deploy command",
|
|
1666
|
+
value: "npx hot-updater deploy",
|
|
1667
|
+
wrap: true
|
|
1668
|
+
})
|
|
1669
|
+
})] })
|
|
1670
|
+
});
|
|
1674
1671
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1675
1672
|
className: "flex h-svh min-h-0 min-w-0 flex-col",
|
|
1676
1673
|
children: [
|
|
@@ -1690,27 +1687,23 @@ function BundlesPage() {
|
|
|
1690
1687
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children: "Bundles could not be loaded" }),
|
|
1691
1688
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDescription, { children: releasesQuery.error.message })
|
|
1692
1689
|
]
|
|
1693
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
1694
|
-
className: "
|
|
1695
|
-
children:
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
...search,
|
|
1711
|
-
releaseId: release.id
|
|
1712
|
-
}, false)),
|
|
1713
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1690
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableFrame, { children: isMobile ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
1691
|
+
className: "h-full overflow-y-auto",
|
|
1692
|
+
children: releasesQuery.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataCardSkeletons, {}) : releases.length ? releases.map((release) => {
|
|
1693
|
+
const channelName = channelNames.get(release.channel_id) ?? release.channel_id;
|
|
1694
|
+
const patchCount = release.bundle_id ? patchCountsByBundleId[release.bundle_id] : 0;
|
|
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", {
|
|
1714
1707
|
className: "flex items-start justify-between gap-3",
|
|
1715
1708
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleEntry, {
|
|
1716
1709
|
expanded: isExpanded,
|
|
@@ -1724,308 +1717,192 @@ function BundlesPage() {
|
|
|
1724
1717
|
channel: channelName,
|
|
1725
1718
|
className: "shrink-0"
|
|
1726
1719
|
})]
|
|
1727
|
-
}),
|
|
1728
|
-
|
|
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",
|
|
1729
1723
|
children: [
|
|
1730
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("
|
|
1731
|
-
className: "
|
|
1732
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
|
|
1733
|
-
className: "text-muted-foreground",
|
|
1734
|
-
children: "Platform"
|
|
1735
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("dd", {
|
|
1736
|
-
className: "mt-1 flex items-center gap-2 font-medium",
|
|
1737
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(PlatformIcon, {
|
|
1738
|
-
className: "size-4",
|
|
1739
|
-
platform: release.platform
|
|
1740
|
-
}), release.platform === "ios" ? "iOS" : "Android"]
|
|
1741
|
-
})]
|
|
1742
|
-
}),
|
|
1743
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1744
|
-
className: "rounded-md bg-muted/40 p-3",
|
|
1745
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
|
|
1746
|
-
className: "text-muted-foreground",
|
|
1747
|
-
children: "Created"
|
|
1748
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", {
|
|
1749
|
-
className: "mt-1 tabular-nums",
|
|
1750
|
-
children: dateFormatter.format(release.created_at_ms)
|
|
1751
|
-
})]
|
|
1752
|
-
}),
|
|
1753
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1754
|
-
className: "rounded-md bg-muted/40 p-3",
|
|
1755
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
|
|
1756
|
-
className: "text-muted-foreground",
|
|
1757
|
-
children: "Rollout"
|
|
1758
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", {
|
|
1759
|
-
className: "mt-1",
|
|
1760
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RolloutPercentageBadge, { percentage: release.rollout_cohort_count / 10 })
|
|
1761
|
-
})]
|
|
1762
|
-
}),
|
|
1763
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1764
|
-
className: "rounded-md bg-muted/40 p-3",
|
|
1765
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
|
|
1766
|
-
className: "text-muted-foreground",
|
|
1767
|
-
children: "Patches"
|
|
1768
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", {
|
|
1769
|
-
className: "mt-1",
|
|
1770
|
-
children: patchCount === void 0 ? "Checking" : patchCount > 0 ? `${patchCount} ${patchCount === 1 ? "patch" : "patches"}` : "—"
|
|
1771
|
-
})]
|
|
1772
|
-
}),
|
|
1773
|
-
featureColumns.map(({ Cell, feature, label }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1774
|
-
className: "col-span-2 rounded-md bg-muted/40 p-3",
|
|
1775
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
|
|
1776
|
-
className: "mb-2 text-muted-foreground",
|
|
1777
|
-
children: label
|
|
1778
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cell, {
|
|
1779
|
-
releaseId: release.id,
|
|
1780
|
-
releases: slotReleases
|
|
1781
|
-
}) })]
|
|
1782
|
-
}, feature)),
|
|
1783
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1784
|
-
className: "col-span-2 flex flex-wrap items-center gap-2 rounded-md bg-muted/40 p-3",
|
|
1785
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseStateBadge, { release }), release.should_force_update ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
1786
|
-
variant: "secondary",
|
|
1787
|
-
children: "Force update"
|
|
1788
|
-
}) : null]
|
|
1789
|
-
}),
|
|
1790
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1791
|
-
className: "col-span-2 grid grid-cols-1 gap-2 rounded-md border bg-background/80 p-3",
|
|
1792
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1793
|
-
className: "flex items-start justify-between gap-3",
|
|
1794
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
|
|
1795
|
-
className: "text-muted-foreground",
|
|
1796
|
-
children: "Target"
|
|
1797
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", {
|
|
1798
|
-
className: "min-w-0 truncate text-right font-mono",
|
|
1799
|
-
children: release.target_app_version ?? release.fingerprint_hash ?? "—"
|
|
1800
|
-
})]
|
|
1801
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1802
|
-
className: "flex items-start justify-between gap-3",
|
|
1803
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("dt", {
|
|
1804
|
-
className: "text-muted-foreground",
|
|
1805
|
-
children: "Message"
|
|
1806
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("dd", {
|
|
1807
|
-
className: "min-w-0 text-right text-foreground",
|
|
1808
|
-
children: release.message || "—"
|
|
1809
|
-
})]
|
|
1810
|
-
})]
|
|
1811
|
-
})
|
|
1812
|
-
]
|
|
1813
|
-
})]
|
|
1814
|
-
}), isExpanded && release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseBundleChildrenPanel, {
|
|
1815
|
-
onDetailClick: openChildBundle,
|
|
1816
|
-
panelId,
|
|
1817
|
-
release
|
|
1818
|
-
}) : null] }, release.id);
|
|
1819
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
1820
|
-
className: "p-8 text-center text-sm text-muted-foreground",
|
|
1821
|
-
children: onLaterPage ? "No more bundles on this side." : hasReleaseFilters(search) ? "No bundles match these filters." : "No bundles yet. Deploy an update to see it here."
|
|
1822
|
-
})
|
|
1823
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Table, {
|
|
1824
|
-
className: "min-w-max",
|
|
1825
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHeader, {
|
|
1826
|
-
className: "bg-muted/40",
|
|
1827
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
1828
|
-
className: "border-b border-border/60 hover:bg-transparent [&>th]:h-10 [&>th]:text-xs [&>th]:font-semibold [&>th]:uppercase [&>th]:text-muted-foreground/70",
|
|
1829
|
-
children: [
|
|
1830
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "ID" }),
|
|
1831
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Channel" }),
|
|
1832
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Platform" }),
|
|
1833
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Patches" }),
|
|
1834
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Target" }),
|
|
1835
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Enabled" }),
|
|
1836
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Force update" }),
|
|
1837
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Rollout" }),
|
|
1838
|
-
featureColumns.map(({ feature, label }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: label }, feature)),
|
|
1839
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Message" }),
|
|
1840
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Created" })
|
|
1841
|
-
]
|
|
1842
|
-
})
|
|
1843
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableBody, { children: [releasesQuery.isPending ? Array.from({ length: 7 }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1844
|
-
colSpan: columnCount,
|
|
1845
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" })
|
|
1846
|
-
}) }, index)) : releases.map((release) => {
|
|
1847
|
-
const isExpanded = expandedReleaseId === release.id;
|
|
1848
|
-
const panelId = `bundle-lineage-panel-${release.id}`;
|
|
1849
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
1850
|
-
"aria-label": `Open bundle ${release.id}`,
|
|
1851
|
-
className: cn("cursor-pointer transition-[background-color,filter] hover:bg-muted/10 focus-within:bg-muted/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring motion-reduce:transition-none data-[state=selected]:bg-muted/15 [&>td]:py-3", release.currentlyUnreachable && "bg-muted/35 saturate-50 hover:bg-muted/50 hover:saturate-100 focus-within:saturate-100", isExpanded && "bg-primary/5"),
|
|
1852
|
-
"data-state": search.releaseId === release.id ? "selected" : void 0,
|
|
1853
|
-
onClick: openOutsideControls(() => go({
|
|
1854
|
-
...search,
|
|
1855
|
-
releaseId: release.id
|
|
1856
|
-
}, false)),
|
|
1857
|
-
onKeyDown: (event) => {
|
|
1858
|
-
if (event.target !== event.currentTarget || event.key !== "Enter" && event.key !== " ") return;
|
|
1859
|
-
event.preventDefault();
|
|
1860
|
-
go({
|
|
1861
|
-
...search,
|
|
1862
|
-
releaseId: release.id
|
|
1863
|
-
}, false);
|
|
1864
|
-
},
|
|
1865
|
-
tabIndex: 0,
|
|
1866
|
-
children: [
|
|
1867
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleEntry, {
|
|
1868
|
-
expanded: isExpanded,
|
|
1869
|
-
onOpen: () => go({
|
|
1870
|
-
...search,
|
|
1871
|
-
releaseId: release.id
|
|
1872
|
-
}, false),
|
|
1873
|
-
onToggleExpand: () => setExpandedReleaseId(isExpanded ? void 0 : release.id),
|
|
1874
|
-
release
|
|
1875
|
-
}) }),
|
|
1876
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelBadge, { channel: channelNames.get(release.channel_id) ?? release.channel_id }) }),
|
|
1877
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1878
|
-
className: "whitespace-nowrap",
|
|
1879
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1880
|
-
className: "flex items-center gap-2",
|
|
1724
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1725
|
+
className: "flex items-center gap-1.5 text-foreground",
|
|
1881
1726
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(PlatformIcon, {
|
|
1882
1727
|
className: "size-4",
|
|
1883
1728
|
platform: release.platform
|
|
1884
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
|
+
})]
|
|
1885
1760
|
})
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
children:
|
|
1893
|
-
|
|
1894
|
-
" ",
|
|
1895
|
-
patchCountsByBundleId[release.bundle_id] === 1 ? "patch" : "patches"
|
|
1896
|
-
]
|
|
1897
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1898
|
-
className: "text-muted-foreground",
|
|
1899
|
-
children: "-"
|
|
1900
|
-
}) }),
|
|
1901
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: release.target_app_version ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1902
|
-
className: "flex items-center gap-2",
|
|
1903
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Package, { className: "size-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1904
|
-
className: "font-medium",
|
|
1905
|
-
children: release.target_app_version
|
|
1906
|
-
})]
|
|
1907
|
-
}) : release.fingerprint_hash ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1908
|
-
className: "flex min-w-[160px] items-center gap-2",
|
|
1909
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(FingerprintPattern, { className: "size-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HashValueDisplay, {
|
|
1910
|
-
maxLength: 12,
|
|
1911
|
-
value: release.fingerprint_hash
|
|
1912
|
-
})]
|
|
1913
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1914
|
-
className: "text-muted-foreground",
|
|
1915
|
-
children: "-"
|
|
1916
|
-
}) }),
|
|
1917
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1918
|
-
className: "flex items-center",
|
|
1919
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EnabledStatusIcon, { enabled: release.enabled }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1920
|
-
className: "sr-only",
|
|
1921
|
-
children: release.enabled ? "Enabled" : "Disabled"
|
|
1922
|
-
})]
|
|
1923
|
-
}) }),
|
|
1924
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1925
|
-
className: "flex items-center",
|
|
1926
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EnabledStatusIcon, {
|
|
1927
|
-
enabled: release.should_force_update,
|
|
1928
|
-
falseIcon: "minus"
|
|
1929
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1930
|
-
className: "sr-only",
|
|
1931
|
-
children: release.should_force_update ? "Required" : "Optional"
|
|
1932
|
-
})]
|
|
1933
|
-
}) }),
|
|
1934
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RolloutPercentageBadge, { percentage: release.rollout_cohort_count / 10 }) }),
|
|
1935
|
-
featureColumns.map(({ Cell, feature }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cell, {
|
|
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, {
|
|
1936
1769
|
releaseId: release.id,
|
|
1937
1770
|
releases: slotReleases
|
|
1938
|
-
})
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
}),
|
|
1991
|
-
search: newestSearch,
|
|
1992
|
-
to: "/",
|
|
1993
|
-
children: "Newest"
|
|
1994
|
-
}) : null,
|
|
1995
|
-
previousSearch ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
|
|
1996
|
-
className: buttonVariants({
|
|
1997
|
-
className: "h-8 flex-1 px-3 text-xs sm:flex-none",
|
|
1998
|
-
size: "sm",
|
|
1999
|
-
variant: "outline"
|
|
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, {
|
|
1785
|
+
header: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
1786
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "ID" }),
|
|
1787
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Channel" }),
|
|
1788
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Platform" }),
|
|
1789
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Patches" }),
|
|
1790
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Target" }),
|
|
1791
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Enabled" }),
|
|
1792
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Force update" }),
|
|
1793
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Rollout" }),
|
|
1794
|
+
featureColumns.map(({ feature, label }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: label }, feature)),
|
|
1795
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Message" }),
|
|
1796
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, { children: "Created" })
|
|
1797
|
+
] }),
|
|
1798
|
+
children: [releasesQuery.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableSkeletonRows, { columns: columnCount }) : releases.map((release) => {
|
|
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 })
|
|
2000
1823
|
}),
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
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 || "-"
|
|
2016
1868
|
}),
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
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
|
+
})
|
|
2026
1884
|
})
|
|
2027
|
-
]
|
|
2028
|
-
})
|
|
1885
|
+
}) : null] }, release.id);
|
|
1886
|
+
}), !releasesQuery.isPending && releases.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableFullRow, {
|
|
1887
|
+
columns: columnCount,
|
|
1888
|
+
children: empty
|
|
1889
|
+
}) : null]
|
|
1890
|
+
}) }), !releasesQuery.isError && !releasesQuery.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTablePagination, {
|
|
1891
|
+
count: releases.length,
|
|
1892
|
+
label: "Bundle pagination",
|
|
1893
|
+
pending: releasesQuery.isPlaceholderData,
|
|
1894
|
+
newest: onLaterPage ? {
|
|
1895
|
+
search: newestSearch,
|
|
1896
|
+
to: "/"
|
|
1897
|
+
} : void 0,
|
|
1898
|
+
next: nextSearch ? {
|
|
1899
|
+
search: nextSearch,
|
|
1900
|
+
to: "/"
|
|
1901
|
+
} : void 0,
|
|
1902
|
+
previous: previousSearch ? {
|
|
1903
|
+
search: previousSearch,
|
|
1904
|
+
to: "/"
|
|
1905
|
+
} : void 0
|
|
2029
1906
|
}) : null]
|
|
2030
1907
|
}),
|
|
2031
1908
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReleaseEditorSheet, {
|