Repository navigation
Revert "Add an Edit page button and a site problem feedback reason" - #4070
Conversation
|
Label error. Requires exactly 1 of: automation, breaking, bug, changelog:skip, chore, ci, dependencies, documentation, enhancement, feature, fix, redesign. Found: |
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4070/ Sample changed pages: |
There was a problem hiding this comment.
Requesting changes for a backward-compatibility regression in the page-feedback request contract.
What is this? | From workflow: PR Review
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
|
|
||
| // Retired in reason set 3, folded into Inaccurate. Kept so historical documents stay readable | ||
| // and a cached browser bundle still submits successfully. Do not remove. | ||
| [JsonStringEnumMemberName("outOfDate")] |
There was a problem hiding this comment.
[MEDIUM] Preserve legacy siteProblem input for compatibility
Removing siteProblem from PageFeedbackReason makes the API reject payloads that were valid in the previous release (for example a cached browser bundle still sending {"reaction":"thumbsDown","reasons":["siteProblem"],"reasonSetVersion":3}). With JsonStringEnumConverter, that value fails enum binding and the request returns 400, so real feedback can be dropped during client/server version skew.
Please keep siteProblem as an accepted legacy enum value on the API contract (even if it is no longer offered in the UI), similar to other retired reasons retained for historical/cached-client compatibility.
Reverts #4056