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

ASSETS-88896 : (Backend) Campaign Details: Collections #58

Open
wants to merge 5 commits into
base: assets-12024
Choose a base branch
from

Conversation

TyroneAEM
Copy link
Collaborator

Please always provide the JIRA issue(s) your PR is for, as well as a description of your changes:

Workfront Task https://experience.adobe.com/#/@wfadoberm/so:adoberm-Production/workfront/task/65f1417f000707b860ef5b592bf483ac/overview

Test URLs:
https://assets-88896--adobe-gmo--hlxsites.hlx.page/drafts/tyrone/testpage

I created a test page in word document /drafts/tyrone/testpage.docx

https://adobe.sharepoint.com/:w:/r/sites/HelixProjects/_layouts/15/Doc.aspx?sourcedoc=%7B0CEA8450-1F62-4AD0-8474-80C6BE615A57%7D&file=testpage.docx&action=default&mobileredirect=true

Which uses the new block component adp-infinite-results-campaign-collections

The only thing that is hardcoded right now in the calling the new collections.js function listCampaignCollections(campaignName, page = 0)

Which is called from blocks/adp-infinite-results-campaign-collections/CollectionsDatasource.js
I hardcode the campaign name

Screenshot 2024-04-03 at 10 53 20 AM

const list = await listCampaignCollections('gmo-campaignName:Everyone Can',pageNumber);

The campaignName will be passed later in the page showing the Campaign Collections

staware30 and others added 3 commits March 28, 2024 09:01
MH: Added Firefly  product to AA Modal 'Product' Field List
…exName, page = 0) to get the Collections for a specified Campaign and Index

/blocks/adp-infinite-results-campaign-collections : Block component to show the Campaign Collections as Cards
…index name from the polaris.js function getSearchIndex()

CollectionsDatasource.js : updated to remove the indexName parameter from the function listCampaignCollections
@TyroneAEM TyroneAEM requested a review from mdickson-adbe April 3, 2024 16:00
@TyroneAEM TyroneAEM self-assigned this Apr 3, 2024
Copy link

aem-code-sync bot commented Apr 3, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link

aem-code-sync bot commented Apr 3, 2024

Page Scores Audits Google
/drafts/tyrone/testpage PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

…Everyone Can',pageNumber);

to     const list = await listCampaignCollections('gmo-campaignName:Everyone Can',this.pageNumber);
highlightPostTag: '__/ais-highlight__',
highlightPreTag: '__ais-highlight__',
hitsPerPage: 40,
maxValuesPerFacet: 20,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@TyroneAEM can you remove maxValuesPerFacet attribute. This is not needed

@shiv-gup shiv-gup changed the base branch from ASSETS-02024 to assets-12024 April 11, 2024 19:54
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.

3 participants