Commit graph

16 commits

Author SHA1 Message Date
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
43ff718cd6 #1803 (add interactively swipe right anywhere on the screen to return to the feed list)
- Added third-party code to support a “lazy pop”.
- Fixed some issues with that code.
2023-07-21 11:50:47 -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
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
8db0197150 #1720 (Grid view)
- Fixed tap on empty part of the cards.
- Fixed swipe interfering with tapping on cards.
- Cleaned up the SwiftUI code.
2023-03-31 20:13:46 -07:00
David Sinclair
20e8f308aa #1720 (Grid view)
- Added support for swiping rows to save/unsave and mark read/unread.
- Using Swift Package Manager modules.
- (I tried several third-party implementations to try to find one that works; some commented out code residue, will be cleaned up later.)
2023-03-31 16:49:22 -07:00
David Sinclair
f703d58b94 #1720 (Grid view)
- Added support for the Grid layout on iPhone, with one or two columns. Works fairly well.
- Bumped up the feed title & date/author font size again.
- Now markes as read on scroll when the card is scrolled halfway off the top.
2023-03-30 10:36:31 -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
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
aa88601905 #1720 (Grid view)
- Implemented theme colors.
- Implemented the content length options.
- Implemented the font size options.
- Implemented the compact / comfortable options.
- Improved the logic for the rounded corners on cards.
2023-03-02 15:31:21 -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