@hot-updater/console 1.2.0-rc.5 → 1.2.0-rc.51
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-CtbmyR7f.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-ClHLI-NM.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-1a_GRSNg.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-BQErgQRj.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-D0dVdFCk.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-B8BpJ73Y.js +10 -0
- package/.output/public/assets/input-group-CIjTdxCW.js +1 -0
- package/.output/public/assets/insights-BrdBpqda.js +42 -0
- package/.output/public/assets/insights-DsmTCDix.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-BHmK7ufZ.js +1 -0
- package/.output/public/assets/insights_.distribution-BNNw0whH.js +2 -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-B6t0ZxKP.js +1 -0
- package/.output/public/assets/native-builds-CgPSpNsA.js +2 -0
- package/.output/public/assets/native-builds-TF9BhYrQ.js +1 -0
- package/.output/public/assets/native-builds_._buildId-2rPrtz9-.js +2 -0
- package/.output/public/assets/native-builds_._buildId-BqUOY1Az.js +1 -0
- package/.output/public/assets/native-builds_.devices-B9kLHngv.js +2 -0
- package/.output/public/assets/native-builds_.devices-COFYZcaA.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-DMooqgLf.js +1 -0
- package/.output/public/assets/routes-Z2IGj8MK.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-pdhJfnex.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 +1 -1
- 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-Bbf_lM0q.mjs +26 -0
- package/.output/server/_ssr/ChannelPicker-D6dQe9hV.mjs +251 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-CGHVL37b.mjs → ConsoleFeatureUnavailable-cLOJizHM.mjs} +8 -8
- package/.output/server/_ssr/{EventDetails-DdJyaBZ5.mjs → EventDetails-Bf9A0sIH.mjs} +9 -9
- package/.output/server/_ssr/FoldedRows-CBXPkthB.mjs +152 -0
- package/.output/server/_ssr/HashValueDisplay-CTRuGnTF.mjs +65 -0
- package/.output/server/_ssr/{InsightsPageHeader-KtHEf8Q0.mjs → InsightsPageHeader-CZYqpzbC.mjs} +13 -13
- package/.output/server/_ssr/IosInstall-Dnv68fhL.mjs +767 -0
- package/.output/server/_ssr/NativeBuildsNav-Dg43O2Cd.mjs +39 -0
- package/.output/server/_ssr/{NotFoundPage-DZB6K98c.mjs → NotFoundPage-C0hUVtGq.mjs} +3 -3
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-C22qEcwo.mjs} +13 -3
- package/.output/server/_ssr/QrCode-BbK966IU.mjs +50 -0
- package/.output/server/_ssr/RelativeTime-CdBbi7fL.mjs +242 -0
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-CaK9SkbN.mjs} +20 -4
- package/.output/server/_ssr/RowReason-Cg035uIk.mjs +59 -0
- package/.output/server/_ssr/SandboxBadge-Zta6e__x.mjs +85 -0
- package/.output/server/_ssr/TargetDisplay-DGqswOee.mjs +105 -0
- package/.output/server/_ssr/{alert-dialog-CDr-Nsoo.mjs → alert-dialog-DFz9lm_Y.mjs} +4 -4
- package/.output/server/_ssr/{api-DGWwi1WN.mjs → api-B2LCh6pv.mjs} +186 -39
- package/.output/server/_ssr/{api-keys-BBb3xSox.mjs → api-keys-BbtiHE85.mjs} +14 -11
- package/.output/server/_ssr/{api-keys-e_eDCNr2.mjs → api-keys-D3oOFnP9.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-BXiXUAm9.mjs → api-keys-rpc-CJIR67Ch.mjs} +4 -4
- package/.output/server/_ssr/{api-rpc-CLreF5Vr.mjs → api-rpc-Bf7S-MaH.mjs} +83 -35
- package/.output/server/_ssr/{auth-rpc-Bbf80tQK.mjs → auth-rpc-Dp-DCqh6.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-DGwe3eds.mjs → auth.server-Cc0ZRXjk.mjs} +1876 -358
- package/.output/server/_ssr/{badge-BXk5c2yv.mjs → badge-YEmoI1eN.mjs} +4 -45
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-a-pEDiqu.mjs} +1 -1
- package/.output/server/_ssr/card-D0a_6Dhh.mjs +49 -0
- package/.output/server/_ssr/{config.server-BIBSZpZE.mjs → config.server-CZRoGrFp.mjs} +4 -4
- package/.output/server/_ssr/{console-access-Cwha8dww.mjs → console-access-OPT4g-IS.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-tjmlaM_N.mjs} +4 -4
- package/.output/server/_ssr/{console-features-rpc-5WFiUFxb.mjs → console-features-rpc-SlXJxyZV.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-D6bc51Xq.mjs} +5 -4
- package/.output/server/_ssr/deviceProfileToken-xzDLfE0T.mjs +98 -0
- package/.output/server/_ssr/{dialog-BG-juN_g.mjs → dialog-ChHbf-yX.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-jogqtpGm.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-Df_Q9TWZ.mjs} +3 -3
- package/.output/server/_ssr/foldedPage-CUjJqtlF.mjs +176 -0
- package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-DDqsd1pL.mjs} +2 -2
- package/.output/server/_ssr/{input-group-rcPxMqYq.mjs → input-group-CVf7oJb7.mjs} +3 -3
- package/.output/server/_ssr/{insights-Din0R0k-.mjs → insights-CWe8WEnp.mjs} +93 -215
- package/.output/server/_ssr/{insights-BwEiSUUy.mjs → insights-DFSywrbh.mjs} +5 -5
- package/.output/server/_ssr/{insights-BDa6T_cj.mjs → insights-DIRlQAyF.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-BESfPrTq.mjs → insights-api-C9rxV0Tn.mjs} +5 -5
- 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-wIScA1Qn.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-BVt-dUJZ.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-BdtBheBi.mjs → insights-rpc-BDQqwXjX.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-BAaycSRp.mjs → insights-search-B56U9By9.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-C084r9Yl.mjs} +5 -5
- package/.output/server/_ssr/{insights-usage-rpc-DCkLNAlG.mjs → insights-usage-rpc-D6QC7xMU.mjs} +7 -7
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-lPKyRC2o.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-5sgau7rB.mjs → insights_.distribution-BO1VAcAm.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-D4QQxZmG.mjs → insights_.distribution-CoTlEOe8.mjs} +16 -15
- package/.output/server/_ssr/{insights_.distribution-DoO2NDvS.mjs → insights_.distribution-DP1M7WJo.mjs} +2 -2
- package/.output/server/_ssr/{installations-C4MwFvp6.mjs → installations-BczGuyup.mjs} +13 -13
- package/.output/server/_ssr/{installations-CZZsFoXb.mjs → installations-CHXPyqGZ.mjs} +4 -4
- package/.output/server/_ssr/{installations-W6DXZ5Tp.mjs → installations-CY86CKgz.mjs} +2 -2
- package/.output/server/_ssr/ios-devices-rpc-B-9HHSKk.mjs +149 -0
- package/.output/server/_ssr/iosDeviceCookie-CZArbhzA.mjs +155 -0
- package/.output/server/_ssr/iosDeviceProfile-CxeXYxc-.mjs +176 -0
- package/.output/server/_ssr/iosDevices-Ckjp_S09.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-C2xGyB-t.mjs +273 -0
- package/.output/server/_ssr/native-builds-CKoFuBrT.mjs +698 -0
- package/.output/server/_ssr/{native-builds-BhBltXq2.mjs → native-builds-DGckAE3j.mjs} +3 -3
- package/.output/server/_ssr/native-builds_._buildId-BXfvqKmr.mjs +1204 -0
- package/.output/server/_ssr/{native-builds_._buildId-B5QgMg7D.mjs → native-builds_._buildId-EqbJ7R4A.mjs} +3 -3
- package/.output/server/_ssr/native-builds_.devices-BJ75om8d.mjs +10 -0
- package/.output/server/_ssr/native-builds_.devices-X6JpinwG.mjs +858 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-BAfCV_k_.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-D2rK0m4j.mjs +256 -0
- package/.output/server/_ssr/nativeBuilds-B3LcuLs4.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-xKxB0Ir0.mjs} +9 -9
- package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-BNp2LKR5.mjs} +5 -4
- package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-CLDa8DuR.mjs} +23 -11
- 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-ByjC_BCV.mjs} +23 -22
- package/.output/server/_ssr/{remote-config-Wjia3haX.mjs → remote-config-DmEXPobC.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-rpc-7Zvra2dm.mjs → remote-config-rpc-BNPLt44i.mjs} +5 -5
- package/.output/server/_ssr/{remote-config-D6YMPi4J.mjs → remote-config-w3s5hFj9.mjs} +2 -2
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-CLK13IPD.mjs → router-C8NZ0bVd.mjs} +136 -63
- package/.output/server/_ssr/{routes-h_nOUmOr.mjs → routes-B8Gmx46E.mjs} +49 -17
- package/.output/server/_ssr/{routes-CbdYptnV.mjs → routes-DvpKW5gf.mjs} +495 -476
- 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-DlahGhrf.mjs} +5 -5
- package/.output/server/_ssr/{select-BdzEzz-x.mjs → select-Csnyblf2.mjs} +12 -10
- package/.output/server/_ssr/{server-CddZkHk2.mjs → server-Yr7QLPLj.mjs} +7 -7
- package/.output/server/_ssr/{sidebar-DabmjV5E.mjs → sidebar-bKoOUlMN.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-C-HJ8oZV.mjs} +4 -4
- package/.output/server/_ssr/{table-DP978C4F.mjs → table-DSB_9Amh.mjs} +2 -2
- package/.output/server/_ssr/tabs-DRTBxZTO.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-MJAIGQWT.mjs +229 -0
- package/.output/server/index.mjs +493 -381
- package/lib/index.d.mts +9 -0
- package/package.json +7 -30
- package/src/components/AppSidebar.tsx +11 -2
- package/src/components/BundleIdDisplay.tsx +30 -3
- 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/ComparedBundlesChart.tsx +1 -0
- package/src/components/features/insights/FailureReports.tsx +3 -2
- package/src/components/features/insights/InsightsControls.tsx +38 -73
- package/src/components/features/insights/InsightsOverview.tsx +10 -2
- 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 +8 -3
- package/src/components/features/insights/RollbackButton.tsx +1 -1
- package/src/components/features/insights/UpdateFailures.tsx +36 -10
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +125 -63
- 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 +45 -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 +652 -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 +39 -4
- 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 +14 -9
- 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 +269 -20
- package/src/lib/release-adoption.ts +2 -0
- 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/releaseAdoption.ts +1 -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 +662 -578
- 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/BundleIdDisplay-CFz1sCQl.mjs +0 -13
- 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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
|
+
import relativeTime from "dayjs/plugin/relativeTime";
|
|
3
|
+
|
|
4
|
+
dayjs.extend(relativeTime);
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* When something was created, as the Bundles and Native builds lists show
|
|
8
|
+
* it: relative, such as "4 hours ago", with the exact time on hover. A card
|
|
9
|
+
* has no hover, so `withDate` puts the exact time under it.
|
|
10
|
+
*/
|
|
11
|
+
export function RelativeTime({
|
|
12
|
+
ms,
|
|
13
|
+
withDate = false,
|
|
14
|
+
}: {
|
|
15
|
+
/** Epoch milliseconds. */
|
|
16
|
+
readonly ms: number;
|
|
17
|
+
readonly withDate?: boolean;
|
|
18
|
+
}) {
|
|
19
|
+
const date = dayjs(ms);
|
|
20
|
+
const exact = date.format("YYYY-MM-DD HH:mm:ss");
|
|
21
|
+
return (
|
|
22
|
+
<time
|
|
23
|
+
className="flex flex-col whitespace-nowrap tabular-nums"
|
|
24
|
+
dateTime={date.toISOString()}
|
|
25
|
+
title={exact}
|
|
26
|
+
>
|
|
27
|
+
<span>{date.fromNow()}</span>
|
|
28
|
+
{withDate ? <span className="text-muted-foreground">{exact}</span> : null}
|
|
29
|
+
</time>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import { useId, useState } from "react";
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
Tooltip,
|
|
6
|
+
TooltipContent,
|
|
7
|
+
TooltipTrigger,
|
|
8
|
+
} from "@/components/ui/tooltip";
|
|
9
|
+
import { cn } from "@/lib/utils";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A quiet word on a row a list shades, such as "Older" or "Unreachable",
|
|
13
|
+
* that says why on a tap, a click, or focus: a touch or a keyboard reaches
|
|
14
|
+
* the reason, not only a pointer's hover. A control of its own, so it opens
|
|
15
|
+
* no row.
|
|
16
|
+
*/
|
|
17
|
+
export function RowReason({
|
|
18
|
+
icon: Icon,
|
|
19
|
+
children,
|
|
20
|
+
className,
|
|
21
|
+
label,
|
|
22
|
+
reason,
|
|
23
|
+
}: {
|
|
24
|
+
readonly icon: LucideIcon;
|
|
25
|
+
/** The word the row shows. */
|
|
26
|
+
readonly children: string;
|
|
27
|
+
/** Classes for the word, such as the size of the text it stands in. */
|
|
28
|
+
readonly className?: string;
|
|
29
|
+
/** The word and its reason, as a screen reader names the control. */
|
|
30
|
+
readonly label: string;
|
|
31
|
+
/** The reason, as its tooltip says it. */
|
|
32
|
+
readonly reason: string;
|
|
33
|
+
}) {
|
|
34
|
+
const id = useId();
|
|
35
|
+
const [open, setOpen] = useState(false);
|
|
36
|
+
return (
|
|
37
|
+
<Tooltip onOpenChange={setOpen} open={open} triggerId={id}>
|
|
38
|
+
<TooltipTrigger
|
|
39
|
+
aria-describedby={open ? `${id}-reason` : undefined}
|
|
40
|
+
aria-label={label}
|
|
41
|
+
className={cn(
|
|
42
|
+
"relative inline-flex shrink-0 items-center gap-1 rounded-sm text-xs text-muted-foreground transition-colors after:absolute after:-inset-x-2 after:-inset-y-3.5 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none motion-reduce:transition-none sm:after:hidden",
|
|
43
|
+
className,
|
|
44
|
+
)}
|
|
45
|
+
closeOnClick={false}
|
|
46
|
+
id={id}
|
|
47
|
+
onClick={() => setOpen((value) => !value)}
|
|
48
|
+
type="button"
|
|
49
|
+
>
|
|
50
|
+
<Icon aria-hidden="true" className="size-3.5" />
|
|
51
|
+
{children}
|
|
52
|
+
</TooltipTrigger>
|
|
53
|
+
<TooltipContent
|
|
54
|
+
className="max-w-64"
|
|
55
|
+
id={`${id}-reason`}
|
|
56
|
+
role="tooltip"
|
|
57
|
+
side="bottom"
|
|
58
|
+
>
|
|
59
|
+
{reason}
|
|
60
|
+
</TooltipContent>
|
|
61
|
+
</Tooltip>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Fingerprint, KeyRound, type LucideIcon, Package } from "lucide-react";
|
|
2
|
+
|
|
3
|
+
import { HashValueDisplay } from "./HashValueDisplay";
|
|
4
|
+
|
|
5
|
+
/** A hash behind its icon, shortened to `xxxxxxxx…xxxx` and copied on click. */
|
|
6
|
+
function IconHash({
|
|
7
|
+
icon: Icon,
|
|
8
|
+
value,
|
|
9
|
+
display,
|
|
10
|
+
}: {
|
|
11
|
+
readonly icon: LucideIcon;
|
|
12
|
+
readonly value: string;
|
|
13
|
+
readonly display?: string;
|
|
14
|
+
}) {
|
|
15
|
+
return (
|
|
16
|
+
<span className="flex items-center gap-2">
|
|
17
|
+
<Icon className="size-4 shrink-0 text-muted-foreground" />
|
|
18
|
+
<HashValueDisplay display={display} maxLength={12} value={value} />
|
|
19
|
+
</span>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** The cell of a missing value, such as an imported build's build key. */
|
|
24
|
+
export function NoValue() {
|
|
25
|
+
return <span className="text-muted-foreground">-</span>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** An app version behind its icon, as the Target column shows one. */
|
|
29
|
+
function AppVersion({ value }: { readonly value: string }) {
|
|
30
|
+
return (
|
|
31
|
+
<span className="flex items-center gap-2">
|
|
32
|
+
<Package className="size-4 shrink-0 text-muted-foreground" />
|
|
33
|
+
<span className="font-medium">{value}</span>
|
|
34
|
+
</span>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* What OTAs target: an app version, or a fingerprint. The Bundles table's
|
|
40
|
+
* Target column and a native build's show one release's target the same way,
|
|
41
|
+
* so the two compare at a glance. A native build also passes
|
|
42
|
+
* `nativeAppVersion`, the app version its artifact reports: a fingerprint
|
|
43
|
+
* build shows it over its fingerprint, so every build names its version in
|
|
44
|
+
* the column's width. Without one, as on a build registered before it was
|
|
45
|
+
* recorded, the fingerprint shows alone.
|
|
46
|
+
*/
|
|
47
|
+
export function TargetDisplay({
|
|
48
|
+
appVersion,
|
|
49
|
+
fingerprintHash,
|
|
50
|
+
nativeAppVersion,
|
|
51
|
+
}: {
|
|
52
|
+
readonly appVersion: string | null;
|
|
53
|
+
readonly fingerprintHash: string | null;
|
|
54
|
+
readonly nativeAppVersion?: string | null;
|
|
55
|
+
}) {
|
|
56
|
+
if (appVersion) {
|
|
57
|
+
return <AppVersion value={appVersion} />;
|
|
58
|
+
}
|
|
59
|
+
if (fingerprintHash) {
|
|
60
|
+
const hash = <IconHash icon={Fingerprint} value={fingerprintHash} />;
|
|
61
|
+
if (!nativeAppVersion) return hash;
|
|
62
|
+
return (
|
|
63
|
+
<span
|
|
64
|
+
className="flex flex-col items-start gap-3 sm:gap-1"
|
|
65
|
+
data-target-display=""
|
|
66
|
+
>
|
|
67
|
+
{/* The build's own version, which OTAs don't target: named so. On
|
|
68
|
+
a phone, the gap clears the fingerprint's 44 px hit area. */}
|
|
69
|
+
<span title="The app version this build reports">
|
|
70
|
+
<span className="sr-only">App version </span>
|
|
71
|
+
<AppVersion value={nativeAppVersion} />
|
|
72
|
+
</span>
|
|
73
|
+
{hash}
|
|
74
|
+
</span>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
return <NoValue />;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* A native build's build key, `nbk1:` and a SHA-256 of the build's inputs,
|
|
82
|
+
* shown past its prefix as a fingerprint is, and copied whole; none for an
|
|
83
|
+
* imported build.
|
|
84
|
+
*/
|
|
85
|
+
export function BuildKeyDisplay({ value }: { readonly value: string | null }) {
|
|
86
|
+
return value ? (
|
|
87
|
+
<IconHash
|
|
88
|
+
display={value.replace(/^nbk1:/, "")}
|
|
89
|
+
icon={KeyRound}
|
|
90
|
+
value={value}
|
|
91
|
+
/>
|
|
92
|
+
) : (
|
|
93
|
+
<NoValue />
|
|
94
|
+
);
|
|
95
|
+
}
|
|
@@ -24,7 +24,12 @@ export function ThemeProvider({
|
|
|
24
24
|
const [theme, setTheme] = useState<Theme>(defaultTheme);
|
|
25
25
|
|
|
26
26
|
useEffect(() => {
|
|
27
|
-
|
|
27
|
+
let stored: Theme | null = null;
|
|
28
|
+
try {
|
|
29
|
+
stored = localStorage.getItem(storageKey) as Theme | null;
|
|
30
|
+
} catch {
|
|
31
|
+
// A browser that keeps nothing: the default theme stands.
|
|
32
|
+
}
|
|
28
33
|
if (stored) {
|
|
29
34
|
setTheme(stored);
|
|
30
35
|
}
|
|
@@ -97,7 +102,11 @@ export function ThemeProvider({
|
|
|
97
102
|
const value = {
|
|
98
103
|
theme,
|
|
99
104
|
setTheme: (newTheme: Theme) => {
|
|
100
|
-
|
|
105
|
+
try {
|
|
106
|
+
localStorage.setItem(storageKey, newTheme);
|
|
107
|
+
} catch {
|
|
108
|
+
// A browser that keeps nothing: the theme lasts this visit.
|
|
109
|
+
}
|
|
101
110
|
setTheme(newTheme);
|
|
102
111
|
},
|
|
103
112
|
};
|
|
@@ -113,7 +113,7 @@ function CreateApiKeyDialog() {
|
|
|
113
113
|
|
|
114
114
|
return (
|
|
115
115
|
<>
|
|
116
|
-
<Button onClick={() => setOpen(true)}>
|
|
116
|
+
<Button className="max-md:h-11" onClick={() => setOpen(true)}>
|
|
117
117
|
<Plus data-icon="inline-start" />
|
|
118
118
|
Create API key
|
|
119
119
|
</Button>
|
|
@@ -160,7 +160,7 @@ function CreateApiKeyDialog() {
|
|
|
160
160
|
{create.isPending ? (
|
|
161
161
|
<Loader2
|
|
162
162
|
data-icon="inline-start"
|
|
163
|
-
className="animate-spin"
|
|
163
|
+
className="animate-spin motion-reduce:animate-none"
|
|
164
164
|
/>
|
|
165
165
|
) : (
|
|
166
166
|
<KeyRound data-icon="inline-start" />
|
|
@@ -224,7 +224,9 @@ function RevokeApiKeyDialog({ record }: { record: ApiKeyView }) {
|
|
|
224
224
|
if (!revoke.isPending) setOpen(nextOpen);
|
|
225
225
|
}}
|
|
226
226
|
>
|
|
227
|
-
<AlertDialogTrigger
|
|
227
|
+
<AlertDialogTrigger
|
|
228
|
+
render={<Button className="max-md:h-11" size="sm" variant="ghost" />}
|
|
229
|
+
>
|
|
228
230
|
<ShieldOff data-icon="inline-start" />
|
|
229
231
|
Revoke
|
|
230
232
|
</AlertDialogTrigger>
|
|
@@ -5,6 +5,7 @@ import { ExternalLink } from "lucide-react";
|
|
|
5
5
|
import { HashValueDisplay } from "@/components/HashValueDisplay";
|
|
6
6
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
|
7
7
|
import { useConfigQuery } from "@/lib/api";
|
|
8
|
+
import { CONSOLE_GIT_URL_GUIDE_URL } from "@/lib/constants";
|
|
8
9
|
import { getCommitUrl } from "@/lib/git";
|
|
9
10
|
|
|
10
11
|
interface BundleMetadataProps {
|
|
@@ -29,6 +30,10 @@ export function BundleMetadata({ bundle, release }: BundleMetadataProps) {
|
|
|
29
30
|
bundle?.gitCommitHash && isFetched
|
|
30
31
|
? getCommitUrl(configData?.console.gitUrl, bundle.gitCommitHash)
|
|
31
32
|
: null;
|
|
33
|
+
const showGitUrlHint =
|
|
34
|
+
isFetched &&
|
|
35
|
+
Boolean(bundle?.gitCommitHash) &&
|
|
36
|
+
!configData?.console.gitUrl?.trim();
|
|
32
37
|
const target =
|
|
33
38
|
release.strategy === "APP_VERSION"
|
|
34
39
|
? release.target_app_version
|
|
@@ -68,13 +73,29 @@ export function BundleMetadata({ bundle, release }: BundleMetadataProps) {
|
|
|
68
73
|
<div className="flex items-center justify-start gap-1 sm:justify-end">
|
|
69
74
|
<HashValueDisplay
|
|
70
75
|
className={gitCommitUrl ? "text-primary" : undefined}
|
|
76
|
+
hint={
|
|
77
|
+
showGitUrlHint ? (
|
|
78
|
+
<>
|
|
79
|
+
Set <code className="font-mono">console.gitUrl</code>{" "}
|
|
80
|
+
in your config to open commits in your repository.{" "}
|
|
81
|
+
<a
|
|
82
|
+
className="font-medium underline underline-offset-2"
|
|
83
|
+
href={CONSOLE_GIT_URL_GUIDE_URL}
|
|
84
|
+
rel="noopener noreferrer"
|
|
85
|
+
target="_blank"
|
|
86
|
+
>
|
|
87
|
+
Learn more
|
|
88
|
+
</a>
|
|
89
|
+
</>
|
|
90
|
+
) : undefined
|
|
91
|
+
}
|
|
71
92
|
maxLength={12}
|
|
72
93
|
value={bundle.gitCommitHash}
|
|
73
94
|
/>
|
|
74
95
|
{gitCommitUrl ? (
|
|
75
96
|
<a
|
|
76
97
|
aria-label="Open git commit"
|
|
77
|
-
className="shrink-0 text-primary hover:underline"
|
|
98
|
+
className="relative shrink-0 text-primary after:absolute after:-inset-2.5 hover:underline md:after:hidden"
|
|
78
99
|
href={gitCommitUrl}
|
|
79
100
|
rel="noopener noreferrer"
|
|
80
101
|
target="_blank"
|
|
@@ -147,7 +147,14 @@ export function RolloutCohortsDialog({
|
|
|
147
147
|
return (
|
|
148
148
|
<Dialog>
|
|
149
149
|
<DialogTrigger
|
|
150
|
-
render={
|
|
150
|
+
render={
|
|
151
|
+
<Button
|
|
152
|
+
className="max-md:h-11"
|
|
153
|
+
size="sm"
|
|
154
|
+
type="button"
|
|
155
|
+
variant="outline"
|
|
156
|
+
/>
|
|
157
|
+
}
|
|
151
158
|
>
|
|
152
159
|
<List data-icon="inline-start" />
|
|
153
160
|
Preview cohorts
|
|
@@ -127,13 +127,14 @@ export function ChannelManagementDialog({
|
|
|
127
127
|
disabled={createChannel.isPending}
|
|
128
128
|
/>
|
|
129
129
|
<Button
|
|
130
|
+
className="max-md:h-11"
|
|
130
131
|
type="submit"
|
|
131
132
|
disabled={!normalizedName || createChannel.isPending}
|
|
132
133
|
>
|
|
133
134
|
{createChannel.isPending ? (
|
|
134
135
|
<Loader2
|
|
135
136
|
data-icon="inline-start"
|
|
136
|
-
className="animate-spin"
|
|
137
|
+
className="animate-spin motion-reduce:animate-none"
|
|
137
138
|
/>
|
|
138
139
|
) : (
|
|
139
140
|
<Plus data-icon="inline-start" />
|
|
@@ -147,7 +148,7 @@ export function ChannelManagementDialog({
|
|
|
147
148
|
<div className="max-h-72 overflow-y-auto rounded-lg border">
|
|
148
149
|
{isLoadingChannels ? (
|
|
149
150
|
<div className="flex h-20 items-center justify-center text-muted-foreground">
|
|
150
|
-
<Loader2 className="mr-2 size-3.5 animate-spin" />
|
|
151
|
+
<Loader2 className="mr-2 size-3.5 animate-spin motion-reduce:animate-none" />
|
|
151
152
|
Loading channels
|
|
152
153
|
</div>
|
|
153
154
|
) : channels.length === 0 ? (
|
|
@@ -161,14 +162,12 @@ export function ChannelManagementDialog({
|
|
|
161
162
|
key={channel.id}
|
|
162
163
|
className="flex min-h-12 items-center gap-3 px-3 py-2"
|
|
163
164
|
>
|
|
164
|
-
<
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
</p>
|
|
171
|
-
</div>
|
|
165
|
+
<p
|
|
166
|
+
className="min-w-0 flex-1 truncate text-xs font-medium"
|
|
167
|
+
title={channel.name}
|
|
168
|
+
>
|
|
169
|
+
{channel.name}
|
|
170
|
+
</p>
|
|
172
171
|
<Button
|
|
173
172
|
type="button"
|
|
174
173
|
variant="ghost"
|
|
@@ -177,7 +176,7 @@ export function ChannelManagementDialog({
|
|
|
177
176
|
title={`Delete ${channel.name}`}
|
|
178
177
|
disabled={deleteChannel.isPending}
|
|
179
178
|
onClick={() => setChannelToDelete(channel)}
|
|
180
|
-
className="text-muted-foreground hover:text-destructive"
|
|
179
|
+
className="text-muted-foreground hover:text-destructive max-md:size-11"
|
|
181
180
|
>
|
|
182
181
|
<Trash2 data-icon="inline-start" />
|
|
183
182
|
</Button>
|
|
@@ -37,15 +37,13 @@ import {
|
|
|
37
37
|
TableHeader,
|
|
38
38
|
TableRow,
|
|
39
39
|
} from "@/components/ui/table";
|
|
40
|
+
import { DEFAULT_CHANNEL } from "@/lib/constants";
|
|
40
41
|
import {
|
|
41
42
|
DEFAULT_INSIGHTS_RETENTION,
|
|
42
43
|
type InsightsRetentionDays,
|
|
43
44
|
keepsTwelveMonths,
|
|
44
45
|
} from "@/lib/insights-retention";
|
|
45
|
-
import {
|
|
46
|
-
DEFAULT_INSIGHTS_CHANNEL,
|
|
47
|
-
type InsightsSearch,
|
|
48
|
-
} from "@/lib/insights-search";
|
|
46
|
+
import type { InsightsSearch } from "@/lib/insights-search";
|
|
49
47
|
import type { AppUsageReport, UsageWindow } from "@/lib/insights-usage";
|
|
50
48
|
|
|
51
49
|
import { EstimatedCount } from "./EstimatedCount";
|
|
@@ -105,7 +103,7 @@ export function AppUsage({
|
|
|
105
103
|
<div className="flex min-w-0 flex-col gap-1">
|
|
106
104
|
<CardTitle>App usage</CardTitle>
|
|
107
105
|
<InsightsScope
|
|
108
|
-
channel={search.channel ??
|
|
106
|
+
channel={search.channel ?? DEFAULT_CHANNEL}
|
|
109
107
|
platform={search.platform ?? "all"}
|
|
110
108
|
narrower={
|
|
111
109
|
search.appVersion ? [`App version ${search.appVersion}`] : []
|
|
@@ -113,7 +113,7 @@ function FailureDetail({ group }: { readonly group: FailureGroup }) {
|
|
|
113
113
|
</p>
|
|
114
114
|
) : null}
|
|
115
115
|
<Button
|
|
116
|
-
className="w-fit"
|
|
116
|
+
className="w-fit max-md:h-11"
|
|
117
117
|
variant="outline"
|
|
118
118
|
onClick={() => void copy()}
|
|
119
119
|
>
|
|
@@ -175,7 +175,7 @@ function FailureDetail({ group }: { readonly group: FailureGroup }) {
|
|
|
175
175
|
<EventBundleTransition event={event} />
|
|
176
176
|
<Button
|
|
177
177
|
variant="outline"
|
|
178
|
-
className="w-fit"
|
|
178
|
+
className="w-fit max-md:h-11"
|
|
179
179
|
render={
|
|
180
180
|
<Link
|
|
181
181
|
to="/installations"
|
|
@@ -260,6 +260,7 @@ export function FailureReportsList({
|
|
|
260
260
|
variant="ghost"
|
|
261
261
|
size="icon-lg"
|
|
262
262
|
aria-label="Refresh error reports"
|
|
263
|
+
className="max-md:size-11"
|
|
263
264
|
disabled={isFetching}
|
|
264
265
|
onClick={onRefresh}
|
|
265
266
|
>
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import { RotateCcw, X } from "lucide-react";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
3
|
|
|
4
|
+
import { ChannelPicker, FilterChip } from "@/components/ChannelPicker";
|
|
4
5
|
import { PlatformIcon } from "@/components/PlatformIcon";
|
|
5
6
|
import { Button } from "@/components/ui/button";
|
|
6
|
-
import {
|
|
7
|
-
Combobox,
|
|
8
|
-
ComboboxContent,
|
|
9
|
-
ComboboxEmpty,
|
|
10
|
-
ComboboxInput,
|
|
11
|
-
ComboboxItem,
|
|
12
|
-
ComboboxList,
|
|
13
|
-
ComboboxTrigger,
|
|
14
|
-
} from "@/components/ui/combobox";
|
|
7
|
+
import { ComboboxTrigger } from "@/components/ui/combobox";
|
|
15
8
|
import {
|
|
16
9
|
Select,
|
|
17
10
|
SelectContent,
|
|
@@ -20,8 +13,7 @@ import {
|
|
|
20
13
|
SelectTrigger,
|
|
21
14
|
SelectValue,
|
|
22
15
|
} from "@/components/ui/select";
|
|
23
|
-
import {
|
|
24
|
-
import { DEFAULT_INSIGHTS_CHANNEL } from "@/lib/insights-search";
|
|
16
|
+
import { DEFAULT_CHANNEL } from "@/lib/constants";
|
|
25
17
|
import type { AdoptionRelease, HealthPlatform } from "@/lib/release-adoption";
|
|
26
18
|
|
|
27
19
|
import { platformLabel } from "./InsightsScope";
|
|
@@ -36,15 +28,13 @@ export type InsightsFilters = {
|
|
|
36
28
|
};
|
|
37
29
|
|
|
38
30
|
const DEFAULT_FILTERS = {
|
|
39
|
-
channel:
|
|
31
|
+
channel: DEFAULT_CHANNEL,
|
|
40
32
|
platform: "all",
|
|
41
33
|
appVersion: undefined,
|
|
42
34
|
releaseId: undefined,
|
|
43
35
|
} as const satisfies InsightsFilters;
|
|
44
36
|
|
|
45
37
|
// One look for every filter; a filter narrower than its default is filled.
|
|
46
|
-
const CHIP =
|
|
47
|
-
"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";
|
|
48
38
|
const SELECT_CHIP =
|
|
49
39
|
"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";
|
|
50
40
|
|
|
@@ -101,8 +91,6 @@ export function InsightsControls({
|
|
|
101
91
|
...(filters.appVersion ? [filters.appVersion] : []),
|
|
102
92
|
]),
|
|
103
93
|
];
|
|
104
|
-
const channelsQuery = useChannelsQuery();
|
|
105
|
-
const channels = channelsQuery.data?.map((item) => item.name) ?? [];
|
|
106
94
|
const narrowed = {
|
|
107
95
|
channel: filters.channel !== DEFAULT_FILTERS.channel,
|
|
108
96
|
platform: filters.platform !== DEFAULT_FILTERS.platform,
|
|
@@ -116,60 +104,13 @@ export function InsightsControls({
|
|
|
116
104
|
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"
|
|
117
105
|
role="group"
|
|
118
106
|
>
|
|
119
|
-
<
|
|
120
|
-
|
|
107
|
+
<ChannelPicker
|
|
108
|
+
active={narrowed.channel}
|
|
121
109
|
value={filters.channel}
|
|
122
|
-
onValueChange={(
|
|
123
|
-
if (
|
|
124
|
-
onFiltersChange({ channel: value });
|
|
110
|
+
onValueChange={(channel) => {
|
|
111
|
+
if (channel !== undefined) onFiltersChange({ channel });
|
|
125
112
|
}}
|
|
126
|
-
|
|
127
|
-
<ComboboxTrigger
|
|
128
|
-
aria-label={`Channel: ${filters.channel}`}
|
|
129
|
-
data-active={narrowed.channel}
|
|
130
|
-
render={<Button className={CHIP} variant="outline" />}
|
|
131
|
-
>
|
|
132
|
-
<span className="text-muted-foreground">Channel</span>
|
|
133
|
-
<span className="max-w-48 truncate">{filters.channel}</span>
|
|
134
|
-
</ComboboxTrigger>
|
|
135
|
-
<ComboboxContent className="w-64">
|
|
136
|
-
<ComboboxInput
|
|
137
|
-
aria-label="Search channels"
|
|
138
|
-
placeholder="Search channels…"
|
|
139
|
-
showTrigger={false}
|
|
140
|
-
maxLength={1024}
|
|
141
|
-
/>
|
|
142
|
-
<ComboboxEmpty>
|
|
143
|
-
{channelsQuery.isPending ? (
|
|
144
|
-
"Loading channels…"
|
|
145
|
-
) : channelsQuery.isError ? (
|
|
146
|
-
<div className="flex flex-col items-center gap-2 p-2">
|
|
147
|
-
Couldn't load channels.
|
|
148
|
-
<Button
|
|
149
|
-
onClick={() => void channelsQuery.refetch()}
|
|
150
|
-
size="sm"
|
|
151
|
-
variant="outline"
|
|
152
|
-
>
|
|
153
|
-
Retry channels
|
|
154
|
-
</Button>
|
|
155
|
-
</div>
|
|
156
|
-
) : (
|
|
157
|
-
"No channels found."
|
|
158
|
-
)}
|
|
159
|
-
</ComboboxEmpty>
|
|
160
|
-
<ComboboxList>
|
|
161
|
-
{(item: string) => (
|
|
162
|
-
<ComboboxItem
|
|
163
|
-
className="min-h-11 pr-8 sm:min-h-8"
|
|
164
|
-
key={item}
|
|
165
|
-
value={item}
|
|
166
|
-
>
|
|
167
|
-
<span className="truncate">{item}</span>
|
|
168
|
-
</ComboboxItem>
|
|
169
|
-
)}
|
|
170
|
-
</ComboboxList>
|
|
171
|
-
</ComboboxContent>
|
|
172
|
-
</Combobox>
|
|
113
|
+
/>
|
|
173
114
|
<Clearable
|
|
174
115
|
name="platform"
|
|
175
116
|
active={narrowed.platform}
|
|
@@ -265,7 +206,7 @@ export function InsightsControls({
|
|
|
265
206
|
candidates={releases}
|
|
266
207
|
excluded={filters.releaseId ? [filters.releaseId] : []}
|
|
267
208
|
label="Search releases"
|
|
268
|
-
placeholder="Search by ID or app version…"
|
|
209
|
+
placeholder="Search by label, ID or app version…"
|
|
269
210
|
onPick={(release) =>
|
|
270
211
|
onFiltersChange({ releaseId: release.releaseId })
|
|
271
212
|
}
|
|
@@ -273,13 +214,18 @@ export function InsightsControls({
|
|
|
273
214
|
<ComboboxTrigger
|
|
274
215
|
aria-label={`Release: ${filters.releaseId ?? "All"}`}
|
|
275
216
|
data-active={narrowed.releaseId}
|
|
276
|
-
render={<
|
|
217
|
+
render={<FilterChip />}
|
|
277
218
|
>
|
|
278
219
|
<span className="text-muted-foreground">Release</span>
|
|
279
220
|
{filters.releaseId ? (
|
|
280
|
-
<
|
|
281
|
-
{filters.releaseId}
|
|
282
|
-
|
|
221
|
+
<PickedRelease
|
|
222
|
+
releaseId={filters.releaseId}
|
|
223
|
+
label={
|
|
224
|
+
releases.find(
|
|
225
|
+
({ releaseId }) => releaseId === filters.releaseId,
|
|
226
|
+
)?.label ?? null
|
|
227
|
+
}
|
|
228
|
+
/>
|
|
283
229
|
) : (
|
|
284
230
|
"All"
|
|
285
231
|
)}
|
|
@@ -300,3 +246,22 @@ export function InsightsControls({
|
|
|
300
246
|
</div>
|
|
301
247
|
);
|
|
302
248
|
}
|
|
249
|
+
|
|
250
|
+
/** The picked release: its label when the loaded releases have it, else its ID. */
|
|
251
|
+
function PickedRelease({
|
|
252
|
+
releaseId,
|
|
253
|
+
label,
|
|
254
|
+
}: {
|
|
255
|
+
readonly releaseId: string;
|
|
256
|
+
readonly label: number | null;
|
|
257
|
+
}) {
|
|
258
|
+
return label === null ? (
|
|
259
|
+
<span className="max-w-36 truncate font-mono" translate="no">
|
|
260
|
+
{releaseId}
|
|
261
|
+
</span>
|
|
262
|
+
) : (
|
|
263
|
+
<span className="tabular-nums" title={releaseId} translate="no">
|
|
264
|
+
v{label}
|
|
265
|
+
</span>
|
|
266
|
+
);
|
|
267
|
+
}
|
|
@@ -371,6 +371,7 @@ export function InsightsOverview({
|
|
|
371
371
|
aria-label="Refresh release health"
|
|
372
372
|
variant="ghost"
|
|
373
373
|
size="icon-lg"
|
|
374
|
+
className="max-md:size-11"
|
|
374
375
|
disabled={health.isFetching}
|
|
375
376
|
onClick={health.refresh}
|
|
376
377
|
>
|
|
@@ -429,6 +430,7 @@ export function InsightsOverview({
|
|
|
429
430
|
<BundleIdDisplay
|
|
430
431
|
bundleId={bundle.release.releaseId}
|
|
431
432
|
className="text-sm"
|
|
433
|
+
label={bundle.release.label}
|
|
432
434
|
/>
|
|
433
435
|
</AlertTitle>
|
|
434
436
|
<AlertDescription className="flex flex-col items-start gap-3">
|
|
@@ -523,6 +525,7 @@ export function InsightsOverview({
|
|
|
523
525
|
<BundleIdDisplay
|
|
524
526
|
bundleId={release.releaseId}
|
|
525
527
|
className="min-w-0"
|
|
528
|
+
label={release.label}
|
|
526
529
|
/>
|
|
527
530
|
{release.enabled ? null : (
|
|
528
531
|
<Badge variant="outline">Disabled</Badge>
|
|
@@ -616,6 +619,7 @@ export function InsightsOverview({
|
|
|
616
619
|
<TableCell>
|
|
617
620
|
<Button
|
|
618
621
|
aria-label={`Remove ${release.releaseId}`}
|
|
622
|
+
className="max-md:size-11"
|
|
619
623
|
variant="ghost"
|
|
620
624
|
size="icon-xs"
|
|
621
625
|
onClick={() => remove(release.releaseId)}
|
|
@@ -638,7 +642,7 @@ export function InsightsOverview({
|
|
|
638
642
|
placeholder={
|
|
639
643
|
full
|
|
640
644
|
? `Up to ${MAX_ADOPTION_RELEASES} bundles`
|
|
641
|
-
: "Add a bundle by ID or app version…"
|
|
645
|
+
: "Add a bundle by label, ID or app version…"
|
|
642
646
|
}
|
|
643
647
|
onPick={(release) =>
|
|
644
648
|
onReleasesChange([...ids, release.releaseId])
|
|
@@ -650,7 +654,11 @@ export function InsightsOverview({
|
|
|
650
654
|
</CardContent>
|
|
651
655
|
<CardFooter className="flex items-center justify-end border-t px-6 py-5">
|
|
652
656
|
<Link
|
|
653
|
-
className={buttonVariants({
|
|
657
|
+
className={buttonVariants({
|
|
658
|
+
className: "max-md:h-11",
|
|
659
|
+
variant: "outline",
|
|
660
|
+
size: "sm",
|
|
661
|
+
})}
|
|
654
662
|
to="/installations"
|
|
655
663
|
>
|
|
656
664
|
<ListIcon aria-hidden="true" />
|