Commit Graph

41 Commits

Author SHA1 Message Date
Andrew Dolgov b7d63a58db fix loading indicator position/size for tree leafs 2017-01-21 22:30:20 +03:00
Anders Kaseorg 6887a0f573 lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 13:22:14 -05:00
Anders Kaseorg 9f539be3c2 Replace deprecated dojo.place with domConstruct.place
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 13:22:13 -05:00
Andrew Dolgov f04b12d8e7 category: swap context menu items 2016-11-22 09:11:13 +03:00
Andrew Dolgov acfee412a3 feed tree: add category context menu entry to un/collapse it 2016-11-11 14:14:31 +03:00
Andrew Dolgov d39a2f8005 switch modules to new dojo definition format 2016-08-10 13:40:24 +03:00
Andrew Dolgov 9109e171ee feedtree: don't hide feeds with errors 2015-08-12 21:47:40 +03:00
Andrew Dolgov 40f147df79 feedtree: do not hide special category for reals if configured as such 2015-03-06 14:42:05 +03:00
André Glüpker d922b09c43 Skip nested Feed when calling getNextUnreadFeed()
This function is only called when using "Mark all as read".
So every time, this function gets called right now, all nested
categories get marked as read as well, so we don't want to jump to them.
Instead we want to the next category with same or higher tier.
2014-06-14 12:37:05 +02:00
Andrew Dolgov e79b401e97 getPreviousFeed: wrap to last feed to be consistent with getNextFeed 2014-06-09 13:23:27 +04:00
Andrew Dolgov c594eca0de implement additional counter mode for virtual feeds when there's 0 unread articles 2013-05-16 01:08:04 +04:00
Andrew Dolgov 077f221337 hide read categories when feedtree category is first expanded 2013-05-15 12:40:51 +04:00
Andrew Dolgov f5d3c77a8f experimentally align counters to the right 2013-05-08 01:40:10 +04:00
Andrew Dolgov fbb4155bae counterNode: use appear effect 2013-05-07 20:03:09 +04:00
Andrew Dolgov 5973c74c34 fix notify display on chrome, add some css tweaks 2013-05-07 16:44:59 +04:00
Andrew Dolgov 8d4b5b466a fix counters not being updated 2013-05-07 16:28:49 +04:00
Andrew Dolgov 69970d5b88 add tooltip 2013-05-07 15:50:53 +04:00
Andrew Dolgov 82076ce531 Merge branch 'master' into css-feedtree-counter
Conflicts:
	tt-rss.css
2013-05-07 15:36:14 +04:00
Andrew Dolgov 89473cb5c6 feedtree: don't request null icon 2013-04-17 09:09:51 +04:00
Andrew Dolgov 66af65f14b initial 2013-04-10 15:22:05 +04:00
Andrew Dolgov 4429463dff feedTree: pass new copies of parent arrays while looking for category nodes to auto-expand to prevent siblings uncollapsing due to objects being passed by reference 2013-04-04 20:58:43 +04:00
Andrew Dolgov f822a8e56c experimentally rebase labels; make base index configurable 2013-03-27 09:40:07 +04:00
Andrew Dolgov 2196b517cd manually find and expand all parent nodes of a selected feed in feedTree
because dojo is incapable of doing it itself in a situation where tree
persistence cookie is at initial state, bloody fucking hell
2013-03-26 16:32:06 +04:00
Andrew Dolgov 84b48db4a7 FeedTree: fix initial src of loading node 2013-03-21 14:13:13 +04:00
Andrew Dolgov 6cf60c881f add little loading indicator for feed categories 2013-03-19 20:29:20 +04:00
Andrew Dolgov 714b063f6b hideReadFeeds also hides labels 2013-03-19 16:11:43 +04:00
Andrew Dolgov 88918ca637 remove server-side feedtree collapse implementation 2013-02-27 15:34:13 +04:00
Andrew Dolgov ec6e51556d add context menu to Special category 2013-01-18 18:12:39 +04:00
Andrew Dolgov 057cc81302 fix missing context menu of Uncategorized 2013-01-18 18:09:44 +04:00
Andrew Dolgov c0c2abbaa7 force refetch feed when clicking update/clicking on same feed in the tree 2012-10-25 13:15:14 +04:00
Andrew Dolgov 0ef32f48b2 unify child category counter display; remove include_children control 2012-10-11 12:46:33 +04:00
Andrew Dolgov 6e67a7c450 cleanup previous patch (once again) 2012-09-15 20:46:02 +04:00
Andrew Dolgov 1a8a623924 cleanup previous patch 2012-09-15 20:44:50 +04:00
Andrew Dolgov 6cdc457643 feedtree: prevent hideReadFeeds from working on category nodes 2012-09-15 20:39:44 +04:00
Andrew Dolgov 5712a2fe4b FeedTree: fix subcategory entries not hidden properly 2012-09-14 02:40:01 +04:00
Andrew Dolgov 10afc7c63b FeedTree: allow context menu for virtual feeds 2012-09-10 22:51:53 +04:00
Andrew Dolgov 9772759980 do not hide read category which has unread children 2012-08-15 12:26:55 +04:00
Andrew Dolgov 2c5f231e43 add special indication for categories having unread items in child categories 2012-08-13 19:52:34 +04:00
Andrew Dolgov 6c8e8fbdc9 view: implement a hack to fake counter updates for current feed and its parent 2012-04-04 15:34:06 +04:00
Andrew Dolgov 71bb56d952 block FeedTree from interpreting keystrokes 2012-02-02 12:40:10 +04:00
Andrew Dolgov 107d0cf39e overall directory tree cleanup 2011-12-11 23:59:25 +04:00
Renamed from FeedTree.js (Browse further)