Skip to content

Commit f990c5f

Browse files
committed
Dashboard: Migrate Batch Upload NFTs from chakra to tailwind, UI improvements (#7689)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR primarily focuses on refactoring the file upload and NFT minting functionalities in the dashboard application. It enhances the UI components, improves error handling, and optimizes the file preview and download processes. ### Detailed summary - Deleted obsolete CSV example files. - Refactored `FileInput` component to include `FilePreview`. - Updated `BatchUpload` to manage file uploads and metadata processing. - Improved error handling in file uploads. - Enhanced UI for NFT upload steps and added tabbed navigation. - Standardized usage of utility functions for class names. - Updated `BatchTable` to improve pagination and display logic. - Added password protection for delayed reveals. - Improved form handling for placeholders and metadata. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Replaced Chakra UI and third-party libraries with a custom UI system across batch upload components for a more unified look and feel. * Simplified and restyled batch minting forms, tables, upload steps, and reveal configuration. * Updated drag-and-drop functionality to use a dedicated DropZone component. * Streamlined table rendering and pagination with manual state management and local UI components. * Improved layout, styling, and accessibility for option selection, shuffle toggle, and modal dialogs. * Enhanced media preview styling and standardized file preview imports for improved consistency. * Added tabbed format selection and enriched instructional content with downloadable CSV/JSON examples in the upload step. * Improved submit button placement and added help links for user guidance during batch minting. * **New Features** * Added customizable button variants and styling options to the file download button for better UI flexibility. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 74a2163 commit f990c5f

File tree

14 files changed

+969
-780
lines changed

14 files changed

+969
-780
lines changed

apps/dashboard/public/assets/examples/example-with-ipfs.csv

Lines changed: 0 additions & 2 deletions
This file was deleted.

apps/dashboard/public/assets/examples/example-with-maps.csv

Lines changed: 0 additions & 4 deletions
This file was deleted.

apps/dashboard/public/assets/examples/example.csv

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)