Commit Graph

39 Commits (7adbc95acc4b2677be3a1d830c69b892f77d2465)

Author SHA1 Message Date
Andrew Dolgov 7adbc95acc remove floating title, use position: sticky for cdm headers instead 4 years ago
Andrew Dolgov 4a00d41915 Article.cdmMoveToId: don't crash if params is not given 4 years ago
Andrew Dolgov a802649d53 rename cdmScrollToId to cdmMoveToId
prevent smooth scrolling when going directly to an article
4 years ago
Andrew Dolgov 0d467973dc Article.pack: dispose of unpacked content properly 4 years ago
Andrew Dolgov e17c7e2fb4 Headlines.renderAgain: scroll instantly to active article when going back to combined mode on the fly 4 years ago
Andrew Dolgov b3e4f0188e in combined non-expanded mode, pack headline rows as they are unfocused to save RAM 4 years ago
Andrew Dolgov afaac95d8d if comment URL is not specified but comment count is non-zero, show comments prompt leading to the article 4 years ago
Andrew Dolgov 71ff485fbf af_readability: add article button to embed content of a specific article 4 years ago
Andrew Dolgov 303f8fb329 properly escape quotes when rendering article data to html attributes via template strings 4 years ago
Andrew Dolgov 0a10832491 - update descriptions of changed hotkeys
- bind noscroll variants of move article hotkeys to n/p by default
- update N/P (i.e. scroll article content) hotkeys to scroll by fraction of viewport height instead of hardcoded pixel distance
- minor fixes w/ checking for undefined
5 years ago
Andrew Dolgov a40f22d8aa Article.cdmScrollToId: disable smooth scrolling in collapsed combined mode 5 years ago
Andrew Dolgov 560346f9d1 Article.cdmScrollToId: disable smooth scrolling on repeated events 5 years ago
Andrew Dolgov 44ef447c0f fix fatal error in previous because of event not being passed via Headlines.move()
scrollbypages, etc: make event optional anyway
5 years ago
Andrew Dolgov e7dd634183 exp: auto-disable smooth scrolling for repeat hotkey events 5 years ago
Andrew Dolgov 7a68e4a6f7 pgup/pgdn; increase scroll distance to almost entire viewport height (from 90%) 5 years ago
Andrew Dolgov 1902a7dcb0 pgup/pgdown hotkey normalization:
- pgup/pgdown without modifier scroll headline buffer
- shift+pgup/pgdown work similarly to shift+up/down but operating on pages
5 years ago
Andrew Dolgov 6913158b82 add hotkeys to scroll headlines/articles (whichever is active) by one page 5 years ago
Andrew Dolgov 781fe3d636 setScore, selectionSetScore: check for numerical values properly 5 years ago
Andrew Dolgov 4e41db7ed3 Article.unpack: add placeholder   if data-content is empty 6 years ago
Andrew Dolgov f3c04fc5d8 sync modified scores via mutation observer 6 years ago
Andrew Dolgov 25ca144bb7 score: get correct classes for rows/score icons on the client 6 years ago
Andrew Dolgov ad5a43bf66 sync article selected status via mutation observer
remove all rchk-related hacks
6 years ago
Andrew Dolgov c97c755195 remove _active_article_id; use selector instead 6 years ago
Andrew Dolgov d9bf0f17c6 sync unread state to server via mutation observer 6 years ago
Andrew Dolgov 6616c7cf67 keep track of selected prompt and floating title status using headline row mutation observer 6 years ago
Andrew Dolgov 54f02a3b31 add Headlines.renderAgain() to switch between combined/expanded modes faster 6 years ago
Andrew Dolgov c8253f0e64 Article.openInNewWindow: do not crash if window is null 6 years ago
Andrew Dolgov bd66a9ef28 render article on the client using headlines data 6 years ago
Andrew Dolgov d2d2cb7e7d rework scoring display, JS processing and icons 6 years ago
Andrew Dolgov 2dac797704 floatingTitle-related fixes 6 years ago
Andrew Dolgov f6e287df11 remove 4px margin of cdm.expanded 6 years ago
Andrew Dolgov 6d3092c742 Headlines.openInNewWindow: don't set article active, just window.open() it and set read 6 years ago
Andrew Dolgov 71fc6d45bd refactor error reporting to AppBase; keep exception_error() for now as a shim 6 years ago
Andrew Dolgov 84affc7b1d rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway
remove event.observe from login form (not needed)
load pluginhost via amd
6 years ago
Andrew Dolgov 5ead558e43 move Utils to AppBase where it belongs 6 years ago
Andrew Dolgov 526389b2d3 update notify_* calls to use Notify 6 years ago
Andrew Dolgov d9c5c93cef move some more stuff out of common.js
rework client-side cookie functions a bit
limit dojo cachebust based on server scripts modification time
remove param_escape()
6 years ago
Andrew Dolgov f89924f7a1 set use strict on JS modules; remove some mostly useless stuff like get_minified_js() 6 years ago
Andrew Dolgov 807ff07454 split main objects to dojo modules 6 years ago