-
- Downloads
"README.rst" did not exist on "0560b813b2e8fadad01a8969382e39abc0dca899"
browse: Add new orderings for revisions history views
Previously in history views, revisions were ordered according to the BFS traversal of the revisions DAG. This commit adds three new ordering type modifying the history display: * Committer date ordering: revisions are displayed in reverse chronological order of their commit date * DFS: revisions are ordered according to the DFS traversal of the revisions DAG * DFS post: revisions are ordered according to the DFS post traversal of the revisions DAG The four types of revisions ordering can be easily switched through the UI. Closes T1026
Showing
- debian/control 2 additions, 2 deletionsdebian/control
- docs/uri-scheme-browse-origin.rst 10 additions, 10 deletionsdocs/uri-scheme-browse-origin.rst
- docs/uri-scheme-browse-revision.rst 10 additions, 10 deletionsdocs/uri-scheme-browse-revision.rst
- requirements-swh.txt 1 addition, 1 deletionrequirements-swh.txt
- requirements.txt 1 addition, 2 deletionsrequirements.txt
- swh/web/assets/src/bundles/browse/browse.css 3 additions, 3 deletionsswh/web/assets/src/bundles/browse/browse.css
- swh/web/assets/src/bundles/revision/index.js 1 addition, 0 deletionsswh/web/assets/src/bundles/revision/index.js
- swh/web/assets/src/bundles/revision/log-utils.js 26 additions, 0 deletionsswh/web/assets/src/bundles/revision/log-utils.js
- swh/web/assets/src/bundles/revision/revision.css 21 additions, 3 deletionsswh/web/assets/src/bundles/revision/revision.css
- swh/web/browse/utils.py 36 additions, 60 deletionsswh/web/browse/utils.py
- swh/web/browse/views/revision.py 47 additions, 40 deletionsswh/web/browse/views/revision.py
- swh/web/browse/views/utils/snapshot_context.py 49 additions, 55 deletionsswh/web/browse/views/utils/snapshot_context.py
- swh/web/common/service.py 46 additions, 0 deletionsswh/web/common/service.py
- swh/web/settings/common.py 2 additions, 1 deletionswh/web/settings/common.py
- swh/web/templates/browse/revision-log.html 71 additions, 13 deletionsswh/web/templates/browse/revision-log.html
- swh/web/templates/browse/revision.html 3 additions, 2 deletionsswh/web/templates/browse/revision.html
- swh/web/tests/browse/test_utils.py 0 additions, 174 deletionsswh/web/tests/browse/test_utils.py
- swh/web/tests/browse/views/data/revision_test_data.py 47 additions, 1 deletionswh/web/tests/browse/views/data/revision_test_data.py
- swh/web/tests/browse/views/test_revision.py 41 additions, 65 deletionsswh/web/tests/browse/views/test_revision.py
Loading
-
Some references in the commit message have been migrated:
- T1026 is now #1026 (closed)
Please register or sign in to comment