Skip to content

DM-8310: search Target match #252

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

Merged
merged 2 commits into from
Dec 16, 2016
Merged

DM-8310: search Target match #252

merged 2 commits into from
Dec 16, 2016

Conversation

robyww
Copy link
Contributor

@robyww robyww commented Dec 14, 2016

Search Target match includes:
- search target match will show search target in center
- now more scroll bounds checking. Can put the image anywhere
- redoing scrolling
- recenter feature
- wcs match now puts images in center
- can load a table of moving objects
- found bugs in coordinate conversion caching, cache object moved to WebPlot

To Test:

  1. To Test a set of images with moving tagets defined

    • use ffapi-highlevel-test.html,
    • click on load Moving Images
    • look for the new tab
    • click on search target match
  2. To Test loading a moving target table

    • use ffapi-highlevel-test.html
    • click on load Moving Table
    • look for the new tab
    • click on search target match

includes:
    - search target match will show search target in center
    - now more scroll bounds checking.  Can put the image anywhere
    - redoing scrolling
    - recenter feature
    - wcs match now puts images in center
    - can load a table of moving objects
    - found bugs in coordinate conversion caching, cache object moved to WebPlot
@robyww robyww requested a review from ejoliet December 14, 2016 19:09
@robyww robyww self-assigned this Dec 14, 2016
retPV= updatePlotViewScrollXY(pv,makeScreenPt(srcSx-offPt.x,srcSy-offPt.y), false);
}
else if (visRoot.wcsMatchType===WcsMatchType.Target) {
// TODO: need compute offset of the active target from the center and match it
Copy link
Contributor

Choose a reason for hiding this comment

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

Very picky: i guess the TODO can be removed.

Copy link
Contributor

@ejoliet ejoliet left a comment

Choose a reason for hiding this comment

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

This PR has 3 main features that cover:

  • moving object images (MOST->irsaviewer),
  • moving object table (i guess this is more for the future),
  • Recenter feature (image dragged around the plot frame)

I've tested all.

The load moving images is working great!
To my understanding that part is OK to be merged. In that sense, I would be comfortable to make it available for testing by Vandana as part of the preparation for second RC (DM-8627).

The load of moving table though adds more features and interactions in tri-view which I'm not sure about. For example, i was surprised to see - in single image mode - the image changing when i clicked on an overlay symbol next to the highlighted one.

Can we discuss it further and expect more comments from @xiuqin, Luisa, Vandana, etc.?
Moving object potential users have particular needs and expectation.

I don't want to delay the merge but i feel we shouldn't take the decision alone. What do you think?
I mark it as approved because for me it looks good enough and is working but i still think we could expect some feedback to change it.

About the image to be re-centered, i guess this feature was introduced because of the need to address the problem of the moving target being outside the view, right? I think is a good implementation but again expect some feedback on that (label,etc.)

@robyww robyww merged commit 595e734 into dev Dec 16, 2016
@robyww robyww deleted the dm-8310-wcs-move-target branch December 16, 2016 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants