Repository navigation
Studio: remove unused image assets - #14967
Conversation
|
@codex review |
|
@codex security review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Removes 22 image files that nothing in the repo loads, on any surface: the Studio web UI, the Desktop app (macOS, Windows, Linux), the installers, Docker and the wheel. No user-visible change.
All but
react.svgship today: Vite copiespublic/intofrontend/dist/, which goes into the wheel, the Desktop bundles and the Docker images. Against the publishedunsloth-2026.10.7wheel (30.95 MB) this takes 2.40 MB off the download.Removed:
studio/frontend/public/Sloth emojis/: 16 stickers that are not in the profile avatar list (sloth-avatars.ts), the chat greeting, the login or 404 screens, or the JupyterLab sticker list indocker/jupyter/install_sloth_stickers.py:241024 Sloth Drink Jus.png,251008 Sloth Pin.png,FO2C6766BA42 Sloth Gift.png,FO71A40FA5581 Sloth and Llama.png,Sloth w Gameboy Confetti no Logo.png,Sloth w PC Confetti no Logo.png,Sloth w PC no Logo.png,UnSloth Eat GPU Mouth.png,UnSloth Eat GPU.png,UnSloth Laptop.png,large sloth laugh.png,sloth huglove large33.png,sloth pc emoji.png,sloth rounded.png,sloth w pc transparent.png,sloth with gameboy.pngstudio/frontend/public/hub/profile/logo/Qwen.svg: the Hub usesqwen.pngfor Qwenstudio/frontend/public/provider-logos/misc/perplexity.pngstudio/frontend/public/logotext.pngstudio/frontend/public/vite.svgandstudio/frontend/src/assets/react.svg: Vite template leftovers; the favicon isfavicon.pngstudio/src-tauri/icons/tray-icon.png: the 18 px tray icon. The tray embeds[email protected]on macOS,tray-icon-color.pngon Windows and Linux, andtray-icon-dark.png/tray-icon-light.pngfor the macOS appearance switch;include_image!takes an exact path, so the 1x file was never picked upHow unused was established
Hellix-SemiBold.woffdoes not count as a hit for.woff2. That covers the frontend, backend,tauri*.conf.json(base, macOS, Linux, Windows), NSIS / AppImage / dmg packaging,install.sh,install.ps1, Dockerfiles, workflows,pyproject.tomlandMANIFEST.in.public/folders,import.meta.glob, directory listings): none reach these files.git log -pofsloth-avatars.ts), so no storedavatarDataUrlcan point at one.sloth w pc transparent.pngin studio: KV preemption by slot checkpointing, an experiment beside #10301 #10346,sloth rounded.pngin Add Qwen3-4B GRPO rollout engine benchmarks (vLLM vs transformers CB) #5108) are old main code those branches inherited from their merge base; neither PR touchesstudio/frontend, and main already dropped both usages (Studio: open chat HTML in the Browser and remove Canvas #12804 removed the Canvas surface).Deliberately kept
images/: about 20 of its files are not referenced in this repo, but the folder is hotlinked from outside it. The notebooks repo linksMerge.png,Assistant.png,Terminal_Type.png,Where_Terminal.png,start free finetune button.pngandDocumentation Button.png; Hugging Face model cards linkbuy me a coffee button.png(88 of 737 sampled unsloth cards), among others; older READMEs still shown on PyPI release pages link the rest. Removing any of them would break those pages.Verification
studio/frontend:npm run typecheckclean,npm test13730 passed / 0 failed,npm run buildclean; the builtdist/references none of the removed names.npm run biome:checkerrors are the existing ones on main (non-blocking in CI) and biome does not read image files.tests/studio/test_pwa_manifest.py,tests/test_installer_shortcut_icons.py,tests/studio/install/test_package_discovery.py: 19 passed, 2 skipped.Not run from this host: a Desktop build. The Tauri bundle config and the tray
include_image!paths do not reference the removed files.