-
Notifications
You must be signed in to change notification settings - Fork 42
Pagination #82
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
Pagination #82
Conversation
* master: Update Changelog. Protect against empty posts. I think we need to check for whitespace in postBoxDisabled. But oh well. Allow submitting a post with ctrl + enter. Config change to 5 sec Remove old config stuff Port Mark's config changes over. Remove now unused hbs module. Use require for template. Use require.js Adding more formats Fix config handling, provide poll interval Linkify all urls in a post. Use 'listen' instead of 'host'. Listen to localhost only by default, but make it configurable. Conflicts: config.sample.json src/lib/config/config.go static/index.html static/js/app/core.js
|
Is it useful to say I've tested it and it works? |
|
@Fil Yes, thanks for that. @pifantastic This works great and is an effective stop-gap. Nice work. I had some thoughts about the limitations of this approach and I'll put them here in case others are interested. If more than G - 190 We have posts with IDs of However, I think that this is fine for now. We can set the With inotify support, this problem goes away. I've opened a new issue for that: |
|
Pagination is broken on the personal profile. Possibly because filtering on user is done after pagination. |
|
D'oh. I never thought to check there @Fil. Good point. Does it just return everyone's posts? Should be an easy fix. |
|
@Fil, I did test it and it worked for me. What are the exact steps to reproduce? |
|
Ah ok, so if you go to your profile but the frontend hasn't loaded any of your own posts, you won't see anything. Every time you hit 'load more', it's loading the next 50 posts, which may or may not include your own posts - so if you have 4 posts in the next 50, then those 4 appear. Correct behavior is to query for 50 of only your own posts. |
|
I tried again with a fresh clone from https://github.com/vole/vole.git "My profile" lists 4 posts; "load more" loads another 6; then another 11; |
|
exactly |
|
Thanks @Fil for finding stuff like this so quickly 👍 |
|
There are only two buttons to try :) |
|
We will send you a complimentary live vole when we hit version 1.0 |
|
I'm working on this now. |
Closes #35