feat: enhance loading spinner with progress indication and add warnin… #127

Merged
admin-backup merged 6 commits from THoguet/issue16 into main 2025-11-18 00:45:05 +01:00
Showing only changes of commit b97e9486e8 - Show all commits
+1 -1
View File
@@ -502,7 +502,7 @@ export class SelectedDates implements SelectedDateInterface {
// Check if adjacent (next day) - this is the best case!
if (nextStartTime - currentEndTime === oneDayInMs) {
totalScore += 15; // Big bonus for adjacency
totalScore += 15; // 50% increased bonus for adjacency; adjacency is highly valued in the scoring system
} else if (nextStartTime > currentEndTime) {
// Penalty based on days between the two dates
const daysBetween = Math.floor((nextStartTime - currentEndTime) / oneDayInMs) - 1;