Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spw grid view2 #4924

Merged
merged 42 commits into from Jan 8, 2017
Merged

Spw grid view2 #4924

merged 42 commits into from Jan 8, 2017

Conversation

will-moore
Copy link
Member

@will-moore will-moore commented Nov 3, 2016

Spatial view of fields in Wells

2nd PR working towards ome/design#52
Builds on #4863

Also see https://trello.com/c/GxqDnD0P/211-spw-follow-up

To test:

  • Browse SPW, click on Well. Well 'bird's eye' spatial view should open below tree.
  • Selecting images in central lower panel should highlight these in bird's eye view.
  • Selecting images in bird's eye by clicking / shift-clicking or dragging should highlight same images in central lower panel and right panel.
  • Bird's eye panel will stay open until X in top right corner is clicked.
  • Will be shown again when Well is clicked.
  • Enter a value in the "Wrap [ ] images per row" field. On 'Enter' this should wrap the images in each well below. Should also wrap any new wells loaded.
  • Remove wrapping by clearing the input (or enter 0).

TODO:

  • integration tests for posX and posY

screen shot 2016-11-14 at 16 46 02

screen shot 2016-11-14 at 16 19 49

@will-moore will-moore closed this Nov 3, 2016
@will-moore will-moore reopened this Nov 3, 2016
@jburel
Copy link
Member

jburel commented Nov 3, 2016

gh-4863 has been merged
so better to add your commits on top of develop so we can follow what's going on

@jburel jburel added the develop label Nov 3, 2016
@will-moore
Copy link
Member Author

Data generated with script from dsudar/OMEROscripts#1

screen shot 2016-11-04 at 11 09 31

@gusferguson
Copy link

@will-moore

Tested using http://10.0.51.106/web/webclient/userdata/?experimenter=2 user-1 jpeg-xr group Safari

2007.10.17.17.04.55.xdce
Plate ID: 2
Owner: user 1

and other data.

Birdseye view shows spatial arrangement of fields when selected.

In the birdseye shift-click for multi selection does not work in Safari/Firefox/Chrome but cmd-click and click-drag both work.

All highlighting appears appropriate.
Small point - highlighting around image/field thumbnails in bottom half of centre pane is not really prominent enough - difficult to see which thumbnails are highlighted - particularly when non-adjacent multiple selections are made via birdseye. Could it be made darker or thickness increased?
Birdsye closes and reappears as expected.

Wrapping of thumbnails in well rows behaves as expected.
Did have single episode where clicked into wrap text box and incremented using ^ arrow on right side - cursor became trapped in wrap text box -and could select images and wells in centre pane, but could not select images in birdseye. Freed up on clicking to another well and could not replicate subsequently so must some issues between wrapping text box and birdseye view - but cannot be more helpful in pinning it down..

Could we reduce or remove the corner rounding on the wrap text box? - because it is so short it looks oval

All other functionality works as expected.

webclient

Good to merge from my POV.

@atarkowska
Copy link
Member

atarkowska commented Nov 10, 2016

Robots are failing in https://ci.openmicroscopy.org/view/Failing/job/OMERO-DEV-merge-robotframework/438/console. Where does wsScript.py come from exactly?

@will-moore will-moore reopened this Dec 5, 2016
@gusferguson
Copy link

@will-moore

Tested using http://web-dev-merge.openmicroscopy.org/webclient/ user-5 and user-1

Behaves as expected.
No issues apparent.

Good to merge.

@snoopycrimecop
Copy link
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#532. See the console output for more details.
Possible conflicts:

@@ -45,6 +47,34 @@ echo "A2,Treatment,10" >> "$BULK_ANNOTATION_CSV"
# Create file for upload as File Annotation
echo "Robot test file annotations" > "$FILE_ANNOTATION"

# Create a python script for setting posX and posY on wellsamples
# Used below after importing a plate
WELLSCRIPT="wsScript.py"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be better to have the script in a separate file so it is easier to understand and potentially re-use if need be

#wellImages li {
display: inline-block;
}
#wellImages ul, #wellImages h1{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space

@jburel
Copy link
Member

jburel commented Dec 14, 2016

few minor comments
spacial to change in few places

@will-moore
Copy link
Member Author

Check typos and check robot tests (spw_test).

@will-moore will-moore closed this Dec 14, 2016
@will-moore will-moore reopened this Dec 14, 2016
@@ -71,7 +71,7 @@ Test Spw Grid Layout
Should Be Equal ${well1x} ${well5x}


Test Spw Spacial Birds Eye
Test Spw Spatial Birds Eye
[Documentation] Tests layout and clicking of 'spacial bird's eye' panel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one more spacial 'spacial bird's

@jburel
Copy link
Member

jburel commented Dec 15, 2016

one more typo.
Thanks for extracting the script
the robot tests were not run today due to server being down
Check the output of the test before merging due to the change in testing set-up

If we have more scripts required for testing, we may want to create a scripts repo under resources

will-moore added a commit to will-moore/openmicroscopy that referenced this pull request Dec 15, 2016
@jburel
Copy link
Member

jburel commented Dec 22, 2016

The commits above fix the setup issue. Other failures in the robot tests.

@will-moore
Copy link
Member Author

@@ -179,6 +183,7 @@
// jsTree code in ome.tree.js and center panel code in center_plugin.thumbs.js.html uses initially_select
// instead of browser URL since URL may be /webclient/?path=plate.name-barcode|well.name-A1
WEBCLIENT.initially_select = [{% for o in initially_select %}"{{ o }}"{% if not forloop.last %},{% endif %}{% endfor %}];
WEBCLIENT.initially_open = [{% for o in initially_open %}"{{ o }}"{% if not forloop.last %},{% endif %}{% endfor %}];
Copy link
Member

@atarkowska atarkowska Jan 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed recently, constructing array this way is inconvenient, see #5018

@atarkowska
Copy link
Member

atarkowska commented Jan 6, 2017

@will-moore is this PR ready to be merged? Either could you please cherry-pick #5018 here or let's merge and I will fix the above in my PR. It is the only way I managed to pass non digits.

@will-moore
Copy link
Member Author

I think this is good to merge now, with the robot tests passing.
I'd prefer to review #5018 separately instead of making this PR even more complex.
cc @jburel

@jburel jburel merged commit 1c7dff9 into ome:develop Jan 8, 2017
@jburel jburel added this to the 5.3.0 milestone Mar 29, 2017
@will-moore will-moore deleted the spw_grid_view2 branch February 18, 2019 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants