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

feat: Central host UI files #40

Merged
merged 4 commits into from
Aug 1, 2024
Merged

feat: Central host UI files #40

merged 4 commits into from
Aug 1, 2024

Conversation

FentPams
Copy link
Contributor

@FentPams FentPams commented Aug 1, 2024

Description

The branch with preview files:

https://github.com/adobe/aem-experimentation/tree/gh-pages

Todo:

Configure the adobe.github.io to point to the gh-pages branch.

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.

@FentPams FentPams marked this pull request as ready for review August 1, 2024 15:54
@FentPams
Copy link
Contributor Author

FentPams commented Aug 1, 2024

@ramboz branch is ready :)

src/index.js Outdated
@@ -918,6 +918,11 @@ export async function loadLazy(document, options = {}) {
return;
}
// eslint-disable-next-line import/no-cycle
const preview = await import('./preview.js');
preview.default(document, pluginOptions);
const preview = await import('https://adobe.github.io/aem-experimentation/preview.js');
Copy link
Contributor

Choose a reason for hiding this comment

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

Just realized this actually redirects to https://opensource.adobe.com/aem-experimentation/preview.js, so we could update the links to the final URL already :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. I also updated the path in gh-pages preview.js to https://opensource.adobe.com/aem-experimentation/preview.css

src/index.js Outdated
@@ -918,6 +918,11 @@ export async function loadLazy(document, options = {}) {
return;
}
// eslint-disable-next-line import/no-cycle
Copy link
Contributor

Choose a reason for hiding this comment

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

Just need to update the eslint disable comment her so it doesn't fail the lining.
The "no-cycle" is not needed anymore, but you'll need a "no-unresolved"

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Please upload report for BASE (v2@c9ff2c0). Learn more about missing BASE report.

Files Patch % Lines
src/index.js 0.00% 7 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##             v2      #40   +/-   ##
=====================================
  Coverage      ?   93.40%           
=====================================
  Files         ?        1           
  Lines         ?      682           
  Branches      ?       11           
=====================================
  Hits          ?      637           
  Misses        ?       34           
  Partials      ?       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@FentPams FentPams merged commit 9b4478d into v2 Aug 1, 2024
5 checks passed
@FentPams FentPams deleted the central-host branch August 1, 2024 17:25
Sign up for free to 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.

2 participants