Skip to content

feat: PublishingShell create a site (#4959) - #4966

Merged
natechadwick-intsof merged 3 commits into
mainfrom
fix/issue-4959-publishing-create-site
Sep 27, 2026
Merged

natechadwick-intsof merged 3 commits into
mainfrom
fix/issue-4959-publishing-create-site

Conversation

@natechadwick-intsof

@natechadwick-intsof natechadwick-intsof commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Parent: #4531. PublishingShell Sites can create a site from the toolbar and the empty state. A valid name posts POST /services/sites, reloads the list, and opens that site's workspace using the numeric site id. Cancel, a blank name, and a name already on the list do not create a site. HTTP 400/403/409 stay on the list and do not open a workspace. Rename (#4960) and copy (#4961) are not in this PR.

Operator: Grok: night-issue-prs (model grok-4.7)

Fixes #4959

Test plan

  • Vitest SitesSection.create.test.tsx (create, cancel/blank, local duplicate, 400/403/409, empty-state action, no numeric id)
  • Surface Playwright tests/publishing/sitesCreate.spec.js on H2 QA
  • Human QA optional after cycle verify

Product documentation

  • Updated product-docs/8.2/admin/publishing.md (Create a site)

Pre-PR Maven

  • modules_built: WebUI, modules/perc-qa-automation
  • downstream_checked: none (no Java public API signature change)
  • cd WebUI && rtk mvn clean install — BUILD SUCCESS. Java Tests run: 69, Failures: 0. Vitest Test Files 573 passed, Tests 5263 passed.
  • cd modules/perc-qa-automation && rtk mvn clean install — BUILD SUCCESS. No tests to run (Playwright is not the default Maven test phase).

UI proof (C5)

  • python3 docker/scripts/perc-devctl.py qa-up — TEST_CMS_URL=http://127.0.0.1:9993, container perc-matrix-cms-h2
  • qa-deploy-webui after WebUI clean install; qa-health HTTP 200 healthy before the passing run
  • npm run test:surface -- --path tests/publishing/sitesCreate.spec.js — 1 passed
  • console-clean=yes (passing run)
  • server.log-clean=yes for the passing run (an earlier numeric-id bug produced ERROR lines at 03:03:33Z; those are not from the passing run)
  • qa-down removed perc-matrix-cms-h2

Pre-push local code review

Erlang review — PR 4966

Summary

Machine analysis found 0 finding(s), 0 bug(s).

Scope

  • Base: origin/main
  • Head: HEAD
  • Files: 8 analyzed
  • Persona: erlang 0.1.1
  • Persona source: /home/nate/.local/share/mkd/agents/erlang

Recommendation

approve

Gate

  • Blocking bugs: 0
  • May commit/push: yes

Issues

No issues.

Erlang (host)

In-diff bugs: none. Create, cancel, blank, duplicate, and HTTP 400/403/409 are covered by Vitest; Playwright covers the toolbar create path. Product doc updated. Recommendation: approve.

Co-Authored by Grok Build 1.0.41 using grok-4.7 with agent night-issue-prs-erlang.

Sites toolbar and empty state create a site, then open the workspace
using the numeric id from the reloaded list. Cancel, blank, duplicate,
and HTTP 400/403/409 stay on the list.

> Co-Authored by Grok Build 1.0.41 using grok-4.7 with agent night-issue-prs.
> Co-Authored by Grok Build 1.0.41 using grok-4.7 with agent night-issue-prs.
Record the host mkd-code-review report. In-diff gate is clean.

> Co-Authored by Grok Build 1.0.41 using grok-4.7 with agent night-issue-prs-erlang.
@natechadwick-intsof

Copy link
Copy Markdown
Collaborator Author

LGTM. Host Erlang: mkd-code-review 0 in-diff bugs. Same-login APPROVE was rejected; commenting LGTM and squash-merging.

Co-Authored by Grok Build 1.0.41 using grok-4.7 with agent night-issue-prs-erlang.

@natechadwick-intsof
natechadwick-intsof merged commit 8210733 into main Sep 27, 2026
8 checks passed
@natechadwick-intsof
natechadwick-intsof deleted the fix/issue-4959-publishing-create-site branch September 27, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model:grok-4.7 Session model grok-4.7 operator:grok Changes authored by Grok operator:night-issue-prs night-issue-prs workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

issue 4531 slice 46: PublishingShell create a site

1 participant