Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 459917

Summary: Compare page: Render user readable names in the title bar.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: 8.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2015-02-13 12:30:51 EST
We used to have a logic inside the compare widget to ask file client for metadata by which we can extract the full readable path of both files. But when we started to use the multiple compare widgets in the git page we thought it is too expensive inside each widgetand we just used the file URL.
As separate compare page only consumes one widget and the title bar is visible, we should request meta data first and pass it into the widget.

There three cases we are using separate compare page now
1. Compare any two files. We need to request metadata for both files.
2. From the embedded compare widgets in git pages, compare the working version VS index. We need to request metadata for the working version.
3. From the embedded compare widgets in git log, we cant really request metadata on a git commit, so we have to show the raw url.