feat: 增加文件上传后自动刷新文件列表&页面添加刷新按钮#29
Closed
eryajf wants to merge 1 commit intoTransparentLC:masterfrom
Closed
Conversation
Owner
|
感谢!不过我不会考虑合并对样式的修改(上传和按钮的方形波纹、圆角、搜索框阴影、表头和 README 标题的很浅的主题色等等)。另外,刷新按钮我会倾向于放在主页和面包屑导航之间(参考浏览器和各种文件管理器)而不是 appbar 上。 |
Author
|
OK,其实比实际实现更重要的是想法的补充。 |
Owner
|
上传自动更新列表其实是本来就有的功能 dufs-material-assets/src/components/filelist.vue Line 1234 in 2a88602 刷新按钮确实可以加上,要不我先 close 这个 PR,参考你的代码把刷新加上,然后在对应的 commit 里致谢吧? |
Author
|
可以的 |
Owner
|
已经在 2d86c22 中添加,感谢你的贡献~ |
Author
|
@TransparentLC 再提个小建议,希望能在文件上添加一个复制下载链接的按钮,方便复制链接,在终端wget下载。 |
Owner
|
直接在文件名或者下载按钮上右键复制就可以了,我感觉并没有必要再加个复制按钮? |
Author
|
是的,右键复制是可以实现的,只是略微有一点不太优雅,需要点两三下才能拿到链接。 |
Owner
|
dufs v0.44.0 有个功能,登录后可以生成一个 token 加在下载链接后面,方便在不登录的情况下下载,参见 sigoden/dufs#522 我觉得在登录的情况下加个按钮复制这种带 token 的链接还是有意义的,这个会考虑添加。但是在未登录情况下我不会考虑再添加复制链接的按钮。 |
Author
|
ok |
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.
很棒的主题,做了两个功能点的补充。