When browsing the history of revisions, some revisions are shown with a tag lable, other with a commit label, and there is no clear meaning shown.
For readability, added explanatory tooltips that explain what each picto means.
Closes T1751
Differential D5432
Added explanatory tooltips on the pictos for the revision history faux on Apr 7 2021, 11:37 AM. Authored by
Details When browsing the history of revisions, some revisions are shown with a tag lable, other with a commit label, and there is no clear meaning shown. For readability, added explanatory tooltips that explain what each picto means. Closes T1751
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D5432 (id=19428)Rebasing onto fe53dbee8e... Current branch diff-target is up to date. Changes applied before testcommit 3b78452232fe5a7d98078bf117005bff651e327e Author: Mihir Karbelkar <karbelkar.mihir@gmail.com> Date: Wed Apr 7 14:34:33 2021 +0530 Added explanatory tooltips on the pictos for the revision history Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/650/ Comment Actions Looks good apart some string format syntax. Also you need to upate tests in swh/web/tests/browse/views/test_origin.py. The test that is currently failing is not related to your changes, it is due to the freshly released docutils 0.17
Comment Actions Sure, I followed the syntax for formatting the string from another file. I will make the changes, and add a test for the tooltip and push. Comment Actions
Once landed you will have to rebase the diff on origin/master and update it. Comment Actions Build is green Patch application report for D5432 (id=19448)Rebasing onto ebc729aebe... Current branch diff-target is up to date. Changes applied before testcommit 3630b1968f9d3a9602fddacaf5a331be85a62508 Author: Mihir Karbelkar <karbelkar.mihir@gmail.com> Date: Wed Apr 7 14:34:33 2021 +0530 Added explanatory tooltips on the pictos for the revision history See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/653/ for more details. Comment Actions Looks good ! Please add yourself in the CONTRIBUTORS file in a separate commit. I will accept the diff afterwards. Comment Actions Looks like your previous commit did not get included. Use arc diff --update D5432 origin/master to include the two commits in your branch.
Comment Actions Build is green Patch application report for D5432 (id=19450)Could not rebase; Attempt merge onto ebc729aebe... Updating ebc729ae..f56bd1df Fast-forward CONTRIBUTORS | 1 + swh/web/browse/snapshot_context.py | 9 +++++++++ swh/web/templates/browse/releases.html | 2 +- swh/web/tests/browse/views/test_origin.py | 1 + 4 files changed, 12 insertions(+), 1 deletion(-) Changes applied before testcommit f56bd1dfc010f3c6e76a425db285d637cf1d1b41 Author: Mihir Karbelkar <karbelkar.mihir@gmail.com> Date: Wed Apr 7 17:54:54 2021 +0530 CONTRIBUTORS: Add Mihir Karbelkar commit 3630b1968f9d3a9602fddacaf5a331be85a62508 Author: Mihir Karbelkar <karbelkar.mihir@gmail.com> Date: Wed Apr 7 14:34:33 2021 +0530 Added explanatory tooltips on the pictos for the revision history See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/654/ for more details. Comment Actions
Comment Actions Oh, I am more used to the PR way where we can send away the new commits to a PR :) . Have pushed both commits. Comment Actions Build is green Patch application report for D5432 (id=19452)Rebasing onto ebc729aebe... Current branch diff-target is up to date. Changes applied before testcommit 0e1a506460b8e8dd6f0f765e535ed856c893b985 Author: Mihir Karbelkar <karbelkar.mihir@gmail.com> Date: Wed Apr 7 17:54:54 2021 +0530 CONTRIBUTORS: Add Mihir Karbelkar commit 3630b1968f9d3a9602fddacaf5a331be85a62508 Author: Mihir Karbelkar <karbelkar.mihir@gmail.com> Date: Wed Apr 7 14:34:33 2021 +0530 Added explanatory tooltips on the pictos for the revision history See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/655/ for more details. Comment Actions
Yep, Phabricator is quite different from other forges for PR. Hopefully, we should migrate to GitLab soon. Thanks for tackling this, you can now merge your feature branch to the master one and push it to origin (use git, not the Phabricator Web UI). $ git checkout master $ git merge T1751-Tooltip $ git push origin master |