fix(theme): AI agent icon 404 - point at ai-agent-icon.svg #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/ai-agent-icon-404"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #20.
slash-theme.cssoverrode the Agents app-bar icon withurl("/static/slash-site-logo.png"), but that file is never emitted to the client root.webpack.config.jsCopyPlugin copiesslash-theme.cssandai-agent-icon.svgto the root, but there is no pattern forslash-site-logo.png- it only exists undersrc/images/where it is consumed as a webpack import byproduct_branding_free_edition.tsx. A bareurl()in a copied-verbatim CSS file gets no such resolution, so it resolves to a path that does not exist.Verified on the live deploy:
So the correct asset is already shipping and already reachable on the current build - this is a one-line repoint, with no new asset and no CopyPlugin change needed.
Also picks up the intent of the two theme-repo issues that were circling this: use the SVG rather than the PNG, and wire
ai-agent-icon.svginto the AI plugin icon.Verify after deploy: the Agents icon in the app bar renders the Slash mark instead of a blank/default box.