jbonofre commented on code in PR #219:
URL: https://github.com/apache/polaris-tools/pull/219#discussion_r3334292712
##########
console/src/pages/Home.tsx:
##########
@@ -34,60 +38,157 @@ export function Home() {
queryFn: () => principalsApi.list(),
})
- return (
- <div className="space-y-8 p-8">
- {/* Header */}
- <div>
- <h1 className="text-3xl font-bold text-foreground">Get started with
Apache Polaris</h1>
- </div>
+ const stats = [
+ {
+ label: "Catalogs",
+ value: catalogs?.length ?? 0,
+ icon: Database,
+ color: "text-teal-600",
+ bg: "bg-teal-50",
+ href: "/catalogs",
+ },
+ {
+ label: "Connections",
+ value: catalogs?.length ?? 0,
Review Comment:
Yes — copy/paste mistake. The Connections page lists data from
`principalsApi.list()`, so the stat now uses `principals?.length`. Fixed in
1375e52.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]