Commit Graph

13 Commits

Author SHA1 Message Date
970d6d9538 fix load app, download, upgrade 2026-03-16 15:53:59 +08:00
43820127f4 feat(ui): refactor AppDetail layout and add download with save dialog
- Remove Tabs component, merge JS/CSS sections into single scrollable list
- Add sub-page navigation for code viewing with back button
- Put app name and buttons on same row to save vertical space
- Reduce DomainForm spacing (marginMD -> marginSM)
- Use FileCode/FileText icons to indicate JS/CSS file types
- Add save dialog for single file download with loading state
- Add IPC handlers: showSaveDialog, saveFileContent
- Fix duplicate file extension issue in download filenames
- Add i18n keys: backToList, downloadSuccess, downloadFailed, downloadAllSuccess
2026-03-16 00:07:49 +08:00
f7ad51b9ec i18n and UI fix 2026-03-15 12:46:35 +08:00
4d92085957 remove api token auth 2026-03-13 15:46:19 +08:00
8ff555f9e4 update 2026-03-13 15:25:44 +08:00
f53f43a6b9 update main ts 2026-03-12 23:03:01 +08:00
914ca64c10 fix UI 2026-03-12 17:13:13 +08:00
51ccd265ba remove spaces 2026-03-12 15:45:40 +08:00
cb6d3f7ee0 fix ts problem 2026-03-12 15:11:41 +08:00
7be6a3ff6a chore: add ESLint v9 config with typescript-eslint
- Add eslint.config.mjs with typescript-eslint integration
- Install typescript-eslint, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
- Fix unused params warning in ipc-handlers.ts
2026-03-12 13:57:38 +08:00
0945d7f0b2 refactor(types): move shared types from renderer to shared directory
- Move type definitions from src/renderer/src/types/ to src/shared/types/
- Add @shared/* path alias to tsconfig.node.json and tsconfig.web.json
- Update all imports from @renderer/types/* to @shared/types/*
- Update AGENTS.md with new directory structure and path alias

This fixes architecture violation where main/preload processes imported
from renderer directory. Types are now properly shared across all processes.
2026-03-12 13:01:58 +08:00
c903733f2c feat(domain): improve domain form UX
- Make name field optional (defaults to domain if empty)
- Simplify domain placeholder and error messages
- Add test connection button for credential validation before save
2026-03-12 12:07:33 +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