Open atopper opened 1 week ago
You can do that ("manually"):
aem import
./tools/importer/helix-importer-ui
git checkout <branch>
npm run build
This could be added to https://github.com/adobe/helix-importer-ui/blob/main/importer-guidelines.md#debugging
Yes @kptdobe, that's true. And then the user can add the --skip-ui
to prevent checking out main again.
I find it is challenging to get people to try a new branch, and if we made it easy and reduce the steps by using ui-repo, perhaps even sending them the exact command line to run (i.e. aem import --ui-repo=https://github.com/adobe/helix-importer-ui#test
), it would be easier for them to quickly try it, and to continue to use. Also then they would get updates on that branch automatically, instead of having to, again, go to the importer-ui code and pull.
So it would mainly be for convenience, but I think a good convenience.
I agree with @atopper that the "manual" approach adds too much friction to provide our customers with early access to new features. The aem cli should make it incredibly easy for users of the AEM Importer to access feature branches. The downside would be that it would be too easy to access branches that should not be used and it could encourage the proliferation of even more AEM Importer variations instead of simply focusing on integrating features into the core product.
Description Switch to a development or new feature branch is awkward when running
aem import
. The tests imply that it can be done through theui-repo
parameter (i.e. https://github.com/adobe/helix-importer-ui#somebranch) but that does not work.This would be particularly useful when trying to socialize a new feature or bug fix, and reduce the effort to try it.
To Reproduce Steps to reproduce the behavior:
aem import
successfullyaem import --ui-repo https://github.com/adobe/helix-importer-ui#test
)Expected behavior The Helix importer UI should start up and change branches to the specified test
Screenshots N/A
Version: Around 16.7.5
Additional context The use of the fragment in the UI isn't publicly advertised, so could be considered a feature (but a can't remove that label).
Example