Flyspray - The bug killer!

  • Status New
  • Percent Complete
    20%
  • Task Type Bug Report
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 1.0 devel (github master)
  • Due in Version 1.1 devel
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by peterdd - 12.03.2015
Last edited by peterdd - 19.09.2015

FS#1967 - Keep browser scroll position when sorting task list

When I scroll down the page to see more of the task list and then click on one of the column headings to sot by this heading, the answer page doesn't scroll down to the table.

I think there are 2 technical solutions for that:

1. set an name/id a-anchor on top of the table and on each column heading link add for example '#tasklist'.

2. add a js-sorter with complete extra search and sort ajax-backend with e.g. libs from http://datatables.net/ This requires aleso writing a server side handler for taking the ajax requests (respecting user permissions!) and is only usable if js in enabled in browser. So this second solution can only be a luxury comfort function.

Project Manager
Psychokiller1888 commented on 22.03.2015 06:32

I don't get it. When you want to sort, you have to scroll up to click on the category right? The anchor needs a trigger to show, so you'd have to select the task before going up to sort again.

Project Manager
peterdd commented on 24.03.2015 21:57

Currently: If I use the tasklist page with opened advanced search fields, the result page is not shown even with 1000 pixel height monitor.

So I scroll down, click on a table heading to resort the result and bam! I'm at top of the page with the header, the huge advanced search form, but no result table visible until again I scroll down.

But what wants a user in this situation? He knows on which site he is (header space wasted), he made his custom search selection (form still open if he wants recheck it, can scroll up), but in nearly 100% he wants justs view the result table, but resorted to the column header he clicked.

So by making an anchor at the top/column headings of the result table and adding '#tasklist' (or how it is named) to the sort with the column headings would scroll the page with resulttable at top.

Project Manager
peterdd commented on 22.08.2015 22:32

Note: There is this black caret thing on the left side of task list.

I now found out you can navigate with keys [j] and [k] through the list (javascript event handler). But it used a cookie for temporarly storing/accessing the current task, so remembering that task could be used between pages.

This cookie storage was dropped to enable multi-tab multi-project browsing by me. So it is always at the top of the list without any real function.

A replacement of that cookie could be using SessionStorage, which restrict thats information to the current browser tab and so the current/last selected task row can be marked/highlighted.

Project Manager
peterdd commented on 19.09.2015 05:18

The caret position is now stored in sessionStorage.

The scroll position is noncritical fro a FS1.0 release, so lets move this task to FS1.1.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing