Commit Graph

54 Commits

Author SHA1 Message Date
8b0805bebf fix(main): add safeStorage API compatibility check
- Check if getSelectedStorageBackend exists before calling (Electron 30+)
- Fallback to isEncryptionAvailable() for older Electron versions
- Add try-catch to prevent unhandled promise rejection
2026-03-12 11:03:50 +08:00
184919b562 fix(main): replace electron-store with native fs for ESM compatibility
- Remove electron-store dependency usage (ESM-only)
- Implement JSON file storage using native fs module
- Read/write config.json and secure.json directly
- Maintain same API for domain and version storage
2026-03-12 11:03:49 +08:00
da7f566ecf feat(core): implement Kintone Customize Manager core features
Wave 1 - Foundation:
- Add shared TypeScript type definitions (domain, kintone, version, ipc)
- Implement storage module with safeStorage encryption
- Implement Kintone REST API client with authentication
- Add IPC handlers for all features
- Expose APIs via preload contextBridge
- Setup Zustand stores for state management

Wave 2 - Domain Management:
- Implement Domain store with IPC actions
- Create DomainManager, DomainList, DomainForm components
- Connect UI components to store

Wave 3 - Resource Browsing:
- Create SpaceTree component for browsing spaces/apps
- Create AppDetail component for app configuration view
- Create CodeViewer component with syntax highlighting

Wave 4 - Deployment:
- Create FileUploader drag-and-drop component
- Create DeployDialog with step-by-step deployment flow
- Implement deployment IPC handler with auto-backup

Wave 5 - Version Management:
- Create VersionHistory component
- Implement version storage and rollback logic

Wave 6 - Integration:
- Integrate all components into main App layout
- Update main process entry point
- Configure TypeScript paths for renderer imports
2026-03-12 11:03:48 +08:00
ab7e9b597a init 2026-03-12 11:03:47 +08:00