Skip to content

UI named entrypoints replace /exec, in one api package - #1133

Merged
erasta merged 13 commits into
masterfrom
ui-no-exec-entry
Oct 19, 2026
Merged

erasta merged 13 commits into
masterfrom
ui-no-exec-entry

Conversation

@erasta

@erasta erasta commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

erasta added 13 commits October 19, 2026 09:39
  Three named routes, /document/create, /document/update and
  /document/delete, with the python in ui/server/document_api/.
  Each answers the whole project, so the write-then-reload pairs
  become one call.

  No per-document read: /project/documents already brings them all,
  so PreviewPanel reads the store. Duplicate builds each copy from
  the store too, and the free-name rule moves to TypeScript.

  Gone: buildAddDocumentCode, buildNotebookCommand, fetchDocument
  and stringifyToPython. Eight exec call sites left, all repos.
  A repo row's double click loaded it into the project, so no row
  ever reached the details panel and DetailsViewRepo never showed.
  Lost in #1122, when single click stopped opening.

  Now a double click opens the row, like the document tree.
  Loading into the project stays on the right click menu.
  Four routes under /repository/*, python in ui/server/repository_api/.
  Paths cross the wire, not repository names.

  A load answers added and problems, so one that added nothing says why.

  matplotlib, rasterio and Unum join requirements-minimal.txt: without
  them no toolkit in a repository can be built.
  requirements-minimal.txt holds names only, minimal_requirements.py takes
  the pins, the dockerfile pipes them into pip. Plus the plan for the next
  three tasks.
  All server calls move to src/api/, on an ApiCall base class
  that does the fetching. Toasts come in through a reporter, so
  src/api/ imports no React, no store and no snackbar.

  entrypoint.ts and the pure fetchers are gone. src/io/ keeps
  the components, the snackbar and the store-writing wrappers.
  requirements-server.txt and requirements-integ.txt are gone.
  requirements-minimal.txt had all their names but pytest.

  The two CI jobs that installed them build the minimal set
  with the script instead.
  Runs the ui/server pytest suite in the hera-server image,
  with the repo mounted.
@erasta
erasta merged commit f462e2f into master Oct 19, 2026
4 checks passed
@erasta
erasta deleted the ui-no-exec-entry branch October 19, 2026 17:34
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