Address CodeRabbit review feedback

- Fix null-safe operator on currentTeam() call in Upgrade.php
- Add --rm flag to docker run in upgrade.sh for cleanup consistency
- Store beforeunload handler as named reference and clean up on success
- Add clarifying comments for upgrade method calls
- Add error state handling with close option in upgrade modal
- Add step mapping documentation comment in upgrade-progress component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Andras BacsaiandClaude Opus 4.5 committed 2025-12-13 21:42:19 +01:00
1 parent dc12cbc6a0
commit 20a9855c04
4 files changed
+78 -7

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ class Upgrade extends Component
public function getUpgradeStatus(): array
{
// Only root team members can view upgrade status
if (auth()->user()?->currentTeam()->id !== 0) {
if (auth()->user()?->currentTeam()?->id !== 0) {
return ['status' => 'none'];
}