Save before creating restore point: Periodic backup
Auto-saved at 2025-07-31 08:54:37 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -319,6 +319,13 @@ export function TimeshiftSpreadsheet({ teamId, teamName }: TimeshiftSpreadsheetP
|
||||
}
|
||||
}
|
||||
|
||||
// Add top border to year row (row 3) from A3 to end of table (excluding last column)
|
||||
for (let col = 0; col < (data[0]?.length || 0) - 1; col++) {
|
||||
const colLetter = getExcelColumnName(col)
|
||||
const existingStyle = styles[`${colLetter}3`] || ""
|
||||
styles[`${colLetter}3`] = existingStyle + " border-top: 1px solid #000000;"
|
||||
}
|
||||
|
||||
// Style header rows
|
||||
for (let col = 1; col < (data[0]?.length || 0); col++) {
|
||||
const colLetter = getExcelColumnName(col)
|
||||
@@ -336,11 +343,11 @@ export function TimeshiftSpreadsheet({ teamId, teamName }: TimeshiftSpreadsheetP
|
||||
const colLetter = getExcelColumnName(col)
|
||||
const nextColLetter = getExcelColumnName(col + 1)
|
||||
|
||||
// Weekend day name row (row 2) - merged cells with conditional top border
|
||||
const hasBorder1 = colLetter !== 'BZ' && colLetter !== 'CA' ? " border-top: 1px solid #000000;" : ""
|
||||
const hasBorder2 = nextColLetter !== 'BZ' && nextColLetter !== 'CA' ? " border-top: 1px solid #000000;" : ""
|
||||
styles[`${colLetter}2`] = `background-color: #ffd966; height: 50px;${hasBorder1}` // Weekend day name with conditional border
|
||||
styles[`${nextColLetter}2`] = `background-color: #ffd966; height: 50px;${hasBorder2}`
|
||||
// Weekend day name row (row 2) - merged cells with conditional borders
|
||||
const hasBorders1 = colLetter !== 'BZ' && colLetter !== 'CA' ? " border-top: 1px solid #000000; border-left: 1px solid #000000;" : ""
|
||||
const hasBorders2 = nextColLetter !== 'BZ' && nextColLetter !== 'CA' ? " border-top: 1px solid #000000; border-left: 1px solid #000000;" : ""
|
||||
styles[`${colLetter}2`] = `background-color: #ffd966; height: 50px;${hasBorders1}` // Weekend day name with conditional borders
|
||||
styles[`${nextColLetter}2`] = `background-color: #ffd966; height: 50px;${hasBorders2}`
|
||||
|
||||
// Weekend date columns (rows 3, 4, 5 - year, month, day)
|
||||
for (let row = 3; row <= 5; row++) {
|
||||
|
||||
@@ -273,3 +273,6 @@
|
||||
2025-07-31 07:54:37 +02:00: 🔖 Creating restore point...
|
||||
2025-07-31 07:56:09 +02:00: ✅ Restore point created
|
||||
2025-07-31 08:24:37 +02:00: 🔖 Creating restore point...
|
||||
2025-07-31 08:26:09 +02:00: ✅ Restore point created
|
||||
2025-07-31 08:54:37 +02:00: 🔄 Hourly reset: Commit counter reset to 0
|
||||
2025-07-31 08:54:37 +02:00: 🔖 Creating restore point...
|
||||
|
||||
@@ -269,3 +269,6 @@
|
||||
2025-07-31 07:54:37 +02:00: 🔖 Creating restore point...
|
||||
2025-07-31 07:56:09 +02:00: ✅ Restore point created
|
||||
2025-07-31 08:24:37 +02:00: 🔖 Creating restore point...
|
||||
2025-07-31 08:26:09 +02:00: ✅ Restore point created
|
||||
2025-07-31 08:54:37 +02:00: 🔄 Hourly reset: Commit counter reset to 0
|
||||
2025-07-31 08:54:37 +02:00: 🔖 Creating restore point...
|
||||
|
||||
Reference in New Issue
Block a user