Commit graph

2850 commits

Author SHA1 Message Date
David Sinclair
a20271b58e Merge branch 'master' of https://github.com/samuelclay/NewsBlur into development 2019-06-21 20:13:54 -07:00
David Sinclair
bb4c258b71 iOS: #1201 (show hidden stories)
- Implemented the feature, showing or hiding hidden stories, only offering it if there are some.
- I used the “all” icon in the menu as a placeholder; please provide one you’d prefer.
- Since the crusty old menu mechanism doesn’t handle dynamic items well, I took this opportunity to migrate the feed detail menu to the block-based MenuViewController mechanism, resulting in significant code reduction.
- Enhanced MenuViewController to support the theme controls etc, so other menus can be more easily migrated next time they need to be updated.
2019-06-21 20:09:09 -07:00
Samuel Clay
0d1f475880 iOS v9.0. 2019-06-20 16:32:05 -07:00
David Sinclair
96095f4062 iOS: #1203 (show story changes)
Added icon.
2019-06-20 13:37:20 -07:00
David Sinclair
7d2b1dd5d2 iOS: #1203 (show story changes)
When there are changes, the “Show Changes” button appears before the date, like on the web. Tapping loads and displays the changes, and the button changes to “Hide Changes”, which works without loading. The insertion and deletion highlights support style-appropriate colors.
2019-06-19 20:45:30 -07:00
David Sinclair
bb30c5cba6 iOS: #1202 (copy activity URL duplication) 2019-06-17 20:55:19 -07:00
Samuel Clay
df9feb0e63 Android v9.0.1. 2019-06-10 15:22:49 -04:00
Samuel Clay
267b3e115b Merge branch 'dejal'
* dejal:
  iOS: #1183 (scroll performance in feed list)
  iOS: #1186 (full screen controls hide with traversal)
  iOS: #1157 (interactive back gesture)
  iOS: #1157 (interactive back gesture)
  iOS #1160 (state restoration)
  iOS #1156 (story titles height)
  iOS: #1157 (interactive back gesture)
  iOS: #1157 (interactive back gesture)
  iOS: #1186 (full screen controls hide with traversal)
  Updated project settings; fixed warning
  iOS: #1138 (Siri Shortcuts)
  iOS: #1157 (interactive back gesture)
  iOS: #1160 (state restoration)
  iOS: #1156 (story titles height)
  iOS: #1182 (full screen tweaks)
  iOS: #1177 (iPad display issues in split view)
  iOS: #1160 (state restoration)
  Fixed iOS: #1175 (duplcated sentences in content previews)
2019-06-07 14:53:25 -04:00
Samuel Clay
5ae59ab003
Merge pull request #1196 from caleb-allen/version-upgrade
Add Android 8.0 notification requirements
2019-06-05 15:06:24 -04:00
Caleb Allen
c39c51698c use compatibility notification library 2019-06-04 16:40:06 -06:00
Caleb Allen
658f93730e don't check in logging constant 2019-06-04 15:53:10 -06:00
Caleb Allen
95faea3ee8 android: create notification channel for API 26+ 2019-06-04 15:49:25 -06:00
David Sinclair
a538af47a4 iOS: #1183 (scroll performance in feed list)
- Now doesn’t use estimated row heights, since that seemed to cause the jitter.
- Increased efficiency by caching row heights.
- The cached row heights are reset when reloading the table etc.
2019-05-31 20:32:08 -07:00
David Sinclair
2e9e4d8c4f iOS: #1182 (full screen tweaks)
- Fixed offset short stories.
- Moved autoscroll controls closer to bottom on iPhone or compact.
- Moved autoscroll controls between traversal buttons on regular iPad.
2019-05-31 11:12:17 -04:00
David Sinclair
4e634a1146 iOS: #1177 (iPad display issues in split view)
Was setting to a fixed width.
2019-05-31 11:12:17 -04:00
Samuel Clay
6b68a6f0ce Android v9.0. 2019-05-29 22:49:46 -04:00
David Sinclair
2c11901d67 iOS: #1186 (full screen controls hide with traversal)
Fixed nav bar appearing and disappearing when scrolling on older iPhones.
2019-05-29 15:11:52 -07:00
David Sinclair
7d79486ce2 Merge branch 'master' into dejal 2019-05-29 14:42:09 -07:00
David Sinclair
cf137dba25 Merge branch 'master' into dejal 2019-05-28 19:42:55 -07:00
David Sinclair
fd40e9061b iOS: #1157 (interactive back gesture)
Back gesture now works in full-screen too.
2019-05-28 19:40:15 -07:00
Caleb Allen
d349b55084 add primary color resource to main theme
this is to allow the holo theme to read the color value for places
where our themes do not touch, like menu text
2019-05-28 18:42:47 -06:00
Samuel Clay
f5767788a2 Android v9.0b2. 2019-05-28 19:08:36 -04:00
Caleb Allen
c40bf64362 ignore Chromium's dark mode settings, including html tag 2019-05-28 15:37:11 -06:00
David Sinclair
83e9a956c3 iOS: #1157 (interactive back gesture)
Improved it so interactive back gesture works when the navigation bar is shown, or when scrolling between stories vertically. As you originally pointed out, scrolling between stories horizontally conflicts with the back gesture.

It is using the system gesture, so I can’t change the gesture behavior.
2019-05-17 20:36:55 -07:00
Samuel Clay
c2071d14bf Merge branch 'master' into dejal
* master:
  upgrade api version
