@hot-updater/console 1.2.0-rc.4 → 1.2.0-rc.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/assets/-native-builds-search-BFcW2mlI.js +1 -0
- package/.output/public/assets/BundleIdDisplay-C0X-k49t.js +1 -0
- package/.output/public/assets/ChannelBadge-BgVCJfJs.js +1 -0
- package/.output/public/assets/ChannelPicker-BQKoyxnf.js +1 -0
- package/.output/public/assets/CompositeItem-B7uxFM46.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-B3VCINom.js} +1 -1
- package/.output/public/assets/EventDetails-CWiI1CXb.js +1 -0
- package/.output/public/assets/HashValueDisplay-DvwvQchI.js +1 -0
- package/.output/public/assets/InsightsPageHeader-BjUAikRe.js +1 -0
- package/.output/public/assets/IosInstall-B5IdjCP2.js +1 -0
- package/.output/public/assets/NativeBuildsNav-BKdnlKMN.js +1 -0
- package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-BEpesHEm.js} +1 -1
- package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-D4KPXCHL.js} +1 -1
- package/.output/public/assets/QrCode-BFSCkbPj.js +1 -0
- package/.output/public/assets/RelativeTime-5ZP9WlQ6.js +1 -0
- package/.output/public/assets/RolloutPercentageBadge-DCtG7c1o.js +1 -0
- package/.output/public/assets/RowReason-CXMCJ-Jc.js +1 -0
- package/.output/public/assets/SandboxBadge-PM92jCk6.js +1 -0
- package/.output/public/assets/TargetDisplay-DG_I3qln.js +1 -0
- package/.output/public/assets/alert-dialog-DGPqJBCk.js +1 -0
- package/.output/public/assets/api-eO-sq3Jd.js +1 -0
- package/.output/public/assets/api-keys-CAVLgicI.js +1 -0
- package/.output/public/assets/api-keys-ztwXoKcj.js +1 -0
- package/.output/public/assets/arrow-left-68S4uy4I.js +1 -0
- package/.output/public/assets/arrow-right-DjRwIoF1.js +1 -0
- package/.output/public/assets/arrow-up-right-C_1ALUCD.js +1 -0
- package/.output/public/assets/badge-zMibJGR5.js +1 -0
- package/.output/public/assets/card-BAs80yql.js +1 -0
- package/.output/public/assets/check-C3VCvMOV.js +1 -0
- package/.output/public/assets/chevron-right-RAuPv9r1.js +1 -0
- package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-DvYMC5yF.js} +1 -1
- package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-D0JWZ1KF.js} +1 -1
- package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-CtbGqKyr.js} +1 -1
- package/.output/public/assets/{uuidv7-zXMtwR9Q.js → constants-C5gi7fdZ.js} +1 -1
- package/.output/public/assets/{copy-DsuLj3oj.js → copy-BjVLMKbo.js} +1 -1
- package/.output/public/assets/dialog-BvZDZzdQ.js +1 -0
- package/.output/public/assets/dist-BEmib-ZM.js +1 -0
- package/.output/public/assets/{download-Cf24LBde.js → download-CgpaZb23.js} +1 -1
- package/.output/public/assets/empty-C5GqArX9.js +1 -0
- package/.output/public/assets/field-DInLQ5oV.js +1 -0
- package/.output/public/assets/git-branch-BGatQV8Q.js +1 -0
- package/.output/public/assets/history-Ci4dhphE.js +1 -0
- package/.output/public/assets/index-Ck4fZq4M.js +10 -0
- package/.output/public/assets/input-group-CIjTdxCW.js +1 -0
- package/.output/public/assets/insights-V3D8tYPQ.js +1 -0
- package/.output/public/assets/insights-api-D4-FZeEI.js +1 -0
- package/.output/public/assets/insights-fSY6n4k3.js +42 -0
- package/.output/public/assets/insights-osTmFzzR.js +2 -0
- package/.output/public/assets/insights-search-CZtvD-Vf.js +1 -0
- package/.output/public/assets/insights-usage-rpc-Dw5_pmRH.js +1 -0
- package/.output/public/assets/insights_.distribution-Cws8lYLC.js +1 -0
- package/.output/public/assets/insights_.distribution-DpppHhaU.js +2 -0
- package/.output/public/assets/insights_.distribution-oIFSv2TC.js +1 -0
- package/.output/public/assets/installations-Byojb0Rv.js +2 -0
- package/.output/public/assets/installations-CFGDrY-W.js +1 -0
- package/.output/public/assets/installations-CcPrSZwW.js +1 -0
- package/.output/public/assets/{key-round-DwNKkHhy.js → key-round-BkeLvA1m.js} +1 -1
- package/.output/public/assets/{link-DTEyW70e.js → link-CRMwpc7-.js} +2 -2
- package/.output/public/assets/{list--NIee1FZ.js → list-DQ9YBIDW.js} +1 -1
- package/.output/public/assets/loader-circle-8lunBReu.js +1 -0
- package/.output/public/assets/native-builds-C4u6JvxV.js +2 -0
- package/.output/public/assets/native-builds-D9hoJd6W.js +1 -0
- package/.output/public/assets/native-builds-zwqucwx2.js +1 -0
- package/.output/public/assets/native-builds_._buildId-CXx2xjoI.js +1 -0
- package/.output/public/assets/native-builds_._buildId-DymsEZlO.js +2 -0
- package/.output/public/assets/native-builds_.devices-DF3g--dt.js +1 -0
- package/.output/public/assets/native-builds_.devices-QToUV8FB.js +2 -0
- package/.output/public/assets/plus-DztQIXYL.js +1 -0
- package/.output/public/assets/preload-helper-CE9OukVC.js +1 -0
- package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-RUNbaMyO.js} +1 -1
- package/.output/public/assets/remote-config-BIIj0Faf.js +1 -0
- package/.output/public/assets/remote-config-BJJAxy_g.js +6 -0
- package/.output/public/assets/remote-config-Dm1MCHDN.js +1 -0
- package/.output/public/assets/rotate-ccw-tITIe0Bd.js +1 -0
- package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-BFQcpUTO.js} +1 -1
- package/.output/public/assets/routes-9gxYg__u.js +1 -0
- package/.output/public/assets/routes-CUsayL0T.js +2 -0
- package/.output/public/assets/search-BfEqtE64.js +1 -0
- package/.output/public/assets/select-Bk52fOVX.js +1 -0
- package/.output/public/assets/sidebar-BmzmPGuv.js +3 -0
- package/.output/public/assets/smartphone-Dy13ukaU.js +1 -0
- package/.output/public/assets/styles-C1iqL6CR.css +2 -0
- package/.output/public/assets/switch-CI393qIT.js +1 -0
- package/.output/public/assets/table-DbZPkzdz.js +1 -0
- package/.output/public/assets/tabs-BnpNC0zf.js +1 -0
- package/.output/public/assets/trash-2-DI0biNI-.js +1 -0
- package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-CxhBbgJw.js} +1 -1
- package/.output/public/assets/useAnchoredPopupScrollLock-Cvx6CdPD.js +1 -0
- package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-Cbk_weKW.js} +1 -1
- package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-D7IuoOLE.js} +1 -1
- package/.output/public/assets/valueToPercent-Db73Kirz.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-X9YQcrQI.mjs → __23tanstack-start-server-fn-resolver-76SKGuoc.mjs} +94 -46
- package/.output/server/_chunks/ssr-renderer.mjs +2 -2
- package/.output/server/_libs/@base-ui/react+[...].mjs +4436 -3131
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +2 -2
- package/.output/server/_libs/_.mjs +2 -0
- package/.output/server/_libs/lucide-react.mjs +34 -28
- package/.output/server/_libs/next-themes.mjs +1 -1
- package/.output/server/_libs/react-redux+[...].mjs +1 -1
- package/.output/server/_libs/recharts+[...].mjs +1 -1
- package/.output/server/_libs/sonner.mjs +1 -1
- package/.output/server/_libs/tanstack__react-query.mjs +1 -1
- package/.output/server/_ssr/-native-builds-search-Bwt8tQzp.mjs +55 -0
- package/.output/server/_ssr/{BundleIdDisplay-BVrZXzTm.mjs → BundleIdDisplay-By3CbbRM.mjs} +3 -3
- package/.output/server/_ssr/ChannelBadge-CDup7l56.mjs +23 -0
- package/.output/server/_ssr/ChannelPicker-Du2TmP3P.mjs +251 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-CULyV3nR.mjs → ConsoleFeatureUnavailable-C6aGoKDE.mjs} +8 -8
- package/.output/server/_ssr/{EventDetails-DeI1rOQc.mjs → EventDetails-VbcnMnSs.mjs} +9 -9
- package/.output/server/_ssr/{HashValueDisplay-DpnPD3U2.mjs → HashValueDisplay-CnC2fHER.mjs} +7 -7
- package/.output/server/_ssr/{InsightsPageHeader-Dwmdtelg.mjs → InsightsPageHeader-BuOanVZL.mjs} +13 -13
- package/.output/server/_ssr/IosInstall-BAFhW7Q9.mjs +751 -0
- package/.output/server/_ssr/NativeBuildsNav-BoTu4aLF.mjs +38 -0
- package/.output/server/_ssr/{NotFoundPage-Dddp1HSc.mjs → NotFoundPage-Bz05xF5Q.mjs} +3 -3
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-C22qEcwo.mjs} +13 -3
- package/.output/server/_ssr/QrCode-DWshAW81.mjs +50 -0
- package/.output/server/_ssr/RelativeTime-D5kDQVn1.mjs +242 -0
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-Dwx7dEeQ.mjs} +20 -4
- package/.output/server/_ssr/RowReason-pVOWQ7t5.mjs +186 -0
- package/.output/server/_ssr/SandboxBadge-DFbUYwhO.mjs +85 -0
- package/.output/server/_ssr/TargetDisplay-BtE5vntq.mjs +105 -0
- package/.output/server/_ssr/{alert-dialog-ei2c1b6A.mjs → alert-dialog-tcfkkNUX.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-CVi7E0qS.mjs → api-keys-12_U0SQM.mjs} +14 -11
- package/.output/server/_ssr/{api-keys-BLHCygD_.mjs → api-keys-Bm8uDp2u.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-CLZsTwih.mjs → api-keys-rpc-BxkfToWI.mjs} +4 -4
- package/.output/server/_ssr/{api-rpc-p-7EhGIG.mjs → api-rpc-TSnLWB7e.mjs} +83 -35
- package/.output/server/_ssr/{api-CvwqILEx.mjs → api-xOHZxbzu.mjs} +174 -37
- package/.output/server/_ssr/{auth-rpc-B1W4-hxa.mjs → auth-rpc-D3w54vsW.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-CVKs7SWJ.mjs → auth.server-a2eP6q5P.mjs} +952 -186
- package/.output/server/_ssr/{badge-nS9EbEA0.mjs → badge-DrfbN1n0.mjs} +4 -45
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-a-pEDiqu.mjs} +1 -1
- package/.output/server/_ssr/card-DEItjgKG.mjs +49 -0
- package/.output/server/_ssr/{config.server-BAdvotbH.mjs → config.server-K8dd4dRv.mjs} +4 -4
- package/.output/server/_ssr/{console-access-BiuC2QFp.mjs → console-access-D-DHU4YH.mjs} +2 -2
- package/.output/server/_ssr/{console-features-BTV-XuhQ.mjs → console-features-DTYyXrWO.mjs} +1 -1
- package/.output/server/_ssr/{console-features-api-FvbqhbTg.mjs → console-features-api-Chy2PrzZ.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-Cl3J66aP.mjs → console-features-rpc-_31L0k1i.mjs} +4 -4
- package/.output/server/_ssr/constants-BjsJZqaU.mjs +10 -0
- package/.output/server/_ssr/{createServerRpc-BVvRVOz5.mjs → createServerRpc-DJZel12M.mjs} +1 -1
- package/.output/server/_ssr/{databaseConfig-B_Bg7qS5.mjs → databaseConfig-B56IJxlu.mjs} +1 -1
- package/.output/server/_ssr/{databaseJsonValue-kS7cvEtz.mjs → databaseJsonValue-DuUoft8j.mjs} +1 -1
- package/.output/server/_ssr/{databaseRows-B6H8Cmgq.mjs → databaseRows-BZMFl5QV.mjs} +3 -3
- package/.output/server/_ssr/deviceProfileToken-xzDLfE0T.mjs +98 -0
- package/.output/server/_ssr/{dialog-GmTPeUS4.mjs → dialog-SAl1vP74.mjs} +5 -5
- package/.output/server/_ssr/dist-CiOq3ygH.mjs +148 -0
- package/.output/server/_ssr/{downloadBundle-DCmr7vsj.mjs → downloadBundle-C1KOnpiF.mjs} +1 -1
- package/.output/server/_ssr/{empty-CXWKv24M.mjs → empty-opJc9Fjw.mjs} +3 -3
- package/.output/server/_ssr/{empty-plugin-adapters-zrZ0xs6n.mjs → empty-plugin-adapters-BYBYBaxo.mjs} +1 -1
- package/.output/server/_ssr/{failureReports-Cn_zU9S8.mjs → failureReports-BVufgM3l.mjs} +3 -3
- package/.output/server/_ssr/{field-lwIHAwLc.mjs → field-D6Y7zDZd.mjs} +3 -3
- package/.output/server/_ssr/foldedPage-CUjJqtlF.mjs +176 -0
- package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-CnOf4Frp.mjs} +2 -2
- package/.output/server/_ssr/{input-group-Dgr4DNbE.mjs → input-group-D2PvPRdm.mjs} +3 -3
- package/.output/server/_ssr/{insights-BxtyBLt0.mjs → insights-Cro4cYp7.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-PN_9ilr8.mjs → insights-api-BPyvQert.mjs} +5 -5
- package/.output/server/_ssr/{insights-DSnQTQw1.mjs → insights-dWeLneo1.mjs} +45 -191
- package/.output/server/_ssr/{insights-errors-7BCwFybo.mjs → insights-errors-DwUaDs0Z.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-DGO2_3Vx.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-Cxu3UtyB.mjs → insights-failures-rpc-D7M8-Et9.mjs} +11 -11
- package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-Cdg3Msrj.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc--c6kBp3k.mjs → insights-recovery-rpc-BUMK4m4H.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-oTMaAqc1.mjs → insights-rpc-BZZ4U2Ll.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-r-Z50f0Y.mjs → insights-search-Czi553oN.mjs} +6 -8
- package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-BVm7CDw9.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-DoElOI5b.mjs → insights-usage-rpc-BXvUr-z6.mjs} +7 -7
- package/.output/server/_ssr/{insights-usage-rpc-B00vjt0a.mjs → insights-usage-rpc-HOr6mniz.mjs} +5 -5
- package/.output/server/_ssr/{insights-B9NvjAWc.mjs → insights-vmCmvfXx.mjs} +5 -5
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-lPKyRC2o.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-CnYddZ2Y.mjs → insights_.distribution-B2dxcCd_.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-mpZ0wS_R.mjs → insights_.distribution-B5V_NbK4.mjs} +17 -16
- package/.output/server/_ssr/{insights_.distribution-B8AMBp-Q.mjs → insights_.distribution-DongF2jp.mjs} +5 -5
- package/.output/server/_ssr/{installations-BfhcY_XQ.mjs → installations-B7w4LGJp.mjs} +4 -4
- package/.output/server/_ssr/{installations-CWTRzcR7.mjs → installations-B84kSetd.mjs} +2 -2
- package/.output/server/_ssr/{installations-O6Jzc5PO.mjs → installations-bieZA3xt.mjs} +13 -13
- package/.output/server/_ssr/ios-devices-rpc-DOQg4dpb.mjs +137 -0
- package/.output/server/_ssr/iosDeviceCookie-DhWNFpC6.mjs +155 -0
- package/.output/server/_ssr/iosDeviceProfile-jC8w4zEF.mjs +176 -0
- package/.output/server/_ssr/iosDevices-B4kQLURA.mjs +113 -0
- package/.output/server/_ssr/listReleases-QF91GLE7.mjs +94 -0
- package/.output/server/_ssr/{request-guard-CPdRBuGW.mjs → local-console-Dtxlsav0.mjs} +2 -9
- package/.output/server/_ssr/native-artifact-D4ZISXRZ.mjs +1517 -0
- package/.output/server/_ssr/native-builds-BU9Njiwm.mjs +696 -0
- package/.output/server/_ssr/native-builds-lEyKQemV.mjs +262 -0
- package/.output/server/_ssr/{native-builds-UIgRLMb8.mjs → native-builds-zpCsEYyA.mjs} +3 -3
- package/.output/server/_ssr/{native-builds_._buildId-DjUqI5sa.mjs → native-builds_._buildId-BJ4R32fq.mjs} +3 -3
- package/.output/server/_ssr/native-builds_._buildId-RHUotAYb.mjs +1148 -0
- package/.output/server/_ssr/native-builds_.devices-C0IlQkLv.mjs +10 -0
- package/.output/server/_ssr/native-builds_.devices-D1Ke-Fc-.mjs +820 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-MCd5xUqP.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-DcsqDS-O.mjs +253 -0
- package/.output/server/_ssr/nativeBuilds-CRa36wNn.mjs +287 -0
- package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
- package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-D9CCkDjn.mjs} +7 -6
- package/.output/server/_ssr/publicConsoleBase-wTKw3_iB.mjs +15 -0
- package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-gfhE5tz5.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-PLyiDnas.mjs → release-adoption-rpc-C4G_d8qK.mjs} +9 -9
- package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-DfEYq7I4.mjs} +4 -4
- package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-CJ2Shida.mjs} +4 -3
- package/.output/server/_ssr/{releaseManagement-DHUux2az.mjs → releaseManagement-CqIc-SDE.mjs} +1 -1
- package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-Ch1JpJkY.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-C5j4CfGa.mjs → remote-config-1QZ0HgEu.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-eNxv5Kzc.mjs → remote-config-CsbpqWAR.mjs} +24 -23
- package/.output/server/_ssr/{remote-config-tOdzsFMi.mjs → remote-config-DkgBxBka.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-Cy4VwdMt.mjs → remote-config-rpc-KjJA9DC-.mjs} +5 -5
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-DaQ6OkIp.mjs → router-Dy3fmb8q.mjs} +137 -64
- package/.output/server/_ssr/{routes-Drni4c1E.mjs → routes-68rZQGee.mjs} +470 -474
- package/.output/server/_ssr/{routes-BYmUIYfN.mjs → routes-Ug9uqzob.mjs} +50 -18
- package/.output/server/_ssr/{runtime.server-BdMY1blX.mjs → runtime.server-BUbb281Z.mjs} +4 -4
- package/.output/server/_ssr/{schema-ChlRtZIo.mjs → schema-CaIuQCXb.mjs} +1 -1
- package/.output/server/_ssr/{schema-migration-rpc-mZ_19Wt_.mjs → schema-migration-rpc-kntY9oPm.mjs} +4 -4
- package/.output/server/_ssr/{select-Cjrp1Sl9.mjs → select-BOKFFr_G.mjs} +12 -10
- package/.output/server/_ssr/{server-y3KoaSil.mjs → server-DetMvRBJ.mjs} +7 -7
- package/.output/server/_ssr/{sidebar-tRHVNWpo.mjs → sidebar-B46houn0.mjs} +17 -10
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-BvDsQehg.mjs → start-BSkL2B6C.mjs} +2 -2
- package/.output/server/_ssr/{switch-YrqCYfP-.mjs → switch-BMYzd71j.mjs} +4 -4
- package/.output/server/_ssr/{table-NHakBPSp.mjs → table-DWrYwJ_a.mjs} +2 -2
- package/.output/server/_ssr/tabs-DusHAcYy.mjs +45 -0
- package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-BwDwIoNu.mjs} +3 -3
- package/.output/server/_ssr/{dist-TEpM_UAD.mjs → uuid-kZvLA0Ly-DNL0qBSj.mjs} +2 -147
- package/.output/server/_ssr/{uuidv7-BIF4nb_q.mjs → uuidv7-C0jNe2Om.mjs} +2 -2
- package/.output/server/_ssr/{version-CQ98ZBpL-CWSkTT9J.mjs → version-CQ98ZBpL-zW2fpHOZ.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-CD1q5k0m.mjs +228 -0
- package/.output/server/index.mjs +503 -391
- package/lib/index.d.mts +9 -0
- package/package.json +7 -30
- package/src/components/AppSidebar.tsx +11 -2
- package/src/components/ChannelBadge.tsx +9 -9
- package/src/components/ChannelPicker.tsx +227 -0
- package/src/components/DataTable.tsx +363 -0
- package/src/components/FoldedRows.tsx +219 -0
- package/src/components/HashValueDisplay.tsx +6 -3
- package/src/components/PlatformIcon.tsx +10 -0
- package/src/components/RelativeTime.tsx +31 -0
- package/src/components/RowReason.tsx +56 -0
- package/src/components/TargetDisplay.tsx +95 -0
- package/src/components/ThemeProvider.tsx +11 -2
- package/src/components/features/api-keys/ApiKeysPage.tsx +5 -3
- package/src/components/features/bundles/BundleMetadata.tsx +1 -1
- package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +10 -11
- package/src/components/features/insights/AppUsage.tsx +3 -5
- package/src/components/features/insights/FailureReports.tsx +3 -2
- package/src/components/features/insights/InsightsControls.tsx +10 -69
- package/src/components/features/insights/InsightsOverview.tsx +7 -1
- package/src/components/features/insights/InsightsPageHeader.tsx +10 -15
- package/src/components/features/insights/ReleaseActivity.tsx +6 -2
- package/src/components/features/insights/ReleaseCombobox.tsx +1 -1
- package/src/components/features/insights/UpdateFailures.tsx +1 -0
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +122 -61
- package/src/components/features/native-builds/CommitLink.tsx +3 -2
- package/src/components/features/native-builds/ImportBuild.tsx +1 -1
- package/src/components/features/native-builds/InstallCard.tsx +316 -91
- package/src/components/features/native-builds/IosDevicesPage.tsx +1100 -0
- package/src/components/features/native-builds/IosInstall.tsx +732 -0
- package/src/components/features/native-builds/IpaDevicesCard.tsx +111 -0
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +30 -6
- package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
- package/src/components/features/native-builds/NativeBuildsPage.tsx +94 -108
- package/src/components/features/native-builds/NativeBuildsTable.tsx +649 -323
- package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
- package/src/components/features/native-builds/PatchesCard.tsx +28 -19
- package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +5 -5
- package/src/components/features/native-builds/SandboxBadge.tsx +21 -0
- package/src/components/features/native-builds/ServedNowCard.tsx +33 -1
- package/src/components/features/native-builds/ShortHash.tsx +6 -3
- package/src/components/features/native-builds/StoreSubmission.tsx +18 -12
- package/src/components/features/native-builds/playTracks.ts +7 -0
- package/src/components/features/releases/ReleaseEditorSheet.tsx +8 -6
- package/src/components/features/remote-config/PublishDialog.tsx +4 -1
- package/src/components/features/remote-config/VersionsCard.tsx +5 -2
- package/src/components/ui/alert-dialog.tsx +2 -2
- package/src/components/ui/badge.tsx +2 -0
- package/src/components/ui/button.tsx +11 -2
- package/src/components/ui/combobox.tsx +2 -2
- package/src/components/ui/dialog.tsx +3 -3
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/select.tsx +15 -7
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/sidebar.tsx +2 -2
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/sonner.tsx +3 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/index.ts +9 -0
- package/src/lib/api-rpc.ts +125 -35
- package/src/lib/api.ts +160 -16
- package/src/lib/constants.ts +15 -0
- package/src/lib/insights-search.ts +0 -3
- package/src/lib/ios-devices-api.ts +290 -0
- package/src/lib/ios-devices-rpc.ts +188 -0
- package/src/lib/native-builds.ts +261 -20
- package/src/lib/server/console-runtime.server.ts +9 -2
- package/src/lib/server/deviceProfileToken.ts +221 -0
- package/src/lib/server/foldedPage.ts +360 -0
- package/src/lib/server/iosDeviceCookie.ts +239 -0
- package/src/lib/server/iosDeviceProfile.ts +232 -0
- package/src/lib/server/iosDevices.ts +193 -0
- package/src/lib/server/listReleases.ts +101 -62
- package/src/lib/server/local-console.ts +1 -1
- package/src/lib/server/nativeBuildDownloadLink.ts +193 -0
- package/src/lib/server/nativeBuildInstall.ts +502 -0
- package/src/lib/server/nativeBuilds.ts +314 -58
- package/src/lib/server/plistText.ts +17 -0
- package/src/lib/server/publicConsoleBase.ts +17 -0
- package/src/routeTree.gen.ts +129 -18
- package/src/routes/-native-builds-search.ts +52 -4
- package/src/routes/-releases-search.ts +63 -2
- package/src/routes/[_]hot-updater/devices/device-response.ts +21 -0
- package/src/routes/[_]hot-updater/devices/device[.]mobileconfig.ts +17 -0
- package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
- package/src/routes/[_]hot-updater/devices/request.ts +28 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/manifest[.]plist.ts +22 -0
- package/src/routes/api/native-builds/$buildId/download.ts +22 -1
- package/src/routes/index.tsx +657 -577
- package/src/routes/insights.tsx +3 -5
- package/src/routes/insights_.distribution.tsx +2 -2
- package/src/routes/native-builds_.devices.tsx +21 -0
- package/src/styles.css +24 -0
- package/.output/public/assets/-native-builds-search-C-TGpFAm.js +0 -1
- package/.output/public/assets/EventDetails-Dl2RvPAk.js +0 -1
- package/.output/public/assets/HashValueDisplay-6lNRxDJX.js +0 -1
- package/.output/public/assets/InsightsPageHeader-DHhqY3DT.js +0 -1
- package/.output/public/assets/RolloutPercentageBadge-Cxogpi8F.js +0 -1
- package/.output/public/assets/StoreSubmission-ViTkW4eJ.js +0 -1
- package/.output/public/assets/alert-dialog-BqYScr9y.js +0 -1
- package/.output/public/assets/api-P2g8dCNg.js +0 -1
- package/.output/public/assets/api-keys-DWQC2q6y.js +0 -1
- package/.output/public/assets/api-keys-FueRkF9q.js +0 -1
- package/.output/public/assets/arrow-left-g9cKqXuC.js +0 -1
- package/.output/public/assets/arrow-right-CNII8TYn.js +0 -1
- package/.output/public/assets/arrow-up-right-DK8Zdg40.js +0 -1
- package/.output/public/assets/badge-DWFcDWho.js +0 -1
- package/.output/public/assets/check-CXVR3s3X.js +0 -1
- package/.output/public/assets/chevron-right-BoUXo82O.js +0 -1
- package/.output/public/assets/dialog-CNUPxNxH.js +0 -1
- package/.output/public/assets/dist-CPlO6ko9.js +0 -1
- package/.output/public/assets/empty-B3Uwdd6k.js +0 -1
- package/.output/public/assets/field-D-2-mnNh.js +0 -1
- package/.output/public/assets/history-DqHlgSuV.js +0 -1
- package/.output/public/assets/index-CqP5HPV6.js +0 -10
- package/.output/public/assets/input-group-D3OUBk4n.js +0 -1
- package/.output/public/assets/insights-B-0odqpt.js +0 -42
- package/.output/public/assets/insights-BSVGfxSL.js +0 -1
- package/.output/public/assets/insights-NK5B6ReS.js +0 -2
- package/.output/public/assets/insights-api-BVCXJsoV.js +0 -1
- package/.output/public/assets/insights-search-DghCbEnk.js +0 -1
- package/.output/public/assets/insights-usage-rpc-CKQH0pUS.js +0 -1
- package/.output/public/assets/insights_.distribution-CJvgwcVZ.js +0 -2
- package/.output/public/assets/insights_.distribution-DblZM0mO.js +0 -1
- package/.output/public/assets/insights_.distribution-dvk6vYDM.js +0 -1
- package/.output/public/assets/installations-B674P5Z5.js +0 -2
- package/.output/public/assets/installations-BWxczZ2t.js +0 -1
- package/.output/public/assets/installations-Dv4kWQYz.js +0 -1
- package/.output/public/assets/native-builds-BOC71grI.js +0 -1
- package/.output/public/assets/native-builds-D6rldpSh.js +0 -2
- package/.output/public/assets/native-builds-DAy2678K.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DD58_Phd.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DvQDKnUQ.js +0 -2
- package/.output/public/assets/plus-BReVKct-.js +0 -1
- package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
- package/.output/public/assets/refresh-cw-B9HHjLej.js +0 -1
- package/.output/public/assets/remote-config-B7ujqhLa.js +0 -6
- package/.output/public/assets/remote-config-WjpozBG5.js +0 -1
- package/.output/public/assets/remote-config-gXeH6PBW.js +0 -1
- package/.output/public/assets/routes-BDdBIxYS.js +0 -1
- package/.output/public/assets/routes-CCD33Azv.js +0 -2
- package/.output/public/assets/search-BCel4Oy6.js +0 -1
- package/.output/public/assets/select-CBIU0_M1.js +0 -1
- package/.output/public/assets/sidebar-Di9SN47G.js +0 -3
- package/.output/public/assets/smartphone-CMaSy_ir.js +0 -1
- package/.output/public/assets/styles-uK-0vUMk.css +0 -2
- package/.output/public/assets/switch-BpdiHL_t.js +0 -1
- package/.output/public/assets/table-Bpy3SvSo.js +0 -1
- package/.output/public/assets/tabs-Xmt7tZeG.js +0 -1
- package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
- package/.output/public/assets/valueToPercent-BLwGy_xK.js +0 -1
- package/.output/server/_ssr/-native-builds-search-CwNcoXf4.mjs +0 -37
- package/.output/server/_ssr/RolloutPercentageBadge-CoBhJtv9.mjs +0 -21
- package/.output/server/_ssr/StoreSubmission-CPg_Rn5E.mjs +0 -139
- package/.output/server/_ssr/listReleases-D_GY00SQ.mjs +0 -79
- package/.output/server/_ssr/native-builds-BDcOlKnd.mjs +0 -510
- package/.output/server/_ssr/native-builds-DhXL5zf_.mjs +0 -137
- package/.output/server/_ssr/native-builds_._buildId-BjsdQO93.mjs +0 -813
- package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
- package/.output/server/_ssr/nativeBuilds-B_7BPjt_.mjs +0 -133
- package/.output/server/_ssr/qr-code-C7kNRIDX.mjs +0 -22
- package/.output/server/_ssr/tabs-BgTTFotk.mjs +0 -45
- package/.output/server/_tanstack-start-manifest_v-B5nsO5L4.mjs +0 -184
- package/src/lib/server/nativeBuildQr.ts +0 -73
- package/src/routes/[_]hot-updater/native-builds/qr.ts +0 -14
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A quiet word on a row a list shades, such as "Older" or "Unreachable",
|
|
12
|
+
* that says why on a tap, a click, or focus: a touch or a keyboard reaches
|
|
13
|
+
* the reason, not only a pointer's hover. A control of its own, so it opens
|
|
14
|
+
* no row.
|
|
15
|
+
*/
|
|
16
|
+
export function RowReason({
|
|
17
|
+
icon: Icon,
|
|
18
|
+
children,
|
|
19
|
+
label,
|
|
20
|
+
reason,
|
|
21
|
+
}: {
|
|
22
|
+
readonly icon: LucideIcon;
|
|
23
|
+
/** The word the row shows. */
|
|
24
|
+
readonly children: string;
|
|
25
|
+
/** The word and its reason, as a screen reader names the control. */
|
|
26
|
+
readonly label: string;
|
|
27
|
+
/** The reason, as its tooltip says it. */
|
|
28
|
+
readonly reason: string;
|
|
29
|
+
}) {
|
|
30
|
+
const id = useId();
|
|
31
|
+
const [open, setOpen] = useState(false);
|
|
32
|
+
return (
|
|
33
|
+
<Tooltip onOpenChange={setOpen} open={open} triggerId={id}>
|
|
34
|
+
<TooltipTrigger
|
|
35
|
+
aria-describedby={open ? `${id}-reason` : undefined}
|
|
36
|
+
aria-label={label}
|
|
37
|
+
className="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"
|
|
38
|
+
closeOnClick={false}
|
|
39
|
+
id={id}
|
|
40
|
+
onClick={() => setOpen((value) => !value)}
|
|
41
|
+
type="button"
|
|
42
|
+
>
|
|
43
|
+
<Icon aria-hidden="true" className="size-3.5" />
|
|
44
|
+
{children}
|
|
45
|
+
</TooltipTrigger>
|
|
46
|
+
<TooltipContent
|
|
47
|
+
className="max-w-64"
|
|
48
|
+
id={`${id}-reason`}
|
|
49
|
+
role="tooltip"
|
|
50
|
+
side="bottom"
|
|
51
|
+
>
|
|
52
|
+
{reason}
|
|
53
|
+
</TooltipContent>
|
|
54
|
+
</Tooltip>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -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>
|
|
@@ -74,7 +74,7 @@ export function BundleMetadata({ bundle, release }: BundleMetadataProps) {
|
|
|
74
74
|
{gitCommitUrl ? (
|
|
75
75
|
<a
|
|
76
76
|
aria-label="Open git commit"
|
|
77
|
-
className="shrink-0 text-primary hover:underline"
|
|
77
|
+
className="relative shrink-0 text-primary after:absolute after:-inset-2.5 hover:underline md:after:hidden"
|
|
78
78
|
href={gitCommitUrl}
|
|
79
79
|
rel="noopener noreferrer"
|
|
80
80
|
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}
|
|
@@ -273,7 +214,7 @@ 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 ? (
|
|
@@ -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
|
>
|
|
@@ -616,6 +617,7 @@ export function InsightsOverview({
|
|
|
616
617
|
<TableCell>
|
|
617
618
|
<Button
|
|
618
619
|
aria-label={`Remove ${release.releaseId}`}
|
|
620
|
+
className="max-md:size-11"
|
|
619
621
|
variant="ghost"
|
|
620
622
|
size="icon-xs"
|
|
621
623
|
onClick={() => remove(release.releaseId)}
|
|
@@ -650,7 +652,11 @@ export function InsightsOverview({
|
|
|
650
652
|
</CardContent>
|
|
651
653
|
<CardFooter className="flex items-center justify-end border-t px-6 py-5">
|
|
652
654
|
<Link
|
|
653
|
-
className={buttonVariants({
|
|
655
|
+
className={buttonVariants({
|
|
656
|
+
className: "max-md:h-11",
|
|
657
|
+
variant: "outline",
|
|
658
|
+
size: "sm",
|
|
659
|
+
})}
|
|
654
660
|
to="/installations"
|
|
655
661
|
>
|
|
656
662
|
<ListIcon aria-hidden="true" />
|
|
@@ -5,7 +5,6 @@ import { buttonVariants } from "@/components/ui/button";
|
|
|
5
5
|
import { SidebarTrigger } from "@/components/ui/sidebar";
|
|
6
6
|
import { useConsoleFeature } from "@/lib/console-features-api";
|
|
7
7
|
import type { InsightsSearch } from "@/lib/insights-search";
|
|
8
|
-
import { cn } from "@/lib/utils";
|
|
9
8
|
|
|
10
9
|
export function InsightsPageHeader({
|
|
11
10
|
view,
|
|
@@ -30,13 +29,11 @@ export function InsightsPageHeader({
|
|
|
30
29
|
{overview ? (
|
|
31
30
|
<Link
|
|
32
31
|
aria-current={view === "overview" ? "page" : undefined}
|
|
33
|
-
className={
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}),
|
|
39
|
-
)}
|
|
32
|
+
className={buttonVariants({
|
|
33
|
+
className: "h-11 px-3 lg:h-8 lg:px-2.5",
|
|
34
|
+
size: "lg",
|
|
35
|
+
variant: view === "overview" ? "secondary" : "ghost",
|
|
36
|
+
})}
|
|
40
37
|
search={overviewSearch}
|
|
41
38
|
to="/insights"
|
|
42
39
|
>
|
|
@@ -45,13 +42,11 @@ export function InsightsPageHeader({
|
|
|
45
42
|
) : null}
|
|
46
43
|
<Link
|
|
47
44
|
aria-current={view === "events" ? "page" : undefined}
|
|
48
|
-
className={
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}),
|
|
54
|
-
)}
|
|
45
|
+
className={buttonVariants({
|
|
46
|
+
className: "h-11 px-3 lg:h-8 lg:px-2.5",
|
|
47
|
+
size: "lg",
|
|
48
|
+
variant: view === "events" ? "secondary" : "ghost",
|
|
49
|
+
})}
|
|
55
50
|
to="/installations"
|
|
56
51
|
>
|
|
57
52
|
<ListIcon aria-hidden="true" data-icon="inline-start" />
|
|
@@ -137,7 +137,7 @@ export function BundleMovementSummary({
|
|
|
137
137
|
>
|
|
138
138
|
{input ? (
|
|
139
139
|
<Link
|
|
140
|
-
className="min-w-0 rounded-sm hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
140
|
+
className="relative min-w-0 rounded-sm after:absolute after:inset-x-0 after:-inset-y-3 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring sm:after:hidden"
|
|
141
141
|
to="/insights"
|
|
142
142
|
search={{
|
|
143
143
|
platform: input.platform,
|
|
@@ -238,7 +238,11 @@ export function BundleInsightsSummary({
|
|
|
238
238
|
</CardContent>
|
|
239
239
|
<CardFooter className="px-4 pb-4">
|
|
240
240
|
<Link
|
|
241
|
-
className={buttonVariants({
|
|
241
|
+
className={buttonVariants({
|
|
242
|
+
className: "max-md:h-11",
|
|
243
|
+
variant: "outline",
|
|
244
|
+
size: "sm",
|
|
245
|
+
})}
|
|
242
246
|
to="/insights"
|
|
243
247
|
search={{
|
|
244
248
|
platform: input.platform,
|
|
@@ -136,7 +136,7 @@ export function ReleaseCombobox({
|
|
|
136
136
|
className={
|
|
137
137
|
trigger
|
|
138
138
|
? undefined
|
|
139
|
-
: "h-11 w-full sm:h-9 sm:w-96 [&_input]:h-full [&_input]:text-base sm:[&_input]:text-xs"
|
|
139
|
+
: "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"
|
|
140
140
|
}
|
|
141
141
|
disabled={disabled}
|
|
142
142
|
placeholder={placeholder}
|