vikunja/frontend/src/modules
kolaente 2c6029eac4 refactor(frontend): replace for...in usages and forbid via lint rule
Replaces 33 for...in loops across 18 files with for...of + Object.keys/entries
or indexed for loops. for...in iterates enumerable string keys including
inherited ones, which is especially risky on reactive arrays (tasks, labels,
assignees, etc.) where polyfilled properties may appear.

Loops that mutate via splice during iteration now iterate backwards to avoid
index-shift bugs. Adds a no-restricted-syntax ESLint rule forbidding
ForInStatement to prevent regressions.

Closes #513
2026-04-15 11:44:47 +00:00
..
quickAddMagic refactor(frontend): replace for...in usages and forbid via lint rule 2026-04-15 11:44:47 +00:00
projectHistory.test.ts fix(project): save the last 6 projects in history, show only 5 on desktop 2024-04-07 14:34:18 +02:00
projectHistory.ts fix(project): save the last 6 projects in history, show only 5 on desktop 2024-04-07 14:34:18 +02:00