Skip to content

Move remaining local database commands to databases UI#2195

Merged
koesie10 merged 7 commits intomainfrom
koesie10/move-database-commands
Mar 22, 2023
Merged

Move remaining local database commands to databases UI#2195
koesie10 merged 7 commits intomainfrom
koesie10/move-database-commands

Conversation

@koesie10
Copy link
Copy Markdown
Member

Please review this commit-by-commit. This moves any of the commands which were calling into the local databases UI to be within the local databases UI. This simplifies the code and reduces the number of commands being registered in extension.ts.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

Some of the methods in the `DatabaseUI` were public because they were
used in the `extension.ts` file. We have moved these method calls into
this file, so they do not need to be public anymore. We can also get rid
of the separation between some of these methods, so I've moved them into
the function that calls them.
@koesie10 koesie10 requested a review from a team March 21, 2023 13:53
@koesie10 koesie10 marked this pull request as ready for review March 21, 2023 14:04
@koesie10 koesie10 requested a review from a team as a code owner March 21, 2023 14:04
}

public async chooseDatabaseArchive(
private async chooseDatabaseArchive(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🆒

@koesie10 koesie10 enabled auto-merge March 22, 2023 10:35
@koesie10 koesie10 merged commit 56c83eb into main Mar 22, 2023
@koesie10 koesie10 deleted the koesie10/move-database-commands branch March 22, 2023 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants