-
- Downloads
browse: Improve revision view with list of changed files and diffs
This commit adds the list of changed files in the revision view but also the diffs (unified and side-by-side) of each changed file. Those new features are reachable from the "Changes" tab in the revision view. Computation of file diffs will be requested on the fly as the view is scrolled. Regarding the diffs, they are only computed for textual contents and diffs larger than 20 kB will not be computed by default (the user can still manually request it if needed). Closes T921
Showing
- docs/uri-scheme-browse-revision.rst 23 additions, 8 deletionsdocs/uri-scheme-browse-revision.rst
- swh/web/browse/utils.py 1 addition, 4 deletionsswh/web/browse/utils.py
- swh/web/browse/views/content.py 97 additions, 0 deletionsswh/web/browse/views/content.py
- swh/web/browse/views/revision.py 99 additions, 1 deletionswh/web/browse/views/revision.py
- swh/web/common/service.py 19 additions, 0 deletionsswh/web/common/service.py
- swh/web/static/css/style.css 43 additions, 2 deletionsswh/web/static/css/style.css
- swh/web/static/js/jquery-waypoints/jquery.waypoints.js 662 additions, 0 deletionsswh/web/static/js/jquery-waypoints/jquery.waypoints.js
- swh/web/static/js/jquery-waypoints/jquery.waypoints.min.js 7 additions, 0 deletionsswh/web/static/js/jquery-waypoints/jquery.waypoints.min.js
- swh/web/static/js/jquery-waypoints/licenses.txt 23 additions, 0 deletionsswh/web/static/js/jquery-waypoints/licenses.txt
- swh/web/static/js/jquery-waypoints/noframework.waypoints.js 758 additions, 0 deletionsswh/web/static/js/jquery-waypoints/noframework.waypoints.js
- swh/web/static/js/jquery-waypoints/noframework.waypoints.min.js 7 additions, 0 deletions...b/static/js/jquery-waypoints/noframework.waypoints.min.js
- swh/web/static/js/jquery-waypoints/shortcuts/infinite.js 84 additions, 0 deletionsswh/web/static/js/jquery-waypoints/shortcuts/infinite.js
- swh/web/static/js/jquery-waypoints/shortcuts/infinite.min.js 7 additions, 0 deletionsswh/web/static/js/jquery-waypoints/shortcuts/infinite.min.js
- swh/web/static/js/jquery-waypoints/shortcuts/inview.js 120 additions, 0 deletionsswh/web/static/js/jquery-waypoints/shortcuts/inview.js
- swh/web/static/js/jquery-waypoints/shortcuts/inview.min.js 7 additions, 0 deletionsswh/web/static/js/jquery-waypoints/shortcuts/inview.min.js
- swh/web/static/js/jquery-waypoints/shortcuts/sticky.js 70 additions, 0 deletionsswh/web/static/js/jquery-waypoints/shortcuts/sticky.js
- swh/web/static/js/jquery-waypoints/shortcuts/sticky.min.js 7 additions, 0 deletionsswh/web/static/js/jquery-waypoints/shortcuts/sticky.min.js
- swh/web/static/js/jquery-waypoints/waypoints.debug.js 46 additions, 0 deletionsswh/web/static/js/jquery-waypoints/waypoints.debug.js
- swh/web/static/js/jquery-waypoints/zepto.waypoints.js 705 additions, 0 deletionsswh/web/static/js/jquery-waypoints/zepto.waypoints.js
- swh/web/static/js/jquery-waypoints/zepto.waypoints.min.js 7 additions, 0 deletionsswh/web/static/js/jquery-waypoints/zepto.waypoints.min.js
Loading
-
Some references in the commit message have been migrated:
- T921 is now #921 (closed)
Please register or sign in to comment