From c0089450f098786eace173757388e918451b9596 Mon Sep 17 00:00:00 2001 From: rajhansgithub Date: Tue, 1 Dec 2026 05:56:17 +0530 Subject: [PATCH] feat: farm dailies, burn-ins, slate, and accent themes (v1.28.0) --- README.md | 12 +- docs/ARCHITECTURE.md | 25 +- docs/ROADMAP.md | 12 +- docs/UPDATES.md | 2 +- docs/app-mark.svg | 1 + docs/site-src/build.mjs | 4 +- docs/site-src/content/deep/batch-converter.md | 4 + docs/site-src/content/deep/image-sequences.md | 4 + docs/site-src/content/deep/inspector.md | 6 + docs/site-src/content/deep/labels-tags.md | 2 + docs/site-src/content/deep/quick-look.md | 4 + docs/site-src/content/deep/settings-themes.md | 30 +- docs/site-src/content/shared/release-notes.md | 17 +- docs/site/assets/fonts/OFL.txt | 194 ++ .../fonts/inter-tight-latin-wght-normal.woff2 | Bin 0 -> 44872 bytes .../jetbrains-mono-latin-wght-normal.woff2 | Bin 0 -> 40404 bytes docs/site/assets/search-index.js | 2 +- docs/site/assets/site.css | 72 +- docs/site/deep/3d-models.html | 5 +- docs/site/deep/architecture.html | 5 +- docs/site/deep/batch-converter.html | 9 +- docs/site/deep/compare.html | 5 +- docs/site/deep/duplicate-finder.html | 5 +- docs/site/deep/folders-and-network.html | 5 +- docs/site/deep/hdr-exr.html | 5 +- docs/site/deep/image-sequences.html | 9 +- docs/site/deep/images.html | 5 +- docs/site/deep/inspector.html | 10 +- docs/site/deep/labels-tags.html | 6 +- docs/site/deep/markdown.html | 5 +- docs/site/deep/pdf.html | 5 +- docs/site/deep/quick-look.html | 9 +- docs/site/deep/render-textures.html | 5 +- docs/site/deep/send-to-apps.html | 5 +- docs/site/deep/settings-themes.html | 24 +- docs/site/deep/troubleshooting.html | 5 +- docs/site/deep/usd-outliner.html | 5 +- docs/site/deep/video-and-audio.html | 5 +- docs/site/index.html | 5 +- docs/site/quick/how-do-i.html | 5 +- docs/site/quick/shortcuts.html | 5 +- docs/site/quick/tour.html | 5 +- docs/site/shared/faq.html | 5 +- docs/site/shared/release-notes.html | 17 +- index.html | 10 +- package-lock.json | 4 +- package.json | 2 +- scripts/make-icons.mjs | 190 ++ src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/icons/128x128.png | Bin 11059 -> 9023 bytes src-tauri/icons/128x128@2x.png | Bin 23137 -> 22884 bytes src-tauri/icons/32x32.png | Bin 2225 -> 1388 bytes src-tauri/icons/icon.icns | Bin 277003 -> 217047 bytes src-tauri/icons/icon.ico | Bin 37710 -> 39603 bytes src-tauri/icons/icon.png | Bin 49979 -> 53704 bytes src-tauri/tauri.conf.json | 2 +- src/App.jsx | 18 +- src/achievements/bubble.js | 22 +- src/achievements/gem.js | 8 +- src/achievements/medal3d.js | 29 +- src/achievements/ui.js | 9 +- src/assets/fonts/OFL.txt | 194 ++ .../fonts/inter-tight-latin-wght-normal.woff2 | Bin 0 -> 44872 bytes .../jetbrains-mono-latin-wght-normal.woff2 | Bin 0 -> 40404 bytes src/components/AccentPicker.jsx | 392 ++++ src/components/AccentPreview.jsx | 26 + src/components/AchievementsScreen.jsx | 2 + src/components/AppMark.jsx | 27 + src/components/AssetGrid.jsx | 42 +- src/components/BatchConvertModal.jsx | 78 +- src/components/BurnIns.jsx | 49 + src/components/CompareModelPane.jsx | 10 +- src/components/CompareView.jsx | 4 +- src/components/DragDropOverlay.jsx | 18 +- src/components/FarmBits.jsx | 63 + src/components/HdrExrInspector.jsx | 43 +- src/components/Header.jsx | 29 +- src/components/ImageSequencePlayer.jsx | 20 +- src/components/ImageViewer.jsx | 15 +- src/components/InspectorDrawer.jsx | 66 +- src/components/Led.jsx | 16 + src/components/PdfViewer.jsx | 2 +- src/components/QuickLookWindow.jsx | 2 + src/components/SettingsModal.jsx | 45 +- src/components/ShortcutCheatsheet.jsx | 6 +- src/components/Sidebar.jsx | 49 +- src/components/Slate.jsx | 91 + src/components/TxTexViewer.jsx | 13 +- src/components/UpdateNotice.jsx | 12 +- src/components/UpdateSection.jsx | 2 +- src/components/UvView.jsx | 6 +- src/components/VideoPlayer.jsx | 36 +- src/components/Viewport3D.jsx | 20 +- src/main.jsx | 4 + src/styles/farm.css | 2029 +++++++++++++++++ src/styles/fonts.css | 17 + src/styles/index.css | 420 ++-- src/styles/mac-shell.css | 105 +- src/styles/viewport-panels.css | 12 +- src/utils/accent.js | 261 +++ src/utils/appMark.js | 128 ++ src/utils/dailies.js | 252 ++ src/utils/gridVirtual.js | 12 +- src/utils/hoverEngines.js | 2 +- src/utils/hoverPreview.js | 11 +- src/utils/jobsStore.js | 74 + src/utils/ledFont.js | 81 + src/utils/stage3d.js | 61 + src/utils/themes.js | 60 +- 110 files changed, 5182 insertions(+), 593 deletions(-) create mode 100644 docs/app-mark.svg create mode 100644 docs/site/assets/fonts/OFL.txt create mode 100644 docs/site/assets/fonts/inter-tight-latin-wght-normal.woff2 create mode 100644 docs/site/assets/fonts/jetbrains-mono-latin-wght-normal.woff2 create mode 100644 scripts/make-icons.mjs create mode 100644 src/assets/fonts/OFL.txt create mode 100644 src/assets/fonts/inter-tight-latin-wght-normal.woff2 create mode 100644 src/assets/fonts/jetbrains-mono-latin-wght-normal.woff2 create mode 100644 src/components/AccentPicker.jsx create mode 100644 src/components/AccentPreview.jsx create mode 100644 src/components/AppMark.jsx create mode 100644 src/components/BurnIns.jsx create mode 100644 src/components/FarmBits.jsx create mode 100644 src/components/Led.jsx create mode 100644 src/components/Slate.jsx create mode 100644 src/styles/farm.css create mode 100644 src/styles/fonts.css create mode 100644 src/utils/accent.js create mode 100644 src/utils/appMark.js create mode 100644 src/utils/dailies.js create mode 100644 src/utils/jobsStore.js create mode 100644 src/utils/ledFont.js create mode 100644 src/utils/stage3d.js diff --git a/README.md b/README.md index 9f4f8d1..3ef538a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@
-[![Release](https://img.shields.io/github/v/release/rajhansgithub/CG_Artist_File_Browser?include_prereleases&color=00e5ff&style=flat-square)](https://github.com/rajhansgithub/CG_Artist_File_Browser/releases) +CG Artist File Browser icon: a clapper slate over two rings, made of dots + +[![Release](https://img.shields.io/github/v/release/rajhansgithub/CG_Artist_File_Browser?include_prereleases&color=c6f24e&style=flat-square)](https://github.com/rajhansgithub/CG_Artist_File_Browser/releases) [![Platform](https://img.shields.io/badge/platform-Windows%20x64-blue?style=flat-square)](https://github.com/rajhansgithub/CG_Artist_File_Browser) [![Tauri](https://img.shields.io/badge/Tauri-v2-FFC131?style=flat-square&logo=tauri&logoColor=white)](https://tauri.app/) [![React](https://img.shields.io/badge/React-19-61DAFB?style=flat-square&logo=react&logoColor=black)](https://react.dev/) @@ -32,6 +34,13 @@ - **In-App Dragging**: Drag asset cards within the browser directly onto the floating Compare Dock slots. - **Network Drives & Shares**: Mapped network drives (`Z:`) show up next to local drives. Click the empty part of the path bar (or press `Ctrl`+`L`) and type a path such as `\\mypc\library` or `//mypc/library`, just like File Explorer; opened shares are remembered in the sidebar. If Windows blocks a share the app cannot sign in to (error 1272), use the **+** next to NETWORK LOCATIONS to connect with a username and password; the password is kept in Windows Credential Manager and the share reconnects every time the app starts. Slow or offline shares never freeze the app. +### 🎞️ Farm & Dailies Look (v1.28.0) +- **Dark, Light or System** theme with one **accent colour** you pick (HSV picker, hex, eyedropper, ten presets; the Accent button in the top bar). Everything in the app follows it, including the 3D wire and the app icon. +- **Series at a glance**: image sequences, UDIM sets and texture sets show a strip of dots on the tile, one per chunk, with missing frames or tiles left dim. A `v012` in the name shows as a small numeral on the tile, and the Inspector lists the other versions of the file in the folder. +- **Slate and burn-ins**: a short slate with the file's own details before a viewer or Quick Look opens, and burn-ins (name, shot, version, frame, timecode, pixel size) in the corners of pictures and video. Both are switches in Settings > Dailies. +- **Jobs**: copies, moves and batch conversions show in the sidebar while they run. +- Fonts (JetBrains Mono and Inter Tight, SIL Open Font License) are built into the app, so it never asks the network for them. + ### 🧊 3D Studio Viewport (WebGL / Three.js) - **Interactive Orbit Controls**: Smooth orbit, pan, and zoom with auto-centering and framing bounding boxes. - **Studio Lighting Presets**: Switch between Studio Three-Point, Neutral Diffuse, Sunset Rim, High-Contrast Key, and Rim-Only lighting presets. @@ -148,6 +157,7 @@ We follow an iterative release cadence with standalone testable builds for each - [x] **v1.0.8**: Viewport wireframe overhaul, dynamic polygonOffset, USD/Alembic embedded converter, and performance tuning. - [x] **v1.0.9**: Multi-threaded folder indexing (Rayon), native Rust thumbnail pipeline (HDR, EXR, TIFF, TGA, PNG, JPEG, WebP, BMP), raw IPC ArrayBuffer streaming, and Hold-E exposure EV grading in HDR/EXR inspector. - [x] **v1.0.10**: Seamless viewport lifecycle management β€” auto-closes any open asset viewer when navigating to folders from sidebar, pinned favorites, drives, or breadcrumbs. +- [x] **v1.28.0**: Farm & dailies look: Dark / Light / System with a picked accent colour, a new app icon, series strips and version numerals on tiles, version stack in the Inspector, slate and burn-ins, and a Jobs list. - [ ] **v1.0.11**: Next patch release (bug fixes, small UI adjustments, dependency updates, and maintenance). - [ ] **v1.1.0**: Next feature milestone release (features from [`docs/ROADMAP.md`](docs/ROADMAP.md) like USD hierarchy inspection, image sequence playback, batch converter). diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 20fbe71..fa838eb 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -265,7 +265,14 @@ Local_WebFileBrowser_Tauri/ β”‚ β”‚ β”œβ”€β”€ ImageViewer.jsx # 2D pan/zoom image & texture viewer β”‚ β”‚ β”œβ”€β”€ PdfViewer.jsx # Continuous-scroll PDF viewer (pdf.js) β”‚ β”‚ β”œβ”€β”€ MarkdownViewer.jsx # Markdown reading page: images/GIFs, tables, code, outline, links -β”‚ β”‚ β”œβ”€β”€ SettingsModal.jsx # Appearance (colour scheme), updates, Blender path settings & cache management +β”‚ β”‚ β”œβ”€β”€ SettingsModal.jsx # Appearance (Dark / Light / System), accent colour, dailies (slate, burn-ins), updates, About, Blender path settings & cache management +β”‚ β”‚ β”œβ”€β”€ AccentPicker.jsx # HSV accent picker (square, hue strip, scrub fields, hex, eyedropper, presets) for Settings and the toolbar pop-over +β”‚ β”‚ β”œβ”€β”€ AccentPreview.jsx # Row of dots in one colour, the accent preview in Settings and on the preset cards +β”‚ β”‚ β”œβ”€β”€ AppMark.jsx # The app mark (clapper slate over two rings, as dots) as SVG; follows the accent and the theme +β”‚ β”‚ β”œβ”€β”€ BurnIns.jsx # Viewer corner text: name with SEQ / SH codes, version, frame, timecode, pixel size (real values only) +β”‚ β”‚ β”œβ”€β”€ FarmBits.jsx # Chunk dots and strip for series, version numeral, label stamp +β”‚ β”‚ β”œβ”€β”€ Led.jsx # Dot-matrix numerals and letters as SVG +β”‚ β”‚ β”œβ”€β”€ Slate.jsx # The slate shown for about half a second before a viewer or Quick Look β”‚ β”‚ β”œβ”€β”€ UpdateSection.jsx # Settings > Updates: check, what's new, download and install β”‚ β”‚ β”œβ”€β”€ UpdateNotice.jsx # Corner notice: updated, update failed, or a new version is out β”‚ β”‚ β”œβ”€β”€ TxTexViewer.jsx # Arnold .tx / RenderMan .tex viewer: mip levels, "will it be sharp enough?" check @@ -277,7 +284,9 @@ Local_WebFileBrowser_Tauri/ β”‚ β”‚ └── Viewport3D.jsx # Three.js 3D viewport (PBR, wireframe, clay, MatCaps, turntable) β”‚ β”œβ”€β”€ styles/ β”‚ β”‚ β”œβ”€β”€ hover-preview.css # Hover preview overlay: scrub strip, playhead, chips, hover bar moving above the strip -β”‚ β”‚ └── index.css # Colour scheme design system (dark, dark gray, true black, light) +β”‚ β”‚ β”œβ”€β”€ fonts.css # @font-face for the bundled JetBrains Mono and Inter Tight (src/assets/fonts, SIL Open Font License) +β”‚ β”‚ β”œβ”€β”€ farm.css # Farm & dailies look, loaded last: tiles, strips, slate, burn-ins, accent picker, jobs, reduced-motion rules +β”‚ β”‚ └── index.css # Design tokens: charcoal (dark) and eggshell (light) surfaces, legacy token names mapped onto them β”‚ β”œβ”€β”€ hooks/ β”‚ β”‚ └── useQuickLook.js # Space / Esc for the Quick Look floating window β”‚ β”œβ”€β”€ utils/ @@ -305,7 +314,13 @@ Local_WebFileBrowser_Tauri/ β”‚ β”‚ β”œβ”€β”€ txTexAnalysis.js # Sharpness maths and plain-words verdicts for .tx / .tex β”‚ β”‚ β”œβ”€β”€ txTexDecoder.js # TIFF mip-pyramid reader for .tx / .tex (tiles, region decoding) β”‚ β”‚ β”œβ”€β”€ txTexPreview.js # Canvas painting of a texture at final-render pixel size -β”‚ β”‚ β”œβ”€β”€ themes.js # Colour scheme list, remembered choice and apply (Settings > Appearance) +β”‚ β”‚ β”œβ”€β”€ themes.js # Dark / Light / System, remembered choice (old saved themes migrate), apply +β”‚ β”‚ β”œβ”€β”€ accent.js # The accent colour: HSV state, contrast fitting for dark and light, CSS variables, redraw hooks for canvases and 3D +β”‚ β”‚ β”œβ”€β”€ appMark.js # Geometry of the app mark (dots), shared by the component, the favicon, the guide and scripts/make-icons.mjs +β”‚ β”‚ β”œβ”€β”€ ledFont.js # 5x7 dot-matrix glyphs for the LED numerals +β”‚ β”‚ β”œβ”€β”€ dailies.js # Slate / burn-in settings, version and shot parsing, version stack, series (chunk) index, shared file-header cache +β”‚ β”‚ β”œβ”€β”€ jobsStore.js # Sidebar Jobs: file transfers and the running batch convert, one dot per file +β”‚ β”‚ β”œβ”€β”€ stage3d.js # 3D stage colours (background, grid, wire) that follow the theme and accent β”‚ β”‚ └── viewportCamera.js # 3D viewport camera rig: lens presets, ortho, snap views, view state β”‚ β”œβ”€β”€ App.jsx # Root view routing & global state β”‚ β”œβ”€β”€ main.jsx # React 19 entrypoint @@ -326,6 +341,8 @@ Local_WebFileBrowser_Tauri/ β”‚ β”‚ └── user_guide.rs # Help: docs/site is embedded (build.rs lists it), saved to the app data folder, opened in the browser β”‚ β”œβ”€β”€ Cargo.toml # Rust dependencies (tauri, rayon, image, exr, sysinfo) β”‚ └── tauri.conf.json # Window dimensions, bundle targets, asset protocol +β”œβ”€β”€ scripts/ +β”‚ └── make-icons.mjs # Renders the app mark into src-tauri/icons (png, ico, icns); run it again after changing utils/appMark.js β”œβ”€β”€ package.json # Pure Tauri scripts and dependencies β”œβ”€β”€ vite.config.mjs # Vite build configuration └── README.md # Public documentation and versioned roadmap @@ -398,7 +415,7 @@ git remote set-url origin https://github.com/rajhansgithub/CG_Artist_File_Browse All agents (**Antigravity**, **Claude Code**) and human contributors must strictly adhere to **Semantic Versioning (`MAJOR.MINOR.PATCH`)** when determining the next release version. -**Current release version:** `1.27.0` +**Current release version:** `1.28.0` `npm run version:check` (also run in CI) fails unless `package.json`, `src-tauri/tauri.conf.json`, `src-tauri/Cargo.toml` and the line above all carry the same plain `MAJOR.MINOR.PATCH` version. diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 0a42cd2..97622ea 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -243,11 +243,13 @@ Sound designers and game developers need fast, zero-latency inspection of game a - `Alt + Left/Right`: Navigate folder history - `Ctrl + Wheel`: Zoom thumbnail grid size -### 7.4 Studio Color Themes -- **Obsidian Dark** (default pure neutral `#0a0a0a`) -- **VFX Slate** (deep blue-gray `#0f172a`, familiar to Maya / Nuke users) -- **Blender Dark** (`#212121` with warm neutral accents) -- **High Contrast Studio** (maximum readability under bright studio lighting) +### 7.4 Studio Color Themes `[COMPLETED in 1.28.0]` +- **Dark** (charcoal), **Light** (eggshell) and **System** (follows Windows), with one accent colour picked by the user (HSV picker, hex, eyedropper, ten presets). Older saved themes map onto Dark and Light. + +### 7.5 Farm & Dailies Look `[COMPLETED in 1.28.0]` +- Series strips (frames, UDIM tiles, texture sets), version numerals and colour-label stamps on tiles, a Version stack in the Inspector, a slate before viewers, burn-ins in the corners of pictures and video, a Jobs list in the sidebar, and the batch converter shown as a job with per-file times. Everything shown comes from the file names, the file headers or the app's own state. + +**Later (not built, on purpose):** review notes pinned to a frame, a farm queue (the app has no render farm to read from) and an approval workflow. They need real data the app does not have yet. --- diff --git a/docs/UPDATES.md b/docs/UPDATES.md index f1db61f..0e2862a 100644 --- a/docs/UPDATES.md +++ b/docs/UPDATES.md @@ -1,7 +1,7 @@ # In-app updates Settings > **Updates** checks for a newer version, shows what is new, then downloads and installs it. -The app also checks quietly once a day (can be turned off there) and puts a small blue dot on the Settings +The app also checks quietly once a day (can be turned off there) and puts a small dot on the Settings button plus a notice in the corner when a new version is out. Nothing installs without a click. Code: `src-tauri/src/app_update.rs` (Rust, uses `tauri-plugin-updater`), `src/utils/updateStore.js`, diff --git a/docs/app-mark.svg b/docs/app-mark.svg new file mode 100644 index 0000000..a203464 --- /dev/null +++ b/docs/app-mark.svg @@ -0,0 +1 @@ + diff --git a/docs/site-src/build.mjs b/docs/site-src/build.mjs index 6d2ae7f..884f505 100644 --- a/docs/site-src/build.mjs +++ b/docs/site-src/build.mjs @@ -10,6 +10,7 @@ import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from 'node:fs'; import { dirname, join, relative, sep } from 'node:path'; import { fileURLToPath, pathToFileURL } from 'node:url'; +import { markSvg } from '../../src/utils/appMark.js'; const HERE = dirname(fileURLToPath(import.meta.url)); const CONTENT = join(HERE, 'content'); @@ -366,6 +367,7 @@ function pageHtml(p) { ${esc(p.meta.title)} Β· CG Artist File Browser guide + @@ -375,7 +377,7 @@ function pageHtml(p) { - CG Artist File Browser guide + ${markSvg({ size: 28, N: 16, plate: 'dark' })}CG Artist File Browser guide