diff --git a/.changeset/dull-plants-fail.md b/.changeset/dull-plants-fail.md new file mode 100644 index 000000000..dfc1e8d1f --- /dev/null +++ b/.changeset/dull-plants-fail.md @@ -0,0 +1,5 @@ +--- +'renterd': minor +--- + +Alerts are now more concise and show an actionable hint when available. diff --git a/apps/renterd/dialogs/AlertsDialog.tsx b/apps/renterd/dialogs/AlertsDialog.tsx index c88101e13..e80305bc1 100644 --- a/apps/renterd/dialogs/AlertsDialog.tsx +++ b/apps/renterd/dialogs/AlertsDialog.tsx @@ -89,10 +89,11 @@ export function AlertsDialog({ open, onOpenChange }: Props) { } const dataFieldOrder = [ + 'hint', 'origin', 'hostKey', 'contractID', - 'account', + 'accountID', 'slabKey', 'additions', 'removals', @@ -273,6 +274,23 @@ const dataFields: Record< ) }, }, + hint: { + render: ({ value }: { value: string }) => ( +
+ {value} +
+ ), + }, + allowance: { + render: ({ value }: { value: string }) => ( +
+ + allowance + + +
+ ), + }, balance: { render: ({ value }: { value: string }) => (
diff --git a/apps/website/components/DownloadSelect.tsx b/apps/website/components/DownloadSelect.tsx index 456ecd6fe..eaff5eadf 100644 --- a/apps/website/components/DownloadSelect.tsx +++ b/apps/website/components/DownloadSelect.tsx @@ -22,12 +22,7 @@ export function DownloadSelect({ daemon, release, testnetOnly }: Props) { const [download, setDownload] = useState(downloadLinks[0]) return ( -
+