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-88888 : Add 'Select All' button on Collections Details and Share Link Page #40

Merged
merged 8 commits into from
Mar 7, 2024

Conversation

TyroneAEM
Copy link
Collaborator

No Jira Ticket has been created for this task
Here is the Workfront Ticket
https://experience.adobe.com/#/@wfadoberm/so:adoberm-Production/workfront/team/64120499002edcb6e4ef1dbc3e644241/iterations

Test URLs:

For Collection Detail with Select All

For Share Link with Select All

https://assets-88888--adobe-gmo--hlxsites.hlx.page/qa/share/1db300fb-db2d-4f51-8705-814514973aa0

Authoring instructions.
Edit the asset-distribution-portal>share>default.docx page and add the block adp-share-header

Screenshot 2024-03-01 at 2 36 38 PM

/blocks/adp-infinite-results-collection/adp-infinite-results-collection.js : Added the functions selectAllAsets() and deselectAllAssets() which is used in adp-collection-header.js
… box

/blocks/adp-infinite-results-linkshare/adp-infinite-results-linkshare.js : Added the functions selectAllAssets()  and deselectAllAssets()
@TyroneAEM TyroneAEM requested a review from shiv-gup March 1, 2024 20:38
@TyroneAEM TyroneAEM self-assigned this Mar 1, 2024
Copy link

aem-code-sync bot commented Mar 1, 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 Mar 1, 2024

@shiv-gup shiv-gup requested a review from mathieu-lessard March 1, 2024 21:03
blocks/adp-collection-header/adp-collection-header.css Outdated Show resolved Hide resolved
blocks/adp-collection-header/adp-collection-header.js Outdated Show resolved Hide resolved
blocks/adp-share-header/adp-share-header.css Outdated Show resolved Hide resolved
blocks/adp-share-header/adp-share-header.js Outdated Show resolved Hide resolved
/blocks/adp-collection-header/adp-collection-header.css : Removed Todo comment
/blocks/adp-collection-header/adp-collection-header.js :  Changed back to  await deleteCollection(collectionId, collection.title);
/blocks/adp-share-header/adp-share-header.css: Removed redundant CSS classes
@TyroneAEM
Copy link
Collaborator Author

Added additional logic to uncheck the Select All Checkbox when the Banner is Closed and when an Item is deselected.
Uploading SelectAll.gif…

Copy link
Collaborator

@mathieu-lessard mathieu-lessard left a comment

Choose a reason for hiding this comment

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

Couple changes.

@shiv-gup once approved, these can be merge'd into main this Thursday any time from 7am to noon PST.

…import statement and refactored select-all-checkbox event listener

/blocks/adp-share-header/adp-share-header.js => Removed extra div,  refactored select-all-checkbox event listener
Copy link
Collaborator

@mathieu-lessard mathieu-lessard left a comment

Choose a reason for hiding this comment

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

LGTM!

@shiv-gup shiv-gup merged commit 4bc49ac into main Mar 7, 2024
0 of 2 checks passed
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