-
Notifications
You must be signed in to change notification settings - Fork 2
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
Handle HTTP errors in links #9
Merged
stefanorosanelli
merged 9 commits into
brevia-ai:main
from
BuonDavide:issue/190-gestione-errori-http-in-links
Jul 30, 2024
Merged
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1efdfde
feat: adding visual for http error links
BuonDavide d03fd54
fix: removing unused variables and console.log
BuonDavide 0ece574
feat: adding multilingual support for filters
BuonDavide 035c0e2
feat: adding feedback and refresh on links
BuonDavide 73a84f1
feat: reindex on edit link
BuonDavide 8d42767
fix: remove console log
BuonDavide f4b2a86
fix: adding document_id and options to reindex
BuonDavide d47c40b
feat: multi language filters and empty result feedback
BuonDavide 57f386d
feat: change color when item is indexed
BuonDavide File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ | |
"FILE_TYPE_MUST_BE": "Accepted file type:", | ||
"FILE_TYPE_NOT_ACCEPTED": "File type not supported", | ||
"FILES": "Files", | ||
"FILTERS": "Filters", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Intstead of |
||
"FIRST_NAME": "First name", | ||
"FIRST_NAME_PLACEHOLDER": "Your first name", | ||
"FIRST_NAME_ERROR": "The user name cannot be empty!", | ||
|
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after a reindex we should read the indexed document in order to see if a document has been actually indexed/updated or not
We should call
GET /api/brevia/index/{collection_id}/{document_id}
orGET /api/brevia/index/{collection_id}/document_metadata?document_id={document_id}
A user feedback is then needed + change of state (like http_error removal) if something has changed