mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-10-26 06:19:49 +00:00
db37dc2bcd
* test(BUG-2182): reproduce pane Back returning to the top of the previous item * fix(BUG-2182): the split pane's Back returns to the previous item at the position it was read at * test(BUG-2182): the drill-after-Back race with a scrolled A, the case the saved position turns into a shallow entry * test(BUG-2182): drop the scrolled race variant; the race it copies is flaky on main (filed separately)
24 lines
720 B
TypeScript
24 lines
720 B
TypeScript
// See https://svelte.dev/docs/kit/types#app.d.ts
|
|
// for information about these interfaces
|
|
declare global {
|
|
namespace App {
|
|
// interface Error {}
|
|
// interface Locals {}
|
|
// interface PageData {}
|
|
// Split-pane mini-browser depth/ownership stamp (PLAN-2154 /
|
|
// TASK-2157). Carried in SvelteKit `page.state` (NOT raw
|
|
// `history.state`) so it follows opaque Back/Forward, survives
|
|
// `history.go`, and reconstructs on cold-load. See
|
|
// `$lib/collections/paneController.ts`.
|
|
interface PageState {
|
|
paneDepth?: number;
|
|
paneOwned?: boolean;
|
|
/** Pane scroll offset saved when drilling forward from this entry (BUG-2182). */
|
|
paneScrollTop?: number;
|
|
}
|
|
// interface Platform {}
|
|
}
|
|
}
|
|
|
|
export {};
|