Skip to content

Document console.log output in the script editor - #65

Open
renjie-run wants to merge 3 commits into
mainfrom
codex/console-log-docs
Open

renjie-run wants to merge 3 commits into
mainfrom
codex/console-log-docs

Conversation

@renjie-run

Copy link
Copy Markdown
Contributor

Summary

  • Document console.log output in the script editor panel and browser console.
  • Explain value display and supported format specifiers, with examples.

Testing

  • Not run (not requested)

@seafile-dev seafile-dev 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.

结论:无阻塞问题,建议补充一处格式化说明。

英文文档已覆盖编辑器输出面板和浏览器控制台,未改动中文文档。现有示例已用前端实际格式化代码验证;文档检查及本地严格构建通过(未启用部署用的 git-committers 插件,未在已部署的 SeaTable 中实测)。

Comment thread docs/javascript/scripting-features.md Resolved

@seafile-dev seafile-dev 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.

结论:无阻塞问题,仍需更正一处格式化说明。

英文文档已覆盖脚本编辑器输出面板和浏览器控制台,未改动中文文档。上轮建议中的 %c 已补齐;%% 的文案仍沿用旧实现的条件。当前 dtable 默认分支 0b91d12 中,单参数 console.log("100%%") 在面板也会输出 100%,建议更新第 75、82 行。详见原行内评论的复审回复。

本地严格文档检查和 MkDocs 严格构建通过(未启用部署用的 git-committers 插件)。GitHub 的文档质量与链接检查通过。已在 Node 中通过实际脚本执行器核对示例和单参数边界,未在已部署的 SeaTable 中验证。

@seafile-dev seafile-dev 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.

复审通过:上轮指出的 %% 文档说明已更正,未发现新的问题。第 75、82 行已明确:首参是字符串时,即使没有额外参数,%% 也会转成 % 且不消耗参数;缺少参数的其他占位符保持原样。仅修改英文脚本文档,未改动中文文档。原讨论:#65 (comment)

在 Node 中用 dtable 默认分支 0b91d12 的实际脚本执行器核对了文档示例和单参数边界,并确认原始参数仍转发给浏览器控制台。文档严格检查、本地 MkDocs 严格构建(未启用 git-committers)及 GitHub 的文档质量、链接检查均通过。未在已部署的 SeaTable 中验证。

This branch has not been deployed

No deployments
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