Zixaphir
6ed2f67fe2
Holy shit fuck me with a chainsaw I'm so retarded I deserve it
...
(but really plz don't, I'm just tired and this is a tired-zix commit)
Halp
2014-01-12 00:00:33 -07:00
Zixaphir
43bcc64681
Let Index.update handle its own page functions
2014-01-11 21:02:56 -07:00
Zixaphir
79776710af
return
2014-01-11 20:22:45 -07:00
Zixaphir
ab3a4c6640
Get hash navigation working with Navigate.navigate()
2014-01-11 20:21:25 -07:00
Zixaphir
2e242a9f9d
Holy, how tired was I when I did that? Damn.
2014-01-11 19:52:49 -07:00
Zixaphir
495567682b
Fix duplicate backlinks
2014-01-11 19:34:07 -07:00
Zixaphir
cb39424dea
Reduce number of loops in Redirect
2014-01-11 17:19:19 -07:00
Zixaphir
2b1a49b02e
That didn't work as expected.
2014-01-11 16:14:16 -07:00
Zixaphir
a02705f520
Errors are handled differently now
2014-01-11 15:09:00 -07:00
Zixaphir
c7f0646c42
Better
2014-01-11 15:06:55 -07:00
Zixaphir
efc2fd5bd2
Safer
2014-01-11 15:05:37 -07:00
Zixaphir
dcb734afff
Small fix to backlinks code
2014-01-11 14:54:41 -07:00
Zixaphir
bf80874f9f
Less checks and less misses? Performance and stability? Oh my.
2014-01-11 14:39:14 -07:00
Zixaphir
6bafef092b
Restore the hr at the bottom of threads
2014-01-11 12:51:14 -07:00
Zixaphir
b3c33bb39b
Merge branch 'v3' into json
...
Conflicts:
builds/4chan-X.user.js
builds/crx/script.js
src/Archive/Redirect.coffee
2014-01-11 12:09:33 -07:00
Zixaphir
de16671c49
Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
...
Conflicts:
LICENSE
json/archives.json
2014-01-11 12:07:46 -07:00
Zixaphir
a20e85d30f
Features can *and should* handle under what context they disconnect
2014-01-11 12:03:50 -07:00
Zixaphir
1e24021c07
I think this was what I had meant to put there.
...
It checks unread count already anyways, and the previous behavior
was causing QuoteThreading.force() to run twice, and may have
caused an issue where backlinks were doubling-up? I don't know, I'm
still looking into that issue because it's happening on the Index
as well.
2014-01-11 11:37:11 -07:00
Zixaphir
1277d32161
The previous behavior was causing multiple notifications
...
on if you switched between boards too quickly
2014-01-11 11:33:51 -07:00
Zixaphir
4ae16f4131
Set a close timeout on the Index.notify
2014-01-11 11:31:15 -07:00
Zixaphir
c2ac7e66b1
Handle popstate on Chrome a bit better
2014-01-11 11:28:33 -07:00
Zixaphir
805c40d3bf
Fix .current switcher
...
Single letter boards were matching, well... anything with their
board letter. I guess I wrote that pretty dumb, hah.
2014-01-11 11:14:35 -07:00
Zixaphir
1e7c617d80
Would be nice if I checked my case before committing, no?
2014-01-11 11:07:34 -07:00
Zixaphir
5222edafd4
Add a check for SFW status before we go stampeding all over it.
...
Lets not do more than we have to do, m'kay?
2014-01-11 11:04:14 -07:00
Zixaphir
d8bc0616e8
Strings y'all
2014-01-11 11:00:04 -07:00
Zixaphir
93c78e2d54
I like that just a little bit better.
2014-01-11 10:56:48 -07:00
Zixaphir
989f1b3c7b
Further reduce redundancy in style switching.
...
Ok, I'm done with that now.
2014-01-11 10:50:49 -07:00
Zixaphir
9d6e29616d
Get favicon switching working, reduce redundancy
2014-01-11 10:44:33 -07:00
Zixaphir
8c7677e405
I need to stop making such stupid typos
2014-01-11 00:28:54 -07:00
Zixaphir
5e73209e35
Avoid both for key in object and a lot of indexOf looping
2014-01-11 00:18:02 -07:00
Zixaphir
3a76018fe4
Add return buttons and the like to the Index.navLinks
...
We need to generate these now because the Index features always
will remove them.
2014-01-11 00:04:44 -07:00
Zixaphir
1900bbfa27
Fix Unread Count with JSON features
2014-01-10 23:41:09 -07:00
Zixaphir
685f74de50
Fix Navigate.popstate on Chrome
2014-01-10 23:14:02 -07:00
Zixaphir
865c5acfb6
We can now popstate pages.
2014-01-10 23:08:00 -07:00
Zixaphir
d0e0a21e2f
Prevent Index.scroll() from firing while loading the Index
2014-01-10 22:56:26 -07:00
Zixaphir
c61c71c764
Fix the QR's state upon navigation with JSON
2014-01-10 22:54:30 -07:00
Zixaphir
4957eca880
That appears to work
2014-01-10 21:49:07 -07:00
Zixaphir
1d8546dd74
That's right, we init in thread now, too.
2014-01-10 21:44:19 -07:00
Zixaphir
f0a90a12c5
While we're here, restore infinite scrolling functionality.
2014-01-10 21:39:36 -07:00
Zixaphir
1555eb8166
Clones? No.
2014-01-10 21:16:56 -07:00
Zixaphir
55453f02e4
The refresh button behavior should be dependent on the view
2014-01-10 20:19:28 -07:00
Zixaphir
b5f357bcfe
It's more efficient for us for this to be where it was
...
But it doesn't help anyone else. IndexBuild shouldn't be thrown
until the Index is actually build so people can deal with the nodes
2014-01-10 19:52:38 -07:00
Zixaphir
44f2b5e434
Let's let the unread features determine how to scroll
...
I profiled this and on a 700 post thread, 30% time was spent trying
to figure out if we needed to scroll to the top of the thread or
not. I don't feel that's acceptable.
2014-01-10 19:04:15 -07:00
Zixaphir
6bd1d44b68
Unread Count actually requires the nodes to be on the page
...
Unfortunately
2014-01-10 18:55:33 -07:00
Zixaphir
743810647d
At least give me this!
2014-01-10 18:19:05 -07:00
Zixaphir
bc9f094a77
Turns out I never finished my Thread Title magic...
...
because @MayhemYDG had already done it and done it better. So I
thought mine was working when it was just his... and then
realized when I didn't disconnect it and the index was getting a
title from a thread that it wasn't working and his was.
So let's just use his code.
2014-01-10 18:07:14 -07:00
Zixaphir
ebf6808297
Improve responsiveness of style switcher
2014-01-10 17:52:09 -07:00
Zixaphir
a44e75862f
Merge branch 'v3' into json
...
Conflicts:
LICENSE
builds/4chan-X.user.js
builds/crx/script.js
2014-01-10 17:18:23 -07:00
Zixaphir
9c895eb632
How about making it actually work?
2014-01-10 14:59:50 -07:00
Zixaphir
b9924973c5
Implement a cheap and easy style switcher on navigate
2014-01-10 14:33:31 -07:00