X Tutup
Skip to content

Move counter link higher up#11566

Merged
jimchamp merged 2 commits intointernetarchive:masterfrom
cdrini:fix/counter-link
Dec 18, 2025
Merged

Move counter link higher up#11566
jimchamp merged 2 commits intointernetarchive:masterfrom
cdrini:fix/counter-link

Conversation

@cdrini
Copy link
Collaborator

@cdrini cdrini commented Dec 8, 2025

Move counter link higher to avoid crawler link discovery on eg search pages getting caught before hitting it.

Technical

Testing

Screenshot

Stakeholders

@cdrini cdrini marked this pull request as ready for review December 18, 2025 17:12
Copilot AI review requested due to automatic review settings December 18, 2025 17:12
@cdrini cdrini added the Patch Deployed This PR has been deployed to production independently, outside of the regular deploy cycle. label Dec 18, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR relocates a hidden "Page Status" counter link from the footer navigation to the header navigation to ensure it appears earlier in the DOM order. This prevents other link discovery mechanisms (such as those used on search pages) from interfering with the counter link's functionality.

Key Changes

  • Moved the hidden "Page Status" link from nav_foot.html to nav_head.html
  • Maintained all accessibility and styling attributes to keep the link invisible and non-interactive

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
openlibrary/templates/lib/nav_head.html Added the hidden "Page Status" counter link within the logo component div, positioned early in the header DOM structure
openlibrary/templates/lib/nav_foot.html Removed the "Page Status" counter link from the Help section footer

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jimchamp jimchamp merged commit ee5541d into internetarchive:master Dec 18, 2025
10 checks passed
@cdrini cdrini deleted the fix/counter-link branch December 19, 2025 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Patch Deployed This PR has been deployed to production independently, outside of the regular deploy cycle.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup