Skip to content
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

Display each document ingestion status for zip files #516

Merged
merged 3 commits into from
Apr 8, 2025

Conversation

lickem22
Copy link
Contributor

@lickem22 lickem22 commented Apr 3, 2025

Reviewer: @ziakhan04
Estimate: 20mins


Ticket

Fixes: AAQ-915

Description

Goal

The goal of this PR is to display the status of ingestion of each document within a zip file as well as the status of the zip file.

Changes

  • Added a clickable collapsing table that displays the status of each file within a zip file.

How has this been tested?

Upload a zip file and check the information displayed on the modal.

Checklist

Fill with x for completed.

  • My code follows the style guidelines of this project
  • I have reviewed my own code to ensure good quality
  • I have tested the functionality of my code to ensure it works as intended
  • I have resolved merge conflicts

Copy link
Collaborator

@ziakhan04 ziakhan04 left a comment

Choose a reason for hiding this comment

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

Approved PR! I have left comments on how this could be organised better. If you agree, please feel free to implement or do later or I can do it.

export interface DocIndexingTask {
error_trace: string;
finished_datetime_utc: string;
upload_id: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

General thought (I thought about this in my PR but just followed what has been going on in the project) -

It would be better organisation if we put all the types and interfaces in a file called schema/types (whatever you like). Similar to what happens in the backend and is also a convention in the front-end world as well. This keeps types and interfaces organised and only keeps the api functioning in the api module.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree. Will make the change now.

@lickem22 lickem22 merged commit 19b3624 into main Apr 8, 2025
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.

2 participants