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

Connectors: Handle arbitrary names #5015

Merged
merged 6 commits into from
Jun 4, 2024
Merged

Conversation

ericpgreen2
Copy link
Contributor

This PR is a small refactor to handle arbitrary connector names in the UI. This sets us up to allow >1 connector per connector type/driver.

For illustration, here's a connector not named the same as its driver:

image

@ericpgreen2 ericpgreen2 added the blocker A release blocker issue that should be resolved before a new release label Jun 4, 2024
@ericpgreen2 ericpgreen2 self-assigned this Jun 4, 2024
Copy link
Collaborator

@AdityaHegde AdityaHegde left a comment

Choose a reason for hiding this comment

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

Just a small question

@@ -23,8 +24,4 @@
<title>Rill Developer | {table}</title>
</svelte:head>

<TablePreviewWorkspace
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason to keep individual pages for different connectors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I originally did it because each database has its own specific hierarchy (see below), but actually we might be able to use a [...catchall] route. I'll try that after we get the release out.

image

@ericpgreen2 ericpgreen2 merged commit 944387e into main Jun 4, 2024
4 checks passed
@ericpgreen2 ericpgreen2 deleted the connectors-arbitrarily-named branch June 4, 2024 15:51
ericpgreen2 added a commit that referenced this pull request Jun 4, 2024
* Change routes to include the connector's `name`

* Use the table name (not fully qualified name) in the workspace header

* Include connector name in table identifier

* Error handling

* Fix link

* Bugfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker A release blocker issue that should be resolved before a new release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants