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: Added AEM Asset Selector sidekick configs #10

Closed
wants to merge 1 commit into from
Closed

Conversation

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 26, 2023

Hello, I'm Franklin Bot and I will run some test suites that validate the page speed.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-run PSI Checks

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 26, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 27, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@sdmcraft
Copy link
Author

@dylandepass , @auniverseaway tagging you to get some initial feedback on this. I recorded the flow here for reference https://adobe-my.sharepoint.com/:v:/p/satyam/EZ8xJJwsM-FGoir3RGFzPKsBjED9-PfBGp9uPwD_rRKw3w?e=QcesOa

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 1, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@sdmcraft sdmcraft marked this pull request as ready for review March 1, 2023 16:21
@dylandepass
Copy link
Contributor

@sdmcraft This is great start.

Couple thoughts..

I wonder if we could run this off franklin and bypass the need for the netlify app? That would be ideal I think.

I had some issues connecting to prod. Seems to always want to default to stage, even from their configuration screen? Were you able to connect to prod? We have a prod instance we'd like to use for the wknd, so would be nice to connect to that.

I'm surprised this is the login experience they provided. This should ideally use the discovery service to allow users to pick from a list of available repositories instead of requiring all the configuration.

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 2, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@sdmcraft
Copy link
Author

sdmcraft commented Mar 3, 2023

@sdmcraft This is great start.
Couple thoughts..

Thanks for taking out the time to review @dylandepass .

I wonder if we could run this off franklin and bypass the need for the netlify app? That would be ideal I think.

Yes after the latest changes, netlify app isn't needed anymore. Everything is now hosted within Franklin itself. I think you would be getting redirected to the netlify app as that's set as the default redirect url in the IMS client that I created for this. I am facing some issues with IMS auth flow redirections. I am not allowed to specify the wknd site as the default redirect_url in the IMSS which I have raised here. For now the workaround is to close and reopen the sidekick palette. On reopening, when you click "Sign In" again , the asset selector should open up correctly as this time you would be already logged in and would not get redirected to the netlify app.

I had some issues connecting to prod. Seems to always want to default to stage, even from their configuration screen? Were you able to connect to prod? We have a prod instance we'd like to use for the wknd, so would be nice to connect to that.

There were a few issues connecting with prod which I fixed yesterday. It should work with prod as well now. The word doc where the configurations are set is here . You can try setting the AEM Wknd env co-ordinates in it or share with me and I can try it out.

I'm surprised this is the login experience they provided. This should ideally use the discovery service to allow users to pick from a list of available repositories instead of requiring all the configuration.

Hm..that's a great point. This is something I need to check with the Asset selector team. Basically I am following the setup documented here with some tweaks to make it work within Franklin. I'll check about the repository picker experience.

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 5, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 5, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 9, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 9, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 9, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 10, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 16, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@sdmcraft
Copy link
Author

sdmcraft commented Mar 16, 2023

@dylandepass , thanks for guiding me on this. Also copying @davidnuescheler for his inputs. On the IMS SSO login experience, I worked with the asset selector team and now specifying the AEM details etc. is not longer needed. The only configuration needed is the IMS org. This is also temporary till https://jira.corp.adobe.com/browse/ASSETS-22140.
I recorded a short video to explain the flow.

@dylandepass
Copy link
Contributor

@sdmcraft I did speak with @davidnuescheler about this earlier this week. I think the biggest blocker to putting this in right now is the requirement on having to manage adding sales folks to the org with the Assets Essentials instance for WKND. I think in a typical franklin site the login requirement is totally fine and expected. This repo though is meant to be more of sales tool so we want to minimize demo friction as much as possible.

We discussed a couple options.

  1. The ideal solution is to build a service that could fetch a valid token and pass that to the assets selector bypassing the need for anyone to login or having to add people to an org.
  2. The less ideal solution is to figure out if it's possible to somehow allow anyone with an @adobe.com account to login to the Assets essentials instance.
  3. The last option would be to manage adding sales folks to the org manually.

Any thoughts on that @sdmcraft?

@davidnuescheler mentioned that the AEM Assets team is currently working on a more "Franklinized" version of Assets which might be another area of exploration.

@sdmcraft
Copy link
Author

sdmcraft commented Mar 16, 2023

On the login requirement, I think the easiest path is to create a group in admin console and grant it access to wknd AEM instance. And then upload a list of users in csv format (if we can manage to create such a list) via bulk upload in admin console. That way all of them get access by virtue of their group membership.

Another path could be that the sales reps login to whichever AEMCS Env they have access to and just use the assets from there instead of all logging into the same AEM Wknd instance.

AEM Assets team is currently working on a more "Franklinized" version of Assets which might be another area of exploration.

Indeed. I think there's some work being done for content-lake and definitely worth exploring. Though in this specific prototype, the primary intent is to show the value by being able to use assets which the users may already have in their traditional AEM based enterprise repositories.

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 22, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Mar 22, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@sdmcraft
Copy link
Author

