can you improve the grammar and make this more cohesive Poor Signal Overlay Hi All, Just…
- User
can you improve the grammar and make this more cohesive
Poor Signal Overlay
Hi All, Just following up on ticket https://dev.azure.com/mytwyn/Twyn/_workitems/edit/7729. I have implemented a way to make the poor signal overlay much more efficient.
How it was being done before:
When the user would make an utterance and the mic is in processing state.
We would have a timer.perodic to check if the timer had crossed 2.4 seconds and if the timer had crossed 2.4 seconds we would hide the current processing overlay (three dots) and then show the poor signal overlay.
However after a quick discussion with @Paul, we decided that it’d be better to get rid of the timer if possible. So now I’ve combined the current processing overlay and poor signal overlay into one widget. This let me then put a future.delayed to show the poor signal dialog after 2.4 seconds regardless of state.
In this implementation there is no polling as the widget is just setting state if 2.4 seconds have passed and it hasn’t been discarded.
This still meets all A/Cs as if the time does pass 2.4 seconds we will see the poor signal dialog and when the utterance has been processed or if the next video has loaded, the widget is disposed and will be rebuilt on the next utterance.
I’ve seen a much better improvement in the conversation, but I’d like to ask what would be the criteria for success in this ticket? How do we say it is better?
- Assistant
Subject: Improved Grammar and Cohesion: Poor Signal Overlay
Hi All,
I wanted to follow up on ticket https://dev.azure.com/mytwyn/Twyn/_workitems/edit/7729 and provide an update on the poor signal overlay.
Previously, the poor signal overlay was implemented in the following way:
- When the user would make an utterance and the microphone was in the processing state,
- A timer would periodically check if 2.4 seconds had passed,
- If the timer had crossed 2.4 seconds, the current processing overlay (three dots) would be hidden, and the poor signal overlay would be shown.
However, after a quick discussion with @Paul, we decided it would be better if we could eliminate the timer altogether. Consequently, I have combined the current processing overlay and the poor signal overlay into one widget. This allowed me to introduce a future.delayed function to show the poor signal dialog after a fixed 2.4 seconds, regardless of the state.