Utopia: add normalized schema, data layer, HTTP server and web UI (Phase 1+2)#113
Open
CrazyVulcan wants to merge 2 commits intomasterfrom
Open
Utopia: add normalized schema, data layer, HTTP server and web UI (Phase 1+2)#113CrazyVulcan wants to merge 2 commits intomasterfrom
CrazyVulcan wants to merge 2 commits intomasterfrom
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.
Motivation
positiongaps.Description
db/migrations/001_create_utopia_v2_up.sqland..._down.sql, seed SQL, andschema.mddocumenting the ERD and ordering strategy.utopia_datapackage withdb.py,models.py,repositories.py, andservices.pyto encapsulate DB access and service-level creation helpers.main/server.pywith REST endpoints forGET /api/bootstrap,GET /api/boards/:id/state,POST /api/boards,POST /api/boards/:id/columns,POST /api/cards,POST /api/cards/:id/move,POST /api/boards/:id/views, andPATCH /api/cards/:idimplementing tag handling, midpoint positioning, and JSON payload normalization.main/static(index.html,app.js,styles.css,domain/adapters.js) wired to the server REST API and using canonicalboard -> columns -> cardscontracts.scripts/migrate_utopia_data.py,migrate_utopia_datawrapper, andscripts/verify_utopia_data.pyfor backup, backfill, and integrity checks.README.md,NOTES.md, and a basic smoke testtests/smoke_phase2.pythat exercises end-to-end server + API flows.Testing
python3 Frontiers/Utopia/tests/smoke_phase2.pywhich launches the server and exercises board/column/card create, edit, move, tag filtering, and saved view persistence, and it completed successfully.Codex Task