Skip to content

Conversation

@longshuicy
Copy link
Member

@longshuicy longshuicy commented Dec 19, 2022

Ready to be reviewed:
image

To test:

  • Clear the listeners collection and ingest below documents listeners.json.zip

  • Go to extractor tab, either try ncsa.landsat.pipeline or try ncsa.archival.s3 extractor

@longshuicy longshuicy linked an issue Dec 19, 2022 that may be closed by this pull request
@tcnichol tcnichol force-pushed the 252-use-rjsf-to-dynamically-generate-extractor-parameter-forms branch from 7b682a2 to e0dff18 Compare December 20, 2022 16:18
@tcnichol
Copy link
Contributor

@longshuicy right now i am passing in the fileId, datasetId to the SubmitExtraction, but even though they show up in props they are undefined. If you have time to take a look, let me know.

@longshuicy longshuicy marked this pull request as ready for review December 21, 2022 17:35
@longshuicy longshuicy changed the title WIP: 252 use rjsf to dynamically generate extractor parameter forms 252 use rjsf to dynamically generate extractor parameter forms Jan 4, 2023
@longshuicy longshuicy requested a review from arunapa January 4, 2023 16:56
Copy link
Contributor

@tcnichol tcnichol left a comment

Choose a reason for hiding this comment

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

I tested with the recent changes. Parameters show up correctly in clowder, submission works, with the right parameters in submission.

longshuicy and others added 2 commits January 13, 2023 15:39
* seperate out the search box of listeners to another component

* backend add filter capability

* add category filter to the endpoint

* add mock filter

* automatically generate the fitler options

* filter works

* frontend handle interaction between searchbox and filters

* add an endpoint to get all the distinct categories field

* connect frontend with category endpoint

* add endpoint to list distinct default labels

* add codegen

* properly wire the filter
* fixing uvicorn, this got overwritten with local (i think by me)

* new tab, placeholder

* gets metadata with listeners
nothing shows yet

* adding separate component for each listener metadata entry, currently does not display anything

* adding component for contents and listener agent
very basic, only works for non-nested metadata

* working on nested metadata, only displays top level correctly

* json displays properly, need to put each metadata in a box and make metadata collapsible

* toggle. can hide or view metadata now

* formatting. pipenv run black app

* adding new tab to dataset for extractor metadata

* changing tab order, tab names, and setting metadata json open by default

* metadata from extractors appears in solid boxes. change in font for listener agent.

* changing tab order, names for dataset

* Added card to extracted metadata entries and fixed grid around them.

Co-authored-by: Luigi Marini <[email protected]>
@lmarini lmarini merged commit 097fcef into main Jan 17, 2023
@lmarini lmarini deleted the 252-use-rjsf-to-dynamically-generate-extractor-parameter-forms branch January 17, 2023 19:23
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.

use rjsf to dynamically generate extractor parameter forms

4 participants