Skip to content

Open google drive URLs#1445

Draft
pablo-mayrgundter wants to merge 13 commits intobldrs-ai:mainfrom
pablo-mayrgundter:open-google
Draft

Open google drive URLs#1445
pablo-mayrgundter wants to merge 13 commits intobldrs-ai:mainfrom
pablo-mayrgundter:open-google

Conversation

@pablo-mayrgundter
Copy link
Copy Markdown
Member

WIP

  • Introduce Error subtypes

…ding conflict

- Add Google Drive URL support to SearchBar.jsx via centralized route handling
- Create processGithubUrl() and githubUrlToSharePath() helpers in src/routes/github.ts
- Update processExternalUrl() to prioritize GitHub URLs over Google Drive URLs
- Add comprehensive unit tests for GitHub URL processing and SearchBar integration
- Fix 'Model cannot be loaded. A model is already present' error by clearing IFC models
- Extract clearIfcModels() helper function and place after main component
- Support navigation to /share/v/gh, /share/v/g, and /share/v/u paths based on URL type
- Add proper error handling with user-friendly messages for invalid URLs
- Fix TypeScript errors in src/net/github/utils.js by adding proper type guards

Resolves Google Drive URL loading and prevents IFC model conflicts during navigation.
@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 6, 2025

Deploy Preview for bldrs-share-dev ready!

Name Link
🔨 Latest commit e068716
🔍 Latest deploy log https://app.netlify.com/projects/bldrs-share-dev/deploys/691ce9d623cecb0008130632
😎 Deploy Preview https://deploy-preview-1445--bldrs-share-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 53 (🔴 down 1 from production)
Accessibility: 88 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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