Since wknd is a special use-case, I added a "without-IMS" flow which uses a pre-fetched token thereby totally eliminating the requirement to login via IMS flow. You can give it a try by clicking on WKND button in https://aem-assets--wknd--hlxsites.hlx.page/drafts/satyam/aem-asset-selector

@aem-code-sync
Copy link

aem-code-sync bot commented Apr 14, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Apr 19, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Apr 19, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Apr 19, 2023

Page Score PSI Audit Google
/drafts/satyam/aem-asset-selector Lighthouse returned error: Something went wrong. PSI

@sdmcraft
Copy link
Author

Closing this for lack of any progress.

@sdmcraft sdmcraft closed this May 10, 2023
iuliag added a commit that referenced this pull request Aug 25, 2023
fba407f chore(update): update to support latest version of boilerplate (#9)
bb1762a fix(docs): integration with Analytics solutions without double tracking of the same events (#10)

git-subtree-dir: plugins/rum-conversion
git-subtree-split: fba407f7dc960fd7325d29d1f57d2b250161ec27
ilievlad73 pushed a commit to aemstage/wknd that referenced this pull request Feb 26, 2024
e79706d fix: make sure the pill is not shown on live and prod hosts
21890bb fix: improve production host detection to better cover edge cases
2034373 fix: pill does not show any results even if RUM endpoint contains data
53696f4 fix: RUM endpoint url returns empty results
fee6692 Update README.md
46e6a48 Update README.md
4ff6246 fix: leaking heading styles into the pill
02617d2 fix: sanitize experiment and variant names for proper css class injection
d6318cf fix: gracefully handle projects where block-level experiments aren't instrumented
162896d Update README.md
06a92c5 feat: update plugin to leverage v3 RUM APIs and domain key (hlxsites#10)
b033075 doc: add warning about recent sampleRUM
b4d3dab fix: track rum when selected variant is control (hlxsites#9)

git-subtree-dir: plugins/experimentation
git-subtree-split: e79706d94597806c70bd32a50e76b49ea5ee169a
audrey-kho pushed a commit that referenced this pull request Mar 25, 2024
e04a21c fix: fetch without plain selector (#19)
4b4a853 fix: active status sanitization
4b6fa0d feat: add support for setting experiment status, start date and end date
0b293f1 fix: always await replaceInner (#18)
3ec48c9 fix: invalid url when given a path for variant (#14)
d9f3d01 fix: issue 11 (#12)
9e7b01a fix: expose resolved audiences when running campaigns
e79706d fix: make sure the pill is not shown on live and prod hosts
21890bb fix: improve production host detection to better cover edge cases
2034373 fix: pill does not show any results even if RUM endpoint contains data
53696f4 fix: RUM endpoint url returns empty results
fee6692 Update README.md
46e6a48 Update README.md
4ff6246 fix: leaking heading styles into the pill
02617d2 fix: sanitize experiment and variant names for proper css class injection
d6318cf fix: gracefully handle projects where block-level experiments aren't instrumented
162896d Update README.md
06a92c5 feat: update plugin to leverage v3 RUM APIs and domain key (#10)
b033075 doc: add warning about recent sampleRUM
b4d3dab fix: track rum when selected variant is control (#9)

git-subtree-dir: plugins/experimentation
git-subtree-split: e04a21c732dbc33ec46ace47121cb2785faf49e3
ramboz added a commit that referenced this pull request Mar 26, 2024
e02b92a feat: add support for experimentation
c80c985 feat: add support for experimentation
e04a21c fix: fetch without plain selector (#19)
4b4a853 fix: active status sanitization
4b6fa0d feat: add support for setting experiment status, start date and end date
0b293f1 fix: always await replaceInner (#18)
3ec48c9 fix: invalid url when given a path for variant (#14)
d9f3d01 fix: issue 11 (#12)
9e7b01a fix: expose resolved audiences when running campaigns
e79706d fix: make sure the pill is not shown on live and prod hosts
21890bb fix: improve production host detection to better cover edge cases
2034373 fix: pill does not show any results even if RUM endpoint contains data
53696f4 fix: RUM endpoint url returns empty results
fee6692 Update README.md
46e6a48 Update README.md
4ff6246 fix: leaking heading styles into the pill
02617d2 fix: sanitize experiment and variant names for proper css class injection
d6318cf fix: gracefully handle projects where block-level experiments aren't instrumented
162896d Update README.md
06a92c5 feat: update plugin to leverage v3 RUM APIs and domain key (#10)
b033075 doc: add warning about recent sampleRUM
b4d3dab fix: track rum when selected variant is control (#9)

git-subtree-dir: plugins/experimentation
git-subtree-split: e02b92a0a46a2c2d3dbb111f63859b613303ef9d
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