mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
docs(street-level): shorten docs and comments before merge
Trim the doc text this PR adds (README, CHANGELOG, CURRENT-STATE, KNOWN-ISSUES, SECURITY, DATA_SOURCES, .env.example, the CI job comment), drop code comments that restate the code, cut design-note JSDoc to a line or two, and drop review tags from test names. Comments only; no code changes. Also: README key count (seven keys, two metered), CURRENT-STATE's gate paragraph (CI runs a production build with a dummy token), the stacked doc above meshBoxInRange and the orphaned inMeshRange line in coverage.js, and a duplicate ALPR row in DATA_SOURCES that a merge had brought back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c65feda4b1
commit
4ea6631425
85 files changed
+701
-1520
No files matched your search
@@ -12,16 +12,9 @@ import { displayPanelScroller } from './displayPanelScroll.js';
|
||||
const pendingCollapseRetries = new WeakSet();
|
||||
|
||||
/**
|
||||
* Read where the left rail's top edge is going to settle, not where it is.
|
||||
* The left pass commits `--left-stack-safe-top` and requests this pass in the
|
||||
* same frame, but `top` then animates; nothing re-runs this pass when the
|
||||
* animation ends, because ResizeObserver ignores moves. Mid-flight, take the
|
||||
* running transition's end value (which also covers Cyber's fixed rail top),
|
||||
* falling back to the left pass's committed target.
|
||||
* @param {HTMLElement} leftStack Rail supplying the shared top baseline.
|
||||
* @param {number} viewportHeight Current viewport height in px.
|
||||
* @param {Function} getComputedStyle DOM style reader.
|
||||
* @returns {number} Settled top in px, or NaN when there is no left rail.
|
||||
* Where the left rail's top will settle, not where it is mid-transition:
|
||||
* nothing re-runs this pass when the `top` animation ends (ResizeObserver
|
||||
* ignores moves). Returns NaN when there is no left rail.
|
||||
*/
|
||||
function settledLeftRailTop(leftStack, viewportHeight, getComputedStyle) {
|
||||
const top = leftStack?.getBoundingClientRect().top;
|
||||
@@ -76,8 +69,7 @@ export function layoutRightPanelRail({
|
||||
// A collapse may schedule one follow-up, which only measures and allocates.
|
||||
const isCollapseRetry = pendingCollapseRetries.delete(stack);
|
||||
|
||||
// A panel lifted out of the rail (PanelPositionControls' portable mode)
|
||||
// is a fixed window the rail neither measures nor allocates.
|
||||
// A floating (lifted-out) panel is not laid out by the rail.
|
||||
const panels = [...stack.children].filter(
|
||||
(panel) =>
|
||||
panel.matches('[data-panel-id]:not(.panel-floating)') && !panel.hidden,
|
||||
|
||||
Reference in new issue
Block a user