Add inline help text for hosting services in Admin ADD REPOSITORY page.

Review Request #10890 — Created Feb. 6, 2020 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

Create docs_url and summary attributes in class HostingService and SCMTools.

Fill details in each hosting services (not include Kiln On Demand and Review Board Gateway, because right now we don't have references provided by ReviewBoard Manual.

  1. Hosting Servive: $hostingHelp is a new paragraph with class="hosting-help-text" in the template for the RepositoryForm javascript file. By default, $hostingHelp will nonvisiable. When users select a hosting service, the inline text will show up.

  2. SCMTools: $repoHelp is a new paragraph with class="repo-help-text" in the template for the RepositoryForm javascript file. Only when a user click 'custom' as the hosting service, $repoHelp will visiable. When users select a repo type, the inline text will show up.

Tested in Google Chrome, Firefox and Safari. Inline Text of each hosting service displays correctly in the page.
Tested ./tests/runtests.py reviewboard.webapi.tests.test_hosting_service successfully.

Diff Revision 10

This is not the most recent revision of the diff. The latest diff is revision 11. See what's changed.

orig
1
2
3
4
5
6
7
8
9
10
11

Commits

First Last Summary ID Author
Introduce attributes into HostingService and fill them in each hosting service
1b72a08149f11e6c10cfe2ede34c6b5c6ff81f59 XiaoleZ
modify the coding format, remove trailing space
ff9892ee229fcf88e61a52d1c1585f1ca6640da4 XiaoleZ
Create hosting-inline-help-text attribute in HostingService, and fill details...
8b11f3fb2b0b57c56d2c52a756dabd3540f410d9 XiaoleZ
Remove extra () for import, and remove InlineHelpTextBase Class(wrong direction)
514034994660be775f6422f2d8feb9a3c298a988 XiaoleZ
split inline_help_text into two attributes, change toggle() into hide() and s...
0a771b3367d344f5af053ce91074542aa2c8ed89 XiaoleZ
updatethe formate
d38b3e429225957b79c37d669c1887d7eb2d89e0 XiaoleZ
remove trailing space for repositoryform.es6.js
1f67103471963d3ac64207f41429c3bf21091099 XiaoleZ
remove unicode(), replace html() with text(), add tag <a>
e3def9304b6606ae125bf87f0f438028c3939dfe XiaoleZ
clean code
6493e05ae787c418b4e4f5c53028411432269814 XiaoleZ
change repositoryform.js
5e407cd4f7180441074e93dd7bfb0789df9ae26d XiaoleZ
remove trailing space
1072019e93f36385a7a546e600db7cc7a13f5188 XiaoleZ
add ;
07f64c66475ae1d56f98929e2df30950991868ac XiaoleZ
implementating scmtools
abdbba5ffd7473bc678e4c1582c8ed6b5bc363a2 XiaoleZ
rebase from the master/setup repoHelp show() condition
9f18351952ca41754e2db9fcd7e062f88e83d222 XiaoleZ
reviewboard/hostingsvcs/assembla.py
reviewboard/hostingsvcs/beanstalk.py
reviewboard/hostingsvcs/bitbucket.py
reviewboard/hostingsvcs/codebasehq.py
reviewboard/hostingsvcs/fake.py
reviewboard/hostingsvcs/gerrit.py
reviewboard/hostingsvcs/github.py
reviewboard/hostingsvcs/gitlab.py
reviewboard/hostingsvcs/gitorious.py
reviewboard/hostingsvcs/kiln.py
reviewboard/hostingsvcs/service.py
reviewboard/hostingsvcs/sourceforge.py
reviewboard/hostingsvcs/unfuddle.py
reviewboard/scmtools/clearcase.py
reviewboard/scmtools/cvs.py
reviewboard/scmtools/forms.py
reviewboard/scmtools/git.py
reviewboard/scmtools/hg.py
reviewboard/scmtools/perforce.py
reviewboard/scmtools/plastic.py
reviewboard/scmtools/bzr/__init__.py
reviewboard/scmtools/svn/__init__.py
reviewboard/static/rb/js/admin/repositoryform.es6.js
reviewboard/webapi/resources/hosting_service.py
reviewboard/webapi/tests/test_hosting_service.py
Loading...