Skip to content

feat(settings): overwrite existing preview settings rather than ignoring updates - #160

Merged
rs-amp merged 3 commits into
amplience:masterfrom
rs-amp:fix/preview-overwrite
Oct 28, 2022
Merged

feat(settings): overwrite existing preview settings rather than ignoring updates#160
rs-amp merged 3 commits into
amplience:masterfrom
rs-amp:fix/preview-overwrite

Conversation

@rs-amp

Copy link
Copy Markdown
Contributor

Before, existing preview settings would not be touched when importing new ones. This PR allows new preview settings to overwrite existing ones, which is useful for overwriting the URL. Settings import still cannot delete preview settings.

@neilmistryamplienceneilmistryamplience left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed and approved

@rs-amp
rs-ampforce-pushed the fix/preview-overwrite branch from 16a8ce2 to dd93e04CompareOctober 28, 2022 08:23
@rs-amp
rs-amp merged commit a5d8dc5 into amplience:masterOct 28, 2022
Pureball pushed a commit to cosnova/dc-cli that referenced this pull request Aug 22, 2023
…ing updates (amplience#160)
* feat(settings): overwrite existing preview settings rather than ignoring updates
* feat(settings): new allowDelete option to allow removal of existing settings
* test(settings): add documentation and tests for allowDelete option
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rs-amp@petercoulton@neilmistryamplience