Various QR fixes.
Tiny styling adjustments.
You can now create threads when outside of the index.
Allow selection-to-quote to work on any text inside the quoted post, not just the comment. Close#789.
Add 4chan and 4chan X settings links in the header's menu.
Add $.asap.
Add UI.Menu.
The menu API now requires a type ("post" or "header").
Add Get.boardsConfig.
Squash of 21 commits:
--
Document "%R" relative time formatter
Sounds reasonable, don't you think?
--
Implement %R time formatter
original code do not steal
--
Add absolute time as title on date elements
--
Update relative post times if necessary
Coupled code, I know. Would be better to have a 'threadupdate' event to
subscribe to, oh well.
--
Update changelog
--
Rewrite relative date formatter function
Aeosynth-approved, or at least acknoledged
--
Reimplement relative post times in namespace
Less quick-and-dirty, more right.
Still need to polyfill visibility
--
Polyfill and correct usage of page visibility
Reselecting the tab always flushes (since ui thread block will be
percieved as part of the tab switch), but background flushes don't queue
when tab is not visible.
This is actually a better implementation than html5chan has right now,
will need to backport it later.
--
Remove %R reference in documentation
--
Clean up RelativeDates code
Aeosynth approved (TM) (C)
--
Move page visibility polyfill to Main
--
Remove unnecessary ?
--
Replace $.hidden() fn with d.hidden
--
Use visibility polyfill for QR
--
Remove all future relative dates
Looks like it's all over after this.
--
Compact pluralize condition
--
Fix alignment
--
Change RelativeDates.flush -> @flush
--
Remove initial setTimeout
Is unnecessary, as node is called, which will call flush at least once
and set the timeout again.
--
Improve absolute date display and cache diff
Title tooltip now uses either time formatting rice or the original 4chan
timestamp instead of toString().
the diff between a date and now is now shared between `relative` and
`setUpdate` to avoid recalculation.
--
Remove re-calling of Time formatting
Relying on the ordering of `node` callbacks, so textContext will already
have the formatted time.
Add an option to toggle Thread/Reply Hiding Buttons.
Save hiding settings of individual threads, like if we want to see its stub or not when we reload the
page.
Add the menu buttons in stubs.
Make the open function for menu entries optional.