226 Commits

Author SHA1 Message Date
Mayhem
8afcac8d6f Add the Show replies index setting. 2013-11-16 15:57:47 +01:00
Mayhem
07bca42d63 Rebuild the pagelist when searching. 2013-11-16 15:57:47 +01:00
Mayhem
ac7b7661ca Jump to page zero when starting to search.
Jump back to the previous page when clearing the search.
2013-11-16 15:57:47 +01:00
Mayhem
2248e4de16 Fix the index search clear button appearance on Firefox. 2013-11-16 15:57:47 +01:00
Mayhem
67e75bd2fb Prevent content inside of .board from being downloaded on intial page load.
See comments in the code.
2013-11-16 15:57:47 +01:00
Mayhem
91dd12213e Focus the index search input after clearing it. 2013-11-16 15:57:47 +01:00
Mayhem
e9a128da70 Add search-clearing button. 2013-11-16 15:57:47 +01:00
Mayhem
564e799d31 Indicate the elapsed time since the last index refresh at the top of the index. 2013-11-16 15:57:46 +01:00
Mayhem
bd2fe915eb Fix position of navlinks on Firefox. 2013-11-16 15:57:46 +01:00
Mayhem
dcdb530d19 Searches should match all keywords. 2013-11-16 15:57:46 +01:00
Mayhem
a8209eaa89 Add index searching. Close #1318 2013-11-16 15:57:46 +01:00
Mayhem
f09121ab2e More index tweaking/optimization and small thread hiding fix.
Most feature that need to be called on each index refresh don't need
to be called on every single page build, but only after building the
threads. ThreadHiding needs to be fired on each page build to ensure
that the stub summaries fit with the number of replies, so it has to
wait for the last replies to be added. This also fixes the bug where
ThreadHiding was creating one extra stub on each IndexRefresh event.
2013-11-05 01:21:26 +01:00
Mayhem
5f1ce2d9ec Adjust initial index refresh notice delay, changelog. 2013-11-04 18:47:42 +01:00
Mayhem
293bf70aee Bring back Catalog link in the pagelist. 2013-11-04 18:41:23 +01:00
Mayhem
1c66c6a604 Don't display the index refreshing notice on intial page load for fast connections. #1322 2013-11-04 12:06:10 +01:00
Mayhem
09daa29220 Fix some hasty copy-paste gone wrong. 2013-11-04 01:21:04 +01:00
Mayhem
94322e3dd8 Index optimization: only build/load last replies of visible threads. 2013-11-03 18:55:58 +01:00
Mayhem
bc0f5fcc3b Avoid creating new thread root+<hr> when they already exist. 2013-11-03 17:14:01 +01:00
Mayhem
bddb032dac We only have to look for one thread when visiting thread pages. 2013-11-03 16:47:22 +01:00
Mayhem
81a2b096a1 Introduce Header.{scrollToIfNeeded,getTopOf,getBottomOf}() and use them.
4chan X - now with proper bottom header support.
2013-11-03 01:27:23 +01:00
Mayhem
54eaa9adea Disable enhanced index on /f/. 2013-11-02 20:29:06 +01:00
Mayhem
0eb224e077 Simpler summary creation, tiny Build.thread() optimization. 2013-11-02 19:21:06 +01:00
Mayhem
a0d3694b61 Fix minor bugs with keybinds/pageload + index. 2013-11-02 19:21:06 +01:00
Mayhem
0540dcf30f Instantaneous index page navigation.
Also fix page navigation keybinds.
2013-11-02 19:21:05 +01:00
Mayhem
bc72f0f763 Create importHTML function, and use it. 2013-11-02 19:21:05 +01:00
Mayhem
47710a7c6e Build the pagelist dynamically. 2013-11-02 19:21:05 +01:00