Commit Graph

39 Commits

Author SHA1 Message Date
9fddc9836e fix deploy 2026-03-17 16:05:22 +08:00
dd5f16ef65 ui fix 2026-03-17 13:38:24 +08:00
95acfd2b3b refactor(DomainManager): improve expand/collapse UI with card style and chevron toggles
- Collapsed state: card style, ChevronDown button, no hover effect
- Expanded state: card style, ChevronUp in header
- Selected domain: 3px left indicator bar with primary color
- Remove bottom toggle areas
- Add expand/collapse translation keys
2026-03-17 09:50:19 +08:00
8b096fcf53 feat: add download all as zip feature
- Add adm-zip dependency for zip compression
- Add DownloadAllZipParams/Result IPC types
- Implement registerDownloadAllZip handler in main process
- Update frontend download flow with save dialog
- ZIP includes pc/, mobile/ folders and metadata.json
2026-03-17 08:50:27 +08:00
a34401ce7a update theme 2026-03-16 23:52:47 +08:00
a4fe857956 feat(theme): add dark mode support with Light/Dark/Auto modes 2026-03-16 22:06:13 +08:00
b62ce11e23 add store and UI fix 2026-03-16 17:42:00 +08:00
53541f8b46 fix UI 2026-03-16 17:13:22 +08:00
970d6d9538 fix load app, download, upgrade 2026-03-16 15:53:59 +08:00
b34720fccf fix UI 2026-03-16 14:29:11 +08:00
e823e703ea chore: set Japanese as default locale and remove i18n-cli
- Remove @lobehub/i18n-cli package and .i18nrc.js config
- Delete locales/default/ directory (translation source)
- Change DEFAULT_LOCALE and fallbackLng to ja-JP
- Reorder LOCALES array with Japanese first
- Simplify language selector to horizontal solid button style
2026-03-16 11:44:29 +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
345f0b344c fix UI 2026-03-15 20:31:44 +08:00
7b1fd11bf3 chore: remove .sisyphus task artifacts 2026-03-15 14:52:42 +08:00
d1903b1fe7 feat(ui): migrate Ant Design components to LobeHub UI
- Replace Button, Avatar, Tooltip, Empty, Select, Modal, Form with LobeHub UI
- Migrate icons from @ant-design/icons to lucide-react
- Keep Settings icon using SettingOutlined from @ant-design/icons
- Update all components to use LobeHub UI styling patterns
2026-03-15 14:52:13 +08:00
078bfd10ee update filename 2026-03-15 13:17:38 +08:00
f7ad51b9ec i18n and UI fix 2026-03-15 12:46:35 +08:00
43289845fc update UI 2026-03-13 22:37:02 +08:00
23edd0faab update 2026-03-13 18:15:01 +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
4ec09661cd add test 2026-03-13 12:03:02 +08:00
f53f43a6b9 update main ts 2026-03-12 23:03:01 +08:00
4a8cd53617 fix css 2026-03-12 18:00:41 +08:00
78f31d44ec fix ts 2026-03-12 17:42:00 +08:00
914ca64c10 fix UI 2026-03-12 17:13:13 +08:00
97af24ab2b refactor(preload): use Proxy for auto IPC routing
Replace manual IPC method mapping with Proxy-based approach.
Method names now automatically route to IPC channels,
eliminating the need to update this file when adding new APIs.

- Uses Proxy to intercept property access
- Static properties (platform) handled separately
- Supports variable argument counts via rest parameters
2026-03-12 16:15:47 +08:00
4ae451fc73 fix ts 2026-03-12 15:59:54 +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
1e9a01b6c1 use rest-api-client 2026-03-12 12:27:16 +08:00
d66dae74e8 fix ts type error 2026-03-12 12:24:34 +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
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