Commit Graph

238 Commits

Author SHA1 Message Date
f6167fdaec fix(ui): 隱藏操作紀錄中的密碼並中文化帳號欄位
- 在 ActivityDetailDialog 中將 password 欄位顯示為 ******

- 將 username 欄位名稱從 Username 翻譯為 登入帳號
2026-01-19 16:01:27 +08:00
b29278aa12 fix(i18n): 使用者密碼驗證訊息中文化
- 新增/編輯使用者時,密碼欄位的驗證錯誤訊息改為繁體中文顯示
2026-01-19 15:58:47 +08:00
ed6fb37ec3 docs(skill): 更新 UI 統一規範,新增對話框滾動規則
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-19 15:42:55 +08:00
6bd52fe3db refactor(ui): 統一 ActivityDetailDialog 滾動行為
- 移除 ScrollArea,改用原生的 overflow-y-auto 於 DialogContent

- 參考 VendorDialog 與 ProductDialog 的標準實作方式
2026-01-19 15:38:44 +08:00
f83baffddb fix(ui): 修正操作詳情對話框滾動問題
- 移除 ScrollArea 的高度計算,改用 h-full 配合 Flex 佈局自動填滿剩餘空間
2026-01-19 15:35:12 +08:00
a8091276b8 feat: 優化採購單操作紀錄與統一刪除確認 UI
- 優化採購單更新與刪除的活動紀錄邏輯 (PurchaseOrderController)
  - 整合更新異動為單一紀錄,包含品項差異
  - 刪除時記錄當下品項快照
- 統一採購單刪除確認介面,使用 AlertDialog 取代原生 confirm (PurchaseOrderActions)
- Refactor: 將 ActivityDetailDialog 移至 Components/ActivityLog 並優化樣式與大數據顯示
- 調整 UI 文字:將「總金額」統一為「小計」
- 其他模型與 Controller 的活動紀錄支援更新
2026-01-19 15:32:41 +08:00
18edb3cb69 feat: 優化操作紀錄顯示與邏輯 (恢復描述欄位、支援來源標記、改進快照)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 45s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-19 11:47:10 +08:00
74417e2e31 style: 統一所有表格標題樣式為一般粗細並修正排序功能
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 56s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-19 09:30:02 +08:00
0d7bb2758d feat: 實作操作紀錄與商品分類單位異動紀錄 (Operation Logs for System, Products, Categories, Units)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 58s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 17:36:37 +08:00
19c2eeba7b fix: 修正租戶品牌樣式注入邏輯與清除深色模式殘留
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 48s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 15:14:37 +08:00
55272d5d43 feat: 新增租戶品牌客製化系統(Logo、主色系)、修正 hardcoded 顏色為 CSS 變數
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 14:36:24 +08:00
a2c99e3a36 修正:UI 優化與使用者角色分配改為單選
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 51s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 12:05:45 +08:00
43d7cada34 fix: tenancy middleware order and ui consistency for user profile
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 44s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 11:56:44 +08:00
5b15ca2cd6 docs: 重新撰寫客戶端後台 UI 統一規範技能 2026-01-16 10:33:39 +08:00
aa4143ccf1 feat: 優化中央後台 UI (用語調整、移除連結) 與實作 RWD 支援
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 44s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 10:14:59 +08:00
8a9b8135bd feat: translate landlord login page and remove security text
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 45s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 10:03:02 +08:00
736a01f198 docs: update README with comprehensive setup guide
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 45s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 09:56:13 +08:00
32f993a6e1 refactor: use DEMO_TENANT_PORT env var for demo logic isolation
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 55s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 09:28:29 +08:00
231d1ad029 fix: make DashboardController respect port 8081 for tenant
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m1s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 09:17:01 +08:00
c7e1154af8 fix: 支援 Port 8081 直接訪問租戶 (IP-based tenancy support)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 08:58:32 +08:00
d28671b60c fix: 配置端口代理與 TrustProxies
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 49s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 08:39:25 +08:00
4b2ccd36b8 feat: 添加 Nginx 反向代理並統一容器名稱為 star-erp
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m38s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:35:09 +08:00
b685c818a4 fix: 停用 asset_helper_tenancy 以修復 Vite 資源路徑
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m15s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:16:00 +08:00
bf48fe0c35 chore: 修正部署腳本中的容器名稱 (koori-erp -> star-erp)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m1s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:08:02 +08:00
2b752b51ff chore: 更新部署工作流程
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Failing after 41s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:06:03 +08:00
9bc7c8514b feat: 租戶建立自動產生預設網域與管理員帳號
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m0s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 修改 TenantController 自動產生預設網域 ({tenant_id}.{TENANT_DEFAULT_DOMAIN})
- 新增 TenantDatabaseSeeder 自動建立 admin 帳號
- 啟用 SeedDatabase Job 在建立租戶時自動執行 seeder
- 新增 TENANT_DEFAULT_DOMAIN 環境變數支援不同環境
- 補充中央資料庫所需的 migrations
2026-01-15 16:55:24 +08:00
287ac6faa3 feat(auth): separate landlord and tenant login experience based on domain
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:56:11 +08:00
9ce8ff4e06 fix(middleware): create missing PreventAccessFromTenantDomains middleware
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 55s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:43:22 +08:00
a6b5496529 fix(tenancy): implement UniversalTenancy middleware to handle central domain on IP
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 52s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:39:04 +08:00
79e5916d19 fix(routes): implementing universal routes to resolve 404 on central domain
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 46s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:36:59 +08:00
a6ed2720d5 fix: 修復 central_domains 從環境變數讀取
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m4s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:25:33 +08:00
190d6c2bd9 fix: 修復 PermissionSeeder 使用 firstOrCreate 避免重複建立
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 59s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:23:02 +08:00
a64a4682f3 fix: 修復權限 migration 使用 firstOrCreate 避免重複建立錯誤
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:19:35 +08:00
4f745c1021 feat: 實作 Multi-tenancy 多租戶架構 (stancl/tenancy)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m3s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 安裝並設定 stancl/tenancy 套件
- 分離 Central / Tenant migrations
- 建立 Tenant Model 與資料遷移指令
- 建立房東後台 CRUD (Landlord Dashboard)
- 新增租戶管理頁面 (列表、新增、編輯、詳情)
- 新增域名管理功能
- 更新部署手冊
2026-01-15 13:15:18 +08:00
3e3d8ffb6c git
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 11:23:51 +08:00
74a084d938 refactor: optimize user role display and update ui skills
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 59s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-14 14:57:05 +08:00
f7238c2860 fix: 統一 UI 按鈕樣式並新增 button-outlined-error hover 效果
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 51s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 修正 5 處硬編碼顏色樣式改用預定義按鈕類別
- 新增 button-outlined-error 的 hover 狀態(bg-red-50)
- 修正倉庫模組刪除按鈕樣式統一性
- 角色管理權限 Badge 改用標準組件
- 新增 UI 統一性規範 skill
- 修復 1 處 lint 警告(移除未使用參數)

