forcedotcom / code-builder-feedback

This repository is used to collect feedback for the Code Builder beta.
29 stars 2 forks source link

Hours Remaining continues to drop after closing tab #173

Closed eburtness closed 2 years ago

eburtness commented 2 years ago

Description After closing the Code Builder tab, usage time continues to be counted for an additional 20-30 minutes. How can I stop the clock when I'm done using it?

To Reproduce

  1. Launch Code Builder
  2. Do something in Code Builder (I fetched from my repo and deleted a branch I no longer needed)
  3. Close the browser tab
  4. Refresh Code Builder Dashboard and note hours remaining (in my case it was 16:40)
  5. Verify that Code Builder is not open in another tab
  6. Come back later and refresh Code Builder Dashboard; note that hours remaining has decreased (I saw it continue to tick down until it stopped at 16:18 as shown below)

Expected behavior Hours Remaining to stay constant when no Code Builder tabs are open

Screenshots image

Desktop (please complete the following information):

Additional context Overview doc says "We highly recommend that you save your work and close the browser tab that is running Code Builder to stop the usage clock when you aren’t using Code Builder." This sounds like all you have to do is close the tab to stop the clock.

smaddox-sf commented 2 years ago

May be a duplicate of #164 and #158

git2gus[bot] commented 2 years ago

This issue has been linked to a new work item: W-11492790

smaddox-sf commented 2 years ago

Hi @eburtness - Thanks for trying out Code Builder and giving us feedback. Behind the scenes, we have some checks to try to detect when you are idle. When you close a tab or go idle, the session time should be within about 15-30 minutes of the rough time. We capped the hours per month for beta so that we could offer an open beta for anyone to try. Do you still have time remaining this month?

eburtness commented 2 years ago

Hi @smaddox-sf, thanks for looking into this. Yes, I still have time remaining. If the cap is only for the beta then I think this is not a problem and I was just overly worried at seeing my time run down. :)

I haven't seen it run for more than 30 minutes after I closed the tab, so it sounds like that is the expected behavior and we're fine! Feel free to close the issue. Thanks!

liuxiachanghong commented 1 year ago

Hi @smaddox-sf I wonder if this issue is still ongoing? I have closed the tab (according instruction here) but still the time-remaining counter is running. The test Code Builder got wiped out in 20h regardless the tab is closed.