Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10352 (new)

Opened 11 years ago

Last modified 8 years ago

Viewport 'view' & 'model' separation

Reported by: wmoore Owned by: wmoore
Priority: major Milestone: Unscheduled
Component: Web Version: n.a.
Keywords: n.a. Cc: web-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.


As described by #10270, the current viewport UI code should be separated from the UI. This will enable (for example) multiple viewport UIs displaying the same data, or use of the server communication without any viewport (E.g. just rendering panel) etc.

Workflow outline:

  • Duplicate the existing ome.viewport.js and ome.viewportImage.js so we have a reference of existing behaviour / code while we refactor.
  • Create a test page that runs the 'old' viewport alongside the refactored 'new' viewport plugin. This will allow us to call all the same methods on both viewports and compare the UI as well as test that the models stay in sync (by comparing query strings generated from both)
  • Create a new jQuery plugin that takes an instance of the viewport 'model' and builds a UI that keeps in sync with it.

Change History (1)

comment:1 Changed 8 years ago by jamoore

  • Milestone changed from Future to Unscheduled
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.62423 sec.)

We're Hiring!