fix: resolve Typing Speed Tester uninitialized input and hidden buttons#590
Merged
steam-bell-92 merged 2 commits intoMay 22, 2026
Merged
Conversation
|
@Mudita-Singh is attempting to deploy a commit to the Anuj's projects Team on Vercel. A member of the Team first needs to authorize it. |
… tester style block
Contributor
|
🎉 Thank you for your contribution! Your Pull Request has been merged successfully. We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone. If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request. Thanks again for your support! 🙌 |
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.
📝 Description
This PR successfully resolves GitHub Issue #525: "Typing Speed Tester does not accept user input after starting the test".
Key Fixes:
Resolved Eager ReferenceError Crashes on Page Load (
web-app/js/projects.js):initializeProject(projectName)registry function to map keys to initializer function name strings (e.g.'typing-speed-tester': 'initTypingSpeedTester').windowobject (window[initializerName]()) only if they are loaded. This completely prevents browser-levelReferenceErrorcrashes on pages that only load a subset of scripts (likeutilities.html,games.html,math.html).initializeProjectdeclaration at the top.Fixed Button Visibility Collision (
web-app/js/projects/typing-speed-tester.js):class="btn-play".css/styles.css,.btn-playhas a global style ofdisplay: none;(used to hide play overlay icons on cards). This caused the buttons inside the tester modal to be completely invisible, preventing users from ever starting the test.class="btn-tester-action", allowing them to render visibly.Loaded Missing Script Files (
web-app/utilities.html):number-converter.jsandtyping-speed-tester.jsright beforeprojects.js.Screenshots

🔗 Linked Issue
Closes #525
📋 Contribution Checklist