ChangeScreen2: Show inline comments in history

When a history comment is expanded include the inline comments written
on that revision by the author at the same timestamp.  This makes it
easier to follow a change's evolution over time, especially if the
reader is new to the change and does not have the entire email thread
in their inbox.

Bug: issue 93
Change-Id: I57fe29fea2b3651306ff0a58746cefcfe1669267
This commit is contained in:
Shawn Pearce
2013-11-20 01:23:20 -08:00
parent cd2fc945ae
commit eb924ff74a
11 changed files with 462 additions and 18 deletions

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<ui:UiBinder
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:c='urn:import:com.google.gerrit.client'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
.box {
}
.path {
display: block;
white-space: nowrap;
}
.comments {
margin-left: 1em;
}
</ui:style>
<g:HTMLPanel styleName='{style.box}'>
<g:Anchor styleName='{style.path}' ui:field='path'/>
<g:FlowPanel styleName='{style.comments}' ui:field='comments'/>
</g:HTMLPanel>
</ui:UiBinder>