Skip to content

All plain text formats are supported when comparing data snapshots #12975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
frostime opened this issue Oct 30, 2024 · 6 comments
Closed

All plain text formats are supported when comparing data snapshots #12975

frostime opened this issue Oct 30, 2024 · 6 comments
Assignees
Milestone

Comments

@frostime
Copy link
Contributor

frostime commented Oct 30, 2024

在快照对比界面中显示纯文本内容

In what scenarios do you need this feature?

目前在两个快照进行对比的时候,只有思源文档、JSON 文件能直接展示内容并进行对比。其他的 txt 、md 文档等纯文本文档都只能显示一个路径。非常不方便对比。

image

Describe the optimal solution

允许直接显示对比 txt、md 等纯文本文件。

Describe the candidate solution

No response

Other information

No response

@TCOTC
Copy link
Contributor

TCOTC commented Oct 30, 2024

如果是思源不能支持的文件格式就显示不了了,我觉得还是在客户端支持一下这些操作吧:#11151

@88250 88250 self-assigned this Oct 30, 2024
@88250
Copy link
Member

88250 commented Nov 1, 2024

@TCOTC 那个不考虑了,先解决楼主提的显示纯文本格式。

@88250 88250 changed the title 在快照对比界面中显示纯文本内容 All plain text formats are supported when comparing data snapshots Nov 1, 2024
@88250 88250 added this to the 3.1.11 milestone Nov 1, 2024
88250 added a commit that referenced this issue Nov 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@88250 88250 closed this as completed Nov 1, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Nov 1, 2024

我这里还是只有路径:

image

@88250
Copy link
Member

88250 commented Nov 2, 2024

稍后改进。

@TCOTC
Copy link
Contributor

TCOTC commented Nov 2, 2024

除了比较数据快照,文件历史也需要支持显示纯文本:(路径保留,用于找到对应的文件)

image

@88250
Copy link
Member

88250 commented Nov 2, 2024

文件历史这边暂时不动了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants