Commit graph

431 commits

Author SHA1 Message Date
David Sinclair
aa6380c15a Crash fixes 2023-10-23 19:43:59 -05:00
David Sinclair
a6b190eb6e Crasher fixes 2023-10-18 16:14:46 -06:00
David Sinclair
ea4adff207 #1827 (Next Unread button leads to spinning screen) 2023-10-18 15:50:09 -06:00
David Sinclair
c9f573eca3 #1720 (Grid view)
- Fixed not showing the right story when tapping on a card after a long story.
2023-08-29 19:29:42 -06:00
David Sinclair
11d991e5f8 #1720 (Grid view)
- Fixed iPhone showing wrong story after going back to feed detail grid.
- Diagnostic logging to investigate issues.
2023-08-29 13:00:23 -06:00
David Sinclair
f64007b734 #1720 (Grid view)
- Fixed theme jumping from light to dark (seemed to be caused by a recent iOS change).
- Fixed fading out of list cells.
- Hopefully fixed infinite loading indicator.
- Fixed background crashes.
2023-08-24 21:47:19 -06:00
David Sinclair
c39341fea7 #1720 (Grid view)
- Fixes for iPad.
2023-07-21 21:15:24 -06:00
David Sinclair
295667a308 #1720 (Grid view)
- Tweaked the grid view background color for several themes.
- The list/grid layout is now a per-folder and per-feed setting.
- Fixed some issues revealed by that change.
- Fixed crash with reloading individual rows (witnessed when scrolling and loading images, I think).
- Fixed deselection of stories in the list layout.
2023-07-20 21:07:56 -06:00
David Sinclair
55556c730b Merge branch 'dejal' into catalyst 2023-07-04 17:15:24 -07:00
David Sinclair
e6548c7cf7 #1797 (cold boot should preserve feeds and icons)
- Now uses the Documents directory instead of the Caches one, to avoid losing data in low disk space.
- Exisitng data is copied to the new location if needed.
2023-07-04 15:23:01 -07:00
David Sinclair
9a7dfac4e1 #1797 (cold boot should preserve feeds and icons)
- More work trying to trace the issue.
- With the “when opening app” preference, now doesn’t show the folder until loaded new stories.
2023-06-27 22:10:37 -07:00
David Sinclair
179acea063 #1797 (cold boot should preserve feeds and icons)
- Fixed possibly related race condition issue.
- Added logging for cache loading.
2023-06-26 21:51:36 -07:00
David Sinclair
73dbc805d8 Merge branch 'dejal' into catalyst 2023-06-15 16:43:30 -07:00
David Sinclair
ea1397e461 #1802 (total count is double feed/folder sum count)
- Fixed. (Not quite double, but it was counting each instance of feeds that are in multiple folders; now it only counts the unique set of feeds.)
2023-06-15 16:40:56 -07:00
David Sinclair
e10e053cad #1720 (Grid view)
- Fixed not opening feeds for grid layout.
- Fixed just dismissing the settings menu when tapping in grid layout.
- Unread indicator in grid layout is now the same size as in the legacy table layout and the web.
- Increased the size of the content text in grid layout.
2023-05-26 14:00:20 -07:00
David Sinclair
fec83d79b6 #1720 (Grid view)
- Restored the legacy table view for the list layout.
- Still uses the modern SwiftUI view for the grid layout.
- Added an option in Preferences (below the “Story titles layout” for “List style”, to choose between “Standard” (aka the table) and “Experimental” (aka the grid-based list) so we can continue to improve the nicer modern list.
- Removed the swipe gesture from the grid view.
- Fixed a crash putting the app in the background.
- Fixed some other issues.
2023-05-25 21:47:34 -07:00
David Sinclair
feca64e0cb #1797 (cold boot should preserve feeds and icons) 2023-05-24 18:54:26 -07:00
David Sinclair
66d148d3a1 #1720 (Grid view)
- In Grid layout, when the number of columns is set to Auto, it uses 4 columns for landscape and 2 columns for portrait.
- In Grid layout, if the number columns is 4, it only displays 3 in portrait, since 4 won’t fit.
- Removed the old collection view; code referencing it is left commented out for now, just in case any is needed later.
- Now respects the safe area at the bottom of the screen.
- Added support for pull-to-refresh.
- Added a progress indicator when loading (nicer than the old flashing row, I think).
- Deselecting a story in Grid view now avoids scrolling.
2023-04-21 21:44:28 -07:00
David Sinclair
0475969c32 #1720 (Grid view)
- Fixed not showing story content when switching from List to Grid layout.
- Fixed sometimes showing the wrong story when switching from Grid to List layout.
- Fixed scrolling to the story when switching from List to Grid layout.
- Some cleanup.
2023-04-19 21:35:34 -07:00
David Sinclair
8cfa7ff5c8 Merge branch 'dejal' into catalyst 2023-02-01 13:41:51 -06:00
David Sinclair
7b28791603 #1720 (Grid view)
- Experimenting with using SwiftUI for the list and grid views. Working really well!
- Beginnings of a real data model, at last; probably only for caching stories initially.
2023-01-21 16:20:53 -06:00
David Sinclair
3cf9d829b4 #1775 (crash on opening notifications for top-level site)
- Fixed.
2023-01-09 13:42:41 -06:00
David Sinclair
a1777280d9 #1720 (Grid view)
- Work in progress on refactoring the feed detail cell to view-based Swift, to make it easier to maintain, and to use autolayout to rearrange the content.
2022-12-12 22:04:04 -06:00
David Sinclair
3b1c824ab3 Merge branch 'dejal' into catalyst 2022-11-24 20:30:06 -06:00
David Sinclair
48c1d80284 #1747 (marking a feed as read takes you to the wrong feed)
- Another tricksy edge case: was picking the wrong feed if viewing Unread with a nested folder within a collapsed folder! Now much smarter about that.
2022-11-21 11:17:54 -06:00
David Sinclair
5ce58e186d #1747 (marking a feed as read takes you to the wrong feed)
- Fixed folder not opening next unread.
2022-11-18 13:37:17 -06:00
David Sinclair
c3a21924b6 Deprecation warning fixes 2022-11-09 21:38:40 -07:00
David Sinclair
22bbdf0e03 Replaced background fetch with modern mechanism 2022-11-09 21:14:39 -07:00
David Sinclair
a54b423aa1 #1720 (Grid view)
- Work in progress.
2022-09-02 20:39:00 -06:00
David Sinclair
c8e617eb5f #1693 (2022 Redesign)
Feeds list:

- Fixed dark areas next to nested folders.
- The feeds list background colors now match the web.
- Adjusted the color of the icons.
- Changing the font size or comfort layout no longer dismisses the menu or reloads.

Feed detail:

- A story with a short title in two-line mode now has a shorter cell.
- Fixed multiple rows being selected.
- Comfortable layout now has larger top and bottom margins.
- Fixed notification icon in menu.
- Fixed saved_searches appearing in move submenu.
- Adjusted the height for feeds.
- Changing the title, image, font size, or comfort layout no longer dismisses the menu or reloads.

Story:

- Lighter header color.
- Updated icons and removed borders for share/save/train buttons.
- Updated the trainer popover to use the new style.
2022-08-03 21:42:28 -07:00
David Sinclair
375e3757e2 #1693 (2022 Redesign)
- Laboriously updated the icons (finding the names in the web inspector, updating the code, inspecting the colors, setting those separately, dealing with scaling issues, etc etc).
- Let me know if you spot any icons that I missed, or unscaled icons (they have to be explicitly sized, otherwise appear huge).
- More space between story title and story content.
- More space when reading a folder.
- Added Compact/Comfortable to feed detail menu.
- Changing Compact/Comfortable also adjusts the feed detail list.
- Adjusted the color of the story content etc in the feed detail list.
- Removed top and bottom borders from feed title gradient in story detail.
- More space in story detail header.
- The feed detail is offset when selected.
- Updated the feeds social, search, and saved background colors.
- Unread counts no longer have a shadow, and have more space.
- Folders and feeds remain selected in the feeds list when returning from a story or refreshing.
- Folders in the feeds list no longer have a different background color.
- The folders and feeds highlight is now rounded and unbordered like on web.
2022-07-20 21:35:16 -07:00
David Sinclair
609111e503 #1693 (2022 Redesign)
- Story titles author now next to date, and same color as content.
- Story titles now always bold.
- Story titles are now positioned to have equal top spacing (i.e. normalized).
- Unread indicator now top-aligned.
- Added border radius and margin to highlighted feeds.
- Feed favicons are now rounded.
- Blurblogs moved below folders.
- Fixed an issue with the feed detail settings for some folder types.
- Renamed All Stories to All Site Stories, to match web.
- Removed border from story content header.
2022-07-08 21:29:43 -07:00
David Sinclair
4cf9c5b022 #1695 (Premium Archive subscription) 2022-06-22 21:35:54 -06:00
David Sinclair
549c44ff52 Fixed #1700 (Add Tag context menu on already saved stories is too short) 2022-06-20 19:32:07 -06:00
David Sinclair
966e453213 Fixed #1682 (column setting doesn't stick) 2022-05-26 11:18:32 -06:00
David Sinclair
38cd7bea76 #1686 (scroll performance on story titles) 2022-05-25 11:38:13 -06:00
David Sinclair
9976de93d6 Fixed #1680 (notifications don't work) 2022-05-20 20:47:45 -06:00
David Sinclair
d7ba5b6cd8 #1680 (notifications don't work)
- Fixed bouncing back to feed detail after showing a story.
- Audited for unnecessary loading; no others found; let me know if you spot any.
2022-05-04 20:55:40 -06:00
David Sinclair
14a3d925e4 #1675 (fix iPad login/signup layout)
- Fixed dark fields.
- Fixed login controls not being centered.
- Fixed login view appearing then disapparing on iPad.
- Fixed crashes trying to load data while showing login view.
2022-05-03 21:47:17 -06:00
David Sinclair
a76429431f #1604 (preference for automatically opening folder)
- Added a new “When opening app” preference for what folder to show on launch.
- Implemented for both iPhone and iPad.
- Fixed loading default prefs.
- Removed the obsolete restore position preference.
- Enhanced the preferences views to support letting the app add custom values, to enable choosing any folder.
2022-04-22 19:23:40 -07:00
David Sinclair
d05a506b33 #1500 (load first story when opening feed)
- Fixed default behavior of “when opening a site” preference on iPad, so if the preference hasn’t been changed, shows the first story by default, matching the preference.
- Added support for this preference on iPhone, where it defaults to show the stories.
2022-04-21 20:33:11 -07:00
David Sinclair
babf157af3 State restoration experiments
- Fixed crash on iPhone.
- However, the state restoration mechanism doesn’t work with the split layout, since it has dynamic content.
- If state restoration is desired, we’ll need an alternative approach, more like when loading from a widget or notification.
- So discarded experimental code, and left disabled for now.
2022-04-20 21:26:19 -07:00
David Sinclair
8064896a81 #1672 (can't add a saved story tag when saving story) 2022-04-18 20:41:51 -07:00
David Sinclair
0f049d031a #1660 (don't fetch feeds when opening notifications)
- Fixed some issues with loading notifications.
2022-04-04 21:58:45 -07:00
David Sinclair
f796cec09a #1666 (toggling fullscreen loses story position)
- The story scroll position is now maintained (as best as possible) when toggling fullscreen.
2022-04-01 21:18:54 -07:00
David Sinclair
ec50da4ff9 #1659 (full screen button doesn't work when story titles on bottom)
- Fixed feeds list disappearing when selecting a feed.
- Fixed non-functional full-screen buttons in top and bottom layout.
- In top/bottom full-screen mode, a Sites button appears to show the sidebar (or can use edge swipe).
2022-04-01 17:54:01 -07:00
David Sinclair
07dc071a02 #1607 (widget is slow to reload)
- Hidden the Widget Site Stories smart folder.
- Changed the Widget Sites preferences to only allow selecting feeds for one folder, or all.
- The selected folder is displayed when tapping a feed in the widget.
- N.B. This is a temporary solution until each widget can have settings for what folder or feed to show.
2022-03-11 21:30:28 -07:00
David Sinclair
4b0f469af5 #1607 (widget is slow to reload)
- Tweaks for iPad.
2022-03-09 20:06:14 -07:00
David Sinclair
09ac81ecce #1607 (widget is slow to reload)
- Added a new smart folder for Widget Site Stories, above Read Stories towards the bottom.
- It lists stories from the feeds the widget displays.
- Loading a story from the widget uses this feed, so it’s much faster (doesn’t have to keep loading to find the story).
2022-03-09 19:16:43 -07:00
David Sinclair
a8fd135be8 #1630 (search long-press opens Infrequent Sites Stories)
- Fixed All Stories and Search commands.
2022-02-16 15:27:39 -08:00