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

Bug 376894

Summary: Need a way to render sectional progress message.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: malgorzata.tomczyk, simon_kaegi, Szymon.Brandys
Version: 0.4   
Target Milestone: 0.5 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 376903    

Description libing wang CLA 2012-04-16 12:34:18 EDT
Sometimes rendering contents of a section needs server transactions. I am sure there will be other cases but here is a typical one:
When there are a few numbers of files in the commit page, the compare widgets are not rendered right away because there are deferred calls waiting for server responses. This misled me at the beginning that the compare widget is not working until later when I realized there are a lot of files there.

Not limited to compare widget, we need an option to either pass the sectional progress service to the content(sectional) renderer, or, in a better way, the progress service can identify who is calling the service and render the message in the proper DOM.
Comment 1 Susan McCourt CLA 2012-04-16 17:55:10 EDT
The repo pages uses the "..." concept in the section header.  Can we generalize that?
Comment 2 Szymon Brandys CLA 2012-04-17 03:47:33 EDT
I was chatting with Libing about that yesterday. I want to generalize "..." to use as the default section progress indicator.
Comment 3 libing wang CLA 2012-04-19 16:35:52 EDT
In bug 377199, I am putting a deferred callback after a compare widget is loaded.
Currently the git commit page is providing this callback so that the commit page is loading compare widget one after another visually. This basically means you can see the first compare widget loaded fairly faster.
Comment 4 libing wang CLA 2012-05-22 10:25:06 EDT
Szymon, I've noticed that you put this to M2 a month ago. Is it still targeted to M2?
Comment 5 Szymon Brandys CLA 2012-05-22 10:32:17 EDT
Yes, part of the work was already made. I need to check what is missing.
Comment 6 Simon Kaegi CLA 2012-05-28 12:28:54 EDT
Szymon, I'm moving to RC1 and assigning to you as I'm not sure where this bug is. Please update and inf necessary re-target it.
Comment 7 Szymon Brandys CLA 2012-06-04 10:47:50 EDT
It was fixed already. Sections have their own progress monitor than can be used by long-running operations populating the section body.