Fossil

Check-in [cfed59c9d1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Comment and TODO updates.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | timeline-keyboard-navigation
Files: files | file ages | folders
SHA3-256: cfed59c9d1fbe1ca691a3fb3d4e59b2b7a01892c50e9aaaac223002ddd5cea17
User & Date: florian 2022-08-14 08:16:00.000
Context
2022-08-14
08:54
Merge with trunk to get the latest web UI fixes. ... (check-in: e317872280 user: florian tags: timeline-keyboard-navigation)
08:16
Comment and TODO updates. ... (check-in: cfed59c9d1 user: florian tags: timeline-keyboard-navigation)
08:07
Cancel default actions and further bubbling of handled keys, in case of conflicts with browser (extension) defaults. ... (check-in: 5257960080 user: florian tags: timeline-keyboard-navigation)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/graph.js.
835
836
837
838
839
840
841
842







843
844
845
846
847
848
849
** Ideas and TODOs:
**
**  o kTMLN: ensure the correct page is opened when used from /finfo (it seems
**    the tooltip also gets this "wrong", but maybe that's acceptable, because
**    in order to be able to construct /file URLs, the information provided by
**    the timeline-data-N blocks would have to be extended).
**  o kFRST, kLAST: check if the previous/next page should be opened if focus is
**    already at the top/bottom.







*/
(function(){
  window.addEventListener('load',function(){
// "Primary" (1) and "secondary" (2) selections swapped compared to CSS classes:
// (1)  .timelineSecondary →
//          /vdiff?to=, /timeline?sel2=
// (2)  .timelineSelected:not(.timelineSecondary) →







|
>
>
>
>
>
>
>







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