Repository navigation
feat: add editable scientific diagrams with native exports - #1
Merged
Merged
Conversation
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.
Adds a
/diagramsworkspace where users can generate scientific diagrams from requirements and optional SVG, edit labels or positions, save versions, and export editable draw.io and PowerPoint files plus SVG previews. PowerPoint uses native shapes and connected DrawingML connectors rather than embedded images.The integration is based on current main
ff66f61and preserves the Harness refactor. Diagram generation uses schema-validatedgpt-6-astraoutput through a dedicated Responses API configuration or the local Codex CLI. Persisted jobs survive page navigation; interrupted jobs are marked failed on server restart. Source packaging excludes local data and credentials. Harness tests now accept genuine runtime availability states and use the current adapter kinds.The first CI run also exposed insufficient Harness-status text contrast and a keyboard-inaccessible shortcut scroll region in the current workspace UI. Preserve text contrast and make the shortcut group focusable; retain the existing accessibility gates.
Validation: both final branch CI runs pass with Bun 1.4.0, including frozen-lockfile install, workspace typechecks, 156 tests, 12 writing-evaluation cases, production build, and complete browser smoke/release checks. The candidate also passed real model generation, Playwright Edge editing/persistence/downloads, draw.io editor roundtrip, and native PPTX structure validation. A local Windows test run encountered temporary-directory Git timeouts and EBUSY; the Linux CI results above are independently verified. Native PowerPoint GUI and live dedicated API-key generation remain untested.