Conversation
…ormFooterComponent
…o 'themed-SubmissionComponents_contribute-main'
|
Hi @ZahraaChreim-Atmire , thanks for the changes! I wanted to test it locally but i noticed that the build in prod mode is failing and the tests too. |
Hi @FrancescoMolinaro , I've fixed the issues with the build and tests. Could you please take another look? Thanks! |
There was a problem hiding this comment.
Hi @ZahraaChreim-Atmire , many thanks for the changes.
The PR looks good now, I have added just a small change request because I think one of the selector of the new themed compoents is wrong.
Could you please have a look?
Thanks in advance.
src/themes/custom/app/submission/sections/container/section-container.component.ts
Outdated
Show resolved
Hide resolved
Hi @FrancescoMolinaro, you're absolutely right, the selector was incorrect. I've updated it to Thanks again! |
…ideComponent to exclude themed components
FrancescoMolinaro
left a comment
There was a problem hiding this comment.
Hi @ZahraaChreim-Atmire , thanks for the update and sorry for the delay on this.
I gave the code another look and another round of test and to me this is ready to be merged.
tdonohue
left a comment
There was a problem hiding this comment.
@ZahraaChreim-Atmire : Thanks for this update. I tested this today & it all looks good. But, before we merge it, I have a question about one line of code below.
tdonohue
left a comment
There was a problem hiding this comment.
👍 Thanks @ZahraaChreim-Atmire ! This looks good to me now.
Description
This PR makes the SubmissionFormFooterComponent, SubmissionSectionContainerComponent, and SubmissionFormComponent themeable.
Instructions for Reviewers
List of changes in this PR:
ThemedSubmissionFormFooterComponent,ThemedSubmissionSectionContainerComponent, andThemedSubmissionFormComponentand extended them fromThemedComponent<OriginalComponent>.ds-themed-${original-selector}.getComponentName,importThemedComponent, andimportUnthemedComponent.@Input()and@Output()properties from the original components and overrodeinAndOutputNamesto properly register inputs and outputs.How to test or review the PR.
config.ymlCustomEagerThemeModuleinsrc/themes/eager-themes.module.tsChecklist
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.