-
Notifications
You must be signed in to change notification settings - Fork 19
Pages😳 #71
base: master
Are you sure you want to change the base?
The head ref may contain hidden characters: "pages\u{1F633}"
Pages😳 #71
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, @mxmeinhold reviewed my pagination PR so if they can also see this that would be great
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops, forgot to actually hit review on this.
I agree with the goal of pagination, but I'm a little confused how this looks with regard the the ui, and my concern with #68 also applies here: this leaves no way to ctrl-f through all the quotes
//Prepare the url with the proper query strings | ||
let urlParams = new URLSearchParams(window.location.search); | ||
let speaker = urlParams.get('speaker'); | ||
let submitter = urlParams.get('submitter'); | ||
let urlStr = `/additional`; | ||
let page = urlParams.get('page'); | ||
let urlStr = `/additional?j`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is j here?
//Prepare the url with the proper query strings | ||
let urlParams = new URLSearchParams(window.location.search); | ||
let speaker = urlParams.get('speaker'); | ||
let submitter = urlParams.get('submitter'); | ||
let urlStr = `/additional`; | ||
let page = urlParams.get('page'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this ever get used?
$("#moreQuotes").html(data) | ||
$("#moreQuotes").append(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a bit unsure of how this looks in practice, could you send some redacted/dev screenshots? otherwise I should be able to throw up a local dev instance at some point soon
Added pages to Quotefault so it doesn't load literally every other quote
Pages are size 20