Skip to content

Commit 67e43f4

Browse files
committed
feat(synastry,samples): drop the natal-merge workaround now that the endpoint returns positions
The synastry wheel needed per-person planet longitudes the response did not carry, so the capture script made an extra natal call and merged the arrays in by hand. The fixture that produced was not a response any caller could get: it showed natal-shaped planets carrying interpretation prose, which synastry has never returned. The endpoint returns the plotting subset as of today, so the extra call, the merge and the SynastryWithPlanets intersection type are all gone and the demo now renders from one real response. Adds a monthly horoscope demo card. The card already rendered an advice block for any period that carried the field, and monthly is the one that did not, so that branch had nothing exercising it. A branch with no demo card is a branch the audit never walks. Raises the e2e timeout to 90s. The axe passes take 10-12s alone and roughly triple under the three browser matrix; one was already running at 29.1s against the 30s default, and the extra demo card tipped addStyleTag in the practitioner spec past it. That surfaces as a timeout inside a THEMING test and reads as a theming bug, which is the expensive part.
1 parent 3caade1 commit 67e43f4

177 files changed

Lines changed: 329 additions & 615 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/components-manifest.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,15 @@ window.ROXY_UI_DEMOS = [
295295
attrs: ' period="daily"',
296296
sdkCall: ` const { data } = await roxy.astrology.getDailyHoroscope({ path: { sign: 'aries' } });`,
297297
}),
298+
entry({
299+
id: 'horoscope-monthly',
300+
tag: 'roxy-horoscope-card',
301+
heading: 'Monthly horoscope',
302+
seoLine:
303+
'Month-level horoscope with a week-by-week breakdown, key lunar dates and one takeaway for the month',
304+
attrs: ' period="monthly"',
305+
sdkCall: ` const { data } = await roxy.astrology.getMonthlyHoroscope({ path: { sign: 'aries' } });`,
306+
}),
298307
entry({
299308
id: 'compat',
300309
tag: 'roxy-compatibility-card',
21.5 KB

apps/docs/sample-data.js

Lines changed: 175 additions & 566 deletions
Large diffs are not rendered by default.

assets/previews/hexagram-dark.webp

504 Bytes
580 Bytes
-7.94 KB
-7.81 KB
51 Bytes
424 Bytes
-21 Bytes

0 commit comments

Comments
 (0)