Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M2-7967: fix input tap detection #876

Merged
merged 32 commits into from
Nov 14, 2024

Conversation

felipeMetaLab
Copy link
Contributor

📝 Description

🔗 Jira Ticket M2-7967

Solution Explanation:

this is a continuation of #870.
This time I am handling the enable and disable button.

📸 Screenshots

Simple Choice Reaction Time task:

test.reaction.mov

🪤 Peer Testing

  • lauch the app
  • Create a Serial Reaction Time performance task
  • Set time between screens to more than 1000ms (Show each stimulus for)
  • Run task on an iOS device
  • When the button is presented, wait at least 500ms and then attempt to tap the button
    Before:
    Input will be ignored the longer you wait to tap the button (disabled state)
    Expected:
    now you will be able to click all the times.

@felipeMetaLab
Copy link
Contributor Author

In this PR I left a lot of comment in the code to facilitate the test, but it will be removed once it get approved.

@felipeMetaLab felipeMetaLab requested a review from ChaconC October 28, 2024 20:54
@felipeMetaLab
Copy link
Contributor Author

I left a lot of comment to facilitate the understanding, once it get approved I will remove all comments.
Any question let me know.

@felipeMetaLab
Copy link
Contributor Author

comments removed

ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Show resolved Hide resolved
@felipeMetaLab felipeMetaLab changed the title Fix/m2 7967 fix input tap detection M2-7967: fix input tap detection Nov 11, 2024
Copy link
Contributor

@ChaconC ChaconC left a comment

Choose a reason for hiding this comment

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

Tested and input detection is running great now, I have a few questions about the changes you introduced.

ios/FlankerNativeComponents/GameManager.swift Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
ios/FlankerNativeComponents/GameManager.swift Outdated Show resolved Hide resolved
Copy link
Contributor

@ChaconC ChaconC left a comment

Choose a reason for hiding this comment

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

Thanks @felipeMetaLab
Tested multiple runs and all taps appear registered correct now.

@felipeMetaLab felipeMetaLab merged commit 3a241a9 into dev Nov 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants