Merge lp://qastaging/~spiv/launchpad/bmp-inline-diffs into lp://qastaging/launchpad
Proposed by
Andrew Bennetts
Status: | Merged |
---|---|
Approved by: | Andrew Bennetts |
Approved revision: | no longer in the source branch. |
Merged at revision: | 13481 |
Proposed branch: | lp://qastaging/~spiv/launchpad/bmp-inline-diffs |
Merge into: | lp://qastaging/launchpad |
Prerequisite: | lp://qastaging/~danilo/launchpad/expander-anim |
Diff against target: |
418 lines (+333/-2) 8 files modified
lib/lp/code/browser/branchmergeproposal.py (+11/-0) lib/lp/code/javascript/branch.revisionexpander.js (+103/-0) lib/lp/code/javascript/tests/test_branchrevisionexpander.html (+35/-0) lib/lp/code/javascript/tests/test_branchrevisionexpander.js (+151/-0) lib/lp/code/templates/branch-macros.pt (+16/-0) lib/lp/code/templates/branchmergeproposal-index.pt (+11/-1) lib/lp/code/templates/codereviewnewrevisions-footer.pt (+2/-1) lib/lp/services/features/flags.py (+4/-0) |
To merge this branch: | bzr merge lp://qastaging/~spiv/launchpad/bmp-inline-diffs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган (community) | Approve | ||
Review via email: mp+66634@code.qastaging.launchpad.net |
Commit message
[r=danilo][bug=813349] Add inline diff expanders to revision summaries in merge proposal comments.
Description of the change
This still needs some polish, but it's close enough to be worth a review. It's guarded by a feature flag so it ought to be safe to land as is.
It adds inline dynamic diffs to branch index and merge proposal pages. It fetches them from loggerhead (proxied via the lpnet webapp).
It's guarded by a feature flag, the jslint is clean, and it has some tests (although it could use more). I don't think this does anything outrageously wrong, but many of the tools used here are new to me so I could be wrong! So let me know what you think!
To post a comment you must log in.
[tweak] Could you please change the css so you get a pointing-hand cursor (link cursor) on the expander?