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

refactor: small updates to bulk upload #520

Merged
merged 4 commits into from
Jul 18, 2024
Merged

refactor: small updates to bulk upload #520

merged 4 commits into from
Jul 18, 2024

Conversation

mfts
Copy link
Owner

@mfts mfts commented Jul 18, 2024

No description provided.

Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
papermark ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 0:17am

Copy link

what-the-diff bot commented Jul 18, 2024

PR Summary

  • Multi-file Upload Capability in Add Document Modal
    In the component responsible for adding documents, a button to upload multiple files has been added. The form styling has also been revised for a better user experience.

  • Document Deletion API Endpoint and Cache Updates
    In the component responsible for representing a document, the API endpoint for deleting a document has been updated. The logic that repopulates the cache post-deletion has also been revised to ensure accurate data representation.

  • Conditional Rendering of Upload Notification Drawer
    In the document list display component, the render of the UploadNotificationDrawer, a component showing upload status notifications, now depends on a variable called showDrawer. This change makes the visibility of upload status more intuitive to the user.

  • Removal of Class from Drawer Component
    A particular styling class (mt-24) was removed from the drawer component. This should help fine-tune the appearance of drawers.

  • Refinement of Upload Notification Component
    The component responsible for showing upload notifications was polished to remove unused imports and states, increasing code efficiency. The component's styling and markup have also been updated to provide more intuitive notifications.

  • ID Update in Upload Component
    In the upload component, the id of an input element has been updated to "upload-multi-files-zone". This change standardizes the naming scheme, promoting effective tracking and manipulation of elements.

@mfts mfts merged commit f3bbfcf into main Jul 18, 2024
2 checks passed
@mfts mfts deleted the refactor/bulk branch September 3, 2024 12:14
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.

1 participant