Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core/Google Drive datasource #135

Merged
merged 43 commits into from
Nov 21, 2023
Merged

Core/Google Drive datasource #135

merged 43 commits into from
Nov 21, 2023

Conversation

osala-eng
Copy link
Contributor

Description

Please include a summary of the change, e.g. what the new feature # is and/or what bug # it fixes. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes/Implements #(issue/feature)

implements #134

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactor and code improvement (non-breaking change which improves code quality and/or performance)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation
  • Tests
  • Other chores such as maintenance

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration by modifying the list below.

  • Test A
  • Test B
  • Test C

Test Configuration:

Please describe the test setup. List them below as bullet points.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • The commit message follows the convention of this project

@osala-eng osala-eng linked an issue Oct 28, 2023 that may be closed by this pull request
Copy link
Contributor Author

@osala-eng osala-eng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janaka This is ready for a look, left a comment on opendal reader

source/docq/data_source/googledrive.py Outdated Show resolved Hide resolved
@osala-eng osala-eng marked this pull request as ready for review November 4, 2023 23:12
@osala-eng osala-eng requested a review from a team as a code owner November 4, 2023 23:12
Copy link
Contributor

@janaka janaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments essentially around how the datasource settings are implemented in a way that couples the backend to the UI too much.

If it makes it simpler drop the fancy folder selection UI for not (even though a nicer UX). But it feels like the creds setting still requires a new funcitonality unless we chang that to "paste your key here" which I don't think we should do.

source/docq/data_source/googledrive.py Outdated Show resolved Hide resolved
source/docq/data_source/googledrive.py Outdated Show resolved Hide resolved
source/docq/domain.py Outdated Show resolved Hide resolved
web/utils/layout.py Outdated Show resolved Hide resolved
source/docq/manage_documents.py Show resolved Hide resolved
web/utils/layout.py Outdated Show resolved Hide resolved
web/utils/layout.py Outdated Show resolved Hide resolved
osala-eng and others added 3 commits November 9, 2023 23:23
* chore: Fix shared ask space selector not syncing with rest of the page.

* chore: Make space selector expanded by default.
Co-authored-by: Janaka Abeywardhana <contact@janaka.co.uk>
source/docq/data_source/main.py Outdated Show resolved Hide resolved
web/utils/layout.py Outdated Show resolved Hide resolved
source/docq/data_source/main.py Outdated Show resolved Hide resolved
web/utils/layout.py Outdated Show resolved Hide resolved
@janaka
Copy link
Contributor

janaka commented Nov 20, 2023

Scanning through on my phone seems all good. Will look on my laptop in a bit.

Copy link
Contributor

@janaka janaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Nice work cleaning it up.

Can you please make sure to do a full QA. That personal ask issue is the only known issue iirc.

Also, the integration tests broke for some reason a few PRs back, I couldn't figure it out so left it. Worth checking that as well.

@osala-eng
Copy link
Contributor Author

LGTM - Nice work cleaning it up.

Can you please make sure to do a full QA. That personal ask issue is the only known issue iirc.

Also, the integration tests broke for some reason a few PRs back, I couldn't figure it out so left it. Worth checking that as well.

Okay, Doing a full QA

@osala-eng osala-eng merged commit c9cd9f0 into main Nov 21, 2023
1 check passed
@osala-eng osala-eng deleted the core/g-drive-datasource branch November 21, 2023 08:10
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.

CORE: G Drive as data source
2 participants