Skip to content

Conversation

@ThoWagen
Copy link
Contributor

Part of #4901

Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks, @ThoWagen, this looks good overall, but see below for one minor suggestion and one question. I can do more hands-on testing when I have more time; this is just a visual inspection of code as a first pass!

let id = idElement.value;
let source = sourceElement.value;
if (tab.parentElement.classList.contains('noajax')) {
let link = tab.querySelector('a');
Copy link
Member

Choose a reason for hiding this comment

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

Have you tested that this works for both the tab and accordion cases? It would be nice if this can be simplified, but I'm curious why the separate cases from the jQuery version are no longer needed. I can take the time to do hands-on testing if it would help!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I missed that because the tab version will not be needed in #4901 anymore. But I fixed it here for now.

@demiankatz demiankatz added this to the 12.0 milestone Dec 15, 2025
@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Dec 15, 2025
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks, @ThoWagen, this looks good to me now, and all tests (both automated and manual) are passing for me.

@demiankatz demiankatz merged commit 9b1c999 into vufind-org:dev-12.0 Dec 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture pull requests that involve significant refactoring / architectural changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants