Originally created by: dcommander
This is one of several tickets I am creating to log what I feel are shortcomings in the new (Allura) code viewer relative to the old (ViewVC) code viewer. In all of these cases, simply providing a way for users to continue using ViewVC would be an acceptable workaround.
In the History view of the new code viewer, only very limited information is displayed, and in particular, long commit messages are cut off.
Compare:
http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo/branches/1.2.x/BUILDING.txt?view=log
with
https://sourceforge.net/p/libjpeg-turbo/code/HEAD/log/?path=/branches/1.2.x/BUILDING.txt
The ViewVC log view has the following features that the new Allura log view lacks:
-- Displays the complete commit message
-- Displays same in a fixed-width font, so pre-formatted commit messages are displayed correctly
-- Displays date and time of commit (as well as relative time since commit)
-- Provides view/download links for each revision (NOTE: in this case, "download" actually means "view directly in browser." It isn't the same as the "download" feature you already have implemented. See ticket #5227 regarding the desire to provide a "view in browser" mode for the new code viewer.) Suggest having three links: "view" that pops up the file in your existing code viewer, "download" that literally downloads the file, and "view in browser" that views the file directly in the browser without downloading.
-- File length in bytes
Originally by: dcommander
See also https://sourceforge.net/p/allura/tickets/4929/, regarding enabling the Allura code viewer to diff between any two arbitrary revisions in the history view, as ViewVC did.
There's definitely room to show the full commit message and full date/time. I'm not sure about dispaying it in a fixed-width font since we should be supporting Markdown rendering of commit message text.
Additional links and showing byte size seem a little less valuable in my opinion, but if we can add them without making the listing too cluttered it should be fine.
Originally by: dcommander
Personally, I don't care how cluttered it is as long as it's as usable as ViewVC. Currently it ain't. The history view is the most important view, and a lot of developers are used to the workflow of ViewVC-- of being able to pull up a history view of a file from the directory view, then see at a glance how the file has evolved, diff between revisions, download or view the file, or see its origins (whether it was copied from another file, etc.) Without this functionality, the new code viewer is a regression relative to ViewVC.
For git & hg, showing tags would be nice too.
Created #314: [#5773] Allura Code Viewer: provide more information in History view (3 cp)
Related
Tickets:
#5773Closed #314.
Allura:
je/42cc_5773
ForgeHg:
42cc_5773
(just minor changes in tests)grid-14
within the firsttd
. This will remove some unnecessary whitespace on the left side, and will also give the whole table the flexibility to adjust width. Then the timestamp won't always wrap..pad p
has apadding: 0 10px 1em;
rule which is adding whitespace to the left & below the commit message. That makes the left side not lined up well, and wasted space between each commit. I don't know exactly what the right fix is, perhaps just override that CSS rule with a more specific one.c.app.repo.url_for_commit
instead of constructing the symbolic link URLs in the template. That'll ensure special characters are handled.url_for_commit
?Created #328: [#5773] Code viewer improvements (1cp)
Related
Tickets:
#5773Closed #328.
Allura:
je/42cc_5773
ForgeHg:
42cc_5773
sftheme: