Add Python backend for SVG rendering, connect frontend to backend, and UI/usability improvements#13
Open
afffe18 wants to merge 1 commit intocodex/fix-ui-input-fields-for-annotationsfrom
Conversation
Collaborator
Author
|
@copilot resolve the merge conflicts in this pull request |
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.
Motivation
toExternalConfigfor JSON payloads.Description
backend/app.pywith endpointsPOST /api/render-plot(accepts JSON config and returns placeholder SVG) andPOST /api/import-database(accepts JSON or file uploads and extracts column names usingopenpyxlvia_extract_columns_from_xlsx), and includebackend/requirements.txtwithflaskandopenpyxl.toExternalConfigfromsrc/utils/configIo.tsand updatingsrc/components/PlotPage.tsxto send the config to/api/render-plot, display returned SVG markup, and show render state/errors.src/App.tsxincluding theme support, menu/settings/about modals, tab rename and middle-click-to-open, automatic generated names viagetNextTabName, URL query param synchronization fordataframeandframe, import validation against known columns, and dynamic whitelist keyword options.#rootsizing and dark-mode border insrc/index.css, add abackendrun script topackage.json, and configure a dev proxy to the backend invite.config.ts.Testing
Codex Task