Repository navigation
Conversation
Each logo setting whose file is there gets an <img> beside its path. The image is served from /settings/stationery_logo?key=logo (or logo2), which reads only the file those two settings name, never a path from the request, and answers 404 for anything else; handlers can now raise NotFound for a 404. Also waits for the upload record in the auto-upload test, which checked it a moment before the worker had written it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DKcyxWnp9B7ZMfow73wHmP
It defaults to Printerface; an instance can set brand in email.cfg, so that two (live and test, say) can be told apart at a glance. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DKcyxWnp9B7ZMfow73wHmP
Sent Emails and Printed Documents name a document by the job and key it came from, so the Uploads page does too. What was uploaded (type and document number) moves to the next column. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DKcyxWnp9B7ZMfow73wHmP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three small UI changes, one commit each:
logoandlogo2images in use, and says when a configured file is missing.[Main] brandsets the name at the left of the menu bar and in page titles (defaultPrinterface), so instances can be told apart, e.g.Printerteston staging.job / key, like Sent Emails and Printed Documents, linking to the job page when it is still loaded. The document type and number move to a second column, "Uploaded".Tests: full suite passes (166, 1 skipped). Deployed to the printertest staging instance and checked there.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DKcyxWnp9B7ZMfow73wHmP