Skip to content

Create "Add database" button in DB panel #1889

Merged
norascheuch merged 3 commits intomainfrom
shati-nora/add-remote-repositories
Dec 20, 2022
Merged

Create "Add database" button in DB panel #1889
norascheuch merged 3 commits intomainfrom
shati-nora/add-remote-repositories

Conversation

@norascheuch
Copy link
Copy Markdown
Contributor

To add new databases to the new DB panel we want to have an "Add database" button (using the "add" icon), which lets a user add a new database or an owner item through the UI.

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.

@norascheuch norascheuch force-pushed the shati-nora/add-remote-repositories branch from db4a540 to c548ee3 Compare December 20, 2022 11:04
@norascheuch norascheuch force-pushed the shati-nora/add-remote-repositories branch from c548ee3 to 467d43c Compare December 20, 2022 13:01
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

This looks great, thanks! ✨ ➕

As we discussed earlier, we'll refine the behaviour in some follow-up PRs:

  • Add validation (similar to what we do for the addNewList function)
  • Support adding a repo to a list directly (depends on #1887)
  • Add some tests for the "add owner" and "add repo" functions

@norascheuch norascheuch marked this pull request as ready for review December 20, 2022 15:28
@norascheuch norascheuch requested review from a team as code owners December 20, 2022 15:28
Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @shati-patel and @norascheuch for working together on this!

@norascheuch norascheuch merged commit 952faf5 into main Dec 20, 2022
@norascheuch norascheuch deleted the shati-nora/add-remote-repositories branch December 20, 2022 16:31
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.

3 participants