LuisSanchez opened a new pull request, #37791:
URL: https://github.com/apache/superset/pull/37791

   ### SUMMARY
   Improve file uploader UI and UX
   
   Added the following:
   - **Onboarding tour**: 5-step driver.js tour (file drop zone → preview → 
database → table name → Upload) with type-specific data-tour IDs (csv, excel, 
columnar).
   - **Tour trigger**: “?” icon next to the modal title starts the tour.
   - **Data preview**: “Preview data” button for CSV/Excel opens a modal with 
client-side parsing (no Parquet preview).
   - **5MB preview limit**: For files > 5MB:
     - Disables “Preview data”.
     - Skips column metadata API calls.
     - Shows “Preview is not available for files larger than 5MB” in the 
columns section.
   - Fixed “Uploading a file is required” after selecting a file (correct 
validation via fileListRef).
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   #### AFTER
   
https://github.com/user-attachments/assets/7f70315e-c3ff-43ad-b6f0-9b496e53d0f8
   
   ### TESTING INSTRUCTIONS
   1. Go to "+" icon.
   2. Click on Upload CSV or Excel to database.
   3. For the Tour, click on the "?" icon.
   4. To add a new file drag and drop it into the section for uploading files.
   5. To preview the data, click on the "Preview data" button.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to