diff --git a/apps/ui/src/components/metagraphed/subnets-highlights.tsx b/apps/ui/src/components/metagraphed/subnets-highlights.tsx index aff8e79758..6dd6d97e0f 100644 --- a/apps/ui/src/components/metagraphed/subnets-highlights.tsx +++ b/apps/ui/src/components/metagraphed/subnets-highlights.tsx @@ -74,8 +74,13 @@ function Card({
{eyebrow}
-
{value}
- {hint ?
{hint}
: null} +
+ {value} +
+ {hint ?
{hint}
: null}
{open ? (
- {isLoading ? Loading sample… : null} + {isLoading ? ( + Loading sample… + ) : null} {isError ? ( - Sample unavailable right now. + Sample unavailable right now. ) : null} {fixture ? ( <> @@ -91,7 +93,7 @@ export function SurfaceFixture({ {bodyText} ) : ( - Empty response body. + Empty response body. )}
diff --git a/apps/ui/src/components/metagraphed/table-controls.tsx b/apps/ui/src/components/metagraphed/table-controls.tsx index 7f8e9d9f2e..1b5ee233da 100644 --- a/apps/ui/src/components/metagraphed/table-controls.tsx +++ b/apps/ui/src/components/metagraphed/table-controls.tsx @@ -105,7 +105,7 @@ export function SearchInput({ // the aria-labelled sibling controls (SortButton, PageSizeSelect) in this file. aria-label={placeholder ?? "Search"} className={classNames( - "w-full rounded border border-border bg-paper pl-8 pr-14 py-1.5 text-sm text-ink-strong", + "w-full rounded border border-border bg-paper pl-8 pr-16 py-1.5 text-sm text-ink-strong", "placeholder:text-ink-muted focus:outline-none focus:border-accent/50 focus:ring-2 focus:ring-ring transition-colors", )} /> @@ -298,8 +298,8 @@ export function ResetFiltersButton({ onClick={onReset} className={ bare - ? "inline-flex items-center gap-1 rounded px-2 py-1 min-h-8 text-[11px] font-medium text-ink-muted hover:text-ink-strong hover:bg-surface transition-colors" - : "inline-flex items-center gap-1 rounded border border-border bg-card px-2 py-1 text-[11px] font-medium text-ink hover:border-ink/30 min-h-7" + ? "inline-flex items-center gap-1 rounded px-2 py-1 min-h-8 mg-type-caption font-medium text-ink-muted hover:text-ink-strong hover:bg-surface transition-colors" + : "inline-flex items-center gap-1 rounded border border-border bg-card px-2 py-1 mg-type-caption font-medium text-ink hover:border-ink/30 min-h-7" } title="Clear search, filters, and pagination" > diff --git a/apps/ui/src/components/metagraphed/take-management-modal.tsx b/apps/ui/src/components/metagraphed/take-management-modal.tsx index d088639e51..5e99207365 100644 --- a/apps/ui/src/components/metagraphed/take-management-modal.tsx +++ b/apps/ui/src/components/metagraphed/take-management-modal.tsx @@ -19,6 +19,7 @@ import { } from "@jsonbored/ui-kit"; import { WalletConnectPanel } from "@/components/metagraphed/wallet-connect"; import { SearchInput } from "@/components/metagraphed/table-controls"; +import { Panel } from "@/components/metagraphed/primitives"; import { shortHash } from "@/lib/metagraphed/blocks"; import { classNames } from "@/lib/metagraphed/format"; import { broadcastStatusLabel } from "@/components/metagraphed/stake-unstake-modal"; @@ -202,10 +203,12 @@ function TakeAmountStep({ flow }: { flow: UseTakeFlowResult }) { return (
-
{DIRECTIONS.map((d) => { const active = d === flow.direction; @@ -225,7 +228,7 @@ function TakeAmountStep({ flow }: { flow: UseTakeFlowResult }) { ); })} -
+
-
+
Current take
{flow.currentTakePct != null ? `${flow.currentTakePct.toFixed(2)}%` : "—"} @@ -327,7 +330,7 @@ function TakeConfirmationStep({ loading={flow.feeTao === null} /> -
+
@@ -70,7 +70,7 @@ export function ValidatorApyPanel({ ))}
{!anyLoading && !anyValue ? ( -

+

APY estimates need stake and emission history — they appear once enough daily snapshots exist for this validator.

@@ -80,7 +80,7 @@ export function ValidatorApyPanel({ windowLabel="history windows" stakeRisk /> -

+

Delegator APY annualizes the latest daily rewards-per-1k-τ rate from neuron_daily, net of validator take. Snapshot-tier emission can lag; server-side modelling (#2551) will replace this client estimate. diff --git a/apps/ui/src/components/metagraphed/validator-card-list.tsx b/apps/ui/src/components/metagraphed/validator-card-list.tsx index 8db0249ef0..e896bcfb25 100644 --- a/apps/ui/src/components/metagraphed/validator-card-list.tsx +++ b/apps/ui/src/components/metagraphed/validator-card-list.tsx @@ -52,7 +52,7 @@ export function ValidatorCardList({ validators, className }: ValidatorCardListPr {/* Same AccountAddress hover-card treatment as the desktop column (#6338). */}

-
+
diff --git a/apps/ui/src/components/metagraphed/validator-guide.tsx b/apps/ui/src/components/metagraphed/validator-guide.tsx index e94b4cf8c3..cf23b3c2d8 100644 --- a/apps/ui/src/components/metagraphed/validator-guide.tsx +++ b/apps/ui/src/components/metagraphed/validator-guide.tsx @@ -88,7 +88,7 @@ export function ValidatorGuide() { {open ? (
-
+
{METRICS.map((m) => (
{m.term}
@@ -96,7 +96,7 @@ export function ValidatorGuide() {
))}
-

+

{GUIDANCE}

@@ -119,11 +119,11 @@ export function ValidatorGuide() { {m.term} -

{m.def}

+

{m.def}

))}
-

+

{GUIDANCE}

diff --git a/apps/ui/src/components/metagraphed/verify-surface-button.tsx b/apps/ui/src/components/metagraphed/verify-surface-button.tsx index 7141e43239..8f55331abc 100644 --- a/apps/ui/src/components/metagraphed/verify-surface-button.tsx +++ b/apps/ui/src/components/metagraphed/verify-surface-button.tsx @@ -28,7 +28,7 @@ export function VerifySurfaceButton({ surfaceId }: { surfaceId: string }) { const rateLimited = mutation.error instanceof ApiError && mutation.error.status === 429; return ( -
+
-

+

diff --git a/apps/ui/src/components/metagraphed/watch-alert-form.tsx b/apps/ui/src/components/metagraphed/watch-alert-form.tsx index 8973fe54a0..140d4ff80d 100644 --- a/apps/ui/src/components/metagraphed/watch-alert-form.tsx +++ b/apps/ui/src/components/metagraphed/watch-alert-form.tsx @@ -60,7 +60,7 @@ export function Field({ {required ? * : null} {children} - {hint ? {hint} : null} + {hint ? {hint} : null} ); } diff --git a/apps/ui/src/components/metagraphed/webhook-subscription-manager.tsx b/apps/ui/src/components/metagraphed/webhook-subscription-manager.tsx index 1d3243d7c8..7d6d245524 100644 --- a/apps/ui/src/components/metagraphed/webhook-subscription-manager.tsx +++ b/apps/ui/src/components/metagraphed/webhook-subscription-manager.tsx @@ -203,7 +203,7 @@ function CreateSubscriptionSection() { className={inputCls} /> {netuidsError ? ( -

{netuidsError}

+

{netuidsError}

) : null} @@ -234,7 +234,9 @@ function CreateSubscriptionSection() { }} className={inputCls} /> - {secretError ?

{secretError}

: null} + {secretError ? ( +

{secretError}

+ ) : null}