Skip to content

feat: return full content when no keyword and no --max-preview#344

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
Johnson-zs:master
Jul 10, 2026
Merged

feat: return full content when no keyword and no --max-preview#344
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
Johnson-zs:master

Conversation

@Johnson-zs

Copy link
Copy Markdown
Contributor

When preview is invoked without a keyword and without explicitly setting
--max-preview, output the entire document content instead of truncating
at 200 characters. maxLength<=0 in previewSnippet now means unlimited.

Log: 无keyword且未设--max-preview时返回全文内容
Influence: preview无关键词模式默认输出全文

When preview is invoked without a keyword and without explicitly setting
--max-preview, output the entire document content instead of truncating
at 200 characters. maxLength<=0 in previewSnippet now means unlimited.

Log: 无keyword且未设--max-preview时返回全文内容
Influence: preview无关键词模式默认输出全文

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @Johnson-zs, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Johnson-zs

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Johnson-zs

Copy link
Copy Markdown
Contributor Author

/forcemerge

@deepin-bot

deepin-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

This pr force merged! (status: blocked)

@deepin-bot
deepin-bot Bot merged commit 50e4ea5 into linuxdeepin:master Jul 10, 2026
22 checks passed
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.

2 participants