wiki:APP_DND_INTERACTION_R0

Version 2 (modified by vanya, 15 years ago) (diff)

--

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

Error: Macro TicketQuery(summary=APP_DND_INTERACTION_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

  • Achieve the following
    • User should be able to embed a book by dragging book from open books palette to the current book. - optional
      • The embedded book should be linked
      • When not appropriate action is executed (e.g. trying to embed a book in itself) message warning for the inappropriate must be evoked.
    • Dragging a page resource from the resources palette to the page should do nothing - ok
    • Dragging a page (pages) from the page preview palette to the page preview palette should put the selected page(s) to the desired position
      • If the selection is not by neighbour pages, they should become neighbour and put where dropped
      • A highlight between pages should appear before drop
    • Dragging a page template from the library tab over an existing page in the page preview palette should apply the template to the page it was dropped on
      • The target page should be highlighted before the drop
    • Dragging a page template from the library tab before/after an existing page in the page preview palette should create a new page from the selected template and put it where it was dropped
      • A highlight between pages should appear before the drop
    • Dragging a page from the resources palette to the page preview palette between pages puts the page in the page sequence (links it)
      • A highlight between pages should appear before the drop
    • Dragging a page from the resources palette to the page preview palette over an existing page replaces the targed page with the dropped one (linked)
      • A highlight between pages should appear before the drop
    • Dragging image resource to an empty space of the page work area should create a frame and link the resource in it - ok
    • Dragging text resource to an empty space of the page work area should create a frame and link the resource in it - ok
    • Dragging a book resource to an empty space of the page work area should create a frame and link the book in it - ok
    • Dragging an audio resource to an empty space of the page work area should create a frame and link the audio in it - ok
    • Dragging a video resource to an empty space of the page work area should create a frame and link the video in it - ok
    • Draggging a pdf resource to an empty space of the page work area should create a frame and link the PDF in it - ok
    • Dragging any resource to an empty space of the page work area or resources palette of another book should copy the resource to the target book. The resource should have the same name as it was in the previous boook. - ok
    • If one of the above resources is dropped over the content of an existing frame, it should replace it's content - later
    • If an image resource is dropped over the padding space of an existing frame, it should replace it's background - ok
      • If other resource is dropped over the padding space of an existing frame, nothing should happen - ok
    • Dragging a frame (using titlebar) to another book should copy the frame (including contents) to the other book - not defined yet
    • Pressing CTRL before the drop forces copy instead of link - optional
    • Pressing Alt before the drop forces link instead of copy - optional
  • Reordering pages in page preview palette - optional
  • Drag'n'drop of styled text - ok

Task requirements

(List the necessary requirements that the task must fulfill.)

Task result

(List the end product of the task (for example "Source code", "Wiki page", etc.))

Implementation idea

(Provide some rough implementation idea(s).)

http://sophie2.org/trac/wiki/InteractionAndGraphicsDesign/DragNDrop http://sophie2.org/trac/wiki/GlobalSpecification/DragNDrop

How to demo

(Provide instructions for demonstration of the task.)

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)