= Summary =
This branch provides bug-like inline commenting for merge proposals.
== Proposed fix ==
Implement a CodeReviewComment widget that extends Comment, use it in the
page. Only show it if YUI is enabled.
Replies are not yet supported as an inline operation.
== Pre-implementation notes ==
Preimplementation was with thumper. Further discussion was with rockstar
== Implementation details ==
To ensure consistent rendering, a new url, "+fragment" is provided, so
that the HTML fragment for a particular CodeReviewComment can be retrieved.
A new canonical_url function is provided for retrieving test URLs. (The
normal urls require an SSL certificate to be accepted.)
The conversation now has a top-level div with id "conversation" to make
it easier to append to the conversation.
== JSLint notices ==
jslint: No problem found in
'/home/abentley/launchpad/inline-comment/lib/canonical/launchpad/javascript/lp/comment.js'.
jslint: No problem found in
'/home/abentley/launchpad/inline-comment/lib/canonical/launchpad/javascript/lp/errors.js'.
jslint: No problem found in
'/home/abentley/launchpad/inline-comment/lib/canonical/launchpad/javascript/bugs/bugtask-index.js'.
jslint: 3 files to lint.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
reviewer rockstar ui
reviewer launchpad-reviewers code
= Summary =
This branch provides bug-like inline commenting for merge proposals.
== Proposed fix ==
Implement a CodeReviewComment widget that extends Comment, use it in the
page. Only show it if YUI is enabled.
Replies are not yet supported as an inline operation.
== Pre-implementation notes ==
Preimplementation was with thumper. Further discussion was with rockstar
== Implementation details ==
To ensure consistent rendering, a new url, "+fragment" is provided, so
that the HTML fragment for a particular CodeReviewComment can be retrieved.
A new canonical_url function is provided for retrieving test URLs. (The
normal urls require an SSL certificate to be accepted.)
The conversation now has a top-level div with id "conversation" to make
it easier to append to the conversation.
== Tests == CodeWindmillLay er test_merge_ proposal_ commenting
bin/test -v --layer=
== Demo and Q/A ==
Create a merge proposal and go to its page. The comment form will
appear at the bottom. Make a comment or vote.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: code/browser/ configure. zcml code/templates/ branchmergeprop osal-index. pt code/windmill/ tests/test_ merge_proposal_ commenting. py code/windmill/ testing. py code/templates/ codereviewcomme nt-fragment. pt /launchpad/ javascript/ lp/comment. js
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/canonical
== JSLint notices == abentley/ launchpad/ inline- comment/ lib/canonical/ launchpad/ javascript/ lp/comment. js'.
jslint: No problem found in
'/home/
jslint: No problem found in abentley/ launchpad/ inline- comment/ lib/canonical/ launchpad/ javascript/ lp/errors. js'.
'/home/
jslint: No problem found in abentley/ launchpad/ inline- comment/ lib/canonical/ launchpad/ javascript/ bugs/bugtask- index.js' .
'/home/
jslint: 3 files to lint. enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkr Ut+AACgkQ0F+ nu1YWqI2gEgCcDE xr+O2PM2T4hjymy JAjNlXx 2fFYU5ieWX9tJgq MfT
R38AnjWMDltSr/
=HhFi
-----END PGP SIGNATURE-----