feat: enhance URL loader with Google Drive support and improved UI #412
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.
Summary
This PR enhances the URL loader functionality with comprehensive Google Drive URL support and improves the modal UI for better user experience.
Key Features Added
Implementation Details
Google Drive URL Support
url-parser.jswith functions to detect and extract Google Drive file IDshttps://drive.google.com/file/d/{file_id}/viewhttps://drive.google.com/file/d/{file_id}/view?usp=sharinghttps://drive.google.com/file/d/{file_id}/view?usp=drive_linkhttps://api.smalruby.app/cors-proxy) for secure file accessURL Loader Modal UI Improvements
Technical Enhancements
URL Examples Supported
Scratch Projects
Google Drive Files
Testing
Files Changed
src/components/url-loader-modal/url-loader-modal.jsx- Enhanced modal componentsrc/components/url-loader-modal/url-loader-modal.css- Updated styling for examples sectionsrc/lib/url-loader-hoc.jsx- Added Google Drive loading logic and fixed prop issuessrc/lib/url-parser.js- New URL validation and parsing utilitiessrc/locales/*.js- Updated internationalization messagesBreaking Changes
None. This is a backward-compatible enhancement that extends existing functionality.
Related Issues
Closes #411
🤖 Generated with Claude Code