#9238: J. Gutow's update to Jmol in the notebook...
-------------------------------------------------------------------------------+
   Reporter:  gutow                                                            
|       Owner:  gutow     
       Type:  enhancement                                                      
|      Status:  needs_work
   Priority:  major                                                            
|   Milestone:  sage-4.7  
  Component:  notebook                                                         
|    Keywords:            
     Author:  Jonathan Gutow                                                   
|    Upstream:  N/A       
   Reviewer:  Jason Grout, Karl-Dieter Crisman                                 
|      Merged:            
Work_issues:  reduce awake applets, remove pull-down menu, move 'on' checkbox  
|  
-------------------------------------------------------------------------------+
Description changed by gutow:

Old description:

> Ready for testing.
>
>  * To just play with and comment on the changes to the Jmol interface in
> the notebook go to: [http://141.233.197.45:8888/home/pub/0 3-D Jmol
> examples].  If you want to try your own you can log into the one account
> on this wimpy server (!username:Test, password: testing).
>
> Setting this up on your own copy of Sage requires two steps.  Starting
> with a clean Sage 4.6.2: [[BR]]
>
>  1. Patch and spkg for Jmol at the command line. See
> [http://trac.sagemath.org/sage_trac/ticket/9232 #9232].
>  1. Apply [attachment:trac_9238_interactive_js.patch] and
> [attachment:trac_9238-add-help.patch]. These are best applied using the
> hg_sagenb.apply(...) command within sage.
>
> I have addressed the following issues (let me know if I've missed
> anything): [[BR]]
>
>  * Addition of the ability to hide the "advanced controls". [[BR]]
>  * Fix so that the advanced controls are hidden when the applet is asleep
> (no accidental calls to nonexistent applets).
>  * Fix to issue of not properly loading all applets when a worksheet
> with a lot of applets is reopened (please check this one carefully).
> [[BR]]
>  * Fixes to vocabulary and labels to make things clearer. *Hidden the
> div with the State in it.  (Still there b/c I hope to be able to
> recreate the way the user left it on close, rather than starting fresh
> each time.)
>
> Happy testing and thank you to those who do test!
>
> ----
> Older description:
>
> Adds the following features to the notebook:
>
> 1) No more than 5 Jmols will be active at once.  This prevents running
> out of memory.  The user is provided with a link to wake up sleeping
> Jmols that they wish to manipulate.  Sleeping Jmols are replaced with a
> static image.
>
> 2) A spin on/off check box is now provided.
>
> 3) The user may choose among a number of display sizes.
>
> 4) In the function tab, the user may change function color and mesh
> color.
>
> 5) The "State" tab displays the Jmol script to get the Jmol display.
> Eventually this will probably be hidden.  If we can get the notebook to
> store this user views would also transfer across sessions.

New description:

 Ready for testing.

  * To just play with and comment on the changes to the Jmol interface in
 the notebook go to: [http://141.233.197.45:8888/home/pub/0 3-D Jmol
 examples].  If you want to try your own you can log into the one account
 on this wimpy server (!username:Test, password: testing).

 Setting this up on your own copy of Sage requires two steps.  Starting
 with a clean Sage 4.6.2: [[BR]]

  1. Patch and spkg for Jmol at the command line. See
 [http://trac.sagemath.org/sage_trac/ticket/9232 #9232].
  1. Apply [attachment:trac_9238_interactive_js.patch],
 [attachment:trac_9238-add-help.patch] and
 [attachment:trac_9238_jmol_lib_async.patch]. These are best applied using
 the hg_sagenb.apply(...) command within sage.

 I have addressed the following issues (let me know if I've missed
 anything): [[BR]]

  * Addition of the ability to hide the "advanced controls". [[BR]]
  * Fix so that the advanced controls are hidden when the applet is asleep
 (no accidental calls to nonexistent applets).
  * Fix to issue of not properly loading all applets when a worksheet  with
 a lot of applets is reopened (please check this one carefully).
  * Fixes to vocabulary and labels to make things clearer.
  * Hidden the  div with the State in it.  (Still there b/c I hope to be
 able to  recreate the way the user left it on close, rather than starting
 fresh  each time.)
  * Fix to loading pages with many Jmols hanging. (FF on MacOS just doesn't
 work reliably or reproducibly so I put up a warning and suggest they
 switch to Chrome).
  * Workaround for bug in MacOS Safari that causes hang when trying to get
 a static image to sleep an applet if more than 9 applets in a worksheet (I
 believe this is a memory leak problem).
  * Tested extensively on Linux with FF and Chromium and on MacOS with
 Safari, Chrome and FF.  Works well with both linux browsers and with
 Chrome on MacOS.  MacOS/Safari is usable, MacOS FF is not.

 '''Needs testing on windows! '''

 Happy testing and thank you to those who do test!

 ----
 Older description:

 Adds the following features to the notebook:

 1) No more than 5 Jmols will be active at once.  This prevents running out
 of memory.  The user is provided with a link to wake up sleeping Jmols
 that they wish to manipulate.  Sleeping Jmols are replaced with a static
 image.

 2) A spin on/off check box is now provided.

 3) The user may choose among a number of display sizes.

 4) In the function tab, the user may change function color and mesh color.

 5) The "State" tab displays the Jmol script to get the Jmol display.
 Eventually this will probably be hidden.  If we can get the notebook to
 store this user views would also transfer across sessions.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9238#comment:134>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to