72 Commits (aa64ec7db19df296d3bd32af815de38008334433)

Author SHA1 Message Date
Julian Lam a379b03e71 lint 8 years ago
barisusakli e009ce5609 closes #5443 8 years ago
barisusakli ff08cbf677 replies to posts 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
Barış Soner Uşaklı 83a817a221 use navigator selector 8 years ago
barisusakli 56f863e5b8 remove :rage2: console.log 9 years ago
barisusakli 8868668daa fix navigator displaying wrong index
related to #4998
9 years ago
barisusakli b84f36cc20 fix navigator method not getting removed 9 years ago
barisusakli 240682563d fix index error 9 years ago
barisusakli fea2267b58 fix navigator.scrollToPost()
pagination and alternate sort page calculation
9 years ago
barisusakli a9e4add8d2 closes #4998 9 years ago
barisusakli 9dd8572b98 don't crash if anchorEl doesn't exist 9 years ago
barisusakli 4bbc8110a9 closes #4772 9 years ago
Julian Lam 430adc366c fix #4498 9 years ago
Julian Lam 1385d19f64 Further tweaks to viewport shuffling and dynamic image loading
@BenLubar
9 years ago
barisusakli 5fa6686112 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/src/modules/navigator.js
9 years ago
barisusakli 3a27e7b0ea closes #4405 9 years ago
Julian Lam 31e70ac5a8 applying threshold detection only to topics
re: #4477
9 years ago
Julian Lam cc60767eb0 removed console logging 🐶 9 years ago
Julian Lam add82ba6c9 Added threshold detection when scrolling upwards
... for less jolty upwards scrolling.
9 years ago
Julian Lam 3e2231d2cb Fixing viewport shuffling due to image load
Introduced new method ".loadImages()" in posts client side lib
to handle viewport height changes when loading images. Requires
[email protected]

@BenLubar @boomzillawtf
9 years ago
Julian Lam 5d4f61ec96 Tweaked scrollToPostIndex logic
The old behaviour would scroll the post anchor to the midline, but
this was inferior UX for long posts since the top half of the
screen is essentially stuff you didn't want to see.

The new logic is as follows:
- If the target post is smaller than the browser viewport, it will
  scroll in such a way that the entire post is vertically centered
  (post midline matching viewport midline)
- If the target post is larger than the browser viewport, it will
  scroll in such a way that the top of the post is located just
  under the navbar, maximizing the target post's content.
- Updated themes to relocate their anchors to in between posts
9 years ago
barisusakli 56ef1e9869 closes #4444 9 years ago
Julian Lam 32466d8bb1 tweaked paginator block to toggle when text is updated, and use ready class instead of invisible 9 years ago
barisusakli 20c8411287 closes #3767 closes #3774 9 years ago
barisusakli c426c7288f find closest to middle in navigator 9 years ago
barisusakli 6b1834d4ae closes #3767 9 years ago
barisusakli 2d96cdba1c closes #3720 10 years ago
barisusakli d4206c047d select by class 10 years ago
psychobunny 714efd0d0e scrollToPost / scrollToPostIndex offset isn't used anymore 10 years ago
psychobunny 81b3ae2597 cleanup 10 years ago
psychobunny 4c4d560f64 fixed f5 from in the middle of a big topic 10 years ago
psychobunny e9d3f4278d IS improvements
* simplify calculation (scrollTop vs elementInView)
* use post anchor rather than create big $ objs from post html
* pressing f5 repeatedly now always takes you to the correct pid
10 years ago
barisusakli c3a6b11939 fix first reply insertion 10 years ago
psychobunny 1dbfa65bc5 closes #3655 10 years ago
barisusakli 6810b529c9 prevent infinite loop on topic scroll to bottom 10 years ago
barisusakli b292aeea72 closes #3120
also dont allow loading posts of a topic if its deleted via
topics.loadMore
10 years ago
Barış Soner Uşaklı 21b634e03f closes #3081 10 years ago
Julian Lam 5a0ea28633 better fix for #3040 10 years ago
barisusakli dd92b06f16 #3064 10 years ago
Julian Lam 821c9f12d6 updated scrollToPost behaviour to no longer ajaxify loudly. Also updated call to checkPagePresence to fire before the topicDOM events begin, so if an in-topic search is conducted on a different topic from the current topic, the topicDOM behaviour continues. closes #3040 10 years ago
Julian Lam 2000947cd6 fixed #3030 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
Julian Lam 16c6578bdb updated components to be a require.js module, not a global (:rage2:) 10 years ago
psychobunny d39c2924e4 found a rogue topic class selector 10 years ago
Barış Soner Uşaklı 0cc900bdcf closes #2878 10 years ago
psychobunny 567d171d2f jshint 10 years ago
psychobunny 6439147586 updated core to point #post_container and .post-row to its respective components 10 years ago
psychobunny eba0f32913 post/anchor component 10 years ago
barisusakli a0c3ddc555 fix navigator 10 years ago