-
Notifications
You must be signed in to change notification settings - Fork 167
Bulk edit [INTEG-2847] #10074
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
Merged
Merged
Bulk edit [INTEG-2847] #10074
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
9f1d790
Enhance performance and reduce errors by batching
JuliRossi 35bed52
Adding create-entries and delete-entries v1 scripts
FBanfi 942f4e9
Fixing cors size limitation
JuliRossi e15c99a
moving scripts
JuliRossi fd16081
Minor fixes
JuliRossi 02c6cd5
Tests and refactor
JuliRossi 84acde2
Update .env.example to clarify optional entry count setting
JuliRossi 554f5f4
Fixing truncation for some really big texts
JuliRossi 3e4816d
Adding delete-entries modifications and tests
FBanfi f6ff25f
generation with numbers of entries
JuliRossi 6e87872
batching for getting large entries
JuliRossi a98f9e8
simplifying a bit
JuliRossi 3197c0b
disabling cancel botton when undoing and saving
JuliRossi ed608d7
Set truncate to 30
JuliRossi 66d01c5
Fixing config files
JuliRossi a5f0817
making test better and simpler
JuliRossi 3fa7107
remove duplication
JuliRossi f926dd0
making adjustments base on comments
JuliRossi 93b203c
Refactor entry fetching to handle batch sizes and improve response li…
JuliRossi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,25 @@ | ||
| # Content Management API token | ||
| # Get this from: https://app.contentful.com/spaces/{SPACE_ID}/api/keys | ||
| CONTENTFUL_ACCESS_TOKEN=your_content_management_api_token_here | ||
|
|
||
| # Your Contentful Space ID | ||
| # Found in the URL when you're in your Contentful space | ||
| SPACE_ID=your_space_id_here | ||
|
|
||
| # Your Contentful Environment ID | ||
| # Usually 'master' for production, or your custom environment name | ||
| ENVIRONMENT_ID=master | ||
|
|
||
| # Your Contentful Organization ID | ||
| # Found in the URL when you're in your organization settings | ||
| CONTENTFUL_ORG_ID=your_organization_id_here | ||
|
|
||
| # Your Contentful App Definition ID | ||
| # Found under the title from the app definition in contentful | ||
| CONTENTFUL_APP_DEF_ID=yout_app_definition_id | ||
|
|
||
| # Set the amount of entries we want create (OPTIONAL) | ||
| AMOUNT_OF_ENTRIES=5 | ||
|
|
||
| # Set the Content Type name of the entries you want to delete | ||
| DELETE_CONTENT_TYPE_NAME="test-content-type" |
This file contains hidden or 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,25 @@ | ||
| # Content Management API token | ||
| # Get this from: https://app.contentful.com/spaces/{SPACE_ID}/api/keys | ||
| CONTENTFUL_ACCESS_TOKEN=access_token | ||
|
|
||
| # Your Contentful Space ID | ||
| # Found in the URL when you're in your Contentful space | ||
| SPACE_ID=space_id | ||
|
|
||
| # Your Contentful Environment ID | ||
| # Usually 'master' for production, or your custom environment name | ||
| ENVIRONMENT_ID=master | ||
|
|
||
| # Your Contentful Organization ID | ||
| # Found in the URL when you're in your organization settings | ||
| CONTENTFUL_ORG_ID=org_id | ||
|
|
||
| # Your Contentful App Definition ID | ||
| # Found under the title from the app definition in contentful | ||
| CONTENTFUL_APP_DEF_ID=app_deff_id | ||
|
|
||
| # Set the amount of entries we want create | ||
| AMOUNT_OF_ENTRIES=5 | ||
|
|
||
| # Set the Content Type name of the entries you want to delete | ||
| DELETE_CONTENT_TYPE_NAME="test-content-type" |
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.