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

[Port dspace-7_x] Refactored community & collection pages #2800

Conversation

alexandrevryghem
Copy link
Member

@alexandrevryghem alexandrevryghem commented Feb 6, 2024

Partial port of #2339 & #2722 by @alexandrevryghem to dspace-7_x.

Contains:

…s_contribute-7.6

# Conflicts:
#	src/app/admin/admin-search-page/admin-search-results/admin-search-result-grid-element/item-search-result/item-admin-search-result-grid-element.component.ts
#	src/app/admin/admin-workflow-page/admin-workflow-search-results/admin-workflow-search-result-grid-element/workflow-item/workflow-item-search-result-admin-workflow-grid-element.component.ts
#	src/app/shared/metadata-representation/metadata-representation-loader.component.ts
#	src/app/shared/mydspace-actions/claimed-task/switcher/claimed-task-actions-loader.component.ts
#	src/app/shared/theme-support/themed.component.ts
…onent-loaders_contribute-7_x

# Conflicts:
#	src/app/shared/theme-support/themed.component.ts
@tdonohue
Copy link
Member

tdonohue commented Feb 9, 2024

Thanks @alexandrevryghem . I'll give this a final review/test once the associated 8.0 PRs are both merged. That way we can make sure to update this if any additional modifications need to be backported.

Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

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

@alexandrevryghem : I tested this backport PR directly, just to verify the fixes are working on dspace-7_x. Overall, it looks good. However, I noticed a very minor aria-current issue with the tabs on Community/Collection pages. See inline comment below.

Overall, I'm +1 this backport. But, it'd be good to fix that ARIA issue if possible.

@alexandrevryghem
Copy link
Member Author

alexandrevryghem commented Feb 13, 2024

@tdonohue: This issue was cause by the routerLinkActive="active" attribute on that link. Replacing it with [class.active]="(currentOptionId$ | async) === option.id" like on main fixed this issue

Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

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

👍 Thanks @alexandrevryghem ! Verified this now works the same as the 8.x version. Merging this backport PR immediately.

@tdonohue tdonohue merged commit 8506d36 into DSpace:dspace-7_x Feb 14, 2024
11 checks passed
@alexandrevryghem alexandrevryghem deleted the generify-component-loaders_contribute-7_x branch February 23, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants