@hot-updater/console 1.2.0-rc.5 → 1.2.0-rc.50
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-6aptbS4G.js +1 -0
- package/.output/public/assets/BundleIdDisplay-C0X-k49t.js +1 -0
- package/.output/public/assets/ChannelPicker-DPR-7lqV.js +1 -0
- package/.output/public/assets/CompositeItem-UhIlCBg4.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-B3VCINom.js} +1 -1
- package/.output/public/assets/EventDetails-LQ8ejbsd.js +1 -0
- package/.output/public/assets/FoldedRows-1NvB9gAS.js +1 -0
- package/.output/public/assets/HashValueDisplay-DTSMSH9O.js +1 -0
- package/.output/public/assets/InsightsPageHeader-ypKKV3rL.js +1 -0
- package/.output/public/assets/IosInstall-BRuSakxm.js +1 -0
- package/.output/public/assets/NativeBuildsNav-ChBahvFN.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-m-FKh1Jb.js +1 -0
- package/.output/public/assets/RolloutPercentageBadge-DF4EeZIJ.js +1 -0
- package/.output/public/assets/RowReason-BvIxbpPP.js +1 -0
- package/.output/public/assets/SandboxBadge-DPmJn40v.js +1 -0
- package/.output/public/assets/TargetDisplay-Ctuz3qIp.js +1 -0
- package/.output/public/assets/alert-dialog-DGPqJBCk.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/api-znPyglTl.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-down-BkoJHAll.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-yj-e3ahf.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-oTXLdUR-.js +10 -0
- package/.output/public/assets/input-group-CIjTdxCW.js +1 -0
- package/.output/public/assets/insights-BL6Z8zFv.js +42 -0
- package/.output/public/assets/insights-BMjBMtJU.js +2 -0
- package/.output/public/assets/insights-V3D8tYPQ.js +1 -0
- package/.output/public/assets/insights-api-C4Dmm34n.js +1 -0
- package/.output/public/assets/insights-search-B4NkHGeC.js +1 -0
- package/.output/public/assets/insights-usage-rpc-Dw5_pmRH.js +1 -0
- package/.output/public/assets/insights_.distribution-Br_CW9s9.js +2 -0
- package/.output/public/assets/insights_.distribution-C4E-JuVI.js +1 -0
- package/.output/public/assets/insights_.distribution-oIFSv2TC.js +1 -0
- package/.output/public/assets/installations-CcPrSZwW.js +1 -0
- package/.output/public/assets/installations-Cjx0648C.js +1 -0
- package/.output/public/assets/installations-m1v6oE-2.js +2 -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-B0zJ4wjg.js +1 -0
- package/.output/public/assets/native-builds-BC0sjxPC.js +2 -0
- package/.output/public/assets/native-builds-B_pQ4D5H.js +1 -0
- package/.output/public/assets/native-builds_._buildId-CSyC7YAA.js +1 -0
- package/.output/public/assets/native-builds_._buildId-GPlkI_2m.js +2 -0
- package/.output/public/assets/native-builds_.devices-Cox001IR.js +2 -0
- package/.output/public/assets/native-builds_.devices-DAW19hcQ.js +1 -0
- package/.output/public/assets/plus-DztQIXYL.js +1 -0
- package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-RUNbaMyO.js} +1 -1
- package/.output/public/assets/remote-config-BCQHNGRY.js +1 -0
- package/.output/public/assets/remote-config-BIIj0Faf.js +1 -0
- package/.output/public/assets/remote-config-CDlB7JK8.js +6 -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-C7Pv3Cfg.js +1 -0
- package/.output/public/assets/routes-JJGRGqsf.js +2 -0
- package/.output/public/assets/search-BfEqtE64.js +1 -0
- package/.output/public/assets/select-iSWTEY9t.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-D5kpHu-Z.css +2 -0
- package/.output/public/assets/switch-ByNYRVTN.js +1 -0
- package/.output/public/assets/table-DbZPkzdz.js +1 -0
- package/.output/public/assets/tabs-Byfy8Qls.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-BEDqZ9Ni.js +1 -0
- 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-BsXXRtkN.mjs → __23tanstack-start-server-fn-resolver-DY-niJR4.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 +50 -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-D10dMZzL.mjs +62 -0
- package/.output/server/_ssr/{BundleIdDisplay-CFz1sCQl.mjs → BundleIdDisplay-CGdSiouM.mjs} +3 -3
- package/.output/server/_ssr/ChannelPicker-J5HfKxSS.mjs +251 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-CGHVL37b.mjs → ConsoleFeatureUnavailable-C52o4oew.mjs} +8 -8
- package/.output/server/_ssr/{EventDetails-DdJyaBZ5.mjs → EventDetails-CDLSkVNA.mjs} +9 -9
- package/.output/server/_ssr/FoldedRows-CrRYEVkd.mjs +152 -0
- package/.output/server/_ssr/HashValueDisplay-BrT2wgxk.mjs +65 -0
- package/.output/server/_ssr/{InsightsPageHeader-KtHEf8Q0.mjs → InsightsPageHeader-DVrudLMJ.mjs} +13 -13
- package/.output/server/_ssr/IosInstall-DcKlZU_q.mjs +767 -0
- package/.output/server/_ssr/NativeBuildsNav-BC1WIQ1W.mjs +39 -0
- package/.output/server/_ssr/{NotFoundPage-DZB6K98c.mjs → NotFoundPage-CEhZtcst.mjs} +3 -3
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-C22qEcwo.mjs} +13 -3
- package/.output/server/_ssr/QrCode-Dj9BKV3l.mjs +50 -0
- package/.output/server/_ssr/RelativeTime-Dgbh4UPb.mjs +242 -0
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-BYEDUW1d.mjs} +20 -4
- package/.output/server/_ssr/RowReason-BweNBWkA.mjs +59 -0
- package/.output/server/_ssr/SandboxBadge-O8-kbXAw.mjs +85 -0
- package/.output/server/_ssr/TargetDisplay-D3JAXwcF.mjs +105 -0
- package/.output/server/_ssr/{alert-dialog-CDr-Nsoo.mjs → alert-dialog-CxEcyUb6.mjs} +4 -4
- package/.output/server/_ssr/{api-DGWwi1WN.mjs → api-IIqxWeDx.mjs} +186 -39
- package/.output/server/_ssr/{api-keys-e_eDCNr2.mjs → api-keys-CYefExfc.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-BXiXUAm9.mjs → api-keys-rpc-qkGQ3Sp3.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-BBb3xSox.mjs → api-keys-wFak2vKN.mjs} +14 -11
- package/.output/server/_ssr/{api-rpc-CLreF5Vr.mjs → api-rpc-3NKc545A.mjs} +83 -35
- package/.output/server/_ssr/{auth-rpc-Bbf80tQK.mjs → auth-rpc-PCSJzNJf.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-DGwe3eds.mjs → auth.server-NGj7G3bq.mjs} +1334 -279
- package/.output/server/_ssr/{badge-BXk5c2yv.mjs → badge-CxSJ-pjU.mjs} +4 -45
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-a-pEDiqu.mjs} +1 -1
- package/.output/server/_ssr/card-BDXDcrk_.mjs +49 -0
- package/.output/server/_ssr/{config.server-BIBSZpZE.mjs → config.server-CwUGPk-F.mjs} +4 -4
- package/.output/server/_ssr/{console-access-Cwha8dww.mjs → console-access-BOt-Xxd7.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-Bk24XYA5.mjs → console-features-api-Dw_Tktev.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-5WFiUFxb.mjs → console-features-rpc-D8VFHwYj.mjs} +4 -4
- package/.output/server/_ssr/constants-D-2jpCiJ.mjs +11 -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-BG-juN_g.mjs → dialog-CJ4zMagm.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-DF3o-H8c.mjs → empty-DYy36pwa.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-5zvNofJH.mjs → field-MI8oNc5n.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-rcPxMqYq.mjs → input-group-Bf7wHa21.mjs} +3 -3
- package/.output/server/_ssr/{insights-BwEiSUUy.mjs → insights-CKTR62Ox.mjs} +5 -5
- package/.output/server/_ssr/{insights-BDa6T_cj.mjs → insights-CbGG5htV.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-BESfPrTq.mjs → insights-api-CqjIxe1A.mjs} +5 -5
- package/.output/server/_ssr/{insights-Din0R0k-.mjs → insights-b3XeQlzF.mjs} +62 -203
- 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-BD3vjHse.mjs → insights-failures-rpc-fmWHkLhL.mjs} +11 -11
- package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-Cdg3Msrj.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-sVwplV7s.mjs → insights-recovery-rpc-BpwoS9XL.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-BdtBheBi.mjs → insights-rpc-qwXzuBUQ.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-BAaycSRp.mjs → insights-search-B_8PizlM.mjs} +6 -8
- package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-BVm7CDw9.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-Bo5p-cuB.mjs → insights-usage-rpc-Cbg82l2g.mjs} +5 -5
- package/.output/server/_ssr/{insights-usage-rpc-DCkLNAlG.mjs → insights-usage-rpc-D8lgk1Sk.mjs} +7 -7
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-lPKyRC2o.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-D4QQxZmG.mjs → insights_.distribution--XTBM-oT.mjs} +17 -16
- package/.output/server/_ssr/{insights_.distribution-DoO2NDvS.mjs → insights_.distribution-DTaKryjw.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-5sgau7rB.mjs → insights_.distribution-Ed2vqrwP.mjs} +5 -5
- package/.output/server/_ssr/{installations-W6DXZ5Tp.mjs → installations-Ce_9dNq0.mjs} +2 -2
- package/.output/server/_ssr/{installations-C4MwFvp6.mjs → installations-DyfuFp3L.mjs} +13 -13
- package/.output/server/_ssr/{installations-CZZsFoXb.mjs → installations-W8W7AYwn.mjs} +4 -4
- package/.output/server/_ssr/ios-devices-rpc-5kZM1bgU.mjs +149 -0
- package/.output/server/_ssr/iosDeviceCookie-BTfPOUhS.mjs +155 -0
- package/.output/server/_ssr/iosDeviceProfile-BAoo32s_.mjs +176 -0
- package/.output/server/_ssr/iosDevices-DuNmS3td.mjs +132 -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-0tXDLTsd.mjs +1517 -0
- package/.output/server/_ssr/{native-builds-BhBltXq2.mjs → native-builds-1s5DIHa2.mjs} +3 -3
- package/.output/server/_ssr/native-builds-DEyFHKDa.mjs +696 -0
- package/.output/server/_ssr/native-builds-lEyKQemV.mjs +262 -0
- package/.output/server/_ssr/native-builds_._buildId-ElCXKaXI.mjs +1194 -0
- package/.output/server/_ssr/{native-builds_._buildId-B5QgMg7D.mjs → native-builds_._buildId-mJ8i0pL8.mjs} +3 -3
- package/.output/server/_ssr/native-builds_.devices-DNWZLCra.mjs +858 -0
- package/.output/server/_ssr/native-builds_.devices-Dz8b48Fo.mjs +10 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-D8Se_CCi.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-DemC_4Zc.mjs +256 -0
- package/.output/server/_ssr/nativeBuilds-BFSeuC75.mjs +306 -0
- package/.output/server/_ssr/plistText-BORUpyEb.mjs +15 -0
- package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-D9CCkDjn.mjs} +7 -6
- package/.output/server/_ssr/publicConsoleBase-C3sNbafy.mjs +15 -0
- package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-gfhE5tz5.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-T00z1y9o.mjs → release-adoption-rpc-1mKibOdV.mjs} +9 -9
- package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-DfEYq7I4.mjs} +4 -4
- package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-CuL3ptgg.mjs} +5 -4
- 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-bTCPTVky.mjs → remote-config-C_HNYPZ_.mjs} +24 -23
- package/.output/server/_ssr/{remote-config-Wjia3haX.mjs → remote-config-D2Cohnwn.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-D6YMPi4J.mjs → remote-config-q9fegj-G.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-7Zvra2dm.mjs → remote-config-rpc-6hfHFrO6.mjs} +5 -5
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-CLK13IPD.mjs → router-DODxASKG.mjs} +137 -64
- package/.output/server/_ssr/{routes-CbdYptnV.mjs → routes-BJjTUNSe.mjs} +489 -474
- package/.output/server/_ssr/{routes-h_nOUmOr.mjs → routes-C-nYThl0.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-yB9ioGZE.mjs → schema-migration-rpc-C31JquTn.mjs} +5 -5
- package/.output/server/_ssr/{select-BdzEzz-x.mjs → select-CjACvu9s.mjs} +12 -10
- package/.output/server/_ssr/{server-CddZkHk2.mjs → server-Dyw2qgSR.mjs} +7 -7
- package/.output/server/_ssr/{sidebar-DabmjV5E.mjs → sidebar-DQkRAO_e.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-84dzb1yG.mjs → switch-DZJSRVl3.mjs} +4 -4
- package/.output/server/_ssr/{table-DP978C4F.mjs → table-BA-6GQFs.mjs} +2 -2
- package/.output/server/_ssr/tabs-CtB3PIts.mjs +45 -0
- package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-DcCONz23.mjs} +8 -5
- 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-Bfv6fYk6.mjs +229 -0
- package/.output/server/index.mjs +487 -375
- 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 +27 -8
- package/src/components/PlatformIcon.tsx +10 -0
- package/src/components/RelativeTime.tsx +31 -0
- package/src/components/RowReason.tsx +63 -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 +22 -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 +36 -10
- 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 +378 -93
- package/src/components/features/native-builds/IosDevicesPage.tsx +1145 -0
- package/src/components/features/native-builds/IosInstall.tsx +732 -0
- package/src/components/features/native-builds/IpaDevicesCard.tsx +123 -0
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +36 -9
- package/src/components/features/native-builds/NativeBuildsNav.tsx +45 -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 +171 -16
- package/src/lib/constants.ts +18 -0
- package/src/lib/insights-search.ts +0 -3
- package/src/lib/ios-devices-api.ts +304 -0
- package/src/lib/ios-devices-rpc.ts +215 -0
- package/src/lib/native-builds.ts +261 -20
- package/src/lib/schema-migration-rpc.ts +1 -1
- 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 +232 -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 +513 -0
- package/src/lib/server/nativeBuilds.ts +327 -59
- package/src/lib/server/plistText.ts +17 -0
- package/src/lib/server/publicConsoleBase.ts +17 -0
- package/src/lib/server/updateFailures.ts +6 -1
- package/src/routeTree.gen.ts +129 -18
- package/src/routes/-native-builds-search.ts +61 -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/useCompositeListItem-JmyDfo3-.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/HashValueDisplay-B85-LoBW.mjs +0 -55
- package/.output/server/_ssr/RolloutPercentageBadge-CKFY5OIh.mjs +0 -21
- package/.output/server/_ssr/StoreSubmission-CNukW8xF.mjs +0 -139
- package/.output/server/_ssr/listReleases-D_GY00SQ.mjs +0 -79
- package/.output/server/_ssr/native-builds-CoOxssXa.mjs +0 -510
- package/.output/server/_ssr/native-builds-DhXL5zf_.mjs +0 -137
- package/.output/server/_ssr/native-builds_._buildId-CysSVBT5.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-kQRMEiQT.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
|
@@ -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 {
|
|
7
|
-
import {
|
|
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-CDr-Nsoo.mjs";
|
|
9
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DP978C4F.mjs";
|
|
3
|
+
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";
|
|
4
|
+
import { G as CircleOff, O as List, V as Copy, Y as ChevronRight, _ as RefreshCw, g as RotateCcw, h as RotateCw, i as TriangleAlert, it as ArrowRight, r as Undo2, rt as ArrowUpRight, t as X } from "../_libs/lucide-react.mjs";
|
|
5
|
+
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-DQkRAO_e.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
|
|
7
|
+
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
10
8
|
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-DYy36pwa.mjs";
|
|
10
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-BDXDcrk_.mjs";
|
|
11
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-CxSJ-pjU.mjs";
|
|
12
|
+
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-CxEcyUb6.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BA-6GQFs.mjs";
|
|
11
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { t as Route } from "./insights-
|
|
23
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
24
|
-
import { t as PlatformIcon } from "./PlatformIcon-
|
|
25
|
-
import { i as
|
|
26
|
-
import {
|
|
27
|
-
import { i as
|
|
28
|
-
import { t as
|
|
29
|
-
import { n as
|
|
30
|
-
import { i as
|
|
31
|
-
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-DdJyaBZ5.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-B_8PizlM.mjs";
|
|
22
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-CqjIxe1A.mjs";
|
|
23
|
+
import { _ as usePreflightReleaseMutation, w as useUpdateReleaseMutation } from "./api-IIqxWeDx.mjs";
|
|
24
|
+
import { r as DEFAULT_CHANNEL } from "./constants-D-2jpCiJ.mjs";
|
|
25
|
+
import { t as Route } from "./insights-CKTR62Ox.mjs";
|
|
26
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-CtB3PIts.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-CjACvu9s.mjs";
|
|
29
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-CGdSiouM.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-J5HfKxSS.mjs";
|
|
31
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-Cbg82l2g.mjs";
|
|
32
|
+
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-DVrudLMJ.mjs";
|
|
33
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-CDLSkVNA.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-b3XeQlzF.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
|
}),
|
|
@@ -2002,7 +1855,7 @@ var share = (events, total) => total === 0 ? "—" : `${(events / total * 100).t
|
|
|
2002
1855
|
* One kind of failure: its rate as the headline, then how many failures and
|
|
2003
1856
|
* installations it holds.
|
|
2004
1857
|
*/
|
|
2005
|
-
function FailureSummary({ id, title, info, rate, of, failures, installations, previous, children }) {
|
|
1858
|
+
function FailureSummary({ id, title, info, rate, of, failures, installations, previous, atLeast, children }) {
|
|
2006
1859
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
|
|
2007
1860
|
"aria-labelledby": id,
|
|
2008
1861
|
className: "flex min-w-0 flex-col gap-1",
|
|
@@ -2015,9 +1868,9 @@ function FailureSummary({ id, title, info, rate, of, failures, installations, pr
|
|
|
2015
1868
|
children: info
|
|
2016
1869
|
})]
|
|
2017
1870
|
}),
|
|
2018
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
1871
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
|
|
2019
1872
|
className: "text-3xl font-semibold tracking-tight tabular-nums",
|
|
2020
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Rate, { value: rate })
|
|
1873
|
+
children: [atLeast?.rate && rate !== null ? "≥" : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Rate, { value: rate })]
|
|
2021
1874
|
}),
|
|
2022
1875
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
2023
1876
|
className: "text-xs text-muted-foreground",
|
|
@@ -2031,6 +1884,7 @@ function FailureSummary({ id, title, info, rate, of, failures, installations, pr
|
|
|
2031
1884
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
|
|
2032
1885
|
className: "mt-2 text-sm text-muted-foreground tabular-nums",
|
|
2033
1886
|
children: [
|
|
1887
|
+
atLeast ? "≥" : null,
|
|
2034
1888
|
failures.toLocaleString(),
|
|
2035
1889
|
" ",
|
|
2036
1890
|
failures === 1 ? "failure" : "failures",
|
|
@@ -2066,6 +1920,7 @@ function RateChange({ value, previous, complete }) {
|
|
|
2066
1920
|
}
|
|
2067
1921
|
/** One stage and reason, and what else its clients knew, most first. */
|
|
2068
1922
|
function FailureRow({ failure, total }) {
|
|
1923
|
+
const atLeast = total === null ? "≥" : "";
|
|
2069
1924
|
const label = `${failureStageLabel(failure.stage)} · ${failureReasonLabel(failure.reason)}`;
|
|
2070
1925
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
2071
1926
|
className: "[&>td]:px-2 [&>td]:py-3 [&>td]:align-top sm:[&>td]:px-4",
|
|
@@ -2100,9 +1955,9 @@ function FailureRow({ failure, total }) {
|
|
|
2100
1955
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2101
1956
|
className: "wrap-anywhere",
|
|
2102
1957
|
children: parts.length === 0 ? "No details reported" : parts.join(" · ")
|
|
2103
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1958
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
2104
1959
|
className: "shrink-0 font-medium tabular-nums",
|
|
2105
|
-
children: detail.events.toLocaleString()
|
|
1960
|
+
children: [atLeast, detail.events.toLocaleString()]
|
|
2106
1961
|
})]
|
|
2107
1962
|
}, JSON.stringify(detail));
|
|
2108
1963
|
})
|
|
@@ -2111,12 +1966,12 @@ function FailureRow({ failure, total }) {
|
|
|
2111
1966
|
}),
|
|
2112
1967
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
2113
1968
|
className: "text-right tabular-nums",
|
|
2114
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1969
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
2115
1970
|
className: "inline-flex min-h-11 items-center text-sm font-medium",
|
|
2116
|
-
children: failure.events.toLocaleString()
|
|
1971
|
+
children: [atLeast, failure.events.toLocaleString()]
|
|
2117
1972
|
})
|
|
2118
1973
|
}),
|
|
2119
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
1974
|
+
total === null ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
2120
1975
|
className: "text-right tabular-nums text-muted-foreground",
|
|
2121
1976
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2122
1977
|
className: "inline-flex min-h-11 items-center text-sm",
|
|
@@ -2131,6 +1986,7 @@ function FailuresReport({ report, errors }) {
|
|
|
2131
1986
|
const total = breakdown.reduce((sum, { events }) => sum + events, 0);
|
|
2132
1987
|
const unreasoned = breakdown.filter(({ reason }) => reason === "unknown").reduce((sum, { events }) => sum + events, 0);
|
|
2133
1988
|
const patchAttempts = report.patchDownloads + report.patchFallbacks;
|
|
1989
|
+
const capped = (report.cappedHours?.length ?? 0) > 0;
|
|
2134
1990
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
2135
1991
|
className: "flex flex-col gap-8",
|
|
2136
1992
|
children: [
|
|
@@ -2144,6 +2000,7 @@ function FailuresReport({ report, errors }) {
|
|
|
2144
2000
|
of: "of update attempts failed",
|
|
2145
2001
|
failures: report.failedUpdates,
|
|
2146
2002
|
installations: report.failedInstallations,
|
|
2003
|
+
atLeast: capped ? { rate: true } : void 0,
|
|
2147
2004
|
previous: report.previous && {
|
|
2148
2005
|
rate: report.previous.attemptRate,
|
|
2149
2006
|
complete: report.previous.complete
|
|
@@ -2166,6 +2023,7 @@ function FailuresReport({ report, errors }) {
|
|
|
2166
2023
|
of: "of active installations had a check fail",
|
|
2167
2024
|
failures: report.checks.failures,
|
|
2168
2025
|
installations: report.checks.failedInstallations,
|
|
2026
|
+
atLeast: capped ? { rate: false } : void 0,
|
|
2169
2027
|
previous: report.previous && {
|
|
2170
2028
|
rate: report.previous.checkRate,
|
|
2171
2029
|
complete: report.previous.complete
|
|
@@ -2189,7 +2047,7 @@ function FailuresReport({ report, errors }) {
|
|
|
2189
2047
|
}) : null,
|
|
2190
2048
|
breakdown.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
2191
2049
|
className: "text-sm text-muted-foreground",
|
|
2192
|
-
children: "No update failures in this period."
|
|
2050
|
+
children: capped ? "None among the failures read: some hours held more failure kinds than are read." : "No update failures in this period."
|
|
2193
2051
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Table, {
|
|
2194
2052
|
"aria-label": "Failures by stage and reason",
|
|
2195
2053
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
@@ -2200,14 +2058,14 @@ function FailuresReport({ report, errors }) {
|
|
|
2200
2058
|
className: "w-16 text-right sm:w-24",
|
|
2201
2059
|
children: "Reports"
|
|
2202
2060
|
}),
|
|
2203
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, {
|
|
2061
|
+
capped ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHead, {
|
|
2204
2062
|
className: "w-16 text-right sm:w-24",
|
|
2205
2063
|
children: "Share"
|
|
2206
2064
|
})
|
|
2207
2065
|
]
|
|
2208
2066
|
}) }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableBody, { children: breakdown.map((failure) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FailureRow, {
|
|
2209
2067
|
failure,
|
|
2210
|
-
total
|
|
2068
|
+
total: capped ? null : total
|
|
2211
2069
|
}, `${failure.stage} ${failure.reason}`)) })]
|
|
2212
2070
|
})
|
|
2213
2071
|
]
|
|
@@ -2236,6 +2094,7 @@ function UpdateFailures({ errors, scope, query, onRefresh }) {
|
|
|
2236
2094
|
"aria-label": "Refresh update failures",
|
|
2237
2095
|
variant: "ghost",
|
|
2238
2096
|
size: "icon-lg",
|
|
2097
|
+
className: "max-md:size-11",
|
|
2239
2098
|
disabled: query.isFetching,
|
|
2240
2099
|
onClick: onRefresh,
|
|
2241
2100
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RotateCw, { "aria-hidden": "true" })
|
|
@@ -2259,7 +2118,7 @@ function UpdateFailures({ errors, scope, query, onRefresh }) {
|
|
|
2259
2118
|
className: "border-t px-6 py-5",
|
|
2260
2119
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2261
2120
|
className: "text-xs text-muted-foreground",
|
|
2262
|
-
children: "Partial"
|
|
2121
|
+
children: (query.data.cappedHours?.length ?? 0) > 0 ? "Partial: some hours held more failure kinds than are read, so failures are at least the counts shown." : "Partial"
|
|
2263
2122
|
})
|
|
2264
2123
|
}) : null
|
|
2265
2124
|
]
|
|
@@ -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-BOt-Xxd7.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-fmWHkLhL.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-CwUGPk-F.mjs"),
|
|
15
|
+
import("./updateFailures-DcCONz23.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-CwUGPk-F.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);
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { n as readRecoveryInput } from "./insights-recovery-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
import { n as readRecoveryInput } from "./insights-recovery-Cdg3Msrj.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-BpwoS9XL.js
|
|
6
6
|
function readBundleActivityInput(inputs) {
|
|
7
7
|
if (!Array.isArray(inputs) || inputs.length > 20) throw new Error("Choose up to 20 bundles.");
|
|
8
8
|
return inputs.map((input) => {
|
|
@@ -21,9 +21,9 @@ var getBundleActivityRpc_createServerFn_handler = createServerRpc({
|
|
|
21
21
|
}, (opts) => getBundleActivityRpc.__executeServer(opts));
|
|
22
22
|
var getBundleActivityRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleActivityInput).handler(getBundleActivityRpc_createServerFn_handler, async ({ data }) => {
|
|
23
23
|
const [{ prepareConfig }, { getBundleActivity }, { requireFeature }] = await Promise.all([
|
|
24
|
-
import("./config.server-
|
|
25
|
-
import("./bundleActivity-
|
|
26
|
-
import("./runtime.server-
|
|
24
|
+
import("./config.server-CwUGPk-F.mjs"),
|
|
25
|
+
import("./bundleActivity-a-pEDiqu.mjs"),
|
|
26
|
+
import("./runtime.server-BUbb281Z.mjs")
|
|
27
27
|
]);
|
|
28
28
|
const { runtime } = await prepareConfig();
|
|
29
29
|
return getBundleActivity(await requireFeature(runtime, "insightsAnalytics"), data);
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-qwXzuBUQ.js
|
|
5
5
|
/** The Insights reads, once the console's access check and the feature guard pass. */
|
|
6
6
|
var insightsReads = async () => {
|
|
7
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
7
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CwUGPk-F.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "insights");
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { A as Info } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-
|
|
5
|
-
import {
|
|
6
|
-
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-
|
|
4
|
+
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-DQkRAO_e.mjs";
|
|
5
|
+
import { s as isUUIDv7 } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
6
|
+
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C0jNe2Om.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-B_8PizlM.js
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
function InfoTooltip({ label, children }) {
|
|
@@ -39,8 +39,6 @@ var readText = (value) => typeof value === "string" && value.trim().length > 0 &
|
|
|
39
39
|
var readWindow = (value) => value === "24h" || value === "7d" || value === "30d" ? value : void 0;
|
|
40
40
|
var readHealthChart = (value) => value === "adoption" || value === "crashes" ? value : void 0;
|
|
41
41
|
var readUsageWindow = (value) => value === "12m" ? value : readWindow(value);
|
|
42
|
-
/** The channel Insights reads when none is chosen: the SDK's and the CLI's default. */
|
|
43
|
-
var DEFAULT_INSIGHTS_CHANNEL = "production";
|
|
44
42
|
var readPlatform = (value) => value === "all" || value === "ios" || value === "android" ? value : void 0;
|
|
45
43
|
function validateInsightsSearch(search) {
|
|
46
44
|
return {
|
|
@@ -73,4 +71,4 @@ function adoptionWindow(releaseId, now = Date.now()) {
|
|
|
73
71
|
/** Release health's compared bundles from the `bundles` search value. */
|
|
74
72
|
var comparedBundleIds = (value) => value === void 0 ? void 0 : [...new Set(value.split(",").filter((id) => id.length > 0))];
|
|
75
73
|
//#endregion
|
|
76
|
-
export {
|
|
74
|
+
export { validateInsightsSearch as a, validateDistributionSearch as i, adoptionWindow as n, comparedBundleIds as r, InfoTooltip as t };
|