61 Commits (80c98e5ecfa000d7b4e617a5b649c1855f952fb3)

Author SHA1 Message Date
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
barisusakli 02dbce57fb relative path fix missing ; 10 years ago
barisusakli 200f74f1c7 closes #2592 10 years ago
barisusakli 6353ed57a9 duh fixing my fail from last night 10 years ago
barisusakli e97bfc139b #1848 10 years ago
barisusakli e95c68e7d6 fix bookmark 11 years ago
barisusakli e1f67052d0 closes #2244 11 years ago
barisusakli 273db693e7 closes #2051 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
barisusakli 1cf5c3145a doing it properly this time
mainPost always has index 0
11 years ago
barisusakli 297f523f18 closes #1899 11 years ago
barisusakli e961e3c552 reduced hightlight duration by 2 seconds 11 years ago