@hot-updater/console 1.2.0-rc.4 → 1.2.0-rc.41
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-BFcW2mlI.js +1 -0
- package/.output/public/assets/BundleIdDisplay-C0X-k49t.js +1 -0
- package/.output/public/assets/ChannelBadge-BgVCJfJs.js +1 -0
- package/.output/public/assets/ChannelPicker-BQKoyxnf.js +1 -0
- package/.output/public/assets/CompositeItem-B7uxFM46.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-B3VCINom.js} +1 -1
- package/.output/public/assets/EventDetails-CWiI1CXb.js +1 -0
- package/.output/public/assets/HashValueDisplay-DvwvQchI.js +1 -0
- package/.output/public/assets/InsightsPageHeader-BjUAikRe.js +1 -0
- package/.output/public/assets/IosInstall-B5IdjCP2.js +1 -0
- package/.output/public/assets/NativeBuildsNav-BKdnlKMN.js +1 -0
- package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-BEpesHEm.js} +1 -1
- package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-D4KPXCHL.js} +1 -1
- package/.output/public/assets/QrCode-BFSCkbPj.js +1 -0
- package/.output/public/assets/RelativeTime-5ZP9WlQ6.js +1 -0
- package/.output/public/assets/RolloutPercentageBadge-DCtG7c1o.js +1 -0
- package/.output/public/assets/RowReason-CXMCJ-Jc.js +1 -0
- package/.output/public/assets/SandboxBadge-PM92jCk6.js +1 -0
- package/.output/public/assets/TargetDisplay-DG_I3qln.js +1 -0
- package/.output/public/assets/alert-dialog-DGPqJBCk.js +1 -0
- package/.output/public/assets/api-eO-sq3Jd.js +1 -0
- package/.output/public/assets/api-keys-CAVLgicI.js +1 -0
- package/.output/public/assets/api-keys-ztwXoKcj.js +1 -0
- package/.output/public/assets/arrow-left-68S4uy4I.js +1 -0
- package/.output/public/assets/arrow-right-DjRwIoF1.js +1 -0
- package/.output/public/assets/arrow-up-right-C_1ALUCD.js +1 -0
- package/.output/public/assets/badge-zMibJGR5.js +1 -0
- package/.output/public/assets/card-BAs80yql.js +1 -0
- package/.output/public/assets/check-C3VCvMOV.js +1 -0
- package/.output/public/assets/chevron-right-RAuPv9r1.js +1 -0
- package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-DvYMC5yF.js} +1 -1
- package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-D0JWZ1KF.js} +1 -1
- package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-CtbGqKyr.js} +1 -1
- package/.output/public/assets/{uuidv7-zXMtwR9Q.js → constants-C5gi7fdZ.js} +1 -1
- package/.output/public/assets/{copy-DsuLj3oj.js → copy-BjVLMKbo.js} +1 -1
- package/.output/public/assets/dialog-BvZDZzdQ.js +1 -0
- package/.output/public/assets/dist-BEmib-ZM.js +1 -0
- package/.output/public/assets/{download-Cf24LBde.js → download-CgpaZb23.js} +1 -1
- package/.output/public/assets/empty-C5GqArX9.js +1 -0
- package/.output/public/assets/field-DInLQ5oV.js +1 -0
- package/.output/public/assets/git-branch-BGatQV8Q.js +1 -0
- package/.output/public/assets/history-Ci4dhphE.js +1 -0
- package/.output/public/assets/index-Ck4fZq4M.js +10 -0
- package/.output/public/assets/input-group-CIjTdxCW.js +1 -0
- package/.output/public/assets/insights-V3D8tYPQ.js +1 -0
- package/.output/public/assets/insights-api-D4-FZeEI.js +1 -0
- package/.output/public/assets/insights-fSY6n4k3.js +42 -0
- package/.output/public/assets/insights-osTmFzzR.js +2 -0
- package/.output/public/assets/insights-search-CZtvD-Vf.js +1 -0
- package/.output/public/assets/insights-usage-rpc-Dw5_pmRH.js +1 -0
- package/.output/public/assets/insights_.distribution-Cws8lYLC.js +1 -0
- package/.output/public/assets/insights_.distribution-DpppHhaU.js +2 -0
- package/.output/public/assets/insights_.distribution-oIFSv2TC.js +1 -0
- package/.output/public/assets/installations-Byojb0Rv.js +2 -0
- package/.output/public/assets/installations-CFGDrY-W.js +1 -0
- package/.output/public/assets/installations-CcPrSZwW.js +1 -0
- package/.output/public/assets/{key-round-DwNKkHhy.js → key-round-BkeLvA1m.js} +1 -1
- package/.output/public/assets/{link-DTEyW70e.js → link-CRMwpc7-.js} +2 -2
- package/.output/public/assets/{list--NIee1FZ.js → list-DQ9YBIDW.js} +1 -1
- package/.output/public/assets/loader-circle-8lunBReu.js +1 -0
- package/.output/public/assets/native-builds-C4u6JvxV.js +2 -0
- package/.output/public/assets/native-builds-D9hoJd6W.js +1 -0
- package/.output/public/assets/native-builds-zwqucwx2.js +1 -0
- package/.output/public/assets/native-builds_._buildId-CXx2xjoI.js +1 -0
- package/.output/public/assets/native-builds_._buildId-DymsEZlO.js +2 -0
- package/.output/public/assets/native-builds_.devices-DF3g--dt.js +1 -0
- package/.output/public/assets/native-builds_.devices-QToUV8FB.js +2 -0
- package/.output/public/assets/plus-DztQIXYL.js +1 -0
- package/.output/public/assets/preload-helper-CE9OukVC.js +1 -0
- package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-RUNbaMyO.js} +1 -1
- package/.output/public/assets/remote-config-BIIj0Faf.js +1 -0
- package/.output/public/assets/remote-config-BJJAxy_g.js +6 -0
- package/.output/public/assets/remote-config-Dm1MCHDN.js +1 -0
- package/.output/public/assets/rotate-ccw-tITIe0Bd.js +1 -0
- package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-BFQcpUTO.js} +1 -1
- package/.output/public/assets/routes-9gxYg__u.js +1 -0
- package/.output/public/assets/routes-CUsayL0T.js +2 -0
- package/.output/public/assets/search-BfEqtE64.js +1 -0
- package/.output/public/assets/select-Bk52fOVX.js +1 -0
- package/.output/public/assets/sidebar-BmzmPGuv.js +3 -0
- package/.output/public/assets/smartphone-Dy13ukaU.js +1 -0
- package/.output/public/assets/styles-C1iqL6CR.css +2 -0
- package/.output/public/assets/switch-CI393qIT.js +1 -0
- package/.output/public/assets/table-DbZPkzdz.js +1 -0
- package/.output/public/assets/tabs-BnpNC0zf.js +1 -0
- package/.output/public/assets/trash-2-DI0biNI-.js +1 -0
- package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-CxhBbgJw.js} +1 -1
- package/.output/public/assets/useAnchoredPopupScrollLock-Cvx6CdPD.js +1 -0
- package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-Cbk_weKW.js} +1 -1
- package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-D7IuoOLE.js} +1 -1
- package/.output/public/assets/valueToPercent-Db73Kirz.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-X9YQcrQI.mjs → __23tanstack-start-server-fn-resolver-76SKGuoc.mjs} +94 -46
- package/.output/server/_chunks/ssr-renderer.mjs +2 -2
- package/.output/server/_libs/@base-ui/react+[...].mjs +4436 -3131
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +2 -2
- package/.output/server/_libs/_.mjs +2 -0
- package/.output/server/_libs/lucide-react.mjs +34 -28
- 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-Bwt8tQzp.mjs +55 -0
- package/.output/server/_ssr/{BundleIdDisplay-BVrZXzTm.mjs → BundleIdDisplay-By3CbbRM.mjs} +3 -3
- package/.output/server/_ssr/ChannelBadge-CDup7l56.mjs +23 -0
- package/.output/server/_ssr/ChannelPicker-Du2TmP3P.mjs +251 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-CULyV3nR.mjs → ConsoleFeatureUnavailable-C6aGoKDE.mjs} +8 -8
- package/.output/server/_ssr/{EventDetails-DeI1rOQc.mjs → EventDetails-VbcnMnSs.mjs} +9 -9
- package/.output/server/_ssr/{HashValueDisplay-DpnPD3U2.mjs → HashValueDisplay-CnC2fHER.mjs} +7 -7
- package/.output/server/_ssr/{InsightsPageHeader-Dwmdtelg.mjs → InsightsPageHeader-BuOanVZL.mjs} +13 -13
- package/.output/server/_ssr/IosInstall-BAFhW7Q9.mjs +751 -0
- package/.output/server/_ssr/NativeBuildsNav-BoTu4aLF.mjs +38 -0
- package/.output/server/_ssr/{NotFoundPage-Dddp1HSc.mjs → NotFoundPage-Bz05xF5Q.mjs} +3 -3
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-C22qEcwo.mjs} +13 -3
- package/.output/server/_ssr/QrCode-DWshAW81.mjs +50 -0
- package/.output/server/_ssr/RelativeTime-D5kDQVn1.mjs +242 -0
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-Dwx7dEeQ.mjs} +20 -4
- package/.output/server/_ssr/RowReason-pVOWQ7t5.mjs +186 -0
- package/.output/server/_ssr/SandboxBadge-DFbUYwhO.mjs +85 -0
- package/.output/server/_ssr/TargetDisplay-BtE5vntq.mjs +105 -0
- package/.output/server/_ssr/{alert-dialog-ei2c1b6A.mjs → alert-dialog-tcfkkNUX.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-CVi7E0qS.mjs → api-keys-12_U0SQM.mjs} +14 -11
- package/.output/server/_ssr/{api-keys-BLHCygD_.mjs → api-keys-Bm8uDp2u.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-CLZsTwih.mjs → api-keys-rpc-BxkfToWI.mjs} +4 -4
- package/.output/server/_ssr/{api-rpc-p-7EhGIG.mjs → api-rpc-TSnLWB7e.mjs} +83 -35
- package/.output/server/_ssr/{api-CvwqILEx.mjs → api-xOHZxbzu.mjs} +174 -37
- package/.output/server/_ssr/{auth-rpc-B1W4-hxa.mjs → auth-rpc-D3w54vsW.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-CVKs7SWJ.mjs → auth.server-a2eP6q5P.mjs} +952 -186
- package/.output/server/_ssr/{badge-nS9EbEA0.mjs → badge-DrfbN1n0.mjs} +4 -45
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-a-pEDiqu.mjs} +1 -1
- package/.output/server/_ssr/card-DEItjgKG.mjs +49 -0
- package/.output/server/_ssr/{config.server-BAdvotbH.mjs → config.server-K8dd4dRv.mjs} +4 -4
- package/.output/server/_ssr/{console-access-BiuC2QFp.mjs → console-access-D-DHU4YH.mjs} +2 -2
- package/.output/server/_ssr/{console-features-BTV-XuhQ.mjs → console-features-DTYyXrWO.mjs} +1 -1
- package/.output/server/_ssr/{console-features-api-FvbqhbTg.mjs → console-features-api-Chy2PrzZ.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-Cl3J66aP.mjs → console-features-rpc-_31L0k1i.mjs} +4 -4
- package/.output/server/_ssr/constants-BjsJZqaU.mjs +10 -0
- package/.output/server/_ssr/{createServerRpc-BVvRVOz5.mjs → createServerRpc-DJZel12M.mjs} +1 -1
- package/.output/server/_ssr/{databaseConfig-B_Bg7qS5.mjs → databaseConfig-B56IJxlu.mjs} +1 -1
- package/.output/server/_ssr/{databaseJsonValue-kS7cvEtz.mjs → databaseJsonValue-DuUoft8j.mjs} +1 -1
- package/.output/server/_ssr/{databaseRows-B6H8Cmgq.mjs → databaseRows-BZMFl5QV.mjs} +3 -3
- package/.output/server/_ssr/deviceProfileToken-xzDLfE0T.mjs +98 -0
- package/.output/server/_ssr/{dialog-GmTPeUS4.mjs → dialog-SAl1vP74.mjs} +5 -5
- package/.output/server/_ssr/dist-CiOq3ygH.mjs +148 -0
- package/.output/server/_ssr/{downloadBundle-DCmr7vsj.mjs → downloadBundle-C1KOnpiF.mjs} +1 -1
- package/.output/server/_ssr/{empty-CXWKv24M.mjs → empty-opJc9Fjw.mjs} +3 -3
- 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-BVufgM3l.mjs} +3 -3
- package/.output/server/_ssr/{field-lwIHAwLc.mjs → field-D6Y7zDZd.mjs} +3 -3
- package/.output/server/_ssr/foldedPage-CUjJqtlF.mjs +176 -0
- package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-CnOf4Frp.mjs} +2 -2
- package/.output/server/_ssr/{input-group-Dgr4DNbE.mjs → input-group-D2PvPRdm.mjs} +3 -3
- package/.output/server/_ssr/{insights-BxtyBLt0.mjs → insights-Cro4cYp7.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-PN_9ilr8.mjs → insights-api-BPyvQert.mjs} +5 -5
- package/.output/server/_ssr/{insights-DSnQTQw1.mjs → insights-dWeLneo1.mjs} +45 -191
- package/.output/server/_ssr/{insights-errors-7BCwFybo.mjs → insights-errors-DwUaDs0Z.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-DGO2_3Vx.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-Cxu3UtyB.mjs → insights-failures-rpc-D7M8-Et9.mjs} +11 -11
- package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-Cdg3Msrj.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc--c6kBp3k.mjs → insights-recovery-rpc-BUMK4m4H.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-oTMaAqc1.mjs → insights-rpc-BZZ4U2Ll.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-r-Z50f0Y.mjs → insights-search-Czi553oN.mjs} +6 -8
- package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-BVm7CDw9.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-DoElOI5b.mjs → insights-usage-rpc-BXvUr-z6.mjs} +7 -7
- package/.output/server/_ssr/{insights-usage-rpc-B00vjt0a.mjs → insights-usage-rpc-HOr6mniz.mjs} +5 -5
- package/.output/server/_ssr/{insights-B9NvjAWc.mjs → insights-vmCmvfXx.mjs} +5 -5
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-lPKyRC2o.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-CnYddZ2Y.mjs → insights_.distribution-B2dxcCd_.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-mpZ0wS_R.mjs → insights_.distribution-B5V_NbK4.mjs} +17 -16
- package/.output/server/_ssr/{insights_.distribution-B8AMBp-Q.mjs → insights_.distribution-DongF2jp.mjs} +5 -5
- package/.output/server/_ssr/{installations-BfhcY_XQ.mjs → installations-B7w4LGJp.mjs} +4 -4
- package/.output/server/_ssr/{installations-CWTRzcR7.mjs → installations-B84kSetd.mjs} +2 -2
- package/.output/server/_ssr/{installations-O6Jzc5PO.mjs → installations-bieZA3xt.mjs} +13 -13
- package/.output/server/_ssr/ios-devices-rpc-DOQg4dpb.mjs +137 -0
- package/.output/server/_ssr/iosDeviceCookie-DhWNFpC6.mjs +155 -0
- package/.output/server/_ssr/iosDeviceProfile-jC8w4zEF.mjs +176 -0
- package/.output/server/_ssr/iosDevices-B4kQLURA.mjs +113 -0
- package/.output/server/_ssr/listReleases-QF91GLE7.mjs +94 -0
- package/.output/server/_ssr/{request-guard-CPdRBuGW.mjs → local-console-Dtxlsav0.mjs} +2 -9
- package/.output/server/_ssr/native-artifact-D4ZISXRZ.mjs +1517 -0
- package/.output/server/_ssr/native-builds-BU9Njiwm.mjs +696 -0
- package/.output/server/_ssr/native-builds-lEyKQemV.mjs +262 -0
- package/.output/server/_ssr/{native-builds-UIgRLMb8.mjs → native-builds-zpCsEYyA.mjs} +3 -3
- package/.output/server/_ssr/{native-builds_._buildId-DjUqI5sa.mjs → native-builds_._buildId-BJ4R32fq.mjs} +3 -3
- package/.output/server/_ssr/native-builds_._buildId-RHUotAYb.mjs +1148 -0
- package/.output/server/_ssr/native-builds_.devices-C0IlQkLv.mjs +10 -0
- package/.output/server/_ssr/native-builds_.devices-D1Ke-Fc-.mjs +820 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-MCd5xUqP.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-DcsqDS-O.mjs +253 -0
- package/.output/server/_ssr/nativeBuilds-CRa36wNn.mjs +287 -0
- package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
- package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-D9CCkDjn.mjs} +7 -6
- package/.output/server/_ssr/publicConsoleBase-wTKw3_iB.mjs +15 -0
- package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-gfhE5tz5.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-PLyiDnas.mjs → release-adoption-rpc-C4G_d8qK.mjs} +9 -9
- package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-DfEYq7I4.mjs} +4 -4
- package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-CJ2Shida.mjs} +4 -3
- package/.output/server/_ssr/{releaseManagement-DHUux2az.mjs → releaseManagement-CqIc-SDE.mjs} +1 -1
- package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-Ch1JpJkY.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-C5j4CfGa.mjs → remote-config-1QZ0HgEu.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-eNxv5Kzc.mjs → remote-config-CsbpqWAR.mjs} +24 -23
- package/.output/server/_ssr/{remote-config-tOdzsFMi.mjs → remote-config-DkgBxBka.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-Cy4VwdMt.mjs → remote-config-rpc-KjJA9DC-.mjs} +5 -5
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-DaQ6OkIp.mjs → router-Dy3fmb8q.mjs} +137 -64
- package/.output/server/_ssr/{routes-Drni4c1E.mjs → routes-68rZQGee.mjs} +470 -474
- package/.output/server/_ssr/{routes-BYmUIYfN.mjs → routes-Ug9uqzob.mjs} +50 -18
- package/.output/server/_ssr/{runtime.server-BdMY1blX.mjs → runtime.server-BUbb281Z.mjs} +4 -4
- package/.output/server/_ssr/{schema-ChlRtZIo.mjs → schema-CaIuQCXb.mjs} +1 -1
- package/.output/server/_ssr/{schema-migration-rpc-mZ_19Wt_.mjs → schema-migration-rpc-kntY9oPm.mjs} +4 -4
- package/.output/server/_ssr/{select-Cjrp1Sl9.mjs → select-BOKFFr_G.mjs} +12 -10
- package/.output/server/_ssr/{server-y3KoaSil.mjs → server-DetMvRBJ.mjs} +7 -7
- package/.output/server/_ssr/{sidebar-tRHVNWpo.mjs → sidebar-B46houn0.mjs} +17 -10
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-BvDsQehg.mjs → start-BSkL2B6C.mjs} +2 -2
- package/.output/server/_ssr/{switch-YrqCYfP-.mjs → switch-BMYzd71j.mjs} +4 -4
- package/.output/server/_ssr/{table-NHakBPSp.mjs → table-DWrYwJ_a.mjs} +2 -2
- package/.output/server/_ssr/tabs-DusHAcYy.mjs +45 -0
- package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-BwDwIoNu.mjs} +3 -3
- package/.output/server/_ssr/{dist-TEpM_UAD.mjs → uuid-kZvLA0Ly-DNL0qBSj.mjs} +2 -147
- package/.output/server/_ssr/{uuidv7-BIF4nb_q.mjs → uuidv7-C0jNe2Om.mjs} +2 -2
- package/.output/server/_ssr/{version-CQ98ZBpL-CWSkTT9J.mjs → version-CQ98ZBpL-zW2fpHOZ.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-CD1q5k0m.mjs +228 -0
- package/.output/server/index.mjs +503 -391
- package/lib/index.d.mts +9 -0
- package/package.json +7 -30
- package/src/components/AppSidebar.tsx +11 -2
- package/src/components/ChannelBadge.tsx +9 -9
- package/src/components/ChannelPicker.tsx +227 -0
- package/src/components/DataTable.tsx +363 -0
- package/src/components/FoldedRows.tsx +219 -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/RowReason.tsx +56 -0
- package/src/components/TargetDisplay.tsx +95 -0
- package/src/components/ThemeProvider.tsx +11 -2
- package/src/components/features/api-keys/ApiKeysPage.tsx +5 -3
- package/src/components/features/bundles/BundleMetadata.tsx +1 -1
- package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +10 -11
- package/src/components/features/insights/AppUsage.tsx +3 -5
- package/src/components/features/insights/FailureReports.tsx +3 -2
- package/src/components/features/insights/InsightsControls.tsx +10 -69
- package/src/components/features/insights/InsightsOverview.tsx +7 -1
- package/src/components/features/insights/InsightsPageHeader.tsx +10 -15
- package/src/components/features/insights/ReleaseActivity.tsx +6 -2
- package/src/components/features/insights/ReleaseCombobox.tsx +1 -1
- package/src/components/features/insights/UpdateFailures.tsx +1 -0
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +122 -61
- package/src/components/features/native-builds/CommitLink.tsx +3 -2
- package/src/components/features/native-builds/ImportBuild.tsx +1 -1
- package/src/components/features/native-builds/InstallCard.tsx +316 -91
- package/src/components/features/native-builds/IosDevicesPage.tsx +1100 -0
- package/src/components/features/native-builds/IosInstall.tsx +732 -0
- package/src/components/features/native-builds/IpaDevicesCard.tsx +111 -0
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +30 -6
- package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
- package/src/components/features/native-builds/NativeBuildsPage.tsx +94 -108
- package/src/components/features/native-builds/NativeBuildsTable.tsx +649 -323
- package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
- package/src/components/features/native-builds/PatchesCard.tsx +28 -19
- package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +5 -5
- package/src/components/features/native-builds/SandboxBadge.tsx +21 -0
- package/src/components/features/native-builds/ServedNowCard.tsx +33 -1
- package/src/components/features/native-builds/ShortHash.tsx +6 -3
- package/src/components/features/native-builds/StoreSubmission.tsx +18 -12
- package/src/components/features/native-builds/playTracks.ts +7 -0
- package/src/components/features/releases/ReleaseEditorSheet.tsx +8 -6
- package/src/components/features/remote-config/PublishDialog.tsx +4 -1
- package/src/components/features/remote-config/VersionsCard.tsx +5 -2
- package/src/components/ui/alert-dialog.tsx +2 -2
- package/src/components/ui/badge.tsx +2 -0
- package/src/components/ui/button.tsx +11 -2
- package/src/components/ui/combobox.tsx +2 -2
- package/src/components/ui/dialog.tsx +3 -3
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/select.tsx +15 -7
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/sidebar.tsx +2 -2
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/sonner.tsx +3 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/index.ts +9 -0
- package/src/lib/api-rpc.ts +125 -35
- package/src/lib/api.ts +160 -16
- package/src/lib/constants.ts +15 -0
- package/src/lib/insights-search.ts +0 -3
- package/src/lib/ios-devices-api.ts +290 -0
- package/src/lib/ios-devices-rpc.ts +188 -0
- package/src/lib/native-builds.ts +261 -20
- package/src/lib/server/console-runtime.server.ts +9 -2
- package/src/lib/server/deviceProfileToken.ts +221 -0
- package/src/lib/server/foldedPage.ts +360 -0
- package/src/lib/server/iosDeviceCookie.ts +239 -0
- package/src/lib/server/iosDeviceProfile.ts +232 -0
- package/src/lib/server/iosDevices.ts +193 -0
- package/src/lib/server/listReleases.ts +101 -62
- package/src/lib/server/local-console.ts +1 -1
- package/src/lib/server/nativeBuildDownloadLink.ts +193 -0
- package/src/lib/server/nativeBuildInstall.ts +502 -0
- package/src/lib/server/nativeBuilds.ts +314 -58
- package/src/lib/server/plistText.ts +17 -0
- package/src/lib/server/publicConsoleBase.ts +17 -0
- package/src/routeTree.gen.ts +129 -18
- package/src/routes/-native-builds-search.ts +52 -4
- package/src/routes/-releases-search.ts +63 -2
- 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/[_]hot-updater/devices/receipt.ts +28 -0
- package/src/routes/[_]hot-updater/devices/request.ts +28 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/manifest[.]plist.ts +22 -0
- package/src/routes/api/native-builds/$buildId/download.ts +22 -1
- package/src/routes/index.tsx +657 -577
- package/src/routes/insights.tsx +3 -5
- package/src/routes/insights_.distribution.tsx +2 -2
- package/src/routes/native-builds_.devices.tsx +21 -0
- package/src/styles.css +24 -0
- package/.output/public/assets/-native-builds-search-C-TGpFAm.js +0 -1
- package/.output/public/assets/EventDetails-Dl2RvPAk.js +0 -1
- package/.output/public/assets/HashValueDisplay-6lNRxDJX.js +0 -1
- package/.output/public/assets/InsightsPageHeader-DHhqY3DT.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/alert-dialog-BqYScr9y.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/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/badge-DWFcDWho.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-CNUPxNxH.js +0 -1
- package/.output/public/assets/dist-CPlO6ko9.js +0 -1
- package/.output/public/assets/empty-B3Uwdd6k.js +0 -1
- package/.output/public/assets/field-D-2-mnNh.js +0 -1
- package/.output/public/assets/history-DqHlgSuV.js +0 -1
- package/.output/public/assets/index-CqP5HPV6.js +0 -10
- package/.output/public/assets/input-group-D3OUBk4n.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-api-BVCXJsoV.js +0 -1
- package/.output/public/assets/insights-search-DghCbEnk.js +0 -1
- package/.output/public/assets/insights-usage-rpc-CKQH0pUS.js +0 -1
- 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-B674P5Z5.js +0 -2
- 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/plus-BReVKct-.js +0 -1
- package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
- package/.output/public/assets/refresh-cw-B9HHjLej.js +0 -1
- package/.output/public/assets/remote-config-B7ujqhLa.js +0 -6
- package/.output/public/assets/remote-config-WjpozBG5.js +0 -1
- 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/search-BCel4Oy6.js +0 -1
- package/.output/public/assets/select-CBIU0_M1.js +0 -1
- package/.output/public/assets/sidebar-Di9SN47G.js +0 -3
- package/.output/public/assets/smartphone-CMaSy_ir.js +0 -1
- package/.output/public/assets/styles-uK-0vUMk.css +0 -2
- package/.output/public/assets/switch-BpdiHL_t.js +0 -1
- package/.output/public/assets/table-Bpy3SvSo.js +0 -1
- package/.output/public/assets/tabs-Xmt7tZeG.js +0 -1
- package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
- package/.output/public/assets/valueToPercent-BLwGy_xK.js +0 -1
- package/.output/server/_ssr/-native-builds-search-CwNcoXf4.mjs +0 -37
- package/.output/server/_ssr/RolloutPercentageBadge-CoBhJtv9.mjs +0 -21
- package/.output/server/_ssr/StoreSubmission-CPg_Rn5E.mjs +0 -139
- package/.output/server/_ssr/listReleases-D_GY00SQ.mjs +0 -79
- package/.output/server/_ssr/native-builds-BDcOlKnd.mjs +0 -510
- package/.output/server/_ssr/native-builds-DhXL5zf_.mjs +0 -137
- package/.output/server/_ssr/native-builds_._buildId-BjsdQO93.mjs +0 -813
- package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
- package/.output/server/_ssr/nativeBuilds-B_7BPjt_.mjs +0 -133
- package/.output/server/_ssr/qr-code-C7kNRIDX.mjs +0 -22
- package/.output/server/_ssr/tabs-BgTTFotk.mjs +0 -45
- package/.output/server/_tanstack-start-manifest_v-B5nsO5L4.mjs +0 -184
- package/src/lib/server/nativeBuildQr.ts +0 -73
- package/src/routes/[_]hot-updater/native-builds/qr.ts +0 -14
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/foldedPage-CUjJqtlF.js
|
|
2
|
+
var SEPARATOR = ".";
|
|
3
|
+
var ID = /^[0-9A-Za-z-]+$/u;
|
|
4
|
+
var parseCursor = (token) => {
|
|
5
|
+
const [mark, ...ids] = token.split(SEPARATOR);
|
|
6
|
+
if ((mark === "s" || mark === "t") && ids.length > 0) {
|
|
7
|
+
if (!ids.every((id) => ID.test(id))) throw new Error("Invalid page cursor.");
|
|
8
|
+
return {
|
|
9
|
+
id: ids[0],
|
|
10
|
+
history: ids.slice(1),
|
|
11
|
+
complete: mark === "s"
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
if (!ID.test(token)) throw new Error("Invalid page cursor.");
|
|
15
|
+
return {
|
|
16
|
+
id: token,
|
|
17
|
+
history: [],
|
|
18
|
+
complete: false
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
var cursorToken = (ids, complete) => {
|
|
22
|
+
const kept = ids.slice(0, 21);
|
|
23
|
+
return [complete && kept.length === ids.length ? "s" : "t", ...kept].join(SEPARATOR);
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Reads from `after` in `order`, a chunk at a time, while the budget lasts,
|
|
27
|
+
* until it finds the ordinary row past `size` of them: the first of the page
|
|
28
|
+
* beyond, which is left out (`beyond`). `ended` when the index ran out.
|
|
29
|
+
*/
|
|
30
|
+
async function scan(read, classify, order, after, size, budget, pinned) {
|
|
31
|
+
const rows = [];
|
|
32
|
+
let ordinary = 0;
|
|
33
|
+
let cursor = after;
|
|
34
|
+
let pageTop;
|
|
35
|
+
while (budget.left > 0) {
|
|
36
|
+
const limit = Math.min(50, budget.left);
|
|
37
|
+
const chunk = await read({
|
|
38
|
+
order,
|
|
39
|
+
limit,
|
|
40
|
+
...cursor === void 0 ? {} : { after: cursor }
|
|
41
|
+
});
|
|
42
|
+
budget.left -= chunk.length;
|
|
43
|
+
pageTop ??= chunk[0]?.id;
|
|
44
|
+
const ordinaryIds = chunk.length === 0 ? /* @__PURE__ */ new Set() : await classify(chunk, {
|
|
45
|
+
budget,
|
|
46
|
+
order,
|
|
47
|
+
...order === "desc" && after !== void 0 && pageTop !== void 0 ? { newerThan: pageTop } : {}
|
|
48
|
+
});
|
|
49
|
+
for (const row of chunk) {
|
|
50
|
+
const isOrdinary = ordinaryIds.has(row.id);
|
|
51
|
+
if (isOrdinary && ordinary === size) return {
|
|
52
|
+
rows,
|
|
53
|
+
ended: false,
|
|
54
|
+
beyond: true
|
|
55
|
+
};
|
|
56
|
+
if (isOrdinary) ordinary += 1;
|
|
57
|
+
rows.push({
|
|
58
|
+
row,
|
|
59
|
+
ordinary: isOrdinary,
|
|
60
|
+
shown: isOrdinary || row.id === pinned
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
if (chunk.length < limit) return {
|
|
64
|
+
rows,
|
|
65
|
+
ended: true,
|
|
66
|
+
beyond: false
|
|
67
|
+
};
|
|
68
|
+
cursor = chunk.at(-1).id;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
rows,
|
|
72
|
+
ended: false,
|
|
73
|
+
beyond: false
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Rows newest first as entries: each run of folded rows one fold. `above`
|
|
78
|
+
* is the row over the first one; `topContinues` and `bottomContinues` say a
|
|
79
|
+
* run at either edge goes on past the page.
|
|
80
|
+
*/
|
|
81
|
+
var entriesOf = (rows, above, { topContinues = false, bottomContinues = false } = {}) => {
|
|
82
|
+
const entries = [];
|
|
83
|
+
let run = [];
|
|
84
|
+
let from = above;
|
|
85
|
+
const close = (continues) => {
|
|
86
|
+
if (run.length === 0) return;
|
|
87
|
+
entries.push({
|
|
88
|
+
kind: "fold",
|
|
89
|
+
count: Math.min(run.length, 100),
|
|
90
|
+
more: run.length > 100 || continues,
|
|
91
|
+
...from === void 0 ? {} : { from },
|
|
92
|
+
to: run.at(-1).id
|
|
93
|
+
});
|
|
94
|
+
run = [];
|
|
95
|
+
};
|
|
96
|
+
for (const { row, shown } of rows) if (shown) {
|
|
97
|
+
close(entries.length === 0 && topContinues);
|
|
98
|
+
entries.push({
|
|
99
|
+
kind: "row",
|
|
100
|
+
row
|
|
101
|
+
});
|
|
102
|
+
from = row.id;
|
|
103
|
+
} else run.push(row);
|
|
104
|
+
close(bottomContinues || entries.length === 0 && topContinues);
|
|
105
|
+
return entries;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* One page newest first. `before` is a cursor from `next` or `previous`;
|
|
109
|
+
* `after` reads the page above a row, when no cursor remembers it; neither
|
|
110
|
+
* is the newest page. A page holds `size` ordinary rows and the folds
|
|
111
|
+
* between them, and the run of folded rows under its last ordinary row, so
|
|
112
|
+
* the next page starts with an ordinary row. It reads at most `budget` rows:
|
|
113
|
+
* a page that runs out first ends in a fold that goes on, and the next page
|
|
114
|
+
* continues it.
|
|
115
|
+
*/
|
|
116
|
+
async function foldedPage({ read, classify, before, after, pinned, size = 20, budget = 200 }) {
|
|
117
|
+
const left = { left: budget };
|
|
118
|
+
if (after === void 0) {
|
|
119
|
+
const cursor = before === void 0 ? void 0 : parseCursor(before);
|
|
120
|
+
const { rows, ended } = await scan(read, classify, "desc", cursor?.id, size, left, pinned);
|
|
121
|
+
const last = rows.at(-1)?.row.id;
|
|
122
|
+
const outOfBudget = !ended && left.left === 0;
|
|
123
|
+
const pages = cursor === void 0 ? [] : [cursor.id, ...cursor.history];
|
|
124
|
+
const complete = cursor === void 0 || cursor.complete;
|
|
125
|
+
const previous = () => {
|
|
126
|
+
if (cursor === void 0) return void 0;
|
|
127
|
+
if (cursor.history.length > 0) return { before: cursorToken(cursor.history, cursor.complete) };
|
|
128
|
+
if (cursor.complete) return {};
|
|
129
|
+
return { after: rows[0]?.row.id ?? cursor.id };
|
|
130
|
+
};
|
|
131
|
+
const previousPage = previous();
|
|
132
|
+
return {
|
|
133
|
+
entries: entriesOf(rows, cursor?.id, { bottomContinues: outOfBudget }),
|
|
134
|
+
...!ended && last !== void 0 ? { next: cursorToken([last, ...pages], complete) } : {},
|
|
135
|
+
...previousPage === void 0 ? {} : { previous: previousPage }
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
const { rows, ended, beyond } = await scan(read, classify, "asc", after, size, left, pinned);
|
|
139
|
+
let top = rows.length;
|
|
140
|
+
let above;
|
|
141
|
+
if (beyond) {
|
|
142
|
+
while (top > 0 && !rows[top - 1].ordinary) top -= 1;
|
|
143
|
+
above = rows[top]?.row.id;
|
|
144
|
+
} else if (!ended && rows.length > 0) {
|
|
145
|
+
top -= 1;
|
|
146
|
+
above = rows[top].row.id;
|
|
147
|
+
}
|
|
148
|
+
const page = rows.slice(0, top).reverse();
|
|
149
|
+
const first = page[0]?.row.id;
|
|
150
|
+
return {
|
|
151
|
+
entries: entriesOf(page, ended ? void 0 : above, { topContinues: !ended && !beyond }),
|
|
152
|
+
...page.length > 0 ? { next: cursorToken([page.at(-1).row.id], false) } : {},
|
|
153
|
+
...!ended && first !== void 0 ? { previous: { after: first } } : {}
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* One chunk of a fold's rows, newest first: the rows under `from` (or under
|
|
158
|
+
* `after`, the last row of the chunk before) down to `to`. `next` is the
|
|
159
|
+
* `after` of the next chunk, while the fold goes on.
|
|
160
|
+
*/
|
|
161
|
+
async function readFold({ read, from, to, after, limit = 50 }) {
|
|
162
|
+
const cursor = after ?? from;
|
|
163
|
+
const rows = await read({
|
|
164
|
+
order: "desc",
|
|
165
|
+
limit,
|
|
166
|
+
through: to,
|
|
167
|
+
...cursor === void 0 ? {} : { after: cursor }
|
|
168
|
+
});
|
|
169
|
+
const last = rows.at(-1)?.id;
|
|
170
|
+
return {
|
|
171
|
+
rows,
|
|
172
|
+
...rows.length < limit || last === to || last === void 0 ? {} : { next: last }
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
//#endregion
|
|
176
|
+
export { readFold as n, foldedPage as t };
|
package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-CnOf4Frp.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as rowToBundle } from "./databaseRows-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/getBundleChildren-
|
|
1
|
+
import { i as rowToBundle } from "./databaseRows-BZMFl5QV.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/getBundleChildren-CnOf4Frp.js
|
|
3
3
|
/** The most children the lineage panel lists; the count comes from the base bundle's counter. */
|
|
4
4
|
var BUNDLE_CHILDREN_LIMIT = 100;
|
|
5
5
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, n as Input, t as Button$1 } from "./sidebar-B46houn0.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Textarea({ className, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("textarea", {
|
|
9
9
|
"data-slot": "textarea",
|
|
10
|
-
className: cn("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
10
|
+
className: cn("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 max-md:text-base", className),
|
|
11
11
|
...props
|
|
12
12
|
});
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-C6aGoKDE.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-Cro4cYp7.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-B46houn0.mjs";
|
|
4
4
|
import { i as useQuery, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
|
-
import { c as readUpdateFailuresInput } from "./insights-failures-
|
|
6
|
-
import { n as readFailureReportsInput } from "./insights-errors-
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-
|
|
5
|
+
import { c as readUpdateFailuresInput } from "./insights-failures-DGO2_3Vx.mjs";
|
|
6
|
+
import { n as readFailureReportsInput } from "./insights-errors-DwUaDs0Z.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-BPyvQert.js
|
|
8
8
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(createSsrRpc("0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97"));
|
|
9
9
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(createSsrRpc("b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3"));
|
|
10
10
|
/** `insights()`'s defaults, for a server that does not report its periods. */
|
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
3
|
+
import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
|
|
4
|
+
import { Et as require_react, Tt as require_jsx_runtime, d as ScrollAreaThumb, f as ScrollAreaScrollbar, m as ScrollAreaRoot, p as ScrollAreaViewport, u as ScrollAreaCorner } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
|
+
import { J as ChevronRight, O as List, V as Copy, W as CircleOff, _ as RefreshCw, g as RotateCcw, h as RotateCw, i as TriangleAlert, nt as ArrowUpRight, r as Undo2, rt as ArrowRight, t as X } from "../_libs/lucide-react.mjs";
|
|
6
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-B46houn0.mjs";
|
|
7
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-DEItjgKG.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-DrfbN1n0.mjs";
|
|
9
|
+
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-tcfkkNUX.mjs";
|
|
10
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DWrYwJ_a.mjs";
|
|
8
11
|
import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
-
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CXWKv24M.mjs";
|
|
10
|
-
import { a as Badge, c as CardDescription, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-nS9EbEA0.mjs";
|
|
11
|
-
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-ei2c1b6A.mjs";
|
|
12
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-NHakBPSp.mjs";
|
|
13
12
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
14
|
-
import {
|
|
15
|
-
import { r as
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { i as
|
|
22
|
-
import { t as
|
|
23
|
-
import { i as
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { i as
|
|
28
|
-
import { t as
|
|
29
|
-
import { n as
|
|
30
|
-
import {
|
|
31
|
-
import { i as
|
|
13
|
+
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
14
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-opJc9Fjw.mjs";
|
|
15
|
+
import { s as isUUIDv7 } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
16
|
+
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-Cdg3Msrj.mjs";
|
|
17
|
+
import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-DGO2_3Vx.mjs";
|
|
18
|
+
import { t as groupFailureReports } from "./insights-errors-DwUaDs0Z.mjs";
|
|
19
|
+
import { n as usageMetrics } from "./insights-usage-BVm7CDw9.mjs";
|
|
20
|
+
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, n as crashRateOf, o as readBundleEventsInput, r as defaultAdoptionReleases, s as recommendsRollback, t as CRASH_RATE_THRESHOLD } from "./release-adoption-gfhE5tz5.mjs";
|
|
21
|
+
import { r as comparedBundleIds, t as InfoTooltip } from "./insights-search-Czi553oN.mjs";
|
|
22
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-BPyvQert.mjs";
|
|
23
|
+
import { _ as usePreflightReleaseMutation, w as useUpdateReleaseMutation } from "./api-xOHZxbzu.mjs";
|
|
24
|
+
import { n as DEFAULT_CHANNEL } from "./constants-BjsJZqaU.mjs";
|
|
25
|
+
import { t as Route } from "./insights-vmCmvfXx.mjs";
|
|
26
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-DusHAcYy.mjs";
|
|
27
|
+
import { t as PlatformIcon } from "./PlatformIcon-C22qEcwo.mjs";
|
|
28
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-BOKFFr_G.mjs";
|
|
29
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-By3CbbRM.mjs";
|
|
30
|
+
import { a as ComboboxEmpty, c as ComboboxItem, d as ComboboxTrigger, f as FilterChip, i as ComboboxContent, l as ComboboxLabel, n as Combobox$1, o as ComboboxGroup, r as ComboboxCollection, s as ComboboxInput, t as ChannelPicker, u as ComboboxList } from "./ChannelPicker-Du2TmP3P.mjs";
|
|
31
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-HOr6mniz.mjs";
|
|
32
|
+
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-BuOanVZL.mjs";
|
|
33
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-VbcnMnSs.mjs";
|
|
32
34
|
import { a as CartesianGrid, i as Line, l as ResponsiveContainer, n as YAxis, o as ReferenceLine, r as XAxis, s as Tooltip, t as LineChart } from "../_libs/recharts+[...].mjs";
|
|
33
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
35
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-dWeLneo1.js
|
|
34
36
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
35
37
|
var import_jsx_runtime = require_jsx_runtime();
|
|
36
38
|
var THEMES = {
|
|
@@ -571,7 +573,7 @@ function FailureDetail({ group }) {
|
|
|
571
573
|
children: "This client did not send the original error. Upgrade the app’s Insights plugin and server to collect details for future failures."
|
|
572
574
|
}) : null,
|
|
573
575
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
|
|
574
|
-
className: "w-fit",
|
|
576
|
+
className: "w-fit max-md:h-11",
|
|
575
577
|
variant: "outline",
|
|
576
578
|
onClick: () => void copy(),
|
|
577
579
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Copy, {
|
|
@@ -656,7 +658,7 @@ function FailureDetail({ group }) {
|
|
|
656
658
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EventBundleTransition, { event }),
|
|
657
659
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
|
|
658
660
|
variant: "outline",
|
|
659
|
-
className: "w-fit",
|
|
661
|
+
className: "w-fit max-md:h-11",
|
|
660
662
|
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
|
|
661
663
|
to: "/installations",
|
|
662
664
|
search: {
|
|
@@ -737,6 +739,7 @@ function FailureReportsList({ pages, error, isPending, isFetching, hasNextPage,
|
|
|
737
739
|
variant: "ghost",
|
|
738
740
|
size: "icon-lg",
|
|
739
741
|
"aria-label": "Refresh error reports",
|
|
742
|
+
className: "max-md:size-11",
|
|
740
743
|
disabled: isFetching,
|
|
741
744
|
onClick: onRefresh,
|
|
742
745
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RefreshCw, { "aria-hidden": "true" })
|
|
@@ -839,111 +842,6 @@ function FailureReports({ input }) {
|
|
|
839
842
|
onRefresh: () => void query.refetch()
|
|
840
843
|
});
|
|
841
844
|
}
|
|
842
|
-
var Combobox$1 = ComboboxRoot;
|
|
843
|
-
function ComboboxTrigger({ className, children, ...props }) {
|
|
844
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ComboboxTrigger$1, {
|
|
845
|
-
"data-slot": "combobox-trigger",
|
|
846
|
-
className: cn("[&_svg:not([class*='size-'])]:size-3.5", className),
|
|
847
|
-
...props,
|
|
848
|
-
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, { className: "text-muted-foreground size-3.5 pointer-events-none" })]
|
|
849
|
-
});
|
|
850
|
-
}
|
|
851
|
-
function ComboboxClear({ className, ...props }) {
|
|
852
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxClear$1, {
|
|
853
|
-
"aria-label": "Clear selection",
|
|
854
|
-
"data-slot": "combobox-clear",
|
|
855
|
-
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InputGroupButton, {
|
|
856
|
-
variant: "ghost",
|
|
857
|
-
size: "icon-xs"
|
|
858
|
-
}),
|
|
859
|
-
className: cn(className),
|
|
860
|
-
...props,
|
|
861
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(X, { className: "pointer-events-none" })
|
|
862
|
-
});
|
|
863
|
-
}
|
|
864
|
-
function ComboboxInput({ className, children, disabled = false, showTrigger = true, showClear = false, ...props }) {
|
|
865
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(InputGroup, {
|
|
866
|
-
className: cn("w-auto", className),
|
|
867
|
-
children: [
|
|
868
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxInput$1, {
|
|
869
|
-
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InputGroupInput, { disabled }),
|
|
870
|
-
...props
|
|
871
|
-
}),
|
|
872
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(InputGroupAddon, {
|
|
873
|
-
align: "inline-end",
|
|
874
|
-
children: [showTrigger && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxTrigger, { render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InputGroupButton, {
|
|
875
|
-
size: "icon-xs",
|
|
876
|
-
variant: "ghost",
|
|
877
|
-
"data-slot": "input-group-button",
|
|
878
|
-
className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
|
|
879
|
-
disabled
|
|
880
|
-
}) }), showClear && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxClear, { disabled })]
|
|
881
|
-
}),
|
|
882
|
-
children
|
|
883
|
-
]
|
|
884
|
-
});
|
|
885
|
-
}
|
|
886
|
-
function ComboboxContent({ className, side = "bottom", sideOffset = 6, align = "start", alignOffset = 0, anchor, ...props }) {
|
|
887
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxPositioner, {
|
|
888
|
-
side,
|
|
889
|
-
sideOffset,
|
|
890
|
-
align,
|
|
891
|
-
alignOffset,
|
|
892
|
-
anchor,
|
|
893
|
-
className: "isolate z-50",
|
|
894
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxPopup, {
|
|
895
|
-
"data-slot": "combobox-content",
|
|
896
|
-
"data-chips": !!anchor,
|
|
897
|
-
className: cn("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 *:data-[slot=input-group]:bg-input/20 dark:bg-popover max-h-72 min-w-32 overflow-hidden rounded-lg shadow-md ring-1 duration-100 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-7 *:data-[slot=input-group]:border-none *:data-[slot=input-group]:shadow-none dark group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) data-[chips=true]:min-w-(--anchor-width)", className),
|
|
898
|
-
...props
|
|
899
|
-
})
|
|
900
|
-
}) });
|
|
901
|
-
}
|
|
902
|
-
function ComboboxList({ className, ...props }) {
|
|
903
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxList$1, {
|
|
904
|
-
"data-slot": "combobox-list",
|
|
905
|
-
className: cn("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto p-1 data-empty:p-0 overflow-y-auto overscroll-contain", className),
|
|
906
|
-
...props
|
|
907
|
-
});
|
|
908
|
-
}
|
|
909
|
-
function ComboboxItem({ className, children, ...props }) {
|
|
910
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ComboboxItem$1, {
|
|
911
|
-
"data-slot": "combobox-item",
|
|
912
|
-
className: cn("data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
|
|
913
|
-
...props,
|
|
914
|
-
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxItemIndicator, {
|
|
915
|
-
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "pointer-events-none absolute right-2 flex items-center justify-center" }),
|
|
916
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { className: "pointer-events-none" })
|
|
917
|
-
})]
|
|
918
|
-
});
|
|
919
|
-
}
|
|
920
|
-
function ComboboxGroup({ className, ...props }) {
|
|
921
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxGroup$1, {
|
|
922
|
-
"data-slot": "combobox-group",
|
|
923
|
-
className: cn(className),
|
|
924
|
-
...props
|
|
925
|
-
});
|
|
926
|
-
}
|
|
927
|
-
function ComboboxLabel({ className, ...props }) {
|
|
928
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxGroupLabel, {
|
|
929
|
-
"data-slot": "combobox-label",
|
|
930
|
-
className: cn("text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
931
|
-
...props
|
|
932
|
-
});
|
|
933
|
-
}
|
|
934
|
-
function ComboboxCollection({ ...props }) {
|
|
935
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxCollection$1, {
|
|
936
|
-
"data-slot": "combobox-collection",
|
|
937
|
-
...props
|
|
938
|
-
});
|
|
939
|
-
}
|
|
940
|
-
function ComboboxEmpty({ className, ...props }) {
|
|
941
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxEmpty$1, {
|
|
942
|
-
"data-slot": "combobox-empty",
|
|
943
|
-
className: cn("text-muted-foreground hidden w-full justify-center py-2 text-center text-xs/relaxed group-data-empty/combobox-content:flex", className),
|
|
944
|
-
...props
|
|
945
|
-
});
|
|
946
|
-
}
|
|
947
845
|
var listAdoptionReleasesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleasesInput).handler(createSsrRpc("d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256"));
|
|
948
846
|
var getAdoptionReleaseRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleaseInput).handler(createSsrRpc("16e3be74610cddd54e5e894419dca16817a7b63c09a4eed15042cdac9c39e1e0"));
|
|
949
847
|
var getBundleEventsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleEventsInput).handler(createSsrRpc("bfcca2365dfef4d071bdcddf97538a2637482c77bb747969dbdcd6769ca98416"));
|
|
@@ -1202,7 +1100,7 @@ function ReleaseCombobox({ scope, candidates, excluded = [], onPick, disabled =
|
|
|
1202
1100
|
].filter((group) => group.items.length > 0);
|
|
1203
1101
|
const input = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxInput, {
|
|
1204
1102
|
"aria-label": label,
|
|
1205
|
-
className: trigger ? void 0 : "h-11 w-full sm:h-9 sm:w-96 [&_input]:h-full [&_input]:text-base sm:[&_input]:text-xs",
|
|
1103
|
+
className: trigger ? void 0 : "h-11 w-full sm:h-9 sm:w-96 [&_input]:h-full [&_input]:text-base max-md:[&_[data-slot=input-group-button]]:size-11 max-md:[&_input]:min-h-11 sm:[&_input]:text-xs",
|
|
1206
1104
|
disabled,
|
|
1207
1105
|
placeholder,
|
|
1208
1106
|
showTrigger: !trigger,
|
|
@@ -1239,12 +1137,11 @@ function ReleaseCombobox({ scope, candidates, excluded = [], onPick, disabled =
|
|
|
1239
1137
|
});
|
|
1240
1138
|
}
|
|
1241
1139
|
var DEFAULT_FILTERS = {
|
|
1242
|
-
channel:
|
|
1140
|
+
channel: DEFAULT_CHANNEL,
|
|
1243
1141
|
platform: "all",
|
|
1244
1142
|
appVersion: void 0,
|
|
1245
1143
|
releaseId: void 0
|
|
1246
1144
|
};
|
|
1247
|
-
var CHIP = "h-11 shrink-0 gap-1.5 px-3 text-sm data-[active=true]:border-primary/60 data-[active=true]:bg-primary/10 sm:h-8 sm:text-xs";
|
|
1248
1145
|
var SELECT_CHIP = "shrink-0 gap-1.5 px-3 text-sm data-[active=true]:border-primary/60 data-[active=true]:bg-primary/10 data-[size=default]:h-11 sm:text-xs sm:data-[size=default]:h-8";
|
|
1249
1146
|
/** A filter with a button that returns it to its default when it is narrowed. */
|
|
1250
1147
|
function Clearable({ name, active, onClear, children }) {
|
|
@@ -1267,8 +1164,6 @@ function Clearable({ name, active, onClear, children }) {
|
|
|
1267
1164
|
*/
|
|
1268
1165
|
function InsightsControls({ filters, appVersions, releases, onFiltersChange }) {
|
|
1269
1166
|
const versions = [...new Set([...appVersions, ...filters.appVersion ? [filters.appVersion] : []])];
|
|
1270
|
-
const channelsQuery = useChannelsQuery();
|
|
1271
|
-
const channels = channelsQuery.data?.map((item) => item.name) ?? [];
|
|
1272
1167
|
const narrowed = {
|
|
1273
1168
|
channel: filters.channel !== DEFAULT_FILTERS.channel,
|
|
1274
1169
|
platform: filters.platform !== DEFAULT_FILTERS.platform,
|
|
@@ -1280,54 +1175,12 @@ function InsightsControls({ filters, appVersions, releases, onFiltersChange }) {
|
|
|
1280
1175
|
className: "flex shrink-0 items-center gap-2 overflow-x-auto border-b bg-background px-3 py-2 sm:flex-wrap sm:overflow-visible sm:px-4",
|
|
1281
1176
|
role: "group",
|
|
1282
1177
|
children: [
|
|
1283
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
1284
|
-
|
|
1178
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelPicker, {
|
|
1179
|
+
active: narrowed.channel,
|
|
1285
1180
|
value: filters.channel,
|
|
1286
|
-
onValueChange: (
|
|
1287
|
-
if (
|
|
1288
|
-
}
|
|
1289
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ComboboxTrigger, {
|
|
1290
|
-
"aria-label": `Channel: ${filters.channel}`,
|
|
1291
|
-
"data-active": narrowed.channel,
|
|
1292
|
-
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
1293
|
-
className: CHIP,
|
|
1294
|
-
variant: "outline"
|
|
1295
|
-
}),
|
|
1296
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1297
|
-
className: "text-muted-foreground",
|
|
1298
|
-
children: "Channel"
|
|
1299
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1300
|
-
className: "max-w-48 truncate",
|
|
1301
|
-
children: filters.channel
|
|
1302
|
-
})]
|
|
1303
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ComboboxContent, {
|
|
1304
|
-
className: "w-64",
|
|
1305
|
-
children: [
|
|
1306
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxInput, {
|
|
1307
|
-
"aria-label": "Search channels",
|
|
1308
|
-
placeholder: "Search channels…",
|
|
1309
|
-
showTrigger: false,
|
|
1310
|
-
maxLength: 1024
|
|
1311
|
-
}),
|
|
1312
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxEmpty, { children: channelsQuery.isPending ? "Loading channels…" : channelsQuery.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
1313
|
-
className: "flex flex-col items-center gap-2 p-2",
|
|
1314
|
-
children: ["Couldn't load channels.", /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
1315
|
-
onClick: () => void channelsQuery.refetch(),
|
|
1316
|
-
size: "sm",
|
|
1317
|
-
variant: "outline",
|
|
1318
|
-
children: "Retry channels"
|
|
1319
|
-
})]
|
|
1320
|
-
}) : "No channels found." }),
|
|
1321
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxList, { children: (item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComboboxItem, {
|
|
1322
|
-
className: "min-h-11 pr-8 sm:min-h-8",
|
|
1323
|
-
value: item,
|
|
1324
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1325
|
-
className: "truncate",
|
|
1326
|
-
children: item
|
|
1327
|
-
})
|
|
1328
|
-
}, item) })
|
|
1329
|
-
]
|
|
1330
|
-
})]
|
|
1181
|
+
onValueChange: (channel) => {
|
|
1182
|
+
if (channel !== void 0) onFiltersChange({ channel });
|
|
1183
|
+
}
|
|
1331
1184
|
}),
|
|
1332
1185
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Clearable, {
|
|
1333
1186
|
name: "platform",
|
|
@@ -1422,10 +1275,7 @@ function InsightsControls({ filters, appVersions, releases, onFiltersChange }) {
|
|
|
1422
1275
|
trigger: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ComboboxTrigger, {
|
|
1423
1276
|
"aria-label": `Release: ${filters.releaseId ?? "All"}`,
|
|
1424
1277
|
"data-active": narrowed.releaseId,
|
|
1425
|
-
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1426
|
-
className: CHIP,
|
|
1427
|
-
variant: "outline"
|
|
1428
|
-
}),
|
|
1278
|
+
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FilterChip, {}),
|
|
1429
1279
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1430
1280
|
className: "text-muted-foreground",
|
|
1431
1281
|
children: "Release"
|
|
@@ -1738,6 +1588,7 @@ function InsightsOverview({ input, chart, onChartChange, health, onReleasesChang
|
|
|
1738
1588
|
"aria-label": "Refresh release health",
|
|
1739
1589
|
variant: "ghost",
|
|
1740
1590
|
size: "icon-lg",
|
|
1591
|
+
className: "max-md:size-11",
|
|
1741
1592
|
disabled: health.isFetching,
|
|
1742
1593
|
onClick: health.refresh,
|
|
1743
1594
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RotateCw, {
|
|
@@ -1959,6 +1810,7 @@ function InsightsOverview({ input, chart, onChartChange, health, onReleasesChang
|
|
|
1959
1810
|
})] }),
|
|
1960
1811
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
1961
1812
|
"aria-label": `Remove ${release.releaseId}`,
|
|
1813
|
+
className: "max-md:size-11",
|
|
1962
1814
|
variant: "ghost",
|
|
1963
1815
|
size: "icon-xs",
|
|
1964
1816
|
onClick: () => remove(release.releaseId),
|
|
@@ -1986,6 +1838,7 @@ function InsightsOverview({ input, chart, onChartChange, health, onReleasesChang
|
|
|
1986
1838
|
className: "flex items-center justify-end border-t px-6 py-5",
|
|
1987
1839
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
|
|
1988
1840
|
className: buttonVariants({
|
|
1841
|
+
className: "max-md:h-11",
|
|
1989
1842
|
variant: "outline",
|
|
1990
1843
|
size: "sm"
|
|
1991
1844
|
}),
|
|
@@ -2236,6 +2089,7 @@ function UpdateFailures({ errors, scope, query, onRefresh }) {
|
|
|
2236
2089
|
"aria-label": "Refresh update failures",
|
|
2237
2090
|
variant: "ghost",
|
|
2238
2091
|
size: "icon-lg",
|
|
2092
|
+
className: "max-md:size-11",
|
|
2239
2093
|
disabled: query.isFetching,
|
|
2240
2094
|
onClick: onRefresh,
|
|
2241
2095
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RotateCw, { "aria-hidden": "true" })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as readUpdateFailuresInput } from "./insights-failures-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-errors-
|
|
1
|
+
import { c as readUpdateFailuresInput } from "./insights-failures-DGO2_3Vx.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-errors-DwUaDs0Z.js
|
|
3
3
|
function readFailureReportsInput(input) {
|
|
4
4
|
readUpdateFailuresInput(input);
|
|
5
5
|
if (!Number.isSafeInteger(input.beforeReceivedAtMs) || input.beforeReceivedAtMs < 0 || input.cursor !== void 0 && (typeof input.cursor !== "string" || !input.cursor.length || input.cursor.length > 8192)) throw new Error("Invalid failure report range or cursor.");
|
package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-DGO2_3Vx.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as recoveryWindows } from "./insights-recovery-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-
|
|
1
|
+
import { r as recoveryWindows } from "./insights-recovery-Cdg3Msrj.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-DGO2_3Vx.js
|
|
3
3
|
function readUpdateFailuresInput(input) {
|
|
4
4
|
if (!input || input.platform !== "all" && input.platform !== "ios" && input.platform !== "android" || typeof input.channel !== "string" || !input.channel.trim() || input.channel.length > 1024 || input.releaseId !== void 0 && (typeof input.releaseId !== "string" || !input.releaseId.trim() || input.releaseId.length > 36) || (input.window === void 0 ? input.releaseId === void 0 : !Object.hasOwn(recoveryWindows, input.window))) throw new Error("Choose a platform, channel, and time window.");
|
|
5
5
|
return input;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
-
import { t as createServerRpc } from "./createServerRpc-
|
|
4
|
-
import { c as readUpdateFailuresInput } from "./insights-failures-
|
|
5
|
-
import { n as readFailureReportsInput } from "./insights-errors-
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
import { c as readUpdateFailuresInput } from "./insights-failures-DGO2_3Vx.mjs";
|
|
5
|
+
import { n as readFailureReportsInput } from "./insights-errors-DwUaDs0Z.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-D7M8-Et9.js
|
|
7
7
|
var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
8
8
|
id: "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97",
|
|
9
9
|
name: "getUpdateFailuresRpc",
|
|
@@ -11,9 +11,9 @@ var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
|
11
11
|
}, (opts) => getUpdateFailuresRpc.__executeServer(opts));
|
|
12
12
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(getUpdateFailuresRpc_createServerFn_handler, async ({ data }) => {
|
|
13
13
|
const [{ prepareConfig }, { getUpdateFailuresReport }, { requireFeature }] = await Promise.all([
|
|
14
|
-
import("./config.server-
|
|
15
|
-
import("./updateFailures-
|
|
16
|
-
import("./runtime.server-
|
|
14
|
+
import("./config.server-K8dd4dRv.mjs"),
|
|
15
|
+
import("./updateFailures-BwDwIoNu.mjs"),
|
|
16
|
+
import("./runtime.server-BUbb281Z.mjs")
|
|
17
17
|
]);
|
|
18
18
|
const { runtime, core } = await prepareConfig();
|
|
19
19
|
return getUpdateFailuresReport(await requireFeature(runtime, "insights"), data, Date.now(), core);
|
|
@@ -25,9 +25,9 @@ var listFailureReportsRpc_createServerFn_handler = createServerRpc({
|
|
|
25
25
|
}, (opts) => listFailureReportsRpc.__executeServer(opts));
|
|
26
26
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(listFailureReportsRpc_createServerFn_handler, async ({ data }) => {
|
|
27
27
|
const [{ prepareConfig }, { listFailureReports }, { requireFeature }] = await Promise.all([
|
|
28
|
-
import("./config.server-
|
|
29
|
-
import("./failureReports-
|
|
30
|
-
import("./runtime.server-
|
|
28
|
+
import("./config.server-K8dd4dRv.mjs"),
|
|
29
|
+
import("./failureReports-BVufgM3l.mjs"),
|
|
30
|
+
import("./runtime.server-BUbb281Z.mjs")
|
|
31
31
|
]);
|
|
32
32
|
const { runtime } = await prepareConfig();
|
|
33
33
|
return listFailureReports(await requireFeature(runtime, "insights"), data);
|