fix(bot): polish interactive card per review feedback#1046
Open
r266-tech wants to merge 1 commit intovolcengine:mainfrom
Open
fix(bot): polish interactive card per review feedback#1046r266-tech wants to merge 1 commit intovolcengine:mainfrom
r266-tech wants to merge 1 commit intovolcengine:mainfrom
Conversation
Follow-up to volcengine#1015. Addresses review comments from yeshion23333: 1. Add config.wide_screen_mode to card payload to prevent text/table truncation and align with official card schema 2. Add alt field to img elements for card schema completeness 3. Quote id attribute in @mention tag for parser compatibility
|
|
|
Failed to generate code suggestions for PR |
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.
Follow-up to #1015. Addresses review feedback from @yeshion23333.
Changes
[P1] Add
config.wide_screen_modeto card payload — Withoutwide_screen_mode, long text and tables may be truncated. Also aligns the card JSON with official Feishu card schema, reducing the chance of strict validation failures.[P1] Add
altfield toimgelements — Card images now include{"tag": "plain_text", "content": ""}for schema completeness, matching official card examples.[P2] Quote
idin @mention tag — Changed<at id=xxx>to<at id="xxx">to reduce parsing ambiguity in stricter rendering paths.