DH Studio Pro
Kết nối Google không còn khóa ứng dụng
dhstudiopro:// (tích ô luôn cho phép để lần sau tự mở). Nếu không bấm, cửa sổ app tự nổi lên sau khoảng 8 giây. Windows đưa cửa sổ app lên ngay.state được tạo ngẫu nhiên an toàn; yêu cầu lạ gửi vào cổng loopback bị bỏ qua.(EN Highlights: Connecting Google no longer freezes the app: you can keep working, cancel, or reopen the browser, and the wait stops after 5 minutes. On macOS the success page offers to reopen DH Studio Pro via dhstudiopro:// and the window comes forward on its own after about 8 seconds; on Windows it comes forward right away. PKCE and state values are now securely random.)
Nhãn "Máy chủ dự phòng" gọn gàng trong thanh bên
(EN Highlights: The "Backup server" indicator now lives in the sidebar footer above the plan badge instead of floating over the account row; it shows as an icon with a tooltip when the sidebar is collapsed, and as a small top-center pill on the sign-in screen. It uses the app's theme-aware warning color in both Light and Dark modes.)
Máy chủ dự phòng: đăng nhập và làm việc tiếp khi máy chủ chính gặp sự cố
apidhstudio.devhouse.vn không truy cập được (mất tên miền, server sập), màn hình bảo trì có thêm nút chuyển sang máy chủ dự phòng (photo-picker-backend.onrender.com). Trước khi chuyển, app nêu rõ giới hạn: chỉ tài khoản đã đăng ký mới đăng nhập được (tạm dừng đăng ký mới), tạm khóa thanh toán/gia hạn, không có đồng bộ thời gian thực. Nút chỉ hiện khi máy chủ chính sập; không hiện khi bảo trì có chủ đích ("maintenance": true)."fallbackApiUrl": "" trong photo-picker-status.json để tắt dự phòng mà không cần phát hành bản mới (app chỉ chấp nhận đúng địa chỉ máy chủ dự phòng đã duyệt).(EN Highlights: New "Switch to Backup Server" option on the maintenance screen when the main server is unreachable (never during planned maintenance). The backup (photo-picker-backend.onrender.com) runs the same backend with the same MongoDB Atlas database and JWT secret, so accounts, licenses and sessions carry over both ways; the app switches back automatically once the main server passes two-stage verification, and allows up to 75s for the backup to wake from sleep. New sign-ups, payments and real-time sync are paused on the backup with clear bilingual notices. The backup can be switched off remotely via "fallbackApiUrl": "" in the status JSON.)
Giao diện sáng trắng trong chuẩn macOS, font chữ sắc nét & hệ nút Liquid Glass xanh dương
#f4f5f7), thẻ nội dung và ô nhập trắng tinh (#ffffff) cùng viền mảnh sắc nét, loại bỏ cảm giác đục xám giữa các lớp; giữ nguyên Dark Mode đen sâu obsidian.13.5px), giữ độ dày nét gốc CoreText trên nền sáng (-webkit-font-smoothing: auto) và ưu tiên ui-monospace (SF Mono) cho cột mã số ảnh..btn-primary), nút phụ kiểu macOS (.btn-secondary / .btn-macos), thanh chuyển tab (.macos-segmented) và chip tùy chọn với hiệu ứng kính Liquid Glass cùng tông màu xanh dương chủ đạo quen thuộc; nút hành động ở Lọc ảnh Pro dạng pill nổi bật đúng bước thao tác (tự chuyển nổi bật sang Sao chép ngay khi khớp ảnh xong).(EN Highlights: Crisp pure-white macOS Light theme (#f4f5f7 canvas, #ffffff cards and crisp hairline borders) while keeping the deep obsidian Dark theme; sharper native macOS typography (13.5px base scale, native CoreText weight on light surfaces, ui-monospace / SF Mono code editor); Liquid Glass blue primary buttons, tactile macOS secondary push buttons, high-contrast segmented controls, and pill action buttons across Photo Picker Pro.)
Hệ sinh thái DH: Cầu nối Lọc ảnh Pro (lọc 1 khách) cho DHbox Finder
photo_picker.*): Mở rộng cầu nối Unix domain socket để DHbox (từ v2.10.0) có thể chuột phải một thư mục khách trong Finder và chọn DH Studio Pro: Lọc ảnh (DH Studio Pro: Photo picker), tận dụng toàn bộ lõi xử lý của DH Studio Pro (kiểm tra bản quyền, quét ảnh vào RAM, chuẩn hóa mã dán, khớp tức thì, phân tích lỗi từng dòng, truy xuất mã đa tab Google Sheets, sao chép đa luồng/APFS, tự động cập nhật trạng thái "Đã lọc" và xuất báo cáo TXT/CSV) ở chế độ lọc 1 khách.photo_picker.cancel trong Rust (< 1ms) cho cả quét ảnh và sao chép; đổi timeout chuyển tiếp WebView sang inactivity timeout (tự gia hạn mỗi khi có sự kiện tiến độ) để sao chép lượng lớn tệp RAW qua cầu nối không bị ngắt giữa chừng.docs/DH_BRIDGE.md giữa hai kho mã nguồn DH Studio Pro và DHbox.(EN Highlights: Extended the DH Ecosystem Bridge (photo_picker.*) so DHbox v2.10.0+ can launch single-customer Photo Picker Pro right from Finder via DH Studio Pro: Photo picker, reusing the full DH Studio Pro engine—entitlement checks, pre-scan RAM cache, paste formatter, instant matching, per-line error analysis, multi-tab Google Sheets code extraction, fast copying, automatic Sheets status updates, and TXT/CSV export; added sub-millisecond direct Rust cancellation (photo_picker.cancel) and activity-based progress timeouts for large RAW transfers.)
Giao diện tối đen sâu (Obsidian Black) & Đồng bộ hoàn thiện Lọc ảnh Pro
zinc/neutral/stone) bỏ hẳn ám xanh slate.Auto Find mở vào trong tránh tràn mép phải, và nhãn lỗi trên dòng mã có nền chắn rõ nét khi dòng mã dài.(EN Highlights: Deep obsidian black dark theme across canvas, panels, sidebar, popovers and tray hub with crisp hairline borders and neutral dark grays; unified Photo Picker left-panel header, segmented mode switcher, progress/copy/Sheets status cards, trash widget and bottom bar into the same calm visual system; fixed narrow-window header wrapping, inward-anchored Auto Find toast notifications, and opaque backing on inline error badges.)
Thời gian phiên đăng nhập áp dụng đúng cho mọi tài khoản dùng thử, gỡ hẳn tàn dư gói VIP/Premium
isPremium khỏi phiên đăng nhập, socket và phiên lưu trên máy. Mọi tài khoản (dùng thử hoặc có bản quyền) giờ đều theo thời gian phiên do quản trị viên cấu hình. Trước đây, tài khoản còn lưu cờ Premium từ bản cũ được miễn giới hạn thời gian phiên vĩnh viễn. Phiên cũ trên máy vẫn đọc bình thường, không bị đăng xuất.(EN Highlights: Removed the leftover isPremium flag from login, socket and on-disk sessions; every account now follows the admin-configured session duration (legacy Premium sessions were previously exempt forever). Old saved sessions still load without logging users out. Removed the unused Premium policy module, stale VIP tests, stray repo files and unreferenced assets/components.)
Lọc ảnh Pro: Sửa lỗi "Illegal byte sequence (os error 92)" khi lọc file
ngon quả□1cc → ngon quả 1cc) rồi chép tiếp. Chữ tiếng Việt, chữ CJK và emoji thông dụng được giữ nguyên.(EN Highlights: Fixed "Illegal byte sequence (os error 92)" when filtering: if the OS rejects a destination folder name because of an unknown or invalid Unicode character, the offending characters are removed and copying continues; Vietnamese, CJK and common emoji are kept.)
Lọc ảnh Pro: Giao diện mới gọn & trung tính, quét thư mục nhanh hơn và chép file tự thích ứng theo loại ổ
.Trashes, .Spotlight-V100, .fseventsd...) và thư mục cache/catalog (*.lrdata, *.photoslibrary, *.cocatalog...) khi quét đệ quy.._IMG_xxxx.CR2 do macOS tạo trên ổ exFAT/FAT/SMB (trước đây bị tính là ảnh và gây báo trùng file giả).(EN Highlights: Faster recursive scans by skipping hidden folders, catalog/cache bundles, macOS ._ AppleDouble files and the output folder; the cached re-scan now shows scan progress instead of a silent "matching" state. File copying now adapts to the storage type: sequential, folder-ordered copies when a spinning HDD is involved, 4 parallel copies on SSD, network shares and cloud folders. Cleaner Photo Picker UI: neutral graphite dark theme, a collapsible "Filter options" button with a live summary, collapsible dashboard sections, calmer status colours, static error-line markers and consistent icon and type sizes.)
Lọc ảnh Pro: Tuỳ chọn bật/tắt Kế thừa hậu tố đuôi file & bộ lọc nhánh định dạng (.CR2, .CR3, .ARW, .NEF...)
.JPG vẫn lọc chính xác sang file RAW .CR2/.CR3/.ARW/.NEF).Kế thừa hậu tố đuôi file: Bổ sung checkbox mới ở hàng tuỳ chọn bên dưới ô nhập mã; khi tích chọn sẽ mở ra dải nhánh định dạng (.CR2, .CR3, .ARW, .NEF, .RAF, .DNG, .ORF, .RW2, .JPG)..CR3 sẽ loại trừ .CR2 ngay cả khi không gõ đuôi trong ô mã), đồng thời vẫn hỗ trợ gắn hậu tố lên mã đầu cụm để kế thừa xuống dưới khi bật nhiều nhánh cùng lúc.(EN Highlights: Restored default extension-agnostic matching so customer .JPG lists filter RAW files seamlessly when "Inherit file extension" is unchecked, and added an opt-in "Inherit file extension" toggle with .CR2, .CR3, .ARW, .NEF, .RAF, .DNG, .ORF, .RW2, .JPG branch filters that strictly restrict matches to checked extensions.)
Lọc ảnh Pro: Tô sáng & nháy dòng mã lỗi trực tiếp, kế thừa hậu tố đuôi file (.CR2/.CR3), kéo chỉnh độ rộng 3 cột & giao diện Liquid Glass
1, 2, 3...): dòng bị Sai mã (Missing) nháy đỏ kèm nhãn ⊗ Sai mã, dòng bị Trùng mã (Duplicate) nháy đồng thời tất cả các dòng trùng màu cam/vàng và chỉ chéo số dòng bị trùng (⚠ Trùng mã (dòng X)).HIN1234 nhưng khách ghi HNI1234), hệ thống báo đỏ Sai mã đúng tại dòng đó mà không làm báo sai lây xuống các dòng chỉ ghi số bên dưới; chữ đứng riêng một mình trên 1 dòng không kèm số sẽ không báo sai mã..CR2 / .CR3 / .JPG / .ARW) & Tự động quét lại khi đổi bộ lọcIMG_1234.CR2 và IMG_1234.CR3), chỉ cần gắn đuôi file vào mã đầu tiên (ví dụ IMG_1234.CR3) — toàn bộ các mã bên dưới sẽ tự động ăn theo hậu tố đó cho tới khi gặp vị trí gắn hậu tố mới (ví dụ IMG_1234.CR2), giúp phân biệt chính xác mà không báo trùng.↔ khi hover) giữa 3 cột Trái ↔ Giữa ↔ Phải trong Lọc ảnh Pro, tự động ghi nhớ độ rộng và hỗ trợ nhấp đúp để đặt lại kích thước mặc định.(EN Highlights: Synchronized line-level error highlighting & click-to-jump line navigation in Photo Picker Pro, cascading file extension inheritance (.CR2/.CR3) to resolve same-name multi-extension conflicts, automatic re-scan on filter checkbox toggles, interactive horizontal 3-column resize splitters, and a unified Liquid Glass toolbar.)
Đồng bộ song ngữ Việt ↔ Anh (vi ↔ en) toàn diện trên toàn bộ ứng dụng & thiết lập quy tắc phát triển song ngữ
vi ↔ en)mvd-convert), Thống kê & Tính lương (photo-counter), Kho Tài Nguyên, Trung tâm Thông báo, Hiệu năng hệ thống và Control Hub khay hệ thống (tray-panel).Hiện DH Studio Pro / Show DH Studio Pro, Thoát ứng dụng / Quit App), cửa sổ phụ Tray Popover qua sự kiện app-language-changed, và thông điệp trả về từ Rust backend qua localizeBackendMessage."Chưa lọc", "Đã lọc", "DS Khách", v.v.), heuristic phân tích tên thư mục và hợp đồng DHbox Bridge v1.tests/i18n/i18n-sync.test.ts đảm bảo 100% key từ điển khớp nhau và 0 chuỗi UI tiếng Việt bị bỏ sót trong src/**/*.tsx.AGENTS.md và CLAUDE.md.(EN Highlights: Full Vietnamese ↔ English UI, dialog, toast, Native Tray menu, Tray Popover, spreadsheet export, and AI Coach localization across all modules while keeping studio Google Sheet matching tokens & DHbox Bridge v1 intact, backed by automated TSX AST checks and bilingual guidelines in AGENTS.md / CLAUDE.md.)
Bản vá chạy ngầm Contact the Sheet (hết treo/timeout) & sửa lỗi không mở lại được cửa sổ sau khi ấn X / Cmd+W
--background, vốn gây treo ở mốc 68% và báo Hết thời gian chờ phản hồi từ DH Studio Pro. khi quét Contact the Sheet từ chuột phải Finder của DHbox.HiddenWakeGuard (src-tauri/src/bridge.rs + src-tauri/src/dock_icon.m) bật NSProcessInfo activity và tạm đánh thức cửa sổ ẩn ở chế độ vô hình xuyên chuột đúng trong lúc xử lý yêu cầu cầu nối, giúp quét ngầm hoàn tất nhanh ngang khi mở cửa sổ (chỉ vài giây) mà không bao giờ hiện hay chiếm focus.scan_folder_topology sang chạy bất đồng bộ trên spawn_blocking và bỏ qua thư mục con ẩn (vẫn giữ gốc độ sâu 0 cho đường dẫn Google Drive .shortcut-targets-by-id).X / Cmd+Wclose_to_tray: false) và nhấn X hoặc Cmd+W, cửa sổ main bị huỷ trong khi cửa sổ phụ tray-panel vẫn giữ tiến trình sống làm icon Menu Bar chạy nhưng không thể mở lại app.close_to_tray bật: ẩn cửa sổ main an toàn không huỷ WebView; bấm Dock (Reopen), Menu Bar "Hiện DH Studio Pro" hoặc Control Hub "Mở cửa sổ chính" luôn khôi phục ActivationPolicy::Regular và kích hoạt cửa sổ chính lên trước ngay lập tức.close_to_tray tắt: ấn X / Cmd+W dọn socket cầu nối và thoát sạch toàn bộ ứng dụng, loại bỏ hoàn toàn trạng thái icon Menu Bar "ma".Liên kết hệ sinh thái DH — Cổng cầu nối Contact the Sheet cho DHbox & chế độ chạy ngầm --background
src-tauri/src/bridge.rs, quyền 0600, xác thực cùng uid người dùng) tại ~/Library/Application Support/Devhouse/bridges/dh-studio-pro.sock.contactSheetBridge.ts tái sử dụng toàn bộ cấu hình Sheet, Google OAuth, bản quyền và logic Thực thi Batch của Contact the Sheet để DHbox gọi trực tiếp từ menu chuột phải Finder mà không viết lại logic.--background khởi chạy ẩn hoàn toàn không nháy cửa sổ (visible: false + ActivationPolicy::Accessory trên macOS) và lệnh bridge.shutdown để thoát sạch sau khi người dùng xác nhận đóng từ DHbox.docs/DH_BRIDGE.md, hướng dẫn CLAUDE.md và bộ test hợp đồng cho cả Rust và TypeScript.Bản vá Lọc ảnh Pro — Mặc định quét thư mục con & Đồng bộ Auto Find tức thì khi chuyển hoặc xoá khách
Bản vá tối ưu hiệu năng Lọc ảnh Pro — Xử lý triệt để lỗi treo khi quét và tăng tốc chép file
stat() / metadata() đa luồng lên từng file trong lúc quét thư mục, khắc phục triệt để lỗi đơ ở 0.0% (Found ... image files, indexing...) trên thư mục Google Drive (CloudStorage) và ổ cứng ngoài.spawn_blocking), không còn làm khựng giao diện chính.RAW/JPG/Subfolder): khi sửa mã trực tiếp trong ô nhập, ứng dụng tự động khớp lại ngay trong RAM (< 1ms) hoặc phản hồi tức thì khi bấm Quét file mà không phải quét lại thư mục từ đầu.clonefile (Copy-on-Write) trên macOS APFS và gom tạo thư mục đích 1 lần duy nhất, giúp tốc độ lọc nhanh hơn gấp 3–4 lần.Auto Find chuyển sang khách kế tiếp, đảm bảo cập nhật trạng thái "Đã lọc" chính xác tuyệt đối trên Google Sheet.Tái thiết giao diện Contact the Sheet & Bộ nhận diện Logo Camera Light mới
Nâng cấp Chuyển đổi file - Sửa ngày chụp EXIF hàng loạt hiệu năng cao
Tinh gọn Contact the Sheet - Bỏ chức năng đồng bộ tên thư mục con
Giao diện mới Devhouse Liquid Glass - Gọn gàng, hiện đại và nhất quán
fix: kien truc luu tru persistent store cho Cau hinh thong bao
See the assets to download this version and install.
sysinfo và kernel APIs).memorystatus_vm_pressure trên macOS, commit/paging trên Windows) với 2 trạng thái NORMAL và WARNING.Home).animate-app-enter), loại bỏ hoàn toàn cảm giác giật/khựng.PHOTO_PICK_STATUS_COMPLETED, mặc định "Đã lọc") vào cột Trạng Thái Lọc (cột M) trên Google Sheets khi thực thi Batch ghi cùng lúc Tên Edit và Link Edit.READ_WRITE và chính sách ALWAYS_REPLACE cho cột Trạng Thái Lọc nếu người dùng thiết lập trạng thái hoàn tất.FIELD_READ_ONLY sai ngữ nghĩa khi thiếu liên kết Drive.leaf delivery folder) trên Google Drive ngay cả khi tên thư mục con vừa được đổi đồng bộ khớp với tên thư mục khách hàng.effectiveProfile): Đánh giá quyền ghi và phạm vi dòng (rowScope) chuẩn xác theo từng Tab riêng biệt, triệt tiêu lỗi xung đột phân quyền chéo khi thực thi Batch trên nhiều tháng/nhiều tab.NEEDS_REVIEW): Chuyển sang trạng thái Cần duyệt kèm hướng dẫn kiểm tra Google Drive Desktop thay vì đánh dấu lỗi đỏ ERROR.clearMergesCache): Bổ sung hàm dọn cache cho SheetDiscoveryService, đảm bảo dữ liệu ô gộp trên trang tính luôn được cập nhật chính xác nhất.# Chính xác, Q Chứa, .* Regex), cho phép chủ động kích hoạt quy trình tự động hóa cho hàng đợi nhiều khách.20-10... $\rightarrow$ Tháng 10) để ưu tiên quét đúng tab tháng tương ứng.trash.wav) kèm bộ tổng hợp Web Audio API dự phòng.NEEDS_REVIEW): Tự động chọn hàng có điểm khớp cao nhất chưa bị đánh dấu "Đã lọc".rounded-xl đồng bộ cho toàn bộ ô nhập liệu và các nút bấm.release(v2.7.2): redesign DH Studio Pro brand logo & icons, switch API to apidhstudio.devhouse.vn
824x824 px trên canvas 1024x1024 px (tương đương với các ứng dụng hệ thống macOS như Safari, Finder, Photos).dock_icon.m và system_utils.rs) trên macOS, tự động chuyển đổi giao diện Dock sắc nét theo Dark Mode / Light Mode của hệ thống.onDragDropEvent với fallback sự kiện native), loại bỏ tình trạng mất sự kiện khi kéo nhanh.See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.
See the assets to download this version and install.