-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add GUI Elements to Filter on Metadata and Thumbnails for Docs #75
Merged
Conversation
This file contains 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
…f middleware rechecking user on every single object being queried in a given query even though user should onyl need to be determiend once per request, not once per object needed to fulfill request.
…e graphql global id as one of the return values - useful and necessary when using an API client and creating objects, as you'll almost always want to know ID of created obj.
…dule, the migrations needed to be re-built as they had references to old python paths. Though... now, as I'm thinking about this, I think I can edit the migrations directly to prevent this from being breaking... probably best given this is released, though, admittedly with limited uptake. Also made a few tweaks in furtherance of headless crawlers being able to dump docs into an OpenContracts installation. Also removed some unwanted Affero GPL headers (this is NOT Affero licensed)
…o reference new project structure. Should allow people on old database structure to migrate still.
… in their Tesseract processor. IF they merge my change, I'll switch back to their repo, but, right now, it's causing issues with some PDFs where they're unable to complete the PAWLS pipeline where tokens in the pdf are extracted not as string type but float64. See issue I opened in the PAWLs repo and my PR.
…s (celery workers were being terminated for long pdfs). Add *very* rudimentary capabilities to interact with metadata (pretty much just filtering atm).
Codecov Report
@@ Coverage Diff @@
## main #75 +/- ##
==========================================
- Coverage 68.47% 66.77% -1.70%
==========================================
Files 46 47 +1
Lines 1732 1794 +62
==========================================
+ Hits 1186 1198 +12
- Misses 546 596 +50
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…ps://github.com/JSv4/OpenContracts into JSv4/add-gui-elements-to-create-metadata-labels
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.
Thumbnails are now auto-generated for docs on import. The thumbnails are processed using opencv to produce a 200x400 px snapshot of the top part of the doc. We MAY want to just take a high res snapshot of the frontpage and do image manipulation on frontend (or change the card view so you get a full thumbnail view initially. All things to be discussed.