Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

# CodeClocker Changelog

## [Unreleased]
## [1.2.3] - 2025-11-29

- Reset VCS changes at midnight in IDE status bar

## [1.2.2] - 2025-11-28

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

<!-- Plugin description -->

## What's CodeClocker
## CodeClocker Time Tracker

CodeClocker automatically tracks coding activity and visualizes it in the IDE status bar and on [web dashboard on CodeClocker Hub](https://hub.codeclocker.com/).
CodeClocker automatically tracks your coding time and activity, displaying it in the IDE status bar and on the [CodeClocker Hub](https://hub.codeclocker.com/).

![Demo](https://raw.githubusercontent.com/codeclocker/codeclocker-intellij-plugin/main/docs/img/demo.gif)
[![Demo](https://raw.githubusercontent.com/codeclocker/codeclocker-intellij-plugin/main/docs/media/demo.mp4)

### Features

Expand Down Expand Up @@ -58,4 +58,4 @@ Once active, it will update to "Active: Receiving data".

If you need to open the API Key dialog window in your IntelliJ IDE (for example, you accidentally closed it during initial plugin installation), then go to **Tools > CodeClocker API Key** at the top of the dropdown list.

![API key menu](docs/img/api-key-menu.jpg)
![API key menu](docs/media/api-key-menu.jpg)
Binary file removed docs/img/demo.gif
Binary file not shown.
File renamed without changes
Binary file added docs/media/demo.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginGroup = com.codeclocker
pluginName = CodeClocker
pluginRepositoryUrl = https://github.com/codeclocker/codeclocker-intellij-plugin
# SemVer format -> https://semver.org
pluginVersion = 1.2.2
pluginVersion = 1.2.3

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 242
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static com.codeclocker.plugin.intellij.services.vcs.ChangesActivityTracker.GLOBAL_ADDITIONS;
import static com.codeclocker.plugin.intellij.services.vcs.ChangesActivityTracker.GLOBAL_REMOVALS;

import com.codeclocker.plugin.intellij.services.vcs.ChangesActivityTracker;
import com.codeclocker.plugin.intellij.stopwatch.SafeStopWatch;
import com.codeclocker.plugin.intellij.widget.TimeTrackerWidget;
import com.intellij.openapi.Disposable;
Expand Down Expand Up @@ -113,6 +114,13 @@ private void checkMidnightReset() {
GLOBAL_REMOVALS.set(0);
GLOBAL_STOP_WATCH.reset();

// Reset per-project VCS changes counters
ChangesActivityTracker changesTracker =
ApplicationManager.getApplication().getService(ChangesActivityTracker.class);
if (changesTracker != null) {
changesTracker.clearAllProjectChanges();
}

lastDate = currentDate;
}
}
Expand Down
Loading