2019-05-17 09:35:50 -04:00
Samuel Clay
7125f46a58
Merge pull request #1188 from caleb-allen/version-upgrade
upgrade api version
2019-05-17 09:33:04 -04:00
David Sinclair
415abc883a iOS #1160 (state restoration)
If the story isn’t available, now pops to the feed detail.
2019-05-16 20:39:18 -07:00
David Sinclair
aade97e73d iOS #1156 (story titles height)
Allowed a bit more space between the title and content.
2019-05-16 19:56:39 -07:00
David Sinclair
618c8753cb iOS: #1157 (interactive back gesture)
Tweaked to avoid getting stuck if the edge swipe is cancelled.
2019-05-16 19:43:09 -07:00
David Sinclair
f5e189d82c iOS: #1157 (interactive back gesture)
Now restores the standard edge swipe gesture delegate when going back to the feed detail.
2019-05-16 19:31:24 -07:00
David Sinclair
7cde63bdd1 iOS: #1186 (full screen controls hide with traversal)
The autoscroll controls will now hide with the traversal when scrolling. They still appear on tap, or when going to a new story, to make it easy to re-enable scrolling. Of course, they never appear if set to manual scrolling.
2019-05-16 13:58:03 -07:00
Caleb Allen
9623132214 upgrade api version 2019-05-16 14:50:11 -06:00
David Sinclair
2cbd12f2dc Updated project settings; fixed warning 2019-05-16 12:49:11 -07:00
David Sinclair
6ea866390d Merge branch 'master' of https://github.com/samuelclay/NewsBlur into dejal 2019-05-16 12:24:43 -07:00
Samuel Clay
43b27be071
Merge pull request #1185 from caleb-allen/black-background-hotfix
ignore Chromium's dark mode settings
2019-05-09 21:48:19 -04:00
Caleb Allen
096941b8d0 ignore Chromium's dark mode settings 2019-05-06 17:06:09 -06:00
David Sinclair
6317d60da3 iOS: #1138 (Siri Shortcuts)
Basic support for Siri Shortcuts; more to come. See the following comment on the issue for more info.
2019-04-24 20:32:04 -07:00
David Sinclair
fc96af7e2b iOS: #1157 (interactive back gesture) 2019-04-24 13:02:04 -07:00
David Sinclair
8f54c44f82 iOS: #1160 (state restoration)
- iPad support for state restoration.
2019-04-18 20:38:14 -07:00
David Sinclair
7b2bdb6e54 iOS: #1156 (story titles height)
- Now determines the number of rows from the available space, to ensure the text never overlaps.
2019-04-17 13:54:55 -07:00
David Sinclair
65465ff31b iOS: #1182 (full screen tweaks)
- Fixed offset short stories.
- Moved autoscroll controls closer to bottom on iPhone or compact.
- Moved autoscroll controls between traversal buttons on regular iPad.
2019-04-16 20:24:42 -07:00
David Sinclair
76092f2413 iOS: #1177 (iPad display issues in split view)
Was setting to a fixed width.
2019-04-15 21:00:14 -07:00
David Sinclair
ed8d3c76e6 iOS: #1160 (state restoration)
- Added a "Restore position" preference in the "Reading Stories" group, with options to restore the previous state on launch always, within a specified interval, or never.
- When within the indicated interval, the app restores the feeds, feed detail, and story selections and scrolling positions.
- The active story is marked unread to ensure it remains available for restoring, and re-marked read when resumed.
- NOTE: only supported on iPhone for now.  I’ll add iPad support later.
2019-03-27 12:47:15 -04:00
David Sinclair
f10a002d46 Fixed iOS: #1175 (duplcated sentences in content previews)
Sorry, a bug in the optimized HTML converter that affected some content.
2019-03-27 12:47:15 -04:00
David Sinclair
71194bfd2f iOS: #1160 (state restoration)
- Added a "Restore position" preference in the "Reading Stories" group, with options to restore the previous state on launch always, within a specified interval, or never.
- When within the indicated interval, the app restores the feeds, feed detail, and story selections and scrolling positions.
- The active story is marked unread to ensure it remains available for restoring, and re-marked read when resumed.
- NOTE: only supported on iPhone for now.  I’ll add iPad support later.
2019-03-22 20:55:22 -07:00
David Sinclair
176aa0769a Fixed iOS: #1175 (duplcated sentences in content previews)
Sorry, a bug in the optimized HTML converter that affected some content.
2019-03-19 20:08:59 -07:00
David Sinclair
3aecee118c iOS: tweaked #1156 (story height)
- Fixed overlap when the title is long and the content is short.
2019-03-04 20:30:11 -08:00
David Sinclair
9ffb727d70 iOS: tweaked #1137 (full screen)
- Pinch in gesture in a story to force the nav bar to show when hidden for full screen or autoscroll.
- Pinch out gesture to hide it if appropriate.
- Form sheet Safari presentation now only on iPad.
- Responsive swipe is covered by another issue.
2019-03-04 20:07:42 -08:00
David Sinclair
899451a9e4 NewsBlur iOS: tweaked #1171 (autoscroll)
Fixed scrolling next to autoscroll buttons.
2019-03-04 19:21:52 -08:00
David Sinclair
992e836529 iOS: #1171 (autoscroll)
I really like this feature!

- Added a segmented control to the story detail menu (in the previous commit).
- When autoscroll is on, the story scrolls automatically.
- Tapping the story when autoscroll is on now shows a small overlay with buttons to turn off autoscroll, pause/resume scrolling, go slower, or go faster.
- The overlay auto-hides after a moment.
- Uses full-screen, even if not separately enabled.
- The user can still manually scroll, and it keeps autoscrolling from there.
- It stops autoscrolling when reaches the bottom.
- When going to another story, the autoscroll overlay briefly appears (if enabled), so the user can resume autoscroling, but it doesn’t resume automatically.
2019-02-28 15:29:31 -08:00