browser-wakatime icon indicating copy to clipboard operation
browser-wakatime copied to clipboard

Sometimes not all of the extension menu is visible

Open SimonBrazell opened this issue 6 years ago • 5 comments

When clicking the extension icon sometimes it appears to be shifted up so that the upper portion of the menu is not visible:

screen shot 2018-05-06 at 4 04 28 pm

Seems to only happen intermittently though.

Chrome Version 66.0.3359.139 (Official Build) (64-bit) macOS High Sierra 10.13.4

SimonBrazell avatar May 06 '18 06:05 SimonBrazell

That's because state.loggedIn is set async, and that button component changes depending on the value of state.loggedIn: https://github.com/wakatime/chrome-wakatime/blob/84d74344e703dae678cdadaab627885796f32e8e/assets/js/components/WakaTime.jsx#L62

alanhamlett avatar Jul 03 '18 05:07 alanhamlett

@alanhamlett Enabling or disabling time logging shouldn't be dependent on internet connection. Only synchronising data should be dependent on a loggedIn state. Sometimes server is down, but it doesn't mean I can't log my work time and push it to the server later.

ciembor avatar Jul 04 '18 14:07 ciembor

Yes, we should add offline coding as a feature same as the editor plugins.

alanhamlett avatar Jul 04 '18 16:07 alanhamlett

Any progress in this topic?

ciembor avatar Aug 06 '18 11:08 ciembor

This is crucial. Oftentimes an unreliable internet connection, results in large gaps in time tracking.

franzos avatar Jan 16 '19 15:01 franzos

Closing this, v3 already supports:

  • Extension menu visible fixed
  • Offline tracking

jvelezpo avatar Mar 15 '23 21:03 jvelezpo