Releases: wakatime/browser-wakatime
Options rewritten completely
Release notes
- rewrote options using React
- rewrote all react components to use ES5 instead of ES6,7
- added tests for helpers and react components
- added native react animations to alert box on options
- only core WakaTime class remains written in ES6
Fixed some bugs
- Navbar singed in text now applies a correct class
(class => className)
- Removed
console.log
when getting the total time logged today in react class - Added a 38px white extension icon (was missing)
New feature: Total time logged today
When the popup is opened the extension now displays total time logged today with all plugins.
Also the UI has been updated with less clutter and focusing on what is important.
Devtools detection working
[NEW] The extension now detects if the currect active tab has devtools open and if it does then it sends the appropriate payload to WakaTime.
Heartbeats working
The extension now has heartbeats and they work like this:
- every 2 minutes if there is activity in the browser a heartbeat is sent
- every time an active tab is changed a heartbeat is sent
- every time a tab is updated it checks id the updated tab is also an active tab and then it sends a heartbeat
A heartbeat is composed of:
- the current active tab URL or only domain (the user can specify in the options)
- the type of the URL (url or domain)
- current UNIX timestamp
- a boolean value indicating if the devTools are open (currently this does not work, always returns false)
Displays user info panel
The extension now checks if the user is logged in to WakaTime and if it is displays the user info panel with image from Gravatar. If the user is logged in then the extension displays buttons for custom rules, dashboard and logout.
Pressing the logout button you are being logged out of WakaTime website. Dashboard and Custom rules buttons work.
If the user is not logged in, the extension icon turns red and login button is displayed. Pressing the login button opens a new tab with WakaTime login screen.
Options with animation
So this release comes with options and has an animated alert box.
Options are being synced with user profile on Chrome.