變更檔案:
- resources/css/app.css: 新增 button-outlined-error hover 樣式
- resources/js/Components/Warehouse/WarehouseDialog.tsx
- resources/js/Pages/Admin/Role/Index.tsx
- resources/js/Pages/Warehouse/EditInventory.tsx
- resources/js/Pages/Warehouse/Inventory.tsx
- resources/js/Pages/Warehouse/SafetyStockSettings.tsx
- .agent/skills/ui-consistency/SKILL.md (新增)
2026-01-14 11:31:36 +08:00
7dfe46ff9a refactor: 優化使用者管理介面與角色顯示
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 54s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 移除 Header 中的角色名稱顯示
- 調整使用者表單欄位順序(使用者名稱、姓名並排)
- 將角色分配區塊移至基本資料下方
- 修復 email 欄位 null 值警告
- 修復角色選擇無限迴圈錯誤
- 統一角色顯示格式(中文名稱在上,代號在下)
2026-01-14 09:52:56 +08:00
8e364bc2f7 fix: update role display names and seeder
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 55s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-14 08:56:02 +08:00
2e166d44d2 fix: Ensure db:seed runs during deployment
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m3s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:34:05 +08:00
78a7ca4261 fix: DatabaseSeeder 呼叫 PermissionSeeder 並在部署時執行 Seed
Some checks failed
Koori-ERP-Deploy-System / deploy-production (push) Has been cancelled
Koori-ERP-Deploy-System / deploy-demo (push) Has been cancelled
2026-01-13 17:33:31 +08:00
e3afc0b64a fix: 顯示使用者角色以除錯 & 強化權限指派邏輯
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:27:19 +08:00
4d6d37743e fix: 前端權限檢查邏輯讓 super-admin 自動通過
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 49s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:24:42 +08:00
a0a61ba683 feat: 確保 super-admin 角色擁有系統所有權限且開啟 Gate bypass
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:21:36 +08:00
2e7aeef367 feat: 新增 Migration 確保 admin 使用者自動被設為 super-admin 角色
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 45s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:15:32 +08:00
566dfa31ae feat: 統一清單頁面分頁與每頁顯示 UI
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m11s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:09:52 +08:00
f18fb169f3 feat: 統一全系統頁面標題樣式、優化側邊欄與實作角色成員查看功能 2026-01-13 17:00:58 +08:00
6600cde3bc style: 統一全系統按鈕樣式、新增表格序號欄位、移除裝飾性圖示並同步頁面邊距 2026-01-13 14:23:45 +08:00
f0e6c6e4d1 style: 移除麵包屑首頁項,側邊欄新增儀表板選單並修正選中狀態 2026-01-13 13:37:51 +08:00
ecfcbb93ed feat: 完成權限管理系統、統一頁面標題樣式與表格對齊規範 2026-01-13 13:30:51 +08:00