Improve search discovery, panel scrolling, and analytics testing - #20
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The content panel now scrolls across its full width, with the scrollbar at the panel’s right edge and the reading content still capped at 1,280px. The footer gives the Practice Pad explanation more room, and the complete concept card is clickable with a keyboard-accessible link.
Search improvements add concise, unique meta descriptions, a homepage H1 using the existing label, WebSite/WebPage and breadcrumb structured data, social logo metadata, and a redirect from the old Netlify hostname to the custom domain. The sitemap still covers all 35 concepts and the homepage. A public ownership file and a manual IndexNow command notify participating search engines after deployment. Visible definitions are unchanged.
For the owner’s requested analytics test, both SDKs start without automatically opening the permission popup. Existing opt-outs remain honored, the Privacy control remains available, and localhost/preview traffic is still excluded. The temporary setting can be reversed through suppressConsentPrompt in analytics-config.js.
Validation: all 70 tests and the production build pass. Browser checks at 320–2000px verify card navigation, scrolling from the outer margin, fixed footer positioning, content width, and no horizontal overflow. The real GA and PostHog SDKs initialize in an intercepted browser test without sending test events to vendor reports; event sanitization and opt-out behavior pass.