-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow configuration of table columns in config.js #238
Comments
I tested out the quick and dirty method of doing this, which is just moving the EVR_RANGES object into config.js and adding But that makes the config.js kind of ugly so now I'm testing a change where only the difference is kept. i.e. constants.js will have the EVR_RANGES but config.js has the option to remove/change the field. Thinking something like:
|
Okay yeah I made a simple anon function that can update the EVR columns using a new config option in MCT config. Function (For now I stuck it in constants.js but that feels wrong - not sure where it'd be better placed though). First the results: And the anon function: ` /**
*/
And finally the associated configuration inside of config.js:
|
This is just a demo that we can do it - if you lmk where you'd want that function to exist (constants.js?) I could clean it up and fully document it. |
Is your feature request related to a problem? Please describe.
SMAP queries by SCET, but SCLK has 2 more digits of precision. Example:
scet: 2000-001T00:00.000
sclk: 0.00000
EVRS on SMAP are expected to be sorted by the higher precision column (sclk) while queried by the lower-precision column (SCET).
Unfortunately, in OMM today, the only way to enable the 'sclk' column is to enable the 'sclk' time system, which does not work on SMAP.
Describe the solution you'd like
I would like a better way to specify optional or arbitrary columns for EVR and channel tables. Additionally I'd like to have a way to remove default or arbitrary columns by configuration. For example, I really couldn't care less about the 'Record Type' column on an EVR view given that I already know what record it is by clicking on it.
Testing Instructions
Additional context
This is additionally good practice anyways, as the csv_mcws output velocity template can be modified to include arbitrary fields, so OMM should also be able to be custom-configured for them. These fields are currently set in constants.js
The text was updated successfully, but these errors were encountered: