Say which cards give how far their orbit strays, since Pluto's does not
The date field's description read "Each moon's and dwarf planet's card says how far its orbit strays from 1950 to 2100." Pluto is a dwarf planet on its card, but it moves on Standish's planet elements, and the ETL measures only moons and the SBDB bodies against Horizons: its card ends "Orbit: JPL approximate mean elements (Standish), fit for 3000 BC to AD 3000." and gives no stray figure. In bodies.json, Ceres (7.2), Eris (0.1), Haumea (0.4), Makemake (0.3) and every moon carry one; Pluto does not. The description now reads "AD 1 to AD 3000, where the planets' and Pluto's elements hold. Each moon's card, and Ceres's, Eris's, Haumea's and Makemake's, says how far its orbit strays from 1950 to 2100." The CLOCK_WINDOW comment and the scene's note comment make the same distinction. Test: hud-dock 'opens the date field on the clock's date...' asserts the new sentence. Control: putting the old sentence back fails that test only (1 failed, 836 passed). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1768,7 +1768,7 @@ export class GalaxySystemSceneComponent implements AfterViewInit, OnDestroy {
|
||||
: []),
|
||||
]);
|
||||
// Where the orbits come from, and for the Sun how far from the present they hold: each
|
||||
// body's card names its own source, and for a moon or dwarf planet how far it strays from
|
||||
// body's card names its own source, and for a moon or an SBDB dwarf planet how far it strays from
|
||||
// Horizons over the span it was checked.
|
||||
const source = this.bodies.some((body) => body.systemStarId === star.id) ? 'JPL mean elements, the planets’ fit for 3000 BC to AD 3000 and the moons’ checked from 1950 to 2100, and the SBDB’s osculating ones for Ceres, Eris, Haumea and Makemake, checked over the same span,' : 'published elements';
|
||||
// Named to the minute, in UTC like the date field: a jump to 18:00 on a given day is a
|
||||
|
||||
@@ -416,7 +416,9 @@ describe('HudDockComponent', () => {
|
||||
expect(field.min).toBe('0001-01-01T00:00');
|
||||
expect(field.max).toBe('3000-01-01T00:00');
|
||||
expect(host().querySelector(`#${field.getAttribute('aria-describedby')}`)?.textContent).toContain('AD 1 to AD 3000');
|
||||
expect(host().querySelector(`#${field.getAttribute('aria-describedby')}`)?.textContent).toContain('how far its orbit strays from 1950 to 2100');
|
||||
// Only the moons and the four dwarf planets from the SBDB are measured against Horizons; Pluto
|
||||
// is on Standish's planet elements, and its card gives their span instead.
|
||||
expect(host().querySelector(`#${field.getAttribute('aria-describedby')}`)?.textContent).toContain('Each moon’s card, and Ceres’s, Eris’s, Haumea’s and Makemake’s, says how far its orbit strays from 1950 to 2100');
|
||||
});
|
||||
|
||||
it('jumps the clock to the date submitted, read as UTC', () => {
|
||||
|
||||
@@ -377,7 +377,7 @@ function isWideViewport(): boolean {
|
||||
Go
|
||||
</button>
|
||||
<p id="clock-date-window" class="w-full text-[10px] text-muted">
|
||||
AD 1 to AD 3000, where the planets’ elements hold. Each moon’s and dwarf planet’s card says how far its orbit strays from 1950 to 2100.
|
||||
AD 1 to AD 3000, where the planets’ and Pluto’s elements hold. Each moon’s card, and Ceres’s, Eris’s, Haumea’s and Makemake’s, says how far its orbit strays from 1950 to 2100.
|
||||
</p>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user