Skip to content

fix: google drive implementation#605

Merged
rupato-deriv merged 3 commits intoderiv-com:masterfrom
rupato-deriv:Rupato/Fix--google-drive-implementation
Nov 4, 2025
Merged

fix: google drive implementation#605
rupato-deriv merged 3 commits intoderiv-com:masterfrom
rupato-deriv:Rupato/Fix--google-drive-implementation

Conversation

@rupato-deriv
Copy link
Copy Markdown
Contributor

This pull request refactors the GoogleDriveStore class to reduce console logging, improve error handling, and update how Google Drive file ownership filtering is applied. The main focus is on cleaning up debug output and making the code more robust and maintainable.

Logging and Debug Output Reduction:

  • Removed extensive console logging throughout the GoogleDriveStore class, including configuration details, download attempts, token status, response information, and error details. This helps declutter the console and reduces noise in production environments. [1] [2] [3]

Error Handling Improvements:

  • Enhanced error message formatting for common Google Drive API errors (403, 404, 401), making them more user-friendly and readable.

Google Drive Picker Configuration Update:

  • Replaced the use of setQuery('owner:me') with setOwnedByMe(true) to filter files by ownership in the picker, applying the filter in the background and preventing the query from displaying in the search box.

These changes streamline the code and improve the user experience when interacting with Google Drive files.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 4, 2025

Preview Link: https://Rupato-Fix--google-d.bot-65f.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

@rupato-deriv rupato-deriv merged commit e7bd12d into deriv-com:master Nov 4, 2025
3 checks passed
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