-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[connectors] - refacto: CSV enabled toggle (#6567)
* [connectors] - feature: support CSV file sync for Microsoft connector - Replace connector parameter with csvEnabled to directly accept CSV sync configuration - Remove dependency of isCsvEnabled function by including csvEnabled in the configuration model [front] - feature: display CSV file sync configuration in UI - Add front-end support for toggling CSV file sync for both Google Drive and Microsoft data sources - Retrieve CSV sync configuration state from the back-end to reflect the current settings in the UI * [connectors] - feature: add CSV file support in Google Drive configuration - Introduce a new configuration option to enable processing of CSV files within the Google Drive connector - Default the csvEnabled flag to false, keeping CSV processing disabled by default * [connectors] - feature: add csvEnabled column to configuration tables - Added 'csvEnabled' column with a default value of false to Microsoft and Google Drive configuration tables to support CSV functionality. * [connectors] - feature: add support for CSV syncing in Google Drive and Microsoft connectors - Renamed migration file for consistency in numbering - Implemented CSV enable/disable toggles and handling in Google Drive connector - Added CSV sync configuration logic and added to workflows in Microsoft connector - Removed the old feature flags for CSV synchronization from the codebase [front] - feature: introduce user-facing toggles for CSV file synchronization - Added CSV sync toggles on data source configuration pages for Google Drive and Microsoft connectors [types] - refactor: remove CSV sync related feature flags - Deleted the old CSV sync feature flags 'microsoft_csv_sync' and 'google_csv_sync' from WhitelistableFeature type * [connectors] - feature: add csvEnabled configuration to Google Drive - Enabled the configuration for csv files support in Google Drive integration - Ensured the database migration reflects the addition of the csvEnabled field in the corresponding table --------- Co-authored-by: Jules <[email protected]>
- Loading branch information
1 parent
0bc241b
commit e529050
Showing
14 changed files
with
101 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- Migration created on Jul 29, 2024 | ||
ALTER TABLE "public"."microsoft_configurations" ADD COLUMN "csvEnabled" BOOLEAN NOT NULL DEFAULT false; | ||
ALTER TABLE "public"."google_drive_configs" ADD COLUMN "csvEnabled" BOOLEAN NOT NULL DEFAULT false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters