-
Notifications
You must be signed in to change notification settings - Fork 16
firefly-84-TimeSeries tool: Add workspace option to download dialog for packaging images #832
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
Conversation
A few things off the top..
|
Without requirements, I can only assume how it should work. Based on that, here are my comments.
Also, a few items I noticed that is not related to this PR changes, but need to address:
|
I did not review the code. I went and look at FinderChart and noticed that it's behaving the same. |
Thanks you @loitly very much for your review and great input and suggestions.
I will take a look about those.
|
4d05138
to
bdff943
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect!
Wait, i messed up, the comment was not for this PR , sorry! I just start reading. The comment
was for #836 ;-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've found same issue about the spinning wheel that doesn't stop. Apart from that, when i saved to workspace, is actually not saving it in workspace, but locally.
Are you sure the link of the deployed version is up to date?
Let me know when i can retest. Thanks.
(the other issues about 'send to background' button it's old story that we never get to the point of agreeing with Vandana so we will have to bring it back in discussion sometime in CCB i guess)
I think that I accidentally closed the pull request. I want to keep it open until I am done with the issues Loi raised. Most of issues were in the dev and were not bugs introduced in this PR. I issued two tickets for those issues presented in the current dev. I am working on one of the ticket, FIREFLY-159, in this PR. I will let you know when it is ready to review again. Thanks! |
@lznakano , you may want to edit your previous commit. I am sure you did not mean to include that comment. It's over 150 lines of repeated error messages. |
557f09a
to
bb321d2
Compare
This pull request included the bug fixes for Firefly-159. Please test it against both tickets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First, the test url does not work. I can't test it.
Then the code changes, it looks like you've taken other people changes into your PR. This does not look normal. Please double check to ensure you don't override other changes.
Based on the code changes, I've already raised a couple of concerns. Once you have a url I can test, I'll review the UI.
} catch (Exception e) { | ||
e.printStackTrace(); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this block. You throw an exception, then catch it to print its stacktrace.
Also, if you plan to log the error, use a logger, not standard out.
@@ -28,13 +28,20 @@ export class BgMaskPanel extends SimpleComponent { | |||
bgStatus && dispatchJobAdd(bgStatus); | |||
}; | |||
|
|||
const button = bgStatus && bgStatus.isLocal && bgStatus.isLocal? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bgStatus.isLocal
is repeated twice
} | ||
} | ||
} | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happen here? Why github thinks you've changes to the whole file? Are you sure it's not some sort of git related issues? Double check to make sure you don't override previous changes.
@@ -3,14 +3,18 @@ import PropTypes from 'prop-types'; | |||
import {get, has, set, isEmpty} from 'lodash'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. It looks like you took other people changes as your own.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea what happened. In my local branch, it is fine. It showed the last modification is July 19. I also compared with dev.
@@ -1,15 +1,10 @@ | |||
import React, {PureComponent} from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
0b2799f
to
bb5afc0
Compare
@loitly @ejoliet |
I can't test it via the link but i will locally.
|
bb5afc0
to
802aef4
Compare
I rebased with dev and rebuilt the Please test it using this URL. Please check the ticket Firefly-84 and Firefly-159 for implementation information. |
#832 Firefox 68.0.2 (Mac OS 10.11.6) Downloading: one table to disk via diskette icon - fine Can’t make it automatically get dropped into background monitor (mentioned in ticket). I note that readme in zip files must be timestamped UT because right now (~1pm) they are timestamped ~8pm tonight. This messed with my head when looking for the most recently modified files, where I expected a zip file to be top of the list of most recently modified files. I can’t log in to this server’s workspace, so I cannot test any of the saving files to the workspace. Loading a WISE light curve. From the input data tab, I can select all data, download. This process takes a while. Ticket FIREFLY-84 says: Ticket FIREFLY-159 says: The behavior after finding a period is completely broken. I know that this wasn’t the focus of the ticket, but that makes me even more confused as to why it’s so thoroughly broken. Send the light curve to the periodogram, get the power spectrum, select/accept, and when it returns ostensibly with a phase-folded light curve, it’s added bunch of outlier points that were not in the original light curve and cannot be filtered out. Made a movie documenting this. Light curve attached too. |
light curve attached but it doesn't like the movie. comments and movie and light curve all sent in email and attached to the two Jira tickets. |
@ejoliet |
1. Add LcDownloadPanel.jsx 2. Instead of having three DownloadPanels, only one LcDownloadPanel is use for all missions. 3. Instead of duplicating onNewRawTable, rawTableRequest and onFieldUpdate for each mission, these three functions are put in LcUntils.js. 4. Add a notification using the message box 5. Add functions to save to the workspace after the job is sentto backgorund
802aef4
to
af61e30
Compare
See ticket here: https://jira.ipac.caltech.edu/browse/FIREFLY-159
and here: https://jira.ipac.caltech.edu/browse/FIREFLY-84
I tried to use existing DownloadDialog but I have to make quite some modifications. Instead, I added a
LcDownloadPanel. I modified the BackgroundCntrl to save the files in the workspace. Please let me know if there is any better approach.
URL: https://irsawebdev9.ipac.caltech.edu/firefly-Lijun-firefly-84-firefly-159/irsaviewer/ts.html