Fossil SCM

Added diff context loading to the list of places we use JS in javascript.md.

stephan 2021-09-16 15:39 trunk
Commit 30a2b87c4ed89321059e63580bcb18aed4e5f3ca7ef2a6a6875d328731d0f40c
1 file changed +12
--- www/javascript.md
+++ www/javascript.md
@@ -462,10 +462,22 @@
462462
if you want to examine part of a line scrolled out of the HTML element
463463
in one box, you probably want to examine the same point on that line in
464464
the other box.
465465
466466
_Graceful Fallback:_ Manually scroll both boxes to sync their views.
467
+
468
+### <a id="diffcontext"></a>Diff Context Loading
469
+
470
+As of version 2.17, fossil adds the ability for the diff views to
471
+dynamically load more lines of context around changed blocks. The UI
472
+controls for this feature are injected using JavaScript when the page
473
+initializes and make use of XHR requests to fetch data from the
474
+fossil instance.
475
+
476
+_Graceful Fallback:_ The UI controls for this feature do not appear
477
+when JS is unavailable, leaving the user with the "legacy" static diff
478
+view.
467479
468480
469481
### <a id="sort"></a>Table Sorting
470482
471483
On pages showing a data table, the column headers may be clickable to do
472484
--- www/javascript.md
+++ www/javascript.md
@@ -462,10 +462,22 @@
462 if you want to examine part of a line scrolled out of the HTML element
463 in one box, you probably want to examine the same point on that line in
464 the other box.
465
466 _Graceful Fallback:_ Manually scroll both boxes to sync their views.
 
 
 
 
 
 
 
 
 
 
 
 
467
468
469 ### <a id="sort"></a>Table Sorting
470
471 On pages showing a data table, the column headers may be clickable to do
472
--- www/javascript.md
+++ www/javascript.md
@@ -462,10 +462,22 @@
462 if you want to examine part of a line scrolled out of the HTML element
463 in one box, you probably want to examine the same point on that line in
464 the other box.
465
466 _Graceful Fallback:_ Manually scroll both boxes to sync their views.
467
468 ### <a id="diffcontext"></a>Diff Context Loading
469
470 As of version 2.17, fossil adds the ability for the diff views to
471 dynamically load more lines of context around changed blocks. The UI
472 controls for this feature are injected using JavaScript when the page
473 initializes and make use of XHR requests to fetch data from the
474 fossil instance.
475
476 _Graceful Fallback:_ The UI controls for this feature do not appear
477 when JS is unavailable, leaving the user with the "legacy" static diff
478 view.
479
480
481 ### <a id="sort"></a>Table Sorting
482
483 On pages showing a data table, the column headers may be clickable to do
484

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button