Community
Participate
Working Groups
User can see tags for a solution (suggested to the right of the company name). Search for solutions having a tag by clicking on a tag, using the existing search text API.
Nathan, we'd need API for retrieving the tags of each node. I think having them listed on the marketplace/node itself besides categories, etc would make most sense. Example: http://marketplace.eclipse.org/content/subclipse/api/p New xml fragment: <tags> <tag>scm</tag> <tag>svn</tag> <tag>version control</tag> ... </tags>
Sounds good. I'll be keeping the same format for them as categories. <tags> <tag id="##" name="tag_name"/> <tag id="##" name="tag_name"/>
http://marketplace.eclipse.org/content/subclipse/api/p As requested.
Wow, that was quick. Thanks Nathan. I'm currently working on the client side implementation and will provide a first patch tomorrow.
Created attachment 188919 [details] first draft Here is a first draft of this functionality. Please do not commit until we agree on the UI part of this. Will rebase once source code is formatted (task 337145).
Created attachment 189021 [details] final patch David, can we have a look at this together?
Benjamin, the patch looks great. A couple of things to look at: # the contentType event should be fired after setting the content type, not before # the contentType event should be fired whenever the contentType changes, not just when doing a query for tags # the contentType listener should look at the content type to determine whether or not to switch tabs # consider making "contentType" a constant of MarketplaceViewer # MarketplaceViewer.listeners should either be a LinkedHashSet or a List (it should preserve order) # how does a tag search differ from a regular search? # consider adding yourself as an @author Let me know if you want to discuss
Created attachment 189166 [details] patch > 1. the contentType event should be fired after setting the content type, not before Makes sense, done > 2. the contentType event should be fired whenever the contentType changes, not just when doing a query for tags Done > 3. the contentType listener should look at the content type to determine whether or not to switch tabs Done > 4. consider making "contentType" a constant of MarketplaceViewer Done > 5. MarketplaceViewer.listeners should either be a LinkedHashSet or a List (it should preserve order) Done > 6. how does a tag search differ from a regular search? No difference here as stated in the task description. We're currenlty using the regular search for tags. > 7. consider adding yourself as an @author Done
Great work Benjamin. It seems that the patch exceeds the guidelines for < 250 lines required for a CQ, however when looking at the patch most of the changes are to whitespace. I wonder if it makes sense to reformat all of the source code, then re-cut the patch (without unnecessary whitespace changes)
I'll apply the patch and just not apply whitespace changes.
Thanks Benjamin! Changes applied
Created attachment 189335 [details] mylyn/context/zip
Cleanup: closing all released fixes.