Fossil SCM

Comment and TODO updates.

florian 2022-08-14 08:16 timeline-keyboard-navigation
Commit cfed59c9d1fbe1ca691a3fb3d4e59b2b7a01892c50e9aaaac223002ddd5cea17
1 file changed +8 -1
+8 -1
--- src/graph.js
+++ src/graph.js
@@ -837,11 +837,18 @@
837837
** o kTMLN: ensure the correct page is opened when used from /finfo (it seems
838838
** the tooltip also gets this "wrong", but maybe that's acceptable, because
839839
** in order to be able to construct /file URLs, the information provided by
840840
** the timeline-data-N blocks would have to be extended).
841841
** o kFRST, kLAST: check if the previous/next page should be opened if focus is
842
-** already at the top/bottom.
842
+** already at the top/bottom. UPDATE: the current behavior seems to be "more
843
+** predictable", i.e. these shortcuts reliably focus the top/bottom item.
844
+** o Shortcut(s) to (re)load /timeline with different View Style or Entry Limit
845
+** by appending query parameters `&ss={ViewStyle}&n={EntryLimit±N}&udc=1' to
846
+** the URL; alternatively set keyboard focus to the "View Style" <select> or
847
+** to the "Max:" <input> field.
848
+** o Auto-expand the hidden details (hash, user, tags) for focused entries in
849
+** Compact View (by inheritance via CSS class `.timelineFocused').
843850
*/
844851
(function(){
845852
window.addEventListener('load',function(){
846853
// "Primary" (1) and "secondary" (2) selections swapped compared to CSS classes:
847854
// (1) .timelineSecondary →
848855
--- src/graph.js
+++ src/graph.js
@@ -837,11 +837,18 @@
837 ** o kTMLN: ensure the correct page is opened when used from /finfo (it seems
838 ** the tooltip also gets this "wrong", but maybe that's acceptable, because
839 ** in order to be able to construct /file URLs, the information provided by
840 ** the timeline-data-N blocks would have to be extended).
841 ** o kFRST, kLAST: check if the previous/next page should be opened if focus is
842 ** already at the top/bottom.
 
 
 
 
 
 
 
843 */
844 (function(){
845 window.addEventListener('load',function(){
846 // "Primary" (1) and "secondary" (2) selections swapped compared to CSS classes:
847 // (1) .timelineSecondary →
848
--- src/graph.js
+++ src/graph.js
@@ -837,11 +837,18 @@
837 ** o kTMLN: ensure the correct page is opened when used from /finfo (it seems
838 ** the tooltip also gets this "wrong", but maybe that's acceptable, because
839 ** in order to be able to construct /file URLs, the information provided by
840 ** the timeline-data-N blocks would have to be extended).
841 ** o kFRST, kLAST: check if the previous/next page should be opened if focus is
842 ** already at the top/bottom. UPDATE: the current behavior seems to be "more
843 ** predictable", i.e. these shortcuts reliably focus the top/bottom item.
844 ** o Shortcut(s) to (re)load /timeline with different View Style or Entry Limit
845 ** by appending query parameters `&ss={ViewStyle}&n={EntryLimit±N}&udc=1' to
846 ** the URL; alternatively set keyboard focus to the "View Style" <select> or
847 ** to the "Max:" <input> field.
848 ** o Auto-expand the hidden details (hash, user, tags) for focused entries in
849 ** Compact View (by inheritance via CSS class `.timelineFocused').
850 */
851 (function(){
852 window.addEventListener('load',function(){
853 // "Primary" (1) and "secondary" (2) selections swapped compared to CSS classes:
854 // (1) .timelineSecondary →
855

Keyboard Shortcuts

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