Searched hist:"108 f92bd856af52ccb9e86517ad03d96f4a9273a" (Results 1 – 4 of 4) sorted by relevance
| /plugin/annotations/ |
| H A D | DESIGN.md | 108f92bd856af52ccb9e86517ad03d96f4a9273a Wed Jun 03 05:41:55 UTC 2026 tracker-user <82045103+tracker-user@users.noreply.github.com> Eliminate load round-trip by embedding annotations in JSINFO
action.php now reads the annotation list once during page render and ships it inline as JSINFO.annotations.annotations, so script.js renders immediately at DOMContentLoaded with no second AJAX bootstrap (~300 ms saved per view). The embedded list also removes the double file read that existed before (getStats called getAnnotations internally, then the client fetched the same file again).
helper.php adds statsFor(array) so action.php can derive stats from the already-loaded list instead of re-reading through getStats(). getStats now delegates to it.
script.js uses the embedded list when present; falls back to the GET load endpoint only when the list was too large to embed (>128 KB cap). Adds a window.load repositionMarkers call so gutter markers re-align after late-loading images shift the layout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
| H A D | action.php | 108f92bd856af52ccb9e86517ad03d96f4a9273a Wed Jun 03 05:41:55 UTC 2026 tracker-user <82045103+tracker-user@users.noreply.github.com> Eliminate load round-trip by embedding annotations in JSINFO
action.php now reads the annotation list once during page render and ships it inline as JSINFO.annotations.annotations, so script.js renders immediately at DOMContentLoaded with no second AJAX bootstrap (~300 ms saved per view). The embedded list also removes the double file read that existed before (getStats called getAnnotations internally, then the client fetched the same file again).
helper.php adds statsFor(array) so action.php can derive stats from the already-loaded list instead of re-reading through getStats(). getStats now delegates to it.
script.js uses the embedded list when present; falls back to the GET load endpoint only when the list was too large to embed (>128 KB cap). Adds a window.load repositionMarkers call so gutter markers re-align after late-loading images shift the layout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
| H A D | helper.php | 108f92bd856af52ccb9e86517ad03d96f4a9273a Wed Jun 03 05:41:55 UTC 2026 tracker-user <82045103+tracker-user@users.noreply.github.com> Eliminate load round-trip by embedding annotations in JSINFO
action.php now reads the annotation list once during page render and ships it inline as JSINFO.annotations.annotations, so script.js renders immediately at DOMContentLoaded with no second AJAX bootstrap (~300 ms saved per view). The embedded list also removes the double file read that existed before (getStats called getAnnotations internally, then the client fetched the same file again).
helper.php adds statsFor(array) so action.php can derive stats from the already-loaded list instead of re-reading through getStats(). getStats now delegates to it.
script.js uses the embedded list when present; falls back to the GET load endpoint only when the list was too large to embed (>128 KB cap). Adds a window.load repositionMarkers call so gutter markers re-align after late-loading images shift the layout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
| H A D | script.js | 108f92bd856af52ccb9e86517ad03d96f4a9273a Wed Jun 03 05:41:55 UTC 2026 tracker-user <82045103+tracker-user@users.noreply.github.com> Eliminate load round-trip by embedding annotations in JSINFO
action.php now reads the annotation list once during page render and ships it inline as JSINFO.annotations.annotations, so script.js renders immediately at DOMContentLoaded with no second AJAX bootstrap (~300 ms saved per view). The embedded list also removes the double file read that existed before (getStats called getAnnotations internally, then the client fetched the same file again).
helper.php adds statsFor(array) so action.php can derive stats from the already-loaded list instead of re-reading through getStats(). getStats now delegates to it.
script.js uses the embedded list when present; falls back to the GET load endpoint only when the list was too large to embed (>128 KB cap). Adds a window.load repositionMarkers call so gutter markers re-align after late-loading images shift the layout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|