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

258 Indicate if default transformation file is being used #427

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

atopper
Copy link
Collaborator

@atopper atopper commented Sep 13, 2024

Description

A non-existent transformation file is allows, as the default one will then be used, but if a non-existent one is used by accident, it causes confusion for the user, since they think their import script is broken.

If the default transformation file is being used, give the user a subtle note about it is happening.

Related Issue

#258

Motivation and Context

Small note to avoid confusion.

How Has This Been Tested?

Tested locally, doing imports with the existing files, non-existing files and plain old strangely spelled files.

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@kptdobe For your consideration...

Copy link
Contributor

@kptdobe kptdobe left a comment

Choose a reason for hiding this comment

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

Nice, thx @atopper

Copy link
Contributor

@kptdobe kptdobe left a comment

Choose a reason for hiding this comment

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

Can you please also do the same for the import-bulk ?

@atopper
Copy link
Collaborator Author

atopper commented Sep 16, 2024

Can you please also do the same for the import-bulk ?

Oh. Of course. Good idea.

Done.

- Add indicator for bulk-import as well.
@atopper atopper requested a review from kptdobe September 16, 2024 17:00
@kptdobe kptdobe merged commit 13500e6 into adobe:main Sep 17, 2024
2 checks passed
@kptdobe
Copy link
Contributor

kptdobe commented Sep 17, 2024

Thanks @atopper!

@kptdobe kptdobe linked an issue Sep 17, 2024 that may be closed by this pull request
adobe-bot pushed a commit that referenced this pull request Sep 17, 2024
# [1.52.0](v1.51.39...v1.52.0) (2024-09-17)

### Features

* **import:** indicate if default transformation file is being used ([#427](#427)) ([13500e6](13500e6))
@adobe-bot
Copy link

🎉 This PR is included in version 1.52.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

invalid "Transformation file URL" should throw an error
3 participants