Pulse/.gitignore
rcourtman 6eb1a10d9b Refactor: Code cleanup and localStorage consolidation
This commit includes comprehensive codebase cleanup and refactoring:

## Code Cleanup
- Remove dead TypeScript code (types/monitoring.ts - 194 lines duplicate)
- Remove unused Go functions (GetClusterNodes, MigratePassword, GetClusterHealthInfo)
- Clean up commented-out code blocks across multiple files
- Remove unused TypeScript exports (helpTextClass, private tag color helpers)
- Delete obsolete test files and components

## localStorage Consolidation
- Centralize all storage keys into STORAGE_KEYS constant
- Update 5 files to use centralized keys:
  * utils/apiClient.ts (AUTH, LEGACY_TOKEN)
  * components/Dashboard/Dashboard.tsx (GUEST_METADATA)
  * components/Docker/DockerHosts.tsx (DOCKER_METADATA)
  * App.tsx (PLATFORMS_SEEN)
  * stores/updates.ts (UPDATES)
- Benefits: Single source of truth, prevents typos, better maintainability

## Previous Work Committed
- Docker monitoring improvements and disk metrics
- Security enhancements and setup fixes
- API refactoring and cleanup
- Documentation updates
- Build system improvements

## Testing
- All frontend tests pass (29 tests)
- All Go tests pass (15 packages)
- Production build successful
- Zero breaking changes

Total: 186 files changed, 5825 insertions(+), 11602 deletions(-)
2025-11-04 21:50:46 +00:00

165 lines
2.4 KiB
Text

# Binaries
/bin/
/pulse
/pulse-docker-agent
/pulse-sensor-proxy
/pulse-server
/pulse-test
/pulse-host-agent
/pulse-host-agent-*
# Logs
*.log
# OS files
.DS_Store
Thumbs.db
# Development environment files
.dev-mode
.tmux.conf
.dev-aliases
# IDE
.idea/
.vscode/
*.swp
*.swo
# Go
*.exe
*.dll
*.so
*.dylib
*.test
*.out
vendor/
test-pulse
# Node.js (for frontend-modern)
node_modules/
.npm/
.yarn/
frontend-modern/.vite/
frontend/
frontend-modern/public/download/
data/
# Environment
.env
.env.local
.env.*.local
# Build outputs
dist/
build/
*.tar.gz
pulse-fixes*.tar.gz
release/pulse-host-agent-*.tar.gz
scripts/macos/dist/
# Frontend copy for embedding (generated during build)
# Frontend build artifact for Go embedding
# This is auto-generated, DO NOT EDIT
internal/api/frontend-modern/
# AI assistant files (local development environment docs)
CLAUDE.md
.claude*
claude-*
fix-claude-*
backend
AGENTS.md
AI_DEVELOPMENT.md
.ai-coordination/
scripts/pulse-watchdog.sh
pulse-watchdog.log
.mcp-servers/
.codex/
# Release process files
CHANGELOG.md
pulse-release/
pulse-release-staging/
release/
# Development scripts
scripts/backend-watch.sh
temp/
RELEASE_CHECKLIST.md
DOCKER_PUSH_INSTRUCTIONS.md
# Testing and temporary files
testing-tools/*
!testing-tools/run_adaptive_soak.sh
manual-test*.md
verify-*.md
test-*.md
package.json
package-lock.json
*.test.js
*.test.md
screenshots/
.devdata/
test-*.js
test-*.sh
test-*.html
*.backup.*
.env.dev
.env.backup*
PMG_BACKUP_DETECTION.md
SAFE_TESTING.md
tmp/
# Master plan documents (local only)
PULSE_V4_ISSUES_MASTER_PLAN.md
FIX_SUMMARY_*.md
# Development documentation
TYPING_*.md
test-config.json
# Local test scripts
scripts/test-*.sh
!scripts/test-vm-disk.sh
scripts/run-tests.sh
scripts/TEST_*.md
# Mock mode - exclude local overrides but keep the base file
mock.env.local
mock.env.backup
# Legacy mock mode files (no longer used)
internal/monitoring/mock_integration.go
internal/monitoring/mock_stub.go
scripts/mock-dev.sh
scripts/toggle-mock-pure.sh
MOCK_MODE_GUIDE.md
# Claude Code Safety Hooks (local only)
.claudecode-settings.json
.claudecode-hooks/
# Sensitive files - DO NOT COMMIT
secrets.env
*secret*.env
# Browser/session artifacts
**/cookies.txt
**/cookies-*.txt
**/*.har
**/*.browser
# Development documentation (local only)
CLAUDE_DEV_SETUP.md
AGENT_METRICS_*.md
# Temporary scripts
tmp_*.py
tmp_*.sh
# Experimental/abandoned features (not part of main project)
scripts/agent/
docs/internal/
claude.md
/pulse-sensor-proxy