Commit graph

37 commits

Author SHA1 Message Date
David Sinclair
1886384209 #1898 (Marking story as read/unread right after loading will mark different story)
- Added exta logic to check that a swipe starts and ends on the same row and story, and abandon it if not, to avoid doing the wrong thing.
- It appears that this was caused by reloading a row while loading images, so I also added logic to avoid reloading a row in the middle of a swipe.
2024-11-11 19:30:11 -07:00
David Sinclair
efc9f6bd46 #1247 (Mac Catalyst edition)
- Implemented a modern UIContextMenuInteraction for Feed Detail on Mac, since it handles right-click in a Mac way.
- Disabled the Feed Detail long press menu on Mac, since it’s redundant.
- Fixed some items in the contextual menu in Grid view.
2024-02-23 19:41:48 -05:00
David Sinclair
124b5babd8 #1247 (Mac Catalyst edition)
- Improved scrolling performance of Grid view; now avoids reloading while actively scrolling (might hit bottom of loaded cards more often, though).
- Added more diagnostics to check performance (also did Instruments profiling).
2024-02-09 16:55:28 -05:00
David Sinclair
ed9279e2a3 #1247 (Mac Catalyst edition)
- Added submenus to the View menu for Layout, Story Preview, Image Preview, Grid Columns, and Grid Height.
- Implemented the remaining menu items.
- Menus now update based on folder vs site.
- Menus now disable when not appropriate.
- Added some handy new stories collection properties.
2024-02-09 11:47:03 -05:00
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
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
a7ca7f0fa2 #1720 (Grid view)
- Improved glitches with iPad grid view.
- Fixed stories being marked as read while scrolling from a long story to a short story.
2023-08-29 16:33:12 -06:00
David Sinclair
41768bed14 #1720 (Grid view)
- Improving efficiency by auto-loading grid stories.
2023-08-29 13:38:45 -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
75e4fb7e85 #1720 (Grid view)
- Fixed list view stories incorrectly marked as read.
- Fixed grid view wrong dates in story header.
- Fixed grid view heading not matching story.
- Fixed grid view showing the wrong story.
- Fixed grid view duplicate stories.
- Tapping grid view story heading now scrolls to show that story’s card.
- Now always shows the Sites button in non-left layout, since the collapse fullscreen button doesn’t seem to work.
- Fixed crash with malformed story.
- Fixed loading feeds in different layouts.
- And some other tweaks.
2023-08-11 11:40:13 -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
8d7e20ea00 #1720 (Grid view)
- Fixed opening a story, advancing a few, and returnng to feed detail showing the correct story.
- Significantly improved the performance of scrolling and marking as read.
2023-07-04 21:25:35 -07:00
David Sinclair
a2341690b4 #1720 (Grid view)
- Fixed the grid view not changing with the theme.
- Fixed a gap at the top of the story view.
- Fixed a crash in some situations due to not loading the view.
- Fixed grid layout glitch returning to the grid view from the stories view.
- Swipe left on grid card to mark read; swipe right to mark unread.
- Added support for disabling mark read on scroll.
2023-06-15 21:53:00 -07:00
David Sinclair
11982ab78f #1720 (Grid view)
- Added the pulsating loading bar (styled to fit list and grid layouts).
- Added the end stories bottom indicator, including the premium message when appropriate.
2023-05-26 16:01:51 -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
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
9f7a0ffa81 #1720 (Grid view)
- Moving logic from collection view code to story cache.
- Commenting out collection view code; keeping for now in case any of it is needed.
- More investigating List to Grid switch issue.
2023-03-31 22:02:58 -07:00
David Sinclair
8e522075fa #1720 (Grid view)
- Implemented marking as read on scroll.
- Increased the font size of the feed title and date/author.
- The read state of stories is now indicated correctly, including dimming read stories.
- Selecting a story scrolls to it, with animation.
2023-03-21 21:54:21 -07:00
David Sinclair
5ffb60a404 #1720 (Grid view)
- Reduced reloads to improve performance.
2023-03-15 17:03:34 -07:00
David Sinclair
ab9e305e38 #1720 (Grid view)
- The story view on Grid layout now resizes to fit the content.
- The story view scrolls as part of the Grid.
- Selecting a story scrolls to it in Grid layout, most of the time.
2023-03-03 21:38:55 -07:00
David Sinclair
893c57d2aa #1720 (Grid view)
- Cards now include the feed bar, favicon, and name.
- Cards now include unread, saved, and shared indicators.
- Previews now support the none, left/right, and small/large options.
- Several layout tweaks.
- The Grid layout now supports the columns and length settings.
- The Grid layout now includes a bar above the story to close it.
- Tidied the code a bit.
2023-02-02 21:41:10 -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
8985bf85e4 #1720 (Grid view)
- Preview image aspect and size fixes.
- Handling no preview.
- Unread & shared indicators.
- Grid background tweaks.
- More layout changes.
2023-01-06 21:49:07 -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
db54735c3a #1720 (Grid view)
- Work in progress on view-based feed detail cell layout, which enables dynamically sizing cells without the ugly hacks used in the past, and will make it easier to support different layouts (like image on top).
2022-11-14 21:39:01 -06:00
David Sinclair
fa71dde865 #1720 (Grid view)
- Updating the story view, including sizing to fit.
- Hiding the loading notifier.
- Implemented the grid cell heights.
2022-10-27 20:53:47 -06:00
David Sinclair
27d86b46bb #1720 (Grid view)
- Settings menu in grid view.
- Properly changing layouts.
2022-10-27 15:19:31 -06:00
David Sinclair
38cca00984 #1720 (Grid view)
- Selection improvements.
2022-10-26 20:50:07 -06:00
David Sinclair
572400cd11 #1720 (Grid view)
- More work in progress.
2022-10-08 14:54:49 -06:00
David Sinclair
eca9fd3f6f #1720 (Grid view)
- Work in progress.
2022-09-03 21:24:36 -06:00
David Sinclair
45044060af #1720 (Grid view)
- Work in progress.
2022-09-03 19:55:21 -06:00
David Sinclair
a54b423aa1 #1720 (Grid view)
- Work in progress.
2022-09-02 20:39:00 -06:00
David Sinclair
5fe73d431b #817 (three column layout)
- Fixing warnings.
- Adding Swift subclasses of ObjC ones.
2020-08-27 21:26:12 -07:00