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

使用webpack打包的方法进行整体重构 #68

Draft
wants to merge 46 commits into
base: master
Choose a base branch
from
Draft

Conversation

swsoyee
Copy link
Owner

@swsoyee swsoyee commented Oct 3, 2020

  • 跳转到页面底部功能
  • 问答一览页面图表优化
  • 黑条文字鼠标悬浮显示
  • 对发帖楼主增加“楼主”标志
  • 热门帖子增加 热门 标签
  • 实时统计创建机因时候的文字数
  • 输入框下方追加输入内容预览框(BBCode自动转换)
  • 奖杯心得按“顶”的数量排序功能
  • 只显示为获得奖杯
  • 奖杯统计扇形图
  • 奖杯获得时间线形图
  • 悬浮于头像显示个人界面
  • 在攻略页面增加自己奖杯的获得状况
  • 增加帖子楼层信息
  • 自动翻页
  • 个人主页下显示所有游戏 // TODO 可和自动翻页方法合并
  • 回复内容回溯
  • 自动签到功能
  • 悬浮图标显示自己的游戏的完成度
  • 汇总已获得和未获得奖杯
  • 汇率转换
  • 只看史低
  • 数折页面根据降价幅度变更标题颜色
  • 回复按钮悬浮触发显示
  • 数折价格走势
  • 层内逆序显示

@swsoyee
Copy link
Owner Author

swsoyee commented Oct 4, 2020

@Nathaniel-Wu 已经发出邀请为项目的合作者了,应该可以直接编辑这个PR了

40726ca 中已经将函数移动到功能分类文件中了,如果可以的话现在几个问题需要帮忙解决一下:

  1. https://www.psnine.com/psngame/15120/comment 中,控制台出现了无法解析的日期(?):

    not parsed: 评分 8 

  2. 点击评论分数分布时,分数筛选不正确。
  3. 似乎和filteredCriticPost, filterUserPost()耦合了,不太好拆。如果有时间的话能帮忙下filterUserPost()的拆分那就最好了。
  4. 整块函数体太大了,希望能把里面的小函数移动到函数体外面,加点注释方便阅读。参考:src/components/TrophyPieChart/index.js

开发方法:

  1. npm i
  2. npm run dev
    参考:https://github.com/SettingDust/webpack-userscript-template

@swsoyee swsoyee marked this pull request as draft January 10, 2021 03:27
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