Skip to content

Unify maintenance manuals, photos, and examples in one chat - #4

Merged
stefisha merged 3 commits into
mainfrom
codex/conversation-demo
Nov 4, 2026
Merged

stefisha merged 3 commits into
mainfrom
codex/conversation-demo

Conversation

@stefisha

@stefisha stefisha commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Mantis now uses one working chat for equipment manuals, photos, follow-up questions, and sources. The old dashboard/library page and separate product demo are replaced by a chat-first interface with the supplied logo, black/orange styling, a compact manual drawer, and expandable citations beneath replies. “Try an example” opens this same app with a clearly scripted CNC conversation; changing manuals or live/example modes clears its context.

Live questions retain the last four successful text exchanges. JPEG/PNG/WebP photos are validated (8 MB, 20 megapixels, no animation or remote URLs), sent for visible observations/transcription, and used to inform selected-manual retrieval. Photo-only replies require insufficient-evidence status and cannot invent manual citations. Current-message images are not resent in history, and Mantis does not persist photos or conversation. Requests are bounded before JSON parsing; cancellation/reset suppresses stale replies and failed drafts can be retried.

The landing page retains the presentation’s gradient headline and orange glow in a full-screen hero, followed by a concise three-step “How it works”, crisp native HTML/CSS chat preview, and footer. Team/background credits remain in the docs. Section links clear the sticky header; desktop and mobile hero sizing was verified. Updated README, configuration/API/architecture/verification docs, package assets, screenshots, and dependency metadata.

Validation: 34 Python tests, 12 frontend tests, Ruff/syntax/format checks, and isolated wheel build/smoke test pass. Desktop/mobile browser checks cover the example, inline sources, keyboard submission, switching modes, and overflow. A temporary local fake-provider server verified actual PDF upload/selection, questions/follow-up, original PDF links, the live photo path, and the manual drawer with no external AI calls. No console errors observed. Live model behavior and visual accuracy remain unverified because no valid API key is configured.

@stefisha stefisha changed the title Bring the original Mantis conversation into the product demo Unify maintenance manuals, photos, and examples in one chat Nov 4, 2026
@stefisha
stefisha merged commit d7f0ff4 into main Nov 4, 2026
2 checks passed
@stefisha
stefisha deleted the codex/conversation-demo branch November 4, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant