Skip to content

Conversation

@longshuicy
Copy link
Member

Backend Change

  • Add Delete, Search, and GET {metadata_definition_id} endpoint.
  • Modify the pytest

Frontend Change

  • Rewrite the Metadata Definition page
  • Add list view
  • Add Delete capability
Pasted Graphic 10 Pasted Graphic 11 Something went wrong Something went wrong

@longshuicy longshuicy requested a review from max-zilla as a code owner October 2, 2023 19:36
@longshuicy longshuicy linked an issue Oct 2, 2023 that may be closed by this pull request
Copy link
Member

@ddey2 ddey2 left a comment

Choose a reason for hiding this comment

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

Tested and the functionalities work. Apart form the comment to minimize the white space on the left which we discussed during today's dev meeting, I think this PR looks good.

@lmarini
Copy link
Member

lmarini commented Oct 10, 2023

Sorry @longshuicy can you resolve conflicts? codegen? Thank you.

@longshuicy longshuicy merged commit 2c53de8 into main Oct 12, 2023
@longshuicy longshuicy deleted the 734-view-and-modify-list-of-metadata-definitions-in-ui branch October 12, 2023 16:58
longshuicy added a commit that referenced this pull request Nov 3, 2023
* add endpoint and test

* codegen and black

* add action

* add search and get endpoint

* add search and get endpoint to action

* add to reducer

* basic page for metadata definition ready

* add delete confirmation

* add create metadata modal

* ordering in decending order

* update message

* black

* fix the pytest

* codegen

* fix codegen
longshuicy added a commit that referenced this pull request Nov 6, 2023
* endpoint does not work, but new endpoint for multiple files added.
tests also added.
note - i will consolidate these endpoints once it is working

* iterate through files, upload all of them

* tests sort of work, need to be cleaned up
New Menu has multiple file uploads, does not work yet

* multiple property now in, new views, does not upload yet

* multiple select selects shows multiple files when they are selected together
it does not when they are selected one after the other

* logging files when we click finish

* codegen, adding multiple files endpoint

* getting a 422 for uploading multiple files

* does not work

* adding print statement back in

* adding print statement back in

* some changes to how formdata is handled

error:

"WARNING:multipart.multipart:Did not find CR at end of boundary (40)"

* clean up

* 734 view and modify list of metadata definitions in UI (#758)

* add endpoint and test

* codegen and black

* add action

* add search and get endpoint

* add search and get endpoint to action

* add to reducer

* basic page for metadata definition ready

* add delete confirmation

* add create metadata modal

* ordering in decending order

* update message

* black

* fix the pytest

* codegen

* fix codegen

* stretched icon when extractor description long (#789)

* disable ripple effect

* fix the stretch

---------

Co-authored-by: Chen Wang <[email protected]>

* 792 clear previous log before switching extraction logs (#793)

* immediately update before the time interval refresh

* add proper reset

* Pagination for files & folder page under dataset (#797)

* Implement wordcloud visualization (#786)

* Implement wordcloud visualization

* Changing the name

* message if no datasets exist, button link to create (#767)

* button to create datasets if none exist

* new  message

* center, no previous and next if we have no datasets

* Updated the labels for Share (#798)

* Updated the labels for Share

* Fixed the message

* 778 page to display each metadata definition (#801)

* new page of metadata definition entry

* initial page for metadata definition page

* basic metadata defintion page

* 788 duplicated extractor registration when extractor version updated (#791)

* we now replace the old extractor

* created timestamp is from original extractor

* 701 improve file version selection (#743)

* placeholder for where new version select will go

* not clickable, new imports

* select no longer in version chip
new dropdown on filepage
problem - current version not selected on file load

* does not look good
select and file details end up at bottom

* clean up the logic

* fix bug

* make it look nicer

* add snackbar

* change to half width

* change history to details

* remove width

---------

Co-authored-by: Chen Wang <[email protected]>

* add swagger to traefik (#805)

* add swagger to traefik

* add to deployment

* add to ingress rule

* Change hostname to edu (#813)

* updated

* typo

* missed more spots

* basic message for no metadata definitions (#766)

* endpoint logic is wrong; also fix pytest

* write better pytest

* rewrite the structure of select file and construct the form in the function

* back to bad request again

* everything working except redirect

* go to the first files route

* formatting

* codegen

* fixing delete of files in tests

* fixing package lock

---------

Co-authored-by: Chen Wang <[email protected]>
Co-authored-by: Dipannita <[email protected]>
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.

View and modify list of metadata definitions in UI

4 participants