5726 Commits

Author SHA1 Message Date
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
Zixaphir
8ad7677eeb Title magic? 2014-01-10 14:10:18 -07:00
Zixaphir
ac4229c578 Lets approach this with intelligence, m'kay? 2014-01-10 13:51:32 -07:00
Zixaphir
e615973436 Optimize header regeneration 2014-01-10 13:12:43 -07:00
Jordan
3aea514ca1 Release 4chan X v1.3.0. 2014-01-10 09:46:48 -07:00
Jordan
bc202ff700 Chrome fixes
Close #230
2014-01-10 08:58:39 -07:00
Jordan
64b13ef184 Board title and announcement tweaks
Close #232, close #233
2014-01-10 08:34:56 -07:00
Jordan
52a287f11f Announcement hiding button in font awesome
Close #231
2014-01-10 07:44:54 -07:00
Zixaphir
226ea6c27c Holy shit, it's working. 2014-01-09 23:41:58 -07:00
Zixaphir
890277f296 Update QR depending on state. 2014-01-09 23:20:38 -07:00
Zixaphir
79cf8713a4 Add some stuff, hopefully should reduce errors 2014-01-09 23:10:32 -07:00
Zixaphir
d8a281c569 Fix title changing stuff 2014-01-09 21:30:48 -07:00
Jordan
28d9e88856 Leave this :not in here 2014-01-09 20:24:02 -07:00
Jordan
9a66c0286c Restyle QR link
Close #224
2014-01-09 20:22:08 -07:00
Zixaphir
c47b14f0bf Now I need to figure out how to get the Feature.ready code to run 2014-01-09 20:15:48 -07:00
Zixaphir
b87825e558 That... should fix those errors. 2014-01-09 19:25:47 -07:00
Zixaphir
0d29b42a02 This kills the script
No, seriously, this commit breaks everything if you open a reply.
It's k, though, that's why this branch exists: so I can break it
all without harming end users and stable development.

Holy carp, though, the amount of errors thrown!
2014-01-09 18:51:49 -07:00
Jordan
6e5e4cfb45 Rgba instead of opacity
Close #228
2014-01-09 18:18:38 -07:00
Jordan
37accb230d Touch up menus and .current border
Close #227, close #229
2014-01-09 18:12:30 -07:00