Fix naming inconsistency: replace "PushiIt" with "PushIt" throughout codebase#5
Merged
Conversation
Member
|
... while maintaining backward compatibility ..is not needed because still in development @copilot |
…nstall.php Co-authored-by: skerbis <791247+skerbis@users.noreply.github.com>
…PHP pages and README Co-authored-by: skerbis <791247+skerbis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] PushiIt ersetzen durch Pushit
Fix naming inconsistency: replace "PushiIt" with "PushIt" throughout codebase
Sep 6, 2025
Contributor
Author
You're absolutely right! Since the addon is still in development, backward compatibility concerns don't apply. The changes can be made without those considerations. Thanks for pointing that out. |
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.
This PR standardizes the naming throughout the codebase by replacing all instances of "PushiIt" with the correct "PushIt" spelling. The addon is called "Push It" but was inconsistently referenced as "PushiIt" in many places.
Changes Made
JavaScript Files:
assets/backend.js: Updated all variable names, function names, and comments
window.PushiIt→window.PushItPushiItPublicKey→PushItPublicKeywaitForPushiIt()→waitForPushIt()checkPushiIt()→checkPushIt()PushiItBackend→PushItBackendPushiItReset→PushItResetassets/frontend.js: Updated API object and variable references
window.PushiIt→window.PushIt(main API object)PushiItPublicKey→PushItPublicKeyPushiItUserId→PushItUserIdPushiItTopics→PushItTopicsPHP Pages:
Documentation:
PUSHI_IT_*toPUSH_IT_*Bug Fix:
All changes ensure consistent naming throughout the codebase. The JavaScript API remains functionally identical, just with corrected naming.
Fixes #4.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.