-
Notifications
You must be signed in to change notification settings - Fork 0
implemented timer #197
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
implemented timer #197
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
|
What does this PR do |
@justin-phxm its for the time left and laps completed under the map |
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
8dc6fd9 to
00e432a
Compare
justin-phxm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
00e432a to
f184b5a
Compare
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
49e1bfd to
2622e7a
Compare
justin-phxm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data consistency is a hard topic in software development. Let me know if you have any questions.
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
packages/client/src/components/molecules/MapMolecules/MapText.tsx
Outdated
Show resolved
Hide resolved
| // } | ||
| const checkDebounce = this.checkDebounce(packet); | ||
|
|
||
| if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if(checkDebounce(packet)){
...
}
move the conditionally checking logic into checkDebounce()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure, this if statement is also based on inProximity which is in checkLap() function
|
Might still need to fix resetting lap time based on the times we are racing on (hopefully RaceMode will be accurate). Can add a total distance counter and a total lap counter for each race day. |
justin-phxm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets call once you address these changes so I can see the demo with your commentary.
|
Before we can check lap counter and debounce feature, we might need radius around finish line (from here: #218) |
fa24b5c to
b758c56
Compare
justin-phxm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b758c56 to
ffc5a24
Compare
ffc5a24 to
55e9892
Compare
55e9892 to
10b8db2
Compare
10b8db2 to
30532bb
Compare
30532bb to
7f543b9
Compare
This reverts commit 7d3b78d.



No description provided.