Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Add Sass connector configuration #1099

Merged
merged 22 commits into from
Aug 22, 2022
Merged

Conversation

chriscalhoun1974
Copy link
Contributor

@chriscalhoun1974 chriscalhoun1974 commented Aug 16, 2022

Purpose

When a user clicks the "Create New Connection" button, display a series of screens which allow the user to select a given Sass connector and configure connector configuration info.

Changes

  • Added "Configuration settings" left navigation
  • Added Connector Parameters form
  • Added Test Connection UI functionality for a given Sass connector
  • Added feature flag functionality

Checklist

  • Update CHANGELOG.md file
    • Merge in main so the most recent CHANGELOG.md file is being appended to
    • Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
    • Add a link to this PR at the end of the description with the PR number as the text. example: #1
  • Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
  • If docs updated (select one):
    • documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
    • documentation issue created (tag docs-team to complete issue separately)
  • Good unit test/integration test coverage
  • This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
  • The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket

Fixes #761 #984 #985

Screen Shot 2022-08-16 at 1 35 05 PM

Screen Shot 2022-08-16 at 1 41 21 PM

761 - Add a Connection - SaaS connector's configuration parameters
984 - Saas Connector configuration - left navigation to toggle between connection params and dataset config
985 - SaaS Connector Configuration - Testing a Connection
By default, turning off the createNewConnection flag which is still under development.
@chriscalhoun1974 chriscalhoun1974 changed the title Sass connector configuration Add Sass connector configuration Aug 16, 2022
@chriscalhoun1974 chriscalhoun1974 marked this pull request as ready for review August 16, 2022 23:52
@seanpreston seanpreston self-assigned this Aug 17, 2022
useEffect(() => {
updateCachedFilters.current(filters);
}, [setCachedFilters, filters]);

const { data, isFetching, isLoading, isSuccess } =
useGetAllConnectionTypesQuery(cachedFilters);

const handleSearchChange = (event: React.ChangeEvent<HTMLInputElement>) =>
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add some constraints here, like debouncing or a minimum search term length before we send anything off to the API?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a debounce on line 35. I do agree maybe we increase the milliseconds from 250 to 500 and have a minimum character limit of 2. Your thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

Have added this to a follow-up

Copy link
Contributor

@seanpreston seanpreston left a comment

Choose a reason for hiding this comment

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

@seanpreston seanpreston merged commit a165f54 into main Aug 22, 2022
@seanpreston seanpreston deleted the sass-connector-configuration branch August 22, 2022 20:41
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
* Sass Connecter feature development

761 - Add a Connection - SaaS connector's configuration parameters
984 - Saas Connector configuration - left navigation to toggle between connection params and dataset config
985 - SaaS Connector Configuration - Testing a Connection

* Skipping unit test temporarily

* Update flags.json file

By default, turning off the createNewConnection flag which is still under development.

* Updated CHANGELOG.md file

* Resolved ESLint issues

* Resolved npm build issue

* Resolved npm build issue

* Updated Saas connector configuration

* Updated Saas connector configuration

* Removed unnecessary import statement

* add new privilege for creating SaaS connectors to user management interface

* add connections read as a privilege

* Applied code review feedback

* Updated the CSS visibility of the CircleHelpIcon component

* Added toast success when a user creates a Saas config

* Resolved ESLint issue

Co-authored-by: Sean Preston <sean@ethyca.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a Connection - SaaS connector's configuration parameters
3 participants