Skip to content
代码片段 群组 项目
  • Justin Ho Tuan Duong's avatar
    4915a553
    Fix rendering of imported file comments · 4915a553
    Justin Ho Tuan Duong 创作于
    - Fix rendering of discussions that do not have "diff_file.diff_refs".
    Some comments on a whole file (imported from GitHub)
    did not render properly as they use LegacyDiffNotes on the
    backend which does not include "diff_refs". This fix adds a
    fallback value for the old / new SHA to use "commit_id"
    which when passed, renders the correct file path.
    - Add "no_preview" option as a diffFile viewer option. This makes
    sure we don't show the "replaced" side-by-side option for
    file comments.
    
    Changelog: fixed
    4915a553
    历史
    Fix rendering of imported file comments
    Justin Ho Tuan Duong 创作于
    - Fix rendering of discussions that do not have "diff_file.diff_refs".
    Some comments on a whole file (imported from GitHub)
    did not render properly as they use LegacyDiffNotes on the
    backend which does not include "diff_refs". This fix adds a
    fallback value for the old / new SHA to use "commit_id"
    which when passed, renders the correct file path.
    - Add "no_preview" option as a diffFile viewer option. This makes
    sure we don't show the "replaced" side-by-side option for
    file comments.
    
    Changelog: fixed
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。