Skip to content

Commit b104c50

Browse files
committed
docs(kp-chart): the component renders nodes, so say so everywhere it is described
The manifest is the single source for the README table, the AGENTS table, the published catalog, the shadcn registry and the demo card, and all of them said the KP chart renders "Ascendant, cusps, and planets". It renders the two nodes too, which is the whole point of the fix in the previous commit. Edited manifest.ts and let the generators propagate it. The kp-chart screenshots are regenerated because the demo card prints that description.
1 parent 64e50b7 commit b104c50

10 files changed

Lines changed: 11 additions & 10 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Use the table below for the formal endpoint to component mapping.
6969
| `<roxy-compatibility-card>` | Cross | POST /astrology/compatibility-score, /numerology/compatibility, /biorhythm/compatibility | Score card with category breakdown |
7070
| `<roxy-vedic-kundli>` | Vedic | POST /vedic-astrology/birth-chart | South, North, or East Indian kundli with degree detail and optional Chandra Lagna view |
7171
| `<roxy-divisional-chart>` | Vedic | POST /vedic-astrology/{divisional-chart,navamsa} | Generic divisional varga wheel from D2 Hora to D60 Shashtiamsa |
72-
| `<roxy-kp-chart>` | Vedic (KP) | POST /vedic-astrology/kp/chart | Ascendant, cusps, and planets with KP stellar hierarchy |
72+
| `<roxy-kp-chart>` | Vedic (KP) | POST /vedic-astrology/kp/chart | Ascendant, cusps, planets and nodes with KP stellar hierarchy |
7373
| `<roxy-vedic-planets-table>` | Vedic | POST /vedic-astrology/birth-chart | Degree, nakshatra, pada, lord, bhava, avastha columns |
7474
| `<roxy-kp-planets-table>` | Vedic (KP) | POST /vedic-astrology/kp/planets | Sub-lord and sub-sub-lord columns |
7575
| `<roxy-kp-ruling-planets>` | Vedic (KP) | POST /vedic-astrology/kp/ruling-planets | Day lord, Moon/Lagna hierarchies, ruling planets, significators |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ Set `ROXY_API_KEY` to your secret key in your server env for the server-side SDK
636636
| `<roxy-compatibility-card>` | Cross | POST /astrology/compatibility-score, /numerology/compatibility, /biorhythm/compatibility | Score card with category breakdown |
637637
| `<roxy-vedic-kundli>` | Vedic | POST /vedic-astrology/birth-chart | South, North, or East Indian kundli with degree detail and optional Chandra Lagna view |
638638
| `<roxy-divisional-chart>` | Vedic | POST /vedic-astrology/{divisional-chart,navamsa} | Generic divisional varga wheel from D2 Hora to D60 Shashtiamsa |
639-
| `<roxy-kp-chart>` | Vedic (KP) | POST /vedic-astrology/kp/chart | Ascendant, cusps, and planets with KP stellar hierarchy |
639+
| `<roxy-kp-chart>` | Vedic (KP) | POST /vedic-astrology/kp/chart | Ascendant, cusps, planets and nodes with KP stellar hierarchy |
640640
| `<roxy-vedic-planets-table>` | Vedic | POST /vedic-astrology/birth-chart | Degree, nakshatra, pada, lord, bhava, avastha columns |
641641
| `<roxy-kp-planets-table>` | Vedic (KP) | POST /vedic-astrology/kp/planets | Sub-lord and sub-sub-lord columns |
642642
| `<roxy-kp-ruling-planets>` | Vedic (KP) | POST /vedic-astrology/kp/ruling-planets | Day lord, Moon/Lagna hierarchies, ruling planets, significators |

apps/docs/manifest.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 Bytes
Loading
-4 Bytes
Loading
-44 Bytes
Loading

