Ticket #189 (assigned enhancement)
History Browser
| Reported by: | peathal@… | Owned by: | alwin |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.x |
| Component: | All | Version: | |
| Severity: | tweak | Keywords: | |
| Cc: |
Description (last modified by alwin) (diff)
I had an idea of a good 'history browser'. If you want to look at a progress of e.g. file.txt. My suggestion is the following display:
------------------------------------------ | Logfile of current revision | ------------------------------------------ | | 1 | |V| | | |<[6,rev9,+] |V| | | 2 | |V| |[3,rev7,+]>| | |V| | | 4 | |V| | |[rev9] 6 |[-] |V| ------------------------------------------ | GotoRev:X | CurrentRev | Save | Cancel | ------------------------------------------
The V's on the very right indicates the scrollbar and 1,2, 4 and 5 are any text lines of the current revision e.g. 8. It is important that the text is selectable (not like in kompare), so that the current textfile can be copied to external programs. On the left side you will see lines that are in rev 7, but not in rev 8 (here 3). On the right side you will see only new lines of rev 9 (here 6).
To make it compact I propose to make those changes on the left and on the right available as tooltip only: mouse over will show the changed lines. If the user click on the '+' icon the browser merges the lines into the current rev 8. Now a '-' icon appears where one can undo this step. Save, Cancle, CurrentRev? and GotoRev? are self-explanatory.
What will happen if the revision branches?
Its simple: the changes will be indicated by there id and revision so nothing more has to happen then, because a copied file has its different revision, right?
If the user does: CTRL+Click on the revision number e.g. rev9 on the right the browser goes to the next/previous revision with the updated changes on the right and on the left.
This method should be the fastest history browsing to view differences and to make it fast enough the related revisions should be cached and loaded in a background task. At least 5 files for one view??
E.g. 6 [7 |8| 9] 10 -> 6 7 [8 |9| 10] 11
Where I made the switch from rev 8 to rev 9.
