MASAS Viewing Tool

Change size and location of Content Window popups (Management - Gestion #3645)


Added by Jacob Westfall over 1 year ago. Updated over 1 year ago.


Status:Resolved Start date:11/17/2011
Priority:Normal Due date:
Assignee:Matt Priour % Done:

100%

Category:-
Target version:Viewing Tool V0.3

Description

When a Content Window pops up, it is defaulted to the center of the screen. Can it be moved to the bottom right of the screen instead? Can the height of the Window be reduced so its still roughly the same width, but not as tall and obscuring the map?


Associated revisions

Revision 162
Added by Matt Priour over 1 year ago

closes #3645
Positions it with absolute sizes. might be better to do a corner & offset align, but you have to ensure that the component is finished rendering for that to work correctly

Revision 179
Added by Matt Priour over 1 year ago

closes #3645 - Aligns content display window to the lower right corner with 5 pixel offsets and adds a collapse/expand toggle tool next to the close icon.
Heights are configurable via the minimizedHeight & maximizedHeight properties

Revision 191
Added by Matt Priour over 1 year ago

Adjust window resize logic & fix typo to correct js error when closing the content window. partially fixes #3645

History

Updated by Matt Priour over 1 year ago

  • Assignee set to Matt Priour

Updated by Matt Priour over 1 year ago

Applied in changeset r162.

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Jacob Westfall over 1 year ago

Some feedback on the changes: Change the content popup window height to 350 pixels. The bottom corner of the content popup window would work better being about 5 pixels offset from both the x and y from the bottom right corner of the overall browser window. Finally beside the X close button in the top toolbar can an expand icon be added to change the height of the window to 600 pixels and change the icon to contract, which when clicked on the contract would shrink the height back down to 350?

  • Status changed from Resolved to Assigned

Updated by Michael Adair over 1 year ago

  • Assignee changed from Matt Priour to Michael Adair

Updated by Matt Priour over 1 year ago

Applied in changeset r179.

  • Status changed from Assigned to Resolved

Updated by Jacob Westfall over 1 year ago

The location closer to the bottom right looks good. The expand up button works great. But the contract down button doesn't. It takes two clicks before the window will contract. Also the button to expand/contract is pretty close to the Close button and I know there will be users who click the wrong one, can there be some spacing between the two added?

Additional issue: when closing a content window using the X close button, the following JS error is reported: mv.contentWindow is null
http://localhost:8080/js/MASAS/ContentPanelTypes.js
Line 143
This occurs with the Dev feed at sandbox2.masas-sics.ca/feed-enc.xml and the Fire/Point geometry Entry only, but not a live feed so far. May be isolated to something different with this Entry.

  • Status changed from Resolved to Assigned
  • Assignee changed from Michael Adair to Matt Priour

Updated by Matt Priour over 1 year ago

The additional issue was just fixed as a side effect of changes made to fix #3185 and was applied in r190

Updated by Matt Priour over 1 year ago

Fixed the minimize logic and corrected a typo to fix the js error issue in r191

Updated by Matt Priour over 1 year ago

Need to find where the toggle min / max button is configured and add spacing

  • % Done changed from 100 to 90

Updated by Matt Priour over 1 year ago

Applied in changeset r191.

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

Also available in: Atom PDF