[Sugar-devel] [DESIGN] for Journal Plugins feature
bert at freudenbergs.de
Sat Nov 28 10:24:30 EST 2009
On 27.11.2009, at 17:15, Aleksey Lim wrote:
> On Fri, Nov 27, 2009 at 04:57:40PM +0100, Bert Freudenberg wrote:
>> On 27.11.2009, at 07:13, Aleksey Lim wrote:
>>> Hi all,
>>> Want to know what people think about Journal Plugins feature
>>> and particularly that design team think about UI changes involved
>>> in this feature.
>>>  http://wiki.sugarlabs.org/go/Features/Journal_Plugins#
>>>  http://wiki.sugarlabs.org/go/Features/Journal_Plugins#UI_changes
>> I like the idea.
>> Reminds me of how in OS X, the Finder can be extended to support more file formats by a plugin stored in an application bundle. The Finder knows how to show previews for several document types (audio, video, multi-page document). It recognizes a limited set of formats (like jpg, mov, pdf), and the app's plugin simply needs to convert its own format into one of these formats.
> yup, I had the same in mind, API will let Journal plugin to use query
> (tags(which include MIME types tags) and search string) to restrict
> final set of objects
>> That's a lot simpler than having to write an actual viewer plugin (which also would have to be maintained for every new version of the viewer). E.g., Etoys stores a thumbnail in its project file which are simply zipped, so the preview plugin just extracts the thumbnail picture from the project. Tt does not have to care about the actual UI used to display the thumbnail.
> there is another benefit for separate plugins -
> plugins could be out of sugar release cycle(;P to core maintainers)
I'm not sure we are talking about the same thing, though maybe we do - so I'll be explicit:
I'm suggesting that activities would contain those plugins for the types they support.
Of course that idea isn't actually new, this is at least related:
But I'm glad the need for this is being seen. For Sugar to be general I think activities need to be able to provide these capabilities.
- Bert -
More information about the Sugar-devel