@hot-updater/console 1.2.0-rc.28 → 1.2.0-rc.29
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-7blX2yQW.js → -native-builds-search-DdHwfe4q.js} +1 -1
- package/.output/public/assets/ChannelBadge-CEabmopB.js +1 -0
- package/.output/public/assets/{CompositeItem-Dy4xgOMg.js → CompositeItem-KUM5yQVr.js} +1 -1
- package/.output/public/assets/{ConsoleFeatureUnavailable-cy_snb33.js → ConsoleFeatureUnavailable-Be-0iTww.js} +1 -1
- package/.output/public/assets/EventDetails-bDOYte1z.js +1 -0
- package/.output/public/assets/HashValueDisplay-D2f0HmyU.js +1 -0
- package/.output/public/assets/{InsightsPageHeader-D5TJspVe.js → InsightsPageHeader-Cj2ROSQO.js} +1 -1
- package/.output/public/assets/IosInstall-CHI2C4Yd.js +1 -0
- package/.output/public/assets/{NativeBuildsNav-CjOOlbEu.js → NativeBuildsNav-DaqxQPnG.js} +1 -1
- package/.output/public/assets/{RelativeTime-CY1dKZpv.js → RelativeTime-B4PK8qDw.js} +1 -1
- package/.output/public/assets/{RolloutPercentageBadge-BHgHkBGB.js → RolloutPercentageBadge-D_I0Raj2.js} +1 -1
- package/.output/public/assets/{RowReason-BMx_vclu.js → RowReason-B7VM1ztc.js} +1 -1
- package/.output/public/assets/{SandboxBadge-irEkMf1P.js → SandboxBadge-BVxHg_HF.js} +1 -1
- package/.output/public/assets/TargetDisplay-KU7JhIWG.js +1 -0
- package/.output/public/assets/api-keys-DLC8jjaM.js +1 -0
- package/.output/public/assets/api-keys-eDnzgFAf.js +1 -0
- package/.output/public/assets/download-B2GjTySo.js +1 -0
- package/.output/public/assets/{index-CAnjb7M2.js → index-BdyQq4-k.js} +3 -3
- package/.output/public/assets/insights-C94CdeAA.js +1 -0
- package/.output/public/assets/insights-DILMVpk8.js +2 -0
- package/.output/public/assets/{insights-DTF7C4jb.js → insights-_j_ieOyh.js} +1 -1
- package/.output/public/assets/{insights-search-TfRz5kGG.js → insights-search-Bgvg6wSP.js} +1 -1
- package/.output/public/assets/{insights-usage-rpc-B4V-Qqo4.js → insights-usage-rpc-BUCinjSN.js} +1 -1
- package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +2 -0
- package/.output/public/assets/{insights_.distribution-BqfzAuAf.js → insights_.distribution-CRkGNelG.js} +1 -1
- package/.output/public/assets/insights_.distribution-CyAu3RN3.js +1 -0
- package/.output/public/assets/installations-BA01mqJE.js +1 -0
- package/.output/public/assets/{installations-D3MbzcFb.js → installations-BsD6LgNc.js} +2 -2
- package/.output/public/assets/{installations-BU65zztK.js → installations-CYTzndfP.js} +1 -1
- package/.output/public/assets/native-builds-BMbws1g5.js +2 -0
- package/.output/public/assets/native-builds-xgHiHQML.js +1 -0
- package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +1 -0
- package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +2 -0
- package/.output/public/assets/native-builds_.devices-B-u7uLLG.js +2 -0
- package/.output/public/assets/native-builds_.devices-CVNAQtSy.js +1 -0
- package/.output/public/assets/{remote-config-D1OkfQKt.js → remote-config-Cxkr7_BP.js} +1 -1
- package/.output/public/assets/remote-config-DAOyn5xL.js +1 -0
- package/.output/public/assets/{remote-config-CGbqsPh_.js → remote-config-DXv25LX1.js} +3 -3
- package/.output/public/assets/{routes-BTG3rg0l.js → routes-DM3TyTLW.js} +2 -2
- package/.output/public/assets/routes-Des97uK_.js +1 -0
- package/.output/public/assets/styles-BHLI87EH.css +2 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-BFiPs5uv.mjs → __23tanstack-start-server-fn-resolver-DTuNq7_z.mjs} +58 -58
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-BSBR5eJ3.mjs → BundleIdDisplay-BX6DLh1K.mjs} +2 -2
- package/.output/server/_ssr/ChannelBadge-D7O95Ack.mjs +23 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-DcZ4JBVq.mjs → ConsoleFeatureUnavailable-Dfs3WUZf.mjs} +5 -5
- package/.output/server/_ssr/{EventDetails-CUHZuwei.mjs → EventDetails-C1Q9caVa.mjs} +6 -6
- package/.output/server/_ssr/{HashValueDisplay-B9ORaCcP.mjs → HashValueDisplay-SIEeZe0O.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-C0bJqC-n.mjs → InsightsPageHeader-CAcbXSFD.mjs} +5 -5
- package/.output/server/_ssr/{IosInstall-C5Y5gnDY.mjs → IosInstall-B7yxnQ7o.mjs} +61 -20
- package/.output/server/_ssr/{NativeBuildsNav-hFiyBaFW.mjs → NativeBuildsNav-BwoEX7xx.mjs} +3 -3
- package/.output/server/_ssr/{NotFoundPage-D4xRjmIA.mjs → NotFoundPage-Cd_nKv04.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-DnvxB666.mjs → RelativeTime-B5txzq94.mjs} +23 -6
- package/.output/server/_ssr/{RolloutPercentageBadge-NBnIOzY9.mjs → RolloutPercentageBadge-BEV8btLv.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-B_jZN48d.mjs → RowReason-CEDEk7-N.mjs} +24 -7
- package/.output/server/_ssr/{SandboxBadge-CFtTG1ZJ.mjs → SandboxBadge-wlOMZIUd.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-0sb03v_6.mjs → TargetDisplay-076I9qHx.mjs} +29 -20
- package/.output/server/_ssr/{alert-dialog-SLr1Q_AI.mjs → alert-dialog-DrD4hAp4.mjs} +1 -1
- package/.output/server/_ssr/{api-CkgOQzSb.mjs → api-C1plnjZg.mjs} +3 -3
- package/.output/server/_ssr/{api-keys-BP7NJtoX.mjs → api-keys-Bzn-P-lX.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-BcSzq0TA.mjs → api-keys-L8_p18pO.mjs} +10 -10
- package/.output/server/_ssr/{api-keys-rpc-IWPOq5vn.mjs → api-keys-rpc-Mne2yo8z.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-cNJTB3v4.mjs → api-rpc-ChVBmeca.mjs} +13 -6
- package/.output/server/_ssr/{auth-rpc-oaBbtxSP.mjs → auth-rpc-Dml8l_eq.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-WQw9JjMm.mjs → auth.server-DOShgraQ.mjs} +2 -2
- package/.output/server/_ssr/{badge-n3c0OTBQ.mjs → badge-BasQflNy.mjs} +1 -1
- package/.output/server/_ssr/{card-CYgCcRUd.mjs → card-BrGGQYC0.mjs} +1 -1
- package/.output/server/_ssr/{config.server-R3KQbcML.mjs → config.server-CVOdMDBk.mjs} +3 -3
- package/.output/server/_ssr/{console-access-BLVi82IN.mjs → console-access-Bi-abtY-.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-B2JvJOlE.mjs → console-features-api-Bjxo5ur3.mjs} +3 -3
- package/.output/server/_ssr/{console-features-rpc-LAxQoSNw.mjs → console-features-rpc-xzdodg3g.mjs} +3 -3
- package/.output/server/_ssr/{dialog-eru_h5oK.mjs → dialog-7iMkt9l0.mjs} +1 -1
- package/.output/server/_ssr/{empty-Bu4qodCx.mjs → empty-Chb-YL3R.mjs} +2 -2
- package/.output/server/_ssr/{field-DA5lwO5U.mjs → field-mL_Aa6ff.mjs} +2 -2
- package/.output/server/_ssr/{input-group-VV5E3q78.mjs → input-group-C00_xYka.mjs} +1 -1
- package/.output/server/_ssr/{insights-Ci82qdkq.mjs → insights-BcVNQCXf.mjs} +19 -19
- package/.output/server/_ssr/{insights-BJIt1xuT.mjs → insights-BdF3o0Yp.mjs} +2 -2
- package/.output/server/_ssr/{insights-C23mopzv.mjs → insights-C9sSQPMF.mjs} +5 -5
- package/.output/server/_ssr/{insights-api-BwXMKUSe.mjs → insights-api-CShlv9dA.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-BuZ-jnby.mjs → insights-failures-rpc-C-cv9bId.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-DrXSy9aA.mjs → insights-recovery-rpc-Ct-jIQZU.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-DyrIZg3a.mjs → insights-rpc-Dc0I8O3n.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-CNkNB-aa.mjs → insights-search-D_vVwBwW.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-C7UC1lom.mjs → insights-usage-rpc-4TR94EHa.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-cTgmD-Ej.mjs → insights-usage-rpc-D60hOhzl.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-CIY_IGmh.mjs → insights_.distribution-BgnfMzw1.mjs} +13 -13
- package/.output/server/_ssr/{insights_.distribution-wfFKEv-Z.mjs → insights_.distribution-DkD7uAwA.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-BauOpBTE.mjs → insights_.distribution-wT1mjWsG.mjs} +2 -2
- package/.output/server/_ssr/{installations-VzacOKHp.mjs → installations-DtRbzy3N.mjs} +2 -2
- package/.output/server/_ssr/{installations-jGW7nvEV.mjs → installations-DvxMRP5u.mjs} +4 -4
- package/.output/server/_ssr/{installations-Ba3YVrAf.mjs → installations-tFsFnxKk.mjs} +11 -11
- package/.output/server/_ssr/{ios-devices-rpc-Bhn7VVIh.mjs → ios-devices-rpc-CIPuCUQ8.mjs} +9 -8
- package/.output/server/_ssr/{iosDeviceProfile-_XT8TpgZ.mjs → iosDeviceProfile-WyMC1593.mjs} +2 -2
- package/.output/server/_ssr/{iosDevices-Bc27J72d.mjs → iosDevices-B0TjF_sb.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-DZFJGcHy.mjs → native-builds-C458T7Ts.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-DiNkKHly.mjs → native-builds-C5WxR0BT.mjs} +35 -25
- package/.output/server/_ssr/{native-builds_._buildId-CuM1PsT6.mjs → native-builds_._buildId-CyCGKZ1H.mjs} +89 -61
- package/.output/server/_ssr/{native-builds_._buildId-D0n4QZY6.mjs → native-builds_._buildId-UsgsqKI8.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-DiM2FdcW.mjs → native-builds_.devices-BcfLIzJs.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-D0JJlX8E.mjs → native-builds_.devices-BpTcIWm0.mjs} +57 -57
- package/.output/server/_ssr/{nativeBuildDownloadLink-CvvWuhh0.mjs → nativeBuildDownloadLink-CtB2G7qG.mjs} +3 -3
- package/.output/server/_ssr/{nativeBuildInstall-BqcVHBaD.mjs → nativeBuildInstall-PavEyZtZ.mjs} +5 -4
- package/.output/server/_ssr/{release-adoption-rpc-Dm-5yAJG.mjs → release-adoption-rpc-DkT6ui4_.mjs} +5 -5
- package/.output/server/_ssr/{remote-config-D1BhIBKu.mjs → remote-config-BKlK0dFP.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-D7RruPiO.mjs → remote-config-D_nQT__6.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-C7AZy37o.mjs → remote-config-rpc-BW6lyp9Y.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-ZFm-l4Gi.mjs → remote-config-v1hs050H.mjs} +20 -20
- package/.output/server/_ssr/{router-BGkGFMsT.mjs → router-hKO__Vrv.mjs} +25 -25
- package/.output/server/_ssr/{routes-CJJxz-Ak.mjs → routes-DKxm5A7X.mjs} +30 -25
- package/.output/server/_ssr/{routes-CiJ2dhL9.mjs → routes-OhljAvlx.mjs} +8 -8
- package/.output/server/_ssr/{schema-migration-rpc-D4YlwvGH.mjs → schema-migration-rpc-DrrYEFqy.mjs} +3 -3
- package/.output/server/_ssr/{select-BB8GE7OZ.mjs → select-M4kWGKJW.mjs} +1 -1
- package/.output/server/_ssr/{server-DAHTchcr.mjs → server-4hXySEh0.mjs} +3 -3
- package/.output/server/_ssr/{sidebar-CsKVgZHa.mjs → sidebar-CFlo6lny.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{switch-BvvmP7Y3.mjs → switch-xTCGSBdC.mjs} +2 -2
- package/.output/server/_ssr/{table-WKKzprFn.mjs → table-CqdaVMjd.mjs} +1 -1
- package/.output/server/_ssr/{tabs-BJ-4SgmC.mjs → tabs-DtMAFr25.mjs} +2 -2
- package/.output/server/_tanstack-start-manifest_v-CYfHRC4i.mjs +225 -0
- package/.output/server/index.mjs +351 -344
- package/package.json +7 -7
- package/src/components/DataTable.tsx +26 -1
- package/src/components/FoldedRows.tsx +20 -2
- package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +2 -2
- package/src/components/features/native-builds/CommitLink.tsx +2 -1
- package/src/components/features/native-builds/InstallCard.tsx +76 -39
- package/src/components/features/native-builds/IosDevicesPage.tsx +75 -42
- package/src/components/features/native-builds/IosInstall.tsx +103 -31
- package/src/components/features/native-builds/IpaDevicesCard.tsx +19 -15
- package/src/components/features/native-builds/NativeBuildsTable.tsx +17 -13
- package/src/components/features/native-builds/ShortHash.tsx +5 -2
- package/src/components/features/remote-config/PublishDialog.tsx +4 -1
- package/src/components/features/remote-config/VersionsCard.tsx +5 -2
- package/src/components/ui/sonner.tsx +3 -1
- package/src/lib/api-rpc.ts +14 -1
- package/src/lib/ios-devices-rpc.ts +10 -1
- package/src/lib/server/nativeBuildInstall.ts +9 -0
- package/src/routes/index.tsx +5 -2
- package/src/styles.css +2 -2
- package/.output/public/assets/EventDetails-sxag8Hfc.js +0 -1
- package/.output/public/assets/HashValueDisplay-DMweha_0.js +0 -1
- package/.output/public/assets/IosInstall-B5NspihF.js +0 -1
- package/.output/public/assets/TargetDisplay-DB8D019f.js +0 -1
- package/.output/public/assets/api-keys-Cd-aNt-v.js +0 -1
- package/.output/public/assets/api-keys-D3tAc4Uu.js +0 -1
- package/.output/public/assets/insights-DIs4nJI9.js +0 -2
- package/.output/public/assets/insights-bUk3ChoU.js +0 -1
- package/.output/public/assets/insights_.distribution-BPl5oRt4.js +0 -2
- package/.output/public/assets/insights_.distribution-BqtmnGTt.js +0 -1
- package/.output/public/assets/installations-6U8c_03X.js +0 -1
- package/.output/public/assets/native-builds-BdzfAFnF.js +0 -1
- package/.output/public/assets/native-builds-CWwvuOXr.js +0 -2
- package/.output/public/assets/native-builds-Eh72Vr2G.js +0 -1
- package/.output/public/assets/native-builds_._buildId-33ksAlnZ.js +0 -1
- package/.output/public/assets/native-builds_._buildId-BVA5GnZP.js +0 -2
- package/.output/public/assets/native-builds_.devices-CElovmwq.js +0 -1
- package/.output/public/assets/native-builds_.devices-DWtcOVYO.js +0 -2
- package/.output/public/assets/remote-config-B3oq9qR0.js +0 -1
- package/.output/public/assets/routes-CVbPjRKo.js +0 -1
- package/.output/public/assets/styles-B0kzy3kp.css +0 -2
- package/.output/server/_ssr/CopyableText-DgNEsByt.mjs +0 -33
- package/.output/server/_tanstack-start-manifest_v-CSUJeG5D.mjs +0 -219
- /package/.output/public/assets/{BundleIdDisplay-B0gAH01c.js → BundleIdDisplay-CTBdtFQ8.js} +0 -0
- /package/.output/public/assets/{NotFoundPage-DDOJarFa.js → NotFoundPage-CVBtl68B.js} +0 -0
- /package/.output/public/assets/{PlatformIcon-BBvlg6JY.js → PlatformIcon-DVnzzGqM.js} +0 -0
- /package/.output/public/assets/{alert-dialog-CLC_h1fL.js → alert-dialog-Ch0QxRsa.js} +0 -0
- /package/.output/public/assets/{api-DLryz9hA.js → api-C1OPeiG1.js} +0 -0
- /package/.output/public/assets/{badge-DJMW4YVM.js → badge-FZMD5vvS.js} +0 -0
- /package/.output/public/assets/{card-C4sBAMU-.js → card-CyHYmHue.js} +0 -0
- /package/.output/public/assets/{dialog-tCTZmAo8.js → dialog-BLj71-Nf.js} +0 -0
- /package/.output/public/assets/{dist-Bw_uSBJn.js → dist-DAM__Tdz.js} +0 -0
- /package/.output/public/assets/{empty-DsbLxQ1w.js → empty--YaE5Z4p.js} +0 -0
- /package/.output/public/assets/{field-DL4OXTJ7.js → field-CdhSgWhI.js} +0 -0
- /package/.output/public/assets/{git-branch-ByZMEBxZ.js → git-branch-DG1VDaKq.js} +0 -0
- /package/.output/public/assets/{history-wYnPoVmT.js → history-C0wv4htz.js} +0 -0
- /package/.output/public/assets/{input-group-B7jx0icS.js → input-group-XKLcUGoa.js} +0 -0
- /package/.output/public/assets/{key-round-B-P_hhUB.js → key-round-D7UgdXyA.js} +0 -0
- /package/.output/public/assets/{list-fFsS8Wxe.js → list-Bm-CfN5g.js} +0 -0
- /package/.output/public/assets/{loader-circle-GWIgH0fo.js → loader-circle-iMqC-8ZE.js} +0 -0
- /package/.output/public/assets/{package-CXSDZsME.js → package-BmfoZ5Zj.js} +0 -0
- /package/.output/public/assets/{plus-Cx-yFNd9.js → plus-Db0KxLZp.js} +0 -0
- /package/.output/public/assets/{refresh-cw-BgiOaFX3.js → refresh-cw-BHhBYjS8.js} +0 -0
- /package/.output/public/assets/{relativeTime-CBmDq8wh.js → relativeTime-BYRt19mj.js} +0 -0
- /package/.output/public/assets/{rotate-cw-C1v7YuN7.js → rotate-cw-Ba-slJea.js} +0 -0
- /package/.output/public/assets/{search-DiOSjaYL.js → search-dJG2BYmx.js} +0 -0
- /package/.output/public/assets/{send-BgXZNiEA.js → send-DuMOCzbD.js} +0 -0
- /package/.output/public/assets/{smartphone-CxP0GGT6.js → smartphone-D1C6BRd_.js} +0 -0
- /package/.output/public/assets/{switch-BTHWmKQ5.js → switch-BsV3d4km.js} +0 -0
- /package/.output/public/assets/{table-CwF7yxj4.js → table-D8YjT_ht.js} +0 -0
- /package/.output/public/assets/{tabs-CHNnCyvw.js → tabs-RdhEl9sE.js} +0 -0
- /package/.output/public/assets/{trash-2-CYISg7ZF.js → trash-2-B5KIvrXy.js} +0 -0
- /package/.output/public/assets/{undo-2-Bod3vw7x.js → undo-2-CFcU9dIB.js} +0 -0
- /package/.output/public/assets/{uuidv7-CVJ09bBG.js → uuidv7-DAoOOpz9.js} +0 -0
- /package/.output/public/assets/{valueToPercent-Db73Kirz.js → valueToPercent-Bn8p2lng.js} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/console",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.0-rc.
|
|
4
|
+
"version": "1.2.0-rc.29",
|
|
5
5
|
"files": [
|
|
6
6
|
".output",
|
|
7
7
|
"lib",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"tw-animate-css": "^1.4.0",
|
|
60
60
|
"uqr": "^0.1.3",
|
|
61
61
|
"verkit": "0.4.0",
|
|
62
|
-
"@hot-updater/
|
|
63
|
-
"@hot-updater/
|
|
64
|
-
"@hot-updater/protocol": "1.2.0-rc.
|
|
65
|
-
"@hot-updater/
|
|
62
|
+
"@hot-updater/bsdiff": "1.2.0-rc.29",
|
|
63
|
+
"@hot-updater/plugin-core": "1.2.0-rc.29",
|
|
64
|
+
"@hot-updater/protocol": "1.2.0-rc.29",
|
|
65
|
+
"@hot-updater/server": "1.2.0-rc.29"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@tanstack/devtools-vite": "^0.6.0",
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
"vite-tsconfig-paths": "^6.1.1",
|
|
87
87
|
"vitest": "4.1.4",
|
|
88
88
|
"web-vitals": "^5.1.0",
|
|
89
|
-
"@hot-updater/cli-tools": "1.2.0-rc.
|
|
90
|
-
"@hot-updater/mock": "1.2.0-rc.
|
|
89
|
+
"@hot-updater/cli-tools": "1.2.0-rc.29",
|
|
90
|
+
"@hot-updater/mock": "1.2.0-rc.29"
|
|
91
91
|
},
|
|
92
92
|
"description": "React Native OTA solution for self-hosted",
|
|
93
93
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -224,13 +224,27 @@ export type PageLink = Pick<LinkProps, "to" | "search">;
|
|
|
224
224
|
*/
|
|
225
225
|
export function DataTablePagination({
|
|
226
226
|
count,
|
|
227
|
+
noun,
|
|
228
|
+
folded,
|
|
227
229
|
label,
|
|
228
230
|
pending = false,
|
|
229
231
|
newest,
|
|
230
232
|
previous,
|
|
231
233
|
next,
|
|
232
234
|
}: {
|
|
235
|
+
/** The page's rows outside its folds. */
|
|
233
236
|
readonly count: number;
|
|
237
|
+
/** What `count` counts, such as ["build", "builds"]. */
|
|
238
|
+
readonly noun: readonly [one: string, other: string];
|
|
239
|
+
/**
|
|
240
|
+
* What the page folds, such as "older": its total, a floor when a fold says
|
|
241
|
+
* "100+" or continues on the next page. Nothing when the page folds none.
|
|
242
|
+
*/
|
|
243
|
+
readonly folded?: {
|
|
244
|
+
readonly count: number;
|
|
245
|
+
readonly more: boolean;
|
|
246
|
+
readonly label: string;
|
|
247
|
+
};
|
|
234
248
|
/** The navigation's name, such as "Bundle pagination". */
|
|
235
249
|
readonly label: string;
|
|
236
250
|
/**
|
|
@@ -252,7 +266,18 @@ export function DataTablePagination({
|
|
|
252
266
|
>
|
|
253
267
|
<p className="text-xs font-medium text-muted-foreground">
|
|
254
268
|
<span className="text-foreground">{count}</span>{" "}
|
|
255
|
-
{count === 1 ?
|
|
269
|
+
{count === 1 ? noun[0] : noun[1]}, newest first
|
|
270
|
+
{folded === undefined || folded.count === 0 ? null : (
|
|
271
|
+
<>
|
|
272
|
+
<span aria-hidden="true"> · </span>
|
|
273
|
+
<span className="sr-only">, </span>
|
|
274
|
+
<span className="text-foreground">
|
|
275
|
+
{folded.count}
|
|
276
|
+
{folded.more ? "+" : ""}
|
|
277
|
+
</span>{" "}
|
|
278
|
+
{folded.label} folded
|
|
279
|
+
</>
|
|
280
|
+
)}
|
|
256
281
|
</p>
|
|
257
282
|
<div className="flex flex-wrap items-center gap-3 sm:justify-end">
|
|
258
283
|
{newest && !pending ? (
|
|
@@ -158,7 +158,10 @@ export function FoldStatus({
|
|
|
158
158
|
columns,
|
|
159
159
|
}: {
|
|
160
160
|
readonly state: "loading" | "more" | "error";
|
|
161
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* What loads, such as "Loading older builds" for screen readers, or the
|
|
163
|
+
* rows themselves, such as "Older builds", which an error names.
|
|
164
|
+
*/
|
|
162
165
|
readonly label: string;
|
|
163
166
|
readonly onMore?: () => void;
|
|
164
167
|
readonly onRetry?: () => void;
|
|
@@ -176,7 +179,7 @@ export function FoldStatus({
|
|
|
176
179
|
<div className="flex items-center gap-3 px-4 py-2 sm:px-3">
|
|
177
180
|
{state === "error" ? (
|
|
178
181
|
<span className="text-xs text-muted-foreground" role="status">
|
|
179
|
-
|
|
182
|
+
{label} couldn't be loaded.
|
|
180
183
|
</span>
|
|
181
184
|
) : null}
|
|
182
185
|
<Button
|
|
@@ -199,3 +202,18 @@ export function FoldStatus({
|
|
|
199
202
|
</TableRow>
|
|
200
203
|
);
|
|
201
204
|
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* What a page's folds hold: their counts summed, and whether any holds more
|
|
208
|
+
* than it says (past its cap, or past the page), so the total is a floor.
|
|
209
|
+
*/
|
|
210
|
+
export const foldedTotal = (entries: readonly FoldedEntry<unknown>[]) => {
|
|
211
|
+
let count = 0;
|
|
212
|
+
let more = false;
|
|
213
|
+
for (const entry of entries) {
|
|
214
|
+
if (entry.kind !== "fold") continue;
|
|
215
|
+
count += entry.count;
|
|
216
|
+
more ||= entry.more;
|
|
217
|
+
}
|
|
218
|
+
return { count, more };
|
|
219
|
+
};
|
|
@@ -133,7 +133,7 @@ export function ChannelManagementDialog({
|
|
|
133
133
|
{createChannel.isPending ? (
|
|
134
134
|
<Loader2
|
|
135
135
|
data-icon="inline-start"
|
|
136
|
-
className="animate-spin"
|
|
136
|
+
className="animate-spin motion-reduce:animate-none"
|
|
137
137
|
/>
|
|
138
138
|
) : (
|
|
139
139
|
<Plus data-icon="inline-start" />
|
|
@@ -147,7 +147,7 @@ export function ChannelManagementDialog({
|
|
|
147
147
|
<div className="max-h-72 overflow-y-auto rounded-lg border">
|
|
148
148
|
{isLoadingChannels ? (
|
|
149
149
|
<div className="flex h-20 items-center justify-center text-muted-foreground">
|
|
150
|
-
<Loader2 className="mr-2 size-3.5 animate-spin" />
|
|
150
|
+
<Loader2 className="mr-2 size-3.5 animate-spin motion-reduce:animate-none" />
|
|
151
151
|
Loading channels
|
|
152
152
|
</div>
|
|
153
153
|
) : channels.length === 0 ? (
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NoValue } from "@/components/TargetDisplay";
|
|
1
2
|
import { useConfigQuery } from "@/lib/api";
|
|
2
3
|
import { getCommitUrl } from "@/lib/git";
|
|
3
4
|
|
|
@@ -10,7 +11,7 @@ import { ShortHash } from "./ShortHash";
|
|
|
10
11
|
*/
|
|
11
12
|
export function CommitLink({ hash }: { readonly hash: string | null }) {
|
|
12
13
|
const config = useConfigQuery();
|
|
13
|
-
if (hash === null) return <
|
|
14
|
+
if (hash === null) return <NoValue />;
|
|
14
15
|
const url = getCommitUrl(config.data?.console.gitUrl, hash);
|
|
15
16
|
return url === null ? (
|
|
16
17
|
<ShortHash label="commit" length={7} value={hash} />
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { NativeBuildRow } from "@hot-updater/plugin-core";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
AlertTriangle,
|
|
5
|
+
ChevronRight,
|
|
6
|
+
Download,
|
|
7
|
+
ExternalLink,
|
|
8
|
+
} from "lucide-react";
|
|
9
|
+
import { type ReactNode, useId, useState } from "react";
|
|
4
10
|
|
|
5
11
|
import { QrCode } from "@/components/QrCode";
|
|
6
12
|
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
|
|
@@ -350,6 +356,35 @@ export function InstallCard({ build }: { readonly build: NativeBuildRow }) {
|
|
|
350
356
|
);
|
|
351
357
|
}
|
|
352
358
|
|
|
359
|
+
/**
|
|
360
|
+
* On the iPhone, what installs the IPA from a computer, closed under the one
|
|
361
|
+
* action this phone takes: over USB, TestFlight, the download, and its link.
|
|
362
|
+
*/
|
|
363
|
+
function OtherWaysToInstall({ children }: { readonly children: ReactNode }) {
|
|
364
|
+
const [open, setOpen] = useState(false);
|
|
365
|
+
const id = useId();
|
|
366
|
+
return (
|
|
367
|
+
<div className="flex min-w-0 flex-col gap-3 border-t pt-3">
|
|
368
|
+
<button
|
|
369
|
+
aria-controls={id}
|
|
370
|
+
aria-expanded={open}
|
|
371
|
+
className="group/other -mx-1 flex min-h-11 items-center gap-1.5 self-start rounded-md px-1 text-xs font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none motion-reduce:transition-none sm:min-h-8"
|
|
372
|
+
onClick={() => setOpen((value) => !value)}
|
|
373
|
+
type="button"
|
|
374
|
+
>
|
|
375
|
+
<ChevronRight
|
|
376
|
+
aria-hidden="true"
|
|
377
|
+
className="size-3.5 shrink-0 transition-transform group-aria-expanded/other:rotate-90 motion-reduce:transition-none"
|
|
378
|
+
/>
|
|
379
|
+
Other ways to install
|
|
380
|
+
</button>
|
|
381
|
+
<div hidden={!open} id={id}>
|
|
382
|
+
{children}
|
|
383
|
+
</div>
|
|
384
|
+
</div>
|
|
385
|
+
);
|
|
386
|
+
}
|
|
387
|
+
|
|
353
388
|
function FileInstallCard({ build }: { readonly build: NativeBuildRow }) {
|
|
354
389
|
const fileName = nativeBuildFileName(build);
|
|
355
390
|
const link = useNativeBuildDownloadLinkQuery(build.id);
|
|
@@ -360,6 +395,26 @@ function FileInstallCard({ build }: { readonly build: NativeBuildRow }) {
|
|
|
360
395
|
const device = useIosDevice();
|
|
361
396
|
const ipa = build.artifact_kind === "ipa";
|
|
362
397
|
const onPhone = ipa && device?.ios === true;
|
|
398
|
+
const otherWays = (
|
|
399
|
+
<div className="flex min-w-0 flex-col gap-4">
|
|
400
|
+
<InstallSteps build={build} />
|
|
401
|
+
<a
|
|
402
|
+
className={buttonVariants({
|
|
403
|
+
className:
|
|
404
|
+
"h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit",
|
|
405
|
+
variant: "outline",
|
|
406
|
+
})}
|
|
407
|
+
download
|
|
408
|
+
href={signedUrl ?? nativeBuildDownloadPath(build.id)}
|
|
409
|
+
>
|
|
410
|
+
<Download data-icon="inline-start" />
|
|
411
|
+
<span className="text-left [overflow-wrap:anywhere]">
|
|
412
|
+
Download {fileName}
|
|
413
|
+
</span>
|
|
414
|
+
</a>
|
|
415
|
+
<SignedLink link={link.data} url={signedUrl} />
|
|
416
|
+
</div>
|
|
417
|
+
);
|
|
363
418
|
return (
|
|
364
419
|
<Card className="overflow-hidden shadow-sm">
|
|
365
420
|
<CardHeader className="border-b px-4 py-3">
|
|
@@ -367,45 +422,27 @@ function FileInstallCard({ build }: { readonly build: NativeBuildRow }) {
|
|
|
367
422
|
<h2>Install</h2>
|
|
368
423
|
</CardTitle>
|
|
369
424
|
</CardHeader>
|
|
370
|
-
|
|
371
|
-
className=
|
|
372
|
-
onPhone
|
|
373
|
-
? "flex min-w-0 flex-col gap-6 p-4 sm:p-6"
|
|
374
|
-
: "grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6"
|
|
375
|
-
}
|
|
376
|
-
>
|
|
377
|
-
{onPhone ? (
|
|
425
|
+
{onPhone ? (
|
|
426
|
+
<CardContent className="flex min-w-0 flex-col gap-4 p-4 sm:p-6">
|
|
378
427
|
<IosInstall build={build} device={device} />
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
})}
|
|
398
|
-
download
|
|
399
|
-
href={signedUrl ?? nativeBuildDownloadPath(build.id)}
|
|
400
|
-
>
|
|
401
|
-
<Download data-icon="inline-start" />
|
|
402
|
-
<span className="text-left [overflow-wrap:anywhere]">
|
|
403
|
-
Download {fileName}
|
|
404
|
-
</span>
|
|
405
|
-
</a>
|
|
406
|
-
<SignedLink link={link.data} url={signedUrl} />
|
|
407
|
-
</div>
|
|
408
|
-
</CardContent>
|
|
428
|
+
<OtherWaysToInstall>{otherWays}</OtherWaysToInstall>
|
|
429
|
+
</CardContent>
|
|
430
|
+
) : (
|
|
431
|
+
<CardContent className="grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6">
|
|
432
|
+
{ipa && signedUrl !== null ? (
|
|
433
|
+
<ScannablePage />
|
|
434
|
+
) : signedUrl !== null ? (
|
|
435
|
+
<ScannableUrl build={build} url={signedUrl} />
|
|
436
|
+
) : link.data !== undefined ? (
|
|
437
|
+
<StorageQrCode build={build} />
|
|
438
|
+
) : link.isError ? (
|
|
439
|
+
<QrProblem message={link.error.message} />
|
|
440
|
+
) : (
|
|
441
|
+
<Skeleton className="size-48" />
|
|
442
|
+
)}
|
|
443
|
+
{otherWays}
|
|
444
|
+
</CardContent>
|
|
445
|
+
)}
|
|
409
446
|
</Card>
|
|
410
447
|
);
|
|
411
448
|
}
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
} from "@/components/DataTable";
|
|
31
31
|
import { QrCode } from "@/components/QrCode";
|
|
32
32
|
import { RelativeTime } from "@/components/RelativeTime";
|
|
33
|
+
import { NoValue } from "@/components/TargetDisplay";
|
|
33
34
|
import {
|
|
34
35
|
Alert,
|
|
35
36
|
AlertAction,
|
|
@@ -146,6 +147,17 @@ const actionsFor = (device: IosDeviceRow, viewer: Viewer) => ({
|
|
|
146
147
|
device.requested_by === viewer.email,
|
|
147
148
|
});
|
|
148
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Apple's refusal of an approved device is the row an approver acts on, so it
|
|
152
|
+
* takes the warning in place of Approved; the other states stay neutral.
|
|
153
|
+
*/
|
|
154
|
+
const appleRefused = (device: IosDeviceRow) =>
|
|
155
|
+
device.status === "approved" && device.apple_error !== null;
|
|
156
|
+
|
|
157
|
+
/** Who asked for a device: a person, or a terminal for one the CLI added. */
|
|
158
|
+
const requesterOf = (device: IosDeviceRow) =>
|
|
159
|
+
device.requested_by ?? "Added from a terminal";
|
|
160
|
+
|
|
149
161
|
function AppleError({ device }: { readonly device: IosDeviceRow }) {
|
|
150
162
|
return device.apple_error === null ? null : (
|
|
151
163
|
<span className="max-w-64 text-xs whitespace-normal text-muted-foreground">
|
|
@@ -164,9 +176,13 @@ function DeviceStatus({
|
|
|
164
176
|
}) {
|
|
165
177
|
return (
|
|
166
178
|
<div className="flex min-w-0 shrink-0 flex-col items-start gap-1">
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
179
|
+
{appleRefused(device) ? (
|
|
180
|
+
<Badge variant="warning">Apple refused</Badge>
|
|
181
|
+
) : (
|
|
182
|
+
<Badge variant={STATUS_BADGES[device.status]}>
|
|
183
|
+
{STATUS_LABELS[device.status]}
|
|
184
|
+
</Badge>
|
|
185
|
+
)}
|
|
170
186
|
{withError ? <AppleError device={device} /> : null}
|
|
171
187
|
</div>
|
|
172
188
|
);
|
|
@@ -174,7 +190,7 @@ function DeviceStatus({
|
|
|
174
190
|
|
|
175
191
|
function DeviceBuild({ device }: { readonly device: IosDeviceRow }) {
|
|
176
192
|
if (device.build_id === null) {
|
|
177
|
-
return <
|
|
193
|
+
return <NoValue />;
|
|
178
194
|
}
|
|
179
195
|
let label = "A build";
|
|
180
196
|
try {
|
|
@@ -217,7 +233,7 @@ function DeviceActions({
|
|
|
217
233
|
<div className="flex items-center justify-end gap-1">
|
|
218
234
|
{can.approve ? (
|
|
219
235
|
<Button
|
|
220
|
-
className="h-11 sm:h-
|
|
236
|
+
className="h-11 sm:h-8"
|
|
221
237
|
onClick={() => onOpen({ kind: "approve", device })}
|
|
222
238
|
size="sm"
|
|
223
239
|
>
|
|
@@ -227,7 +243,7 @@ function DeviceActions({
|
|
|
227
243
|
) : null}
|
|
228
244
|
{can.withdraw ? (
|
|
229
245
|
<Button
|
|
230
|
-
className="h-11 sm:h-
|
|
246
|
+
className="h-11 sm:h-8"
|
|
231
247
|
onClick={() => onOpen({ kind: "remove", device })}
|
|
232
248
|
size="sm"
|
|
233
249
|
variant="outline"
|
|
@@ -241,7 +257,7 @@ function DeviceActions({
|
|
|
241
257
|
render={
|
|
242
258
|
<Button
|
|
243
259
|
aria-label={`More actions for ${device.name}`}
|
|
244
|
-
className="size-11 sm:size-
|
|
260
|
+
className="size-11 sm:size-8"
|
|
245
261
|
size="icon-sm"
|
|
246
262
|
variant="ghost"
|
|
247
263
|
/>
|
|
@@ -290,7 +306,7 @@ function DeviceRow({
|
|
|
290
306
|
</TableCell>
|
|
291
307
|
<TableCell className="text-xs">
|
|
292
308
|
{device.requested_by ?? (
|
|
293
|
-
<span className="text-muted-foreground">
|
|
309
|
+
<span className="text-muted-foreground">{requesterOf(device)}</span>
|
|
294
310
|
)}
|
|
295
311
|
</TableCell>
|
|
296
312
|
<TableCell>
|
|
@@ -331,7 +347,7 @@ function DeviceCard({
|
|
|
331
347
|
</div>
|
|
332
348
|
<AppleError device={device} />
|
|
333
349
|
<p className="flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground">
|
|
334
|
-
<span>{device
|
|
350
|
+
<span>{requesterOf(device)}</span>
|
|
335
351
|
<span aria-hidden="true">·</span>
|
|
336
352
|
<RelativeTime ms={device.created_at_ms} />
|
|
337
353
|
{device.build_id === null ? null : (
|
|
@@ -388,11 +404,15 @@ function NameDialog({
|
|
|
388
404
|
<dl className="grid grid-cols-[auto_minmax(0,1fr)] gap-x-4 gap-y-1 text-sm">
|
|
389
405
|
<dt className="text-muted-foreground">Requested by</dt>
|
|
390
406
|
<dd className="truncate">
|
|
391
|
-
{target.device.requested_by ?? "Terminal"}
|
|
407
|
+
{target.device.requested_by ?? "Terminal (CLI)"}
|
|
392
408
|
</dd>
|
|
393
409
|
<dt className="text-muted-foreground">UDID</dt>
|
|
394
|
-
|
|
395
|
-
|
|
410
|
+
{/* All of it, to check against Finder: a phone has no hover. */}
|
|
411
|
+
<dd
|
|
412
|
+
className="font-mono text-xs break-all select-all"
|
|
413
|
+
translate="no"
|
|
414
|
+
>
|
|
415
|
+
{target.device.udid}
|
|
396
416
|
</dd>
|
|
397
417
|
</dl>
|
|
398
418
|
) : null}
|
|
@@ -425,7 +445,10 @@ function NameDialog({
|
|
|
425
445
|
type="submit"
|
|
426
446
|
>
|
|
427
447
|
{mutation.isPending ? (
|
|
428
|
-
<Loader2
|
|
448
|
+
<Loader2
|
|
449
|
+
className="animate-spin motion-reduce:animate-none"
|
|
450
|
+
data-icon="inline-start"
|
|
451
|
+
/>
|
|
429
452
|
) : (
|
|
430
453
|
<Check data-icon="inline-start" />
|
|
431
454
|
)}
|
|
@@ -464,15 +487,11 @@ function RemoveDialog({
|
|
|
464
487
|
<AlertDialogDescription>
|
|
465
488
|
{decline
|
|
466
489
|
? "It leaves the list. Its owner can request it again."
|
|
467
|
-
: "It leaves the
|
|
490
|
+
: "It leaves the list. New ad hoc builds keep it until it's disabled at Apple."}
|
|
468
491
|
</AlertDialogDescription>
|
|
469
492
|
</AlertDialogHeader>
|
|
470
493
|
{decline || !viewer.canApprove ? null : (
|
|
471
|
-
<div className="flex min-w-0 flex-col
|
|
472
|
-
<p>
|
|
473
|
-
To keep it out of new builds, disable it at Apple from a terminal.
|
|
474
|
-
Its slot isn't returned until the membership year renews.
|
|
475
|
-
</p>
|
|
494
|
+
<div className="flex min-w-0 flex-col text-xs text-muted-foreground [&_code]:break-words [&_code]:whitespace-normal">
|
|
476
495
|
<CopyableText
|
|
477
496
|
label="the command that disables it"
|
|
478
497
|
value={`npx hot-updater native-build devices remove --udid ${device.udid}`}
|
|
@@ -499,7 +518,10 @@ function RemoveDialog({
|
|
|
499
518
|
variant="destructive"
|
|
500
519
|
>
|
|
501
520
|
{remove.isPending ? (
|
|
502
|
-
<Loader2
|
|
521
|
+
<Loader2
|
|
522
|
+
className="animate-spin motion-reduce:animate-none"
|
|
523
|
+
data-icon="inline-start"
|
|
524
|
+
/>
|
|
503
525
|
) : null}
|
|
504
526
|
{withdraw ? "Withdraw" : decline ? "Decline" : "Remove"}
|
|
505
527
|
</AlertDialogAction>
|
|
@@ -509,6 +531,24 @@ function RemoveDialog({
|
|
|
509
531
|
);
|
|
510
532
|
}
|
|
511
533
|
|
|
534
|
+
/** Why iPhones can't register through this Console. */
|
|
535
|
+
function RegistrationNotice({
|
|
536
|
+
status,
|
|
537
|
+
secretName,
|
|
538
|
+
}: {
|
|
539
|
+
readonly status: "local-console" | "no-secret";
|
|
540
|
+
/** The secret to set, for `no-secret`. */
|
|
541
|
+
readonly secretName?: string;
|
|
542
|
+
}) {
|
|
543
|
+
return (
|
|
544
|
+
<p className="text-xs text-muted-foreground" role="status">
|
|
545
|
+
{status === "local-console"
|
|
546
|
+
? "iPhones register through your hosted Console: an iPhone can't reach this computer's."
|
|
547
|
+
: `Set ${secretName} on this Console to register iPhones.`}
|
|
548
|
+
</p>
|
|
549
|
+
);
|
|
550
|
+
}
|
|
551
|
+
|
|
512
552
|
/**
|
|
513
553
|
* Where an iPhone joins the list: on a computer, a QR code of this page; on
|
|
514
554
|
* the iPhone, its name and the profile that reads its UDID, signed for the
|
|
@@ -558,19 +598,16 @@ function RegisterCard({
|
|
|
558
598
|
</p>
|
|
559
599
|
);
|
|
560
600
|
}
|
|
561
|
-
if (
|
|
601
|
+
if (
|
|
602
|
+
view !== undefined &&
|
|
603
|
+
(view.registration === "local-console" ||
|
|
604
|
+
view.registration === "no-secret")
|
|
605
|
+
) {
|
|
562
606
|
return (
|
|
563
|
-
<
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
);
|
|
568
|
-
}
|
|
569
|
-
if (view?.registration === "no-secret") {
|
|
570
|
-
return (
|
|
571
|
-
<p className="text-xs text-muted-foreground" role="status">
|
|
572
|
-
Set BETTER_AUTH_SECRET on this Console to register iPhones.
|
|
573
|
-
</p>
|
|
607
|
+
<RegistrationNotice
|
|
608
|
+
secretName={view.secretName}
|
|
609
|
+
status={view.registration}
|
|
610
|
+
/>
|
|
574
611
|
);
|
|
575
612
|
}
|
|
576
613
|
if (!onPhone) {
|
|
@@ -601,18 +638,14 @@ function RegisterCard({
|
|
|
601
638
|
);
|
|
602
639
|
}
|
|
603
640
|
if (link.data?.status === "local-console") {
|
|
604
|
-
return
|
|
605
|
-
<p className="text-xs text-muted-foreground" role="status">
|
|
606
|
-
iPhones register through your hosted Console: an iPhone can't reach
|
|
607
|
-
this computer's.
|
|
608
|
-
</p>
|
|
609
|
-
);
|
|
641
|
+
return <RegistrationNotice status="local-console" />;
|
|
610
642
|
}
|
|
611
643
|
if (link.data?.status === "no-secret") {
|
|
612
644
|
return (
|
|
613
|
-
<
|
|
614
|
-
|
|
615
|
-
|
|
645
|
+
<RegistrationNotice
|
|
646
|
+
secretName={link.data.secretName}
|
|
647
|
+
status="no-secret"
|
|
648
|
+
/>
|
|
616
649
|
);
|
|
617
650
|
}
|
|
618
651
|
return (
|
|
@@ -700,7 +733,7 @@ export function IosDevicesPage({
|
|
|
700
733
|
<p>Open this page on an iPhone to register it.</p>
|
|
701
734
|
) : (
|
|
702
735
|
<Button
|
|
703
|
-
className="h-11 sm:h-
|
|
736
|
+
className="h-11 sm:h-8"
|
|
704
737
|
onClick={() => onSearchChange({})}
|
|
705
738
|
size="sm"
|
|
706
739
|
variant="outline"
|