Repository navigation
feat(developer): write content-type local field display labels (#4463) - #4469
Merged
Merged
Conversation
Admin PUT content-type detail now persists local field display labels on the display mapping (held lock). SPA Fields table edits labels after Lock; Save keeps the lock. Drop CT_FIELD_LABELS_WRITE from designGaps. > Co-Authored by Grok Build 1.0.25 using grok-4.6 with agent night-issue-prs.
This was referenced Sep 12, 2026
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (14 files)
No CRITICAL, WARNING, or SUGGESTION findings. The change class (label write on PUT detail) is fully closed: adaptor interface doc, adaptor impl, adaptor + resource unit tests, WebUI input + Vitest, Playwright E2E, and product docs are all present and consistent. Error mapping through Fix Link: https://app.kilo.ai/cloud-agent-fork/review/86317655-8006-4790-afa5-12795ce622bd Reviewed by free · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
This was referenced Sep 12, 2026
natechadwick
approved these changes
Sep 12, 2026
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.
Summary
Parent: #1690 slice 12 (
CT_FIELD_LABELS_WRITE). An Admin with a held content-type design lock can set a local field display label from Developer → Content Types field table.PUT /services/contenttypes/{idOrName}writesfields[].labelonto the display mapping (Workbench UI set). GET round-trips the stored label (trailing colon when the value does not already end with:). System/shared labels stay 400. Blank label is 400. Unknown field is 404. Unlocked/stolen lock is 409. Non-Admin is 403. LivedesignGapsno longer emitsCT_FIELD_LABELS_WRITE.Operator: Grok: night-issue-prs (model grok-4.6)
Fixes #4463
Test plan
mvnw clean installonrest,projects/sitemanage,WebUI(see C3).perc-devctl qa-up --skip-image-build→qa-health→qa-deploy-war-jars --restart-jetty→qa-health→qa-deploy-webui→qa-health.npm run test:surface -- --path tests/developer-content-type-field-labels.spec.js(2 passed). Console clean; no relatedserver.logERROR/FATAL in the test window.Checklist
product-docs/8.2/admin/developer-content-types.mdandproduct-docs/8.2/developer/rest.mdContentTypeDetailPanel; changed modules green under standalonemvnw clean installmodules/perc-qa-automation/frontend/tests/developer-content-type-field-labels.spec.jsfinal/API shape changesC3 evidence
cd rest && ../mvnw.cmd clean install— BUILD SUCCESS; Tests run: 1394, Failures: 0cd projects/sitemanage && ../../mvnw.cmd clean install— BUILD SUCCESS; Tests run: 2715, Failures: 0, Skipped: 125cd WebUI && ../mvnw.cmd clean install— BUILD SUCCESS; Surefire Tests run: 69, Failures: 0; Vitest Tests 4235 passed (443 files)IContentTypesAdaptor; nofinal/signature break). No extra reverse-deps required.C5 UI proof
python docker/scripts/perc-devctl.py qa-up --skip-image-build— RESULT:OK;TEST_CMS_URL=http://127.0.0.1:9993; containerperc-matrix-cms-h2qa-deploy-war-jars --restart-jettyRESULT:OK; qa-health again RESULT:OK;qa-deploy-webuiRESULT:OK; qa-health RESULT:OKnpm run test:surface -- --path tests/developer-content-type-field-labels.spec.js— 2 passed (11.2s)