leginon-org / leginon-redmine-archive

1 stars 0 forks source link

Enhance Project Summary Page #1279

Closed leginonbot closed 7 months ago

leginonbot commented 7 months ago

Author Name: Amber Herold (Amber Herold) Original Redmine Issue: 1279, https://emg.nysbc.org/redmine/issues/1279 Original Date: 2011-05-02 Original Assignee: Bridget Carragher


Please add to he Appion agenda that I would love to have a summary page for a project that does not show the hidden expts and that DOES show some summary of how many processing runs have been done. I could just stick this in redmine but not sure where it belongs or who to assign it to and what else other people might like. BUt I would really like a quick version as I want this as a figure in the grant.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-02T13:27:35Z


Hey Eric, Looks like the Web interface catagory is auto assigning to you. I hesitate to add more to your plate right now, so I'll take a look at it today and see if I can take care of it. We can talk about the feature more in Wednesdays meeting too.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-02T17:47:05Z


r15604 note should read hides Experiments with too little data.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-02T20:35:14Z


The following code is the core for sorting the table:

// sort the experiment array if needed
$orderBy = $_GET['sort'];
$orderByArray = array();        
foreach ($experiments as $key => $exp) {
    $orderByArray[$key] = $exp[$orderBy];
}
array_multisort( $orderByArray, SORT_DESC, $experiments );

It is currently rather simplistic and sorts any column clicked on in descending order. May want implement the ability to toggle between ascending and descending.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Eric Hou (Eric Hou) Original Date: 2011-05-03T20:37:31Z


code looks good.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-04T13:20:09Z


Yikes, looking at that bit of code above, I think I should not go to the trouble of sorting the array if the user did not select to sort any column! Will fix that code today.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-05T14:02:50Z


TODO:

add date last processed

do not show sessions with no images

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-05T15:25:54Z


r15612 adds date of last processing run, never displays an experiment with no images, and does not execute the sorting code unless the user has selected a sort column.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-05T15:28:04Z


Bridget, please ensure these new features in the project report page meet your spec, then close the issue. Thanks!

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Bridget Carragher (@bcarr-czi) Original Date: 2011-05-05T18:20:59Z


Hi Amber, This is great. But can I ask for one more feature. Can we add on the main page (i.e. http://cronus3.scripps.edu/betamyamiweb/project/project.php ) another column at the end that lists the "number of appion runs" and the last run done for each project. Also first run ever if that is possible? And if these were all in separate columns that could be sorted on that would be even better. But if this is very slow than maybe it should be a separate page that we only get to if we really want this info. I am constantly in and out of these pages and they are already pretty slow so I would not want them to get any slower. Similarly if these first use, last use columns could be on the individual project pages too that would be great. Bridget

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2011-05-05T19:00:09Z


Sorry Bridget, I forgot to mention that my changes from today will not be available until our installation is updated tonight, so please check again tomorrow.

It sounds like you would like the same type of information on the main project page http://cronus3.scripps.edu/betamyamiweb/project/project.php that sums the data from all sessions of the project. Is this correct?

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2018-01-23T23:39:38Z


all requests from the last communication are there.