feat(handoff): preview report template without projects - #1307
Open
Kairo-J wants to merge 2 commits into
Open
Conversation
Show a clearly labeled, data-free template when no active Project is configured. Render preview values as em dashes and allow retrying the Project catalog without creating placeholder data. Guard against stale catalog responses, add template contract coverage, and update the localized server UI documentation. Refs oceanbase#1256
Kairo-J
marked this pull request as ready for review
August 22, 2026 04:14
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.
Show a clearly labeled, data-free template when no active Project is configured. Render preview values as em dashes and allow retrying the Project catalog without creating placeholder data.
Guard against stale catalog responses, add template contract coverage, and update the localized server UI documentation.
Refs #1256
Which issue or RFC does this PR close?
Closes #1256.
Rationale for this change
When the active Project catalog is empty, the Handoff Report page currently collapses into a generic empty state. That leaves users without a clear view of the report structure or the information a configured Project will provide.
A clearly labeled, data-free preview makes the expected report shape visible without creating a Project, fabricating report data, or implying that any work has been observed.
What changes are included in this PR?
—) instead of a real status or count.This change does not modify public APIs, persisted formats, or Project creation behavior.
Are there any user-facing changes?
Yes. Users with no active Project now see a complete, explicitly labeled report template instead of a generic empty state. The preview contains neutral em dashes only and does not expose Project search, period filters, Markdown download, or Handoff editing actions that cannot work without a Project.
English
中文
How was this change tested?
make checkmake test— 627 passed, 13 skippedmake docs-testAI usage statement
OpenAI Codex (GPT-5) was used to analyze issue #1256, implement and integrate the UI behavior with the latest
master, refine tests and documentation, and validate the result in Chrome.