Closed
Conversation
Contributor
|
FIREFLY-686 has one sample including specOrder example. See file name: SPITZER_S0_25343744_0001_3_E7173899_tune.votable |
5741a3c to
0e96f9d
Compare
ejoliet
approved these changes
Mar 18, 2021
Contributor
ejoliet
left a comment
There was a problem hiding this comment.
Great!
I've added the sample file to the FIREFLY-428 ticket with the added reference field to the wavelength axis group so anyone can test it. It works like a charm!
robyww
approved these changes
Mar 18, 2021
Contributor
robyww
left a comment
There was a problem hiding this comment.
Looks good.
Suggestions:
- You might want to try using
async/awaitinFireflyGenericData.js. I find it improves readability. - You might want to go ahead a convert
ScatterOptionsto be a function component. I am trying to do that when I have to modify any component. I would like to see the rest ofSimpleComponentsubclasses get upgraded.
| dispatchError(chartId, traceNum, tableModel.error); | ||
| return; | ||
| } | ||
| Promise.all([sreq, ...tblReqs].map((r) => doFetchTable(r))).then((tablemodels) => { |
Contributor
There was a problem hiding this comment.
have you thought about trying await for this?
const tableModels= await Promise.all([sreq, ...tblReqs].map((r) => doFetchTable(r)));0e96f9d to
9fd677c
Compare
… of multiple traces - introduce Firefly specific utype: spec:Spectrum.Data.FluxAxis.Order - introduce Firefly specific utype: spec:Spectrum.Data.FluxAxis.Accuracy.[StatHigh,StatLow] for upper/lower limit. This may apply to SpectralAxis as well. - when FluxAxis.Order is specified, must use presets without any additional traces - add 'Use spectrum presets' option to setting dialog - allow active trace switching by selecting data points on the chart - allow active trace switching while in the settings dialog - FIREFLY-734: remove SingleTraceUI option, making multitrace the only choice - Legend and Trace Name will only appears when there's more than 1 trace - UI revamped - refactoring - update plotly from v1.49.4 to v1.58.v
9fd677c to
95ef48c
Compare
robyww
approved these changes
Apr 14, 2021
Contributor
robyww
left a comment
There was a problem hiding this comment.
Code
I is really too much code to review, but what I looked at looks good. I did not notice you changed some SimpleComponent classes to functional. That's great!
UI
- I look really good to me. stuff seems to work as advertised, though I did not click on everything.
- One comment: I don't think our non-editable fields should look like the editable.
InputFieldViewshould probably render a different look whenreadonlyis set. The only way a user knows he can't edit them is by clicking and wonder what is wrong. To the user it probably feels like a bug.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test: https://fireflydev.ipac.caltech.edu/firefly-428-chart-auto-split/firefly/
I am listing all of the tickets I've looked at and worked on. Some, only partially, due to time constraint or requiring additional requirements.
https://jira.ipac.caltech.edu/browse/FIREFLY-691 (phase 1 requirement)
ipac:Spectrum.SEDis this a table utype?https://jira.ipac.caltech.edu/browse/FIREFLY-686 (create new spetral viewer component)
https://jira.ipac.caltech.edu/browse/FIREFLY-428 (auto-split spectra with 'order' info)
https://jira.ipac.caltech.edu/browse/FIREFLY-269 (only unit conversion)
https://jira.ipac.caltech.edu/browse/FIREFLY-733 (release multitrace UI to ops)
https://jira.ipac.caltech.edu/browse/FIREFLY-745 (modifications to Spectral Viewer Prototype)
The goal of this Phase 1 RC is to tie up loose the ends so it can be released. Please help thoroughly test this version for bugs. I will fix as much as I can. Bigger items will be addressed in phase 2.
Additional changes not specified in the above tickets: