Fossil

Check-in [540955bd36]
Login

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

Overview
Comment:Omit the expiration date when creating the session cookie.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | timeline-keyboard-navigation
Files: files | file ages | folders
SHA3-256: 540955bd365dad8a672da3fb9cb1136383dcd80f86e00d5fde52183f554dd929
User & Date: florian 2022-07-29 10:24:00.000
Context
2022-07-29
10:26
Fix dynamic style assignment. ... (check-in: bb59cc264e user: florian tags: timeline-keyboard-navigation)
10:24
Omit the expiration date when creating the session cookie. ... (check-in: 540955bd36 user: florian tags: timeline-keyboard-navigation)
06:36
Implement Javascript-based keyboard navigation for web UI timelines. Shortcuts N and M focus the next or previous entry, and J and K toggle between /timeline and /info views for the focused entry. See comments in the committed Javascript file for more information. ... (check-in: b18c425630 user: florian tags: timeline-keyboard-navigation)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/graph.js.
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
      if( key==kDONE ){
        kf.value = '';
        focusVisualize(null,false);
        document.cookie =
          'fossil_timeline_kbnav=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/';
        return;
      }
      document.cookie = 'fossil_timeline_kbnav=1;expires=0;path=/';
      var id = kf.value;
      if( id && dx==0 ){
        var ri = focusRowinfoFromId(id);
        if( ri ){
          var page = ( key==75/*K*/ ) ? '/info/' : '/timeline?c=';
          var href = ri.b + page + ri.h;
          if( href!=location.href.slice(-href.length) ){







|







910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
      if( key==kDONE ){
        kf.value = '';
        focusVisualize(null,false);
        document.cookie =
          'fossil_timeline_kbnav=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/';
        return;
      }
      document.cookie = 'fossil_timeline_kbnav=1;path=/';
      var id = kf.value;
      if( id && dx==0 ){
        var ri = focusRowinfoFromId(id);
        if( ri ){
          var page = ( key==75/*K*/ ) ? '/info/' : '/timeline?c=';
          var href = ri.b + page + ri.h;
          if( href!=location.href.slice(-href.length) ){