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

Bug 418796

Summary: Sections across Orion should be unified
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: antonm, ken_walker, malgorzata.tomczyk
Version: 4.0Flags: Szymon.Brandys: review+
Target Milestone: 4.0 RC2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Git Status with Project styles
none
Git repositories page
none
Git repository view
none
Settings page with bad section layout none

Description Szymon Brandys CLA 2013-10-07 06:28:43 EDT
The new sections introduced while working on Orion Projects do not reuse current Orion sections. So when you are on the project's page and you switch to Git Status, or Settings you see inconsistency. I also noticed that sections on the Settings page look different than other sections.

I was chatting with Gosia about that and she prepared a mockup showing how Git Status could look like, if we apply the project styles to it.

I asked Anton during last dev call, if we want to have the same looking sections across Orion, and I remember he said yes. This is probably too late for 4.0, but I think we should work on that right after 4.0 is announced.
Comment 1 Szymon Brandys CLA 2013-10-07 06:30:15 EDT
Created attachment 236166 [details]
Git Status with Project styles
Comment 2 Szymon Brandys CLA 2013-10-07 06:32:10 EDT
(In reply to Szymon Brandys from comment #0)
> This is probably too late
> for 4.0, but I think we should work on that right after 4.0 is announced.

To clarify, I think it is too late for unifying the code, but I think Sections on Git, Settings pages and others should look similar to Project's sections. I think this should be done for 4.0.
Comment 3 Szymon Brandys CLA 2013-10-07 07:02:05 EDT
I am not sure who is the right person to work on that. On the second thought I think a better person is Anton.
Comment 4 Malgorzata Janczarska CLA 2013-10-08 09:45:20 EDT
Created attachment 236217 [details]
Git repositories page
Comment 5 Malgorzata Janczarska CLA 2013-10-08 09:45:42 EDT
Created attachment 236218 [details]
Git repository view
Comment 6 Malgorzata Janczarska CLA 2013-10-08 09:46:09 EDT
Created attachment 236219 [details]
Settings page with bad section layout
Comment 7 Malgorzata Janczarska CLA 2013-10-08 09:52:37 EDT
I started to override the section with styles from project view to unify them for our non opensource Orion usage, and it works fine in some cases (see Git repository view), but then I discovered that we have some places where we are using only the section without a title (for instance git repositories page or git log) and this doesn't look fine. Also there are some pages, like attached Settings page, where the section was not used correctly, the contents of the section is in fact below the section and I can't style it changing css.

The question is if there is something I can do with those problems only by css changes, without editing orion source code.
Comment 8 Szymon Brandys CLA 2013-10-08 09:57:10 EDT
The questions is if Anton likes the changes and Ken's gives +1 to release that to RC2. If so, we may change that by tweaking CSS + some changes on pages.

Another concern that we have and need Anton's comment on it is what to do with pages like Git Repositories or Git Log where there is no section header. So far all elements on the list are just "boxed".
Comment 9 Ken Walker CLA 2013-10-08 10:04:46 EDT
+1 for aligning the look - I'd like to try a branch if possible
Comment 10 Anton McConville CLA 2013-10-08 10:12:23 EDT
Nice job Gosia. I think this looks more consistent now. 

The settings page looks a bit wonky - but I think you recognize that, so that would need a bit of attention to lay it out in line with the borders.

The repositories page looks more consistent, but I think in the longer term will need a bit of attention too - to make the content style blend a bit better.

I think you should push this for Orion. We'll have a UX discussion about it at the next call to gather some feedback from our team.

Thanks.
Comment 11 Malgorzata Janczarska CLA 2013-10-08 10:41:06 EDT
(In reply to Anton McConville from comment #10)
> I think you should push this for Orion. We'll have a UX discussion about it
> at the next call to gather some feedback from our team.

I'm not sure if I should commit those changes now. I could probably fix the Settings page, because it's obvious how it should look like, but I would have to leave the blue box for Repositories and Git Log pages and this looks very unprofessionally.
Comment 12 Malgorzata Janczarska CLA 2013-10-08 13:53:24 EDT
This is a commit that contains changes that apply styles to Sections and fixes the problem in Settings:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=Bug418796_Sections&id=98a52820331119399a256750c65404e741bf7757

It should be merged with master when the headless box problem is fixed.
Comment 13 Anton McConville CLA 2013-10-08 14:13:41 EDT
I'll make a proposal for the repositories page before Thursday.

However, I think this exercise helps highlight that the repositories page already has the problem even as it stands. Committing your update so far improves things in my opinion, and would help us discover other problems more quickly.
Comment 14 Szymon Brandys CLA 2013-10-08 16:09:36 EDT
(In reply to Anton McConville from comment #13)
> I'll make a proposal for the repositories page before Thursday.
> 
> However, I think this exercise helps highlight that the repositories page
> already has the problem even as it stands. Committing your update so far
> improves things in my opinion, and would help us discover other problems
> more quickly.

Note Anton that we need something that is implementable quickly. Any further improvements will be done (hopefully) during 5.0. BTW I do not think this particular issue highlights any repositories page problems. This page as well as git log or any other page that shows lists is different than pages with lots of sections with headers. So that's why it needs more attention at this moment.
Comment 15 Malgorzata Janczarska CLA 2013-10-09 06:04:31 EDT
Changes pushed to master.
Opened Bug 419002 and Bug 419004 for remaining styling decisions to be made.