Community
Participate
Working Groups
Currently, only the connector entries have a "Learn more..." link. It would be helpful if categories had a similar link so more information could be provided about the purpose or significance of a category.
David: This seems high priority because we will need to have a way to link in pages like http://wiki.eclipse.org/Mylyn_Extensions from the Community listing. In general, I think that every category will need some sort of more detailed explanation, including the Eclipse.org one and the one that we're planning for the Tasktop Certified program. Is it feasible for us to add the same sort of "i" link and popup for categories?
(In reply to comment #1) > Is it feasible for us to add the same sort of "i" link and popup for categories? Really anything is possible. Just specify how you want it to work... I'll make it happen. Some things to consider: * 'learn more' link and 'i' might make the UI look busy * consider permitting HTML anchors in the category description text * should links open a browser or popup information provided in the categoryDescriptor?
It seems like the easiest thing to do right now is to make the "i" mechanism work for categories. It has a nice preview with "Learn More" link on popup, etc. We may not need a screenshot for it, but that image area could be used for larger images or logos. So it seems like the requirements are almost identical. I realize it will make the UI look a bit more busy, but I think it will be worthwhile in terms of ensuring that people can learn about the category without needing to fall into a web browser.
Initial implementation complete, some minor UI issues with button appearance remain.
Created attachment 138850 [details] mylyn/context/zip
done
buttons look funny on Linux
look fixed on Linux
David: I'm seeing some bad rendering and need to get a screenshot of the discovery out asap. Could you revert the change for now? Will attach screenshot.
Created attachment 138944 [details] borders on info buttons
(In reply to comment #9) > David: I'm seeing some bad rendering and need to get a screenshot of the > discovery out asap. Could you revert the change for now? Changes reverted
Thanks! Always annoying how the cross-platform behavior is different when transparencies come into play.
David, it looks like the toolbar version had the border flag set: ToolBar toolBar = new ToolBar(connectorContainer, SWT.FLAT | SWT.BORDER). Can you try removing that?
(In reply to comment #13) > David, it looks like the toolbar version had the border flag set Oops! I had set a border to debug some layout issues that I was having. Thanks for pointing that out! Fix committed.... could you give it a go on Linux and Windows?
Thanks. Works fine on Linux and Windows. The only thing that I find slightly weird is that categories require a screenshot (what would we put there?). Would it make sense to make the Tooltip for categories smaller if no screenshot is specified?
(In reply to comment #15) > Thanks. Works fine on Linux and Windows. > > The only thing that I find slightly weird is that categories require a > screenshot (what would we put there?). Well, it's not actually required, just allowed. Good point about when would we use it -- but allowing it gives us better code reusability. > Would it make sense to make the Tooltip for categories smaller if no screenshot is specified? Yes, that makes sense.
I've reworked the layout so that if an image is not provided the tooltip is less wide, and the height is only as high as needed to fit all of the provided text. As per Steffen's suggestion I've moved the 'Learn More' link up so that both the summary and the link fit into the same vertical space as the image. This means that there is one less line available for summary text, which could affect content for some connectors. Please take a look and let me know what you think. It's pretty easy to move the link back down if we need to.
Created attachment 138997 [details] mylyn/context/zip
Looks good. I would align the Learn More link at the bottom though if there is a screenshot.
(In reply to comment #19) > I would align the Learn More link at the bottom though if there is a screenshot. Done.