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

Stop auto importing accounts #1539

Merged
merged 3 commits into from
May 10, 2024
Merged

Stop auto importing accounts #1539

merged 3 commits into from
May 10, 2024

Conversation

mmarchetti
Copy link
Contributor

@mmarchetti mmarchetti commented May 8, 2024

Intent

This PR turns off the auto-import of accounts from rsconnect and rsconnect-python. It's a draft for now because credential selection in the home view doesn't currently work when starting with no accounts.

Fixes #1535

Type of Change

    • Bug Fix
    • New Feature
    • Breaking Change
    • Documentation
    • Refactor
    • Tooling

Approach

Don't instantiate the rsconnect and rsconnect-python account providers. (Environment variables are still supported; see #1537)

Automated Tests

Existing test was updated.

Directions for Reviewers

Run the extension, see that those accounts are no longer present.

@mmarchetti mmarchetti force-pushed the mm-no-auto-accounts branch from 9aeff2a to 0671a0d Compare May 8, 2024 19:06
@mmarchetti mmarchetti marked this pull request as ready for review May 9, 2024 12:51
Copy link
Collaborator

@sagerb sagerb left a comment

Choose a reason for hiding this comment

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

Code looks good to me. Can you make sure we have an issue in the board to update that initial credential check in the UX where we have the temporary comment?

I can't verify functionality right now, but I'll come back to it later this morning.

Copy link
Collaborator

@sagerb sagerb left a comment

Choose a reason for hiding this comment

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

Confirmed functionality! The UX does not show either of my accounts created in RStudio IDE or in rsconnect-python. Only shows the new keychain ones.

@mmarchetti mmarchetti merged commit 7df901c into main May 10, 2024
16 checks passed
@mmarchetti mmarchetti deleted the mm-no-auto-accounts branch May 10, 2024 15:47
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.

Turn off auto import of accounts
2 participants