packages/ui/components-catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
"pascal": "RoxyKpChart",
340340
"slug": "kp-chart",
341341
"domain": "Vedic (KP)",
342-
"renders": "Ascendant, cusps, and planets with KP stellar hierarchy",
342+
"renders": "Ascendant, cusps, planets and nodes with KP stellar hierarchy",
343343
"endpointLabel": "POST /vedic-astrology/kp/chart",
344344
"endpoints": [
345345
{

packages/ui/src/manifest.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,11 @@ export const ROXY_COMPONENTS: readonly RoxyComponent[] = [
248248
slug: 'kp-chart',
249249
heading: 'KP chart',
250250
description:
251-
'Full KP chart with Ascendant, Placidus cusps, and planets in tabbed stellar-hierarchy tables',
251+
'Full KP chart with Ascendant, Placidus cusps, and planets and nodes in tabbed stellar-hierarchy tables',
252252
docsLabel: 'Vedic (KP)',
253253
endpointLabel: 'POST /vedic-astrology/kp/chart',
254-
docsSummary: 'Ascendant, cusps, and planets with KP stellar hierarchy',
254+
docsSummary:
255+
'Ascendant, cusps, planets and nodes with KP stellar hierarchy',
255256
topic: 'Vedic',
256257
},
257258
{

registry/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
},
7474
{
7575
"name": "roxy-kp-chart",
76-
"description": "Full KP chart with Ascendant, Placidus cusps, and planets in tabbed stellar-hierarchy tables"
76+
"description": "Full KP chart with Ascendant, Placidus cusps, and planets and nodes in tabbed stellar-hierarchy tables"
7777
},
7878
{
7979
"name": "roxy-vedic-planets-table",

registry/kp-chart.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "roxy-kp-chart",
44
"type": "registry:ui",
55
"title": "RoxyKpChart",
6-
"description": "Full KP chart with Ascendant, Placidus cusps, and planets in tabbed stellar-hierarchy tables",
6+
"description": "Full KP chart with Ascendant, Placidus cusps, and planets and nodes in tabbed stellar-hierarchy tables",
77
"dependencies": [
88
"@roxyapi/ui-react"
99
],
@@ -13,7 +13,7 @@
1313
"files": [
1414
{
1515
"path": "components/roxy-kp-chart.tsx",
16-
"content": "'use client';\n\n/**\n * <RoxyKpChart data={...} />: Full KP chart with Ascendant, Placidus cusps, and planets in tabbed stellar-hierarchy tables.\n *\n * You own this file. Customize freely. The component is re-exported from\n * @roxyapi/ui-react and stays in sync with the published package.\n *\n * Typical wiring (server-side fetch, client-side render):\n *\n * ```ts\n * // app/api/kp-chart/route.ts\n * import { createRoxy } from '@roxyapi/sdk';\n * const roxy = createRoxy(process.env.ROXY_API_KEY!);\n * export async function POST(req: Request) {\n * const { data } = await roxy.vedicAstrology.generateKpChart({ body: await req.json() });\n * return Response.json(data);\n * }\n * ```\n *\n * Theme via --roxy-* CSS custom properties on :root (see globals.css).\n */\nimport { RoxyKpChart as Element } from '@roxyapi/ui-react';\nimport type { ComponentProps } from 'react';\n\nexport type RoxyKpChartProps = ComponentProps<typeof Element>;\n\nexport function RoxyKpChart(props: RoxyKpChartProps) {\n\treturn <Element {...props} />;\n}\n\nexport default RoxyKpChart;\n",
16+
"content": "'use client';\n\n/**\n * <RoxyKpChart data={...} />: Full KP chart with Ascendant, Placidus cusps, and planets and nodes in tabbed stellar-hierarchy tables.\n *\n * You own this file. Customize freely. The component is re-exported from\n * @roxyapi/ui-react and stays in sync with the published package.\n *\n * Typical wiring (server-side fetch, client-side render):\n *\n * ```ts\n * // app/api/kp-chart/route.ts\n * import { createRoxy } from '@roxyapi/sdk';\n * const roxy = createRoxy(process.env.ROXY_API_KEY!);\n * export async function POST(req: Request) {\n * const { data } = await roxy.vedicAstrology.generateKpChart({ body: await req.json() });\n * return Response.json(data);\n * }\n * ```\n *\n * Theme via --roxy-* CSS custom properties on :root (see globals.css).\n */\nimport { RoxyKpChart as Element } from '@roxyapi/ui-react';\nimport type { ComponentProps } from 'react';\n\nexport type RoxyKpChartProps = ComponentProps<typeof Element>;\n\nexport function RoxyKpChart(props: RoxyKpChartProps) {\n\treturn <Element {...props} />;\n}\n\nexport default RoxyKpChart;\n",
1717
"type": "registry:ui",
1818
"target": "~/components/roxy-ui/kp-chart.tsx"
1919
}

0 commit comments

Comments
 (0)