fix(rectification): show natal houses and lagna changes in a live right rail
The board was live data sitting under chat, so each new event looked like nothing changed. Keep candidate cards in the transcript and group 换升 by minute for the side panel. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,6 +27,36 @@ const LAYER_LABEL: Record<WindowScanLayer, string> = {
|
||||
pranapada: "Pranapada Lagna",
|
||||
};
|
||||
|
||||
export const WINDOW_SCAN_SCORING_LAYER_ORDER = [
|
||||
"d1",
|
||||
"d9",
|
||||
"d10",
|
||||
"d4",
|
||||
"d5",
|
||||
"d7",
|
||||
"d12",
|
||||
"d24",
|
||||
"d2",
|
||||
"d11",
|
||||
"d30",
|
||||
] as const satisfies readonly WindowScanLayer[];
|
||||
|
||||
export const WINDOW_SCAN_DISPLAY_LAYER_ORDER = [
|
||||
"pada",
|
||||
"hora",
|
||||
"ghati",
|
||||
"bhava",
|
||||
"pranapada",
|
||||
] as const satisfies readonly WindowScanLayer[];
|
||||
|
||||
export function windowScanLayerLabel(layer: WindowScanLayer): string {
|
||||
return LAYER_LABEL[layer];
|
||||
}
|
||||
|
||||
export function isWindowScanDisplayLayer(layer: WindowScanLayer): boolean {
|
||||
return (WINDOW_SCAN_DISPLAY_LAYER_ORDER as readonly WindowScanLayer[]).includes(layer);
|
||||
}
|
||||
|
||||
export type WindowScanLayer =
|
||||
| "d1"
|
||||
| "d9"
|
||||
|
||||
Reference in New Issue
Block a user