summaryrefslogtreecommitdiff
path: root/js/viewfeed.js
AgeCommit message (Collapse)Author
2017-03-31filter by search results while marking feed as readAndrew Dolgov
2017-03-06cdmClicked: do not use event.target.parents to figure out if clicked on a ↵Andrew Dolgov
heading
2017-03-04simplify error handlingAndrew Dolgov
* less convoluted exception dialogs * use window.onerror for the majority of exception catching/reporting * remove most of now useless try/catch blocks * report stacktrace instead of manually specified error locations
2017-02-17rework the way headlines menus identify calling rowAndrew Dolgov
2017-02-13bind headlines menu to a selector to avoid remaking it unnecessarilyAndrew Dolgov
2017-02-13cdmcollapse/expand: use less convoluted selector queriesAndrew Dolgov
2017-02-08add some protection against opener attacks if external site is opened via ↵Andrew Dolgov
window.open()
2017-01-22unpackVisibleHeadlines: do not iterate over all RROWs all the timeAndrew Dolgov
2017-01-22initHeadlinesMenu: remove unneeded outputAndrew Dolgov
2017-01-22attach headline menu objects to correct DOM nodes in combined modeAndrew Dolgov
2017-01-22reuse menu objects while appending headline rowsAndrew Dolgov
2017-01-21Replace all setTimeout strings with functionsAnders Kaseorg
This fixes a cross-site scripting vulnerability. Signed-off-by: Anders Kaseorg <[email protected]>
2016-03-22normalize some html5 custom attributesAndrew Dolgov
2016-03-22getLoadedArticleIds: consider visible rows onlyAndrew Dolgov
catchupFeedInGroup: hide articles when catching up, with caveats
2016-03-22showArticleInHeadlines: remove unused codeAndrew Dolgov
2016-03-22updateFloatingMenu: performance improvementsAndrew Dolgov
2016-03-22fix previousAndrew Dolgov
2016-03-22headlines scroll handler: add a rate limitAndrew Dolgov
2016-03-22remove dismiss* functionsAndrew Dolgov
2016-03-22cleanup dismissArticle functionsAndrew Dolgov
2016-02-07Make "open in new tab" hotkey handler support mac "cmd+click" way ↵Kostiantyn Moroz
(non-expanded mode)
2016-01-11add some hacks to hopefully mitigate headlines memory leaksAndrew Dolgov
2015-10-07headlines_callback2: force prevent duplicate row idsAndrew Dolgov
2015-09-07add edit feed to feed header context menu in grouped modeAndrew Dolgov
2015-08-12viewfeed: switch to hash-based argumentsAndrew Dolgov
viewfeed: remove (obsolete) method parameter add shortcut to debug viewfeed() query
2015-08-11use dijit form widget for attachments dropdownAndrew Dolgov
2015-08-11use batch-based catching up in cdmExpandArticle() to reduce server loadAndrew Dolgov
2015-08-11prevent cyclical scrolling in headlines if next offset requested by ↵Andrew Dolgov
infscroll is zero a bunch of other related fixes
2015-08-11partially revert previous because of navigation breakage in expanded mode, durrrAndrew Dolgov
2015-08-11unfuck catchupbatchedarticles a bitAndrew Dolgov
2015-08-11assorted fixes for keyboard navigation which hopefully don't break ↵Andrew Dolgov
everything else
2015-08-11fix previousAndrew Dolgov
2015-08-11infscroll: preload articles a bit earlierAndrew Dolgov
2015-07-31pass DOMNodes instead of escaped html data to JS article rendered hooks (i ↵Andrew Dolgov
think this makes much more sense)
2015-07-29disable headline appear animationAndrew Dolgov
2015-07-29headlines scroll handler: make preloading less aggressiveAndrew Dolgov
2015-07-14(experimental) disable infscroll requests while marking auto catched up ↵Andrew Dolgov
articles as read
2015-07-13fix error feed (i.e. when requested feed no longer exists) not display properlyAndrew Dolgov
2015-07-13roll back separate headline transportAndrew Dolgov
2015-07-13maybe speedup headline adding a bit, maybe notAndrew Dolgov
2015-07-13viewfeed.js: cleanup the code a bitAndrew Dolgov
2015-07-13bring cdmFeedTitle style in line with the rest of the UIAndrew Dolgov
send headline rows as separate JSON objects
2015-07-12fixes for first_id stuffAndrew Dolgov
2015-07-12viewfeed: set hsp status when scrolling to the very endAndrew Dolgov
2015-07-12js: remove current_top_id globalAndrew Dolgov
2015-07-12report top id changed in headlines bufferAndrew Dolgov
2015-07-12queryFeedHeadlines: move to array-based arguments, optionally check if first ↵Andrew Dolgov
element changed when paginating
2015-06-18prevent event propagation when clicking on CDM article footerAndrew Dolgov
2015-06-17bayes: properly reset score when going good -> uglyAndrew Dolgov
article: add helper to refresh article score pic, properly set scorepic title
2015-01-30Make the floating title transition smootherAnders Kaseorg
Previously the floating title would not appear until the real title scrolled entirely out of view, which was visually distracting. Now it appears at the point when its bottom lines up with the real title’s bottom. This isn’t perfect yet due to small differences between the two titles’ layouts, but it’s much closer. We now need to use visibility: visible|hidden instead of display: block|none to show and hide the floating title, in order to be able to retrieve its height while it’s hidden. It’s important to use that height because occasionally line wrapping differences make the floating title shorter than the real title, and we don’t want the real title to poke out from underneath. Also fix scrollToRowId to offset by the 4 pixel top margin (like cdmScrollToArticleId already does), so that it goes back to a point when the floating title was hidden; and set the right margin on the floating title so that it’s the same width as the real title and doesn’t overlap the scroll bar. Signed-off-by: Anders Kaseorg <[email protected]>