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

TODO #1

Closed
2 of 7 tasks
viko16 opened this issue Nov 27, 2015 · 14 comments
Closed
2 of 7 tasks

TODO #1

viko16 opened this issue Nov 27, 2015 · 14 comments
Assignees

Comments

@viko16
Copy link
Owner

viko16 commented Nov 27, 2015

目前还是挺简陋的,至少缺了这些功能

  • 搜索
  • SEO
  • HTML5 History Mode
  • 过渡动画
  • TOC
  • GraphQL API v4
  • PWA

Q & A

@epver
Copy link

epver commented Aug 22, 2016

目前见过最简洁的vue版gh-pages了, 直接拿去用了,嘿嘿

@viko16
Copy link
Owner Author

viko16 commented Aug 22, 2016

@cheneyliu 没问题~

过奖了,近期也打算用 Vue 2.x 重写一遍,也顺便把这个 issue 的坑也填上吧哈哈

@IniZio
Copy link
Contributor

IniZio commented Oct 17, 2016

不太明白你說的分頁是指..?

@viko16
Copy link
Owner Author

viko16 commented Oct 18, 2016

@IniZio Can you speak Chinese ? 分页是指在 List View 拆分成多页显示,不至于看起来太长了。

@IniZio
Copy link
Contributor

IniZio commented Oct 18, 2016

剛在自己的blog 實現了search by title, 不知可不可以滿足你的搜索功能? 我可以PR.

@viko16
Copy link
Owner Author

viko16 commented Oct 18, 2016

@IniZio PR welcome. 😄

@viko16 viko16 self-assigned this Oct 18, 2016
@IniZio
Copy link
Contributor

IniZio commented Oct 18, 2016

搜索 PR #11

@IniZio
Copy link
Contributor

IniZio commented Oct 18, 2016

不過我覺得infinite scroll 可能比分頁更好?

@LetHergo
Copy link

喜欢这样的~

@zypeh zypeh mentioned this issue Feb 16, 2017
@luckypoem
Copy link

没看见分页功能 能实现分页功能吗?

@viko16
Copy link
Owner Author

viko16 commented Feb 20, 2017

@luckypoem 暂时没有,以后会加上的。

其实从 GitHub API 请求回来就是整个列表,所以分页实际上也是前端截断而已。

@playmyswift
Copy link

请问你是如何处理请求限制的

{
  "message": "API rate limit exceeded for 116.216.128.233. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://developer.github.com/v3/#rate-limiting"
}

@viko16
Copy link
Owner Author

viko16 commented Feb 20, 2017

@jiakeqi 唔,所以我基于 sessionStorage 加了个简单缓存
https://github.com/viko16/vue-ghpages-blog/blob/develop/src/api/index.js#L31

@zhuziyi1989
Copy link

Nodejs 版本低了还不行。

@viko16 viko16 closed this as completed Feb 3, 2019
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

7 participants