Skip to content
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

任务和 BUG 的汇总 #38

Open
40 of 49 tasks
521xueweihan opened this issue Sep 5, 2022 · 6 comments
Open
40 of 49 tasks

任务和 BUG 的汇总 #38

521xueweihan opened this issue Sep 5, 2022 · 6 comments

Comments

@521xueweihan
Copy link
Member

521xueweihan commented Sep 5, 2022

优化

新功能

Tips:详细描述可点击查看对应的 Issue,后续沟通在对应的 issues 里留言。


已完成

@521xueweihan
Copy link
Member Author

3.1 开发遇到问题:

类似 GitHub 上不同项目主语言,不同颜色的小圈。项目主语言的对应的颜色是后端接口返回的。

我的设计是:通过 className={bg-[${item.lang_color}]`} 动态显示项目主语言对应的小圈,但这个颜色没有生效。

image

  1. 我通过浏览器开发者模式,确认 item.lang_color 有值
  2. 我把 bg 写死,写成一个 lang_color 比如:bg-[#2b7489] 是有颜色的

我到这里就卡住了,不知道怎么搞了。代码:29a556f

@onepisYa
Copy link
Contributor

onepisYa commented Sep 5, 2022

3.1 开发遇到问题:

类似 GitHub 上不同项目主语言,不同颜色的小圈。项目主语言的对应的颜色是后端接口返回的。

我的设计是:通过 className={bg-[${item.lang_color}]`} 动态显示项目主语言对应的小圈,但这个颜色没有生效。

image
  1. 我通过浏览器开发者模式,确认 item.lang_color 有值
  2. 我把 bg 写死,写成一个 lang_color 比如:bg-[#2b7489] 是有颜色的

我到这里就卡住了,不知道怎么搞了。代码:29a556f

Tailwind 不能依赖于在客户端发生变化的任何类型的任意动态值。在这些情况下使用内联样式。
arbitrary-value-support 文档在这里。

@zhangzhonghe
Copy link
Collaborator

zhangzhonghe commented Sep 9, 2022

待认领

  • PC 访问网站,发现底部有个左右滑动的进度条(没块)
  • 发布评论后,评论的用户头像为默认头像,且无昵称
  • 首页的项目主语言,加类似 GitHub 上不同语言不同颜色的圆圈
  • 首页无限加载改成翻页
  • 优化首页标签样式和交互
  • Token 过期不展示登录入口的问题
  • 评论内容溢出的 BUG
  • 首页翻页优化(现在有请求两次接口的 BUG)

下面是问题描述详情:

1、发布评论后,评论的用户头像为默认头像,且无昵称

image

2、优化首页无限加载

计划将无限加载改成分页,理由如下:

  1. 项目并不同于社交的时间信息流,浏览过后还有再次浏览的需求。
  2. 点击查看项目详情后,点击返回应该跳转到之前浏览的位置方便继续阅读,否则将再次从头浏览。
  3. 犹豫本网站的内容是精品开源项目推荐,内容更新较慢。
  4. 鼓励“挖坟”寻找到自己真正感兴趣的项目,用你的热爱点亮它。
  5. 希望用户在里可以学到东西,而不是一瞥而过。

首页滚动问题已解决,继续保持无线加载的方式。

@521xueweihan
Copy link
Member Author

@zhangzhonghe 这个评论的 bug 能否修复一下:

发布评论后,评论的用户头像为默认头像,且无昵称

还有用户首页,有时间的话样式可以再优化一下。

@zhangzhonghe
Copy link
Collaborator

评论的 BUG,我现在看下。用户首页我晚上搞。

@521xueweihan
Copy link
Member Author

@RJM1996 Header 搜索优化的建议在这里哈

@521xueweihan 521xueweihan changed the title 各种优化任务的集合 各种优化任务和 BUG 的集合 Sep 16, 2022
@521xueweihan 521xueweihan changed the title 各种优化任务和 BUG 的集合 优化任务和 BUG 的集合 Sep 16, 2022
@521xueweihan 521xueweihan changed the title 优化任务和 BUG 的集合 优化任务和 BUG 的汇总 Sep 16, 2022
@521xueweihan 521xueweihan changed the title 优化任务和 BUG 的汇总 任务和 BUG 的汇总 Sep 16, 2022
521xueweihan added a commit that referenced this issue Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 待开发
Development

No branches or pull requests

3 participants