wiki:APP_RESOURCE_PREVIEW_DISPLAY_R0

Version 12 (modified by todor, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=APP_RESOURCE_PREVIEW_DISPLAY_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

Resources are displayed via a tab and palettes in the right flap. There should be a preview palette in the resources tab that will preview the target of the resource. For example if the resource is with an image target, the image should be displayed in the preview palette when the resource is selected. Even if the target is URL to an image, the image should be previewed in the preview palette.

Task requirements

  • Create a palette for the resource preview.
  • The resource should be previewed in the preview palette when it is selected from the list palette.
  • Create a palette where the resource will be previewed. This could be panel (section of the palette that is only visually separated by the rest of it) palette.
  • For images and video the preview must be a thumbnail (for videos it's best not to be the first frame of the movie, maybe a middle frame of the movie)
  • For frames and pages the preview also should be a thumbnail that looks like e zoomed out actual page or frame.
  • Same goes for .rtf, .pdf, .html files, but the thumbnail there is only of a one page, not the whole document.
  • The books which are used as resources in other books should be also represented by a thumbnail of their first page (in most cases this is cover)
  • Define an UI for the palette(s) that will be used in the design phase of the task

Task result

  • The result of the task should be source code.

Implementation idea

  • When the thumbnail (preview) of the resource is clicked, this resource should be selected as active. For example when a frame preview is clicked this frame is selected on the book and could be directly edited.
  • Detail view palette must include the resource preview and its metadata below.

source:/trunk/sophie2-platform/doc/spec-diagrams/ResourcesTab-new.png

How to demo

  • Run Sophie 2.0.
  • Select from the list with resources an image resource.
  • The image should be previewed in the palette provided.

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)