Add on-demand heatmap rebuild and remove nightly scheduler
- Added rebuild button to heatmap page with loading states - Added POST /api/heatmap/me/rebuild endpoint for on-demand recalculation - Removed HeatmapRecalculationScheduler (nightly 3 AM cron job) - Removed @EnableScheduling annotation since no schedulers remain - Users can now rebuild their heatmap manually instead of relying on automatic nightly recalculation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f391028061
commit
66b14ebf7f
6 changed files with 90 additions and 60 deletions
|
|
@ -52,8 +52,8 @@
|
|||
|
||||
<!-- Stats Card -->
|
||||
<div class="heatmap-stats mb-4" id="statsCard" style="display: none;">
|
||||
<div class="row">
|
||||
<div class="col-md-4 mb-3 mb-md-0">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 mb-3 mb-md-0">
|
||||
<div class="stat-item">
|
||||
<i class="bi bi-grid-3x3"></i>
|
||||
<div>
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 mb-3 mb-md-0">
|
||||
<div class="col-md-3 mb-3 mb-md-0">
|
||||
<div class="stat-item">
|
||||
<i class="bi bi-fire"></i>
|
||||
<div>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3 mb-3 mb-md-0">
|
||||
<div class="stat-item">
|
||||
<i class="bi bi-clock-history"></i>
|
||||
<div>
|
||||
|
|
@ -80,6 +80,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 text-md-end">
|
||||
<button id="rebuildBtn" class="btn btn-outline-primary">
|
||||
<i class="bi bi-arrow-clockwise"></i>
|
||||
Rebuild Heatmap
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue