Commit Graph

25 Commits

Author SHA1 Message Date
Brent Simmons 06b4f9660b Fix warning about using `var` with a `DispatchGroup` that is not mutated. 2023-01-21 14:46:41 -08:00
Maurice Parker 169b103f6d Change widget encoding to be more parallel and only run when going into the background 2022-10-29 00:39:03 -05:00
Maurice Parker 05561d9c1f Change to a different debounce strategy and don't write widget data while in the background. #3567 2022-10-08 17:10:40 -05:00
Maurice Parker 141ed4f915 Write widget data when article status changes happen. Fixes #3567 2022-07-28 17:15:36 -05:00
Stuart Breckenridge 350c373ae2
Fixes `LatestArticle` to use feedIconPath 2022-07-07 08:14:09 +01:00
Stuart Breckenridge 66a5e42e8a
Updates widget code 2022-05-16 09:32:38 +08:00
Brent Simmons a0e8ca00ee Fix one of the causes of watchdog crashes in WidgetDataEncoder by fetching just the count of starred articles — instead of fetching all the starred articles and counting them, which can take a long time. 2022-05-12 21:56:49 -07:00
Maurice Parker 5b00484792
Revert "Potential fix for #3200" 2021-11-13 09:38:57 -06:00
Stuart Breckenridge 4df25ae2f6 Potential fix for #3200 2021-10-16 13:20:37 +08:00
Stuart Breckenridge 1ca0df67a4
widget and unread badge counts are correct
also - counts in the widget revert back to using data available in the SmartFeedsController.
2021-03-26 11:36:20 +08:00
Stuart Breckenridge ca45ea6e05
Widget now uses limits 2021-03-24 20:30:21 +08:00
Maurice Parker 53e0354f93 Removed datePublished force unwrap 2021-02-24 16:00:01 -06:00
Stuart Breckenridge 474fbedbc3
Widget
• Hides count text when there are no articles beyond what is displayed.
• Fixes html appearing in titles.
2021-01-30 09:02:42 +08:00
Stuart Breckenridge 5780c8066d
refreshTimeline removed 2020-12-03 20:41:37 +08:00
Stuart Breckenridge 8498e723ce
Widget Performance 2020-12-03 20:32:26 +08:00
Stuart Breckenridge d9c39a6964
timeline refresh can now be controlled 2020-11-30 10:08:23 +08:00
Stuart Breckenridge 9f989ac07b
reduces encoded article count 2020-11-29 17:38:17 +08:00
Stuart Breckenridge 9206463e46
layout fixes
• Ensure counts do not wrap
• Reduces number of articles on large widget due to increased spacing.
• Consistent vertical spacing between articles and dividers
2020-11-29 17:12:53 +08:00
Stuart Breckenridge 92c3cd52aa
WidgetDataEncoder
Removed unused taskIdentifier
Added more logging
Switched to FileManager for writing data files
2020-11-22 17:57:30 +08:00
Stuart Breckenridge e8174d0070
ditched filtering 2020-11-19 20:41:05 +08:00
Stuart Breckenridge b34510eb5c
changes the behaviour of the today widget 2020-11-19 20:21:04 +08:00
Maurice Parker 6784c2a705 Fixed crash due to force unwrapping publishedDate 2020-11-19 05:09:50 -06:00
Stuart Breckenridge 1bdfb3aafc Make sure there is a title 2020-11-19 15:38:50 +08:00
Stuart Breckenridge 264668a663 Widgets
simplified code
added large widgets
localised the counts
updated technotes
2020-11-18 15:43:14 +08:00
Stuart Breckenridge 58e18f4bcb Widget Bundle
• Adds small smartfeed summary widget.
• Adds medium widgets for today, unread, and starred.
2020-11-18 10:49:12 +08:00