Commit Graph

233 Commits

Author SHA1 Message Date
Maurice Parker
add33e59da Clean up the code a little bit 2022-09-27 18:56:14 -05:00
Maurice Parker
545e810b9b Remove unnecessary code 2022-09-27 18:51:08 -05:00
Maurice Parker
c4186f4597 Remove article extractor execution when trying to set Always Use Reader View 2022-09-27 17:51:41 -05:00
Maurice Parker
e003069631 Remove unnecessary os version availability tests 2022-09-23 07:52:23 -05:00
Maurice Parker
c4623473ed Fix typo that would cause the current theme to be set to default when cold launching 2022-09-17 13:26:59 -05:00
Stuart Breckenridge
115fa702ca rebuild menu after toggle 2022-03-03 09:01:51 +08:00
Stuart Breckenridge
fc323c4072 Adds long press menu to article extractor button 2022-03-03 08:51:17 +08:00
Stuart Breckenridge
e2242a7928 Appearance menu changes:
- On iPad—theme selector only, with theme selector image.
- On iPhone—theme selector and full size toggle; Aa is the image used.

Reader view and notifications options have been removed.
2022-03-03 08:33:53 +08:00
Stuart Breckenridge
cca1929837 Changes when appearance menu is configured
Fixes #3483
2022-03-03 08:04:59 +08:00
Stuart Breckenridge
630972033b Aa as More Menu
More now includes feed inspector's actions to manage notifications and reader view.

Subtitles removed.

First time full screen view shows, an alert is displayed to explain how to exit full screen.
2022-02-14 07:43:51 +08:00
Maurice Parker
bfd091e967 Merge pull request #3464 from stuartbreckenridge/ios-ui
Adds separator to theme changer in article view
2022-02-13 09:13:11 -08:00
Stuart Breckenridge
a4de250022 Adds separator to theme changer in article view 2022-02-13 17:46:50 +08:00
Stuart Breckenridge
6af46d9ef2 iPad Unread Indicator 2022-02-13 09:33:04 +08:00
Stuart Breckenridge
3fd92fd63e suppress unread count on iPad 2022-02-13 08:08:51 +08:00
Stuart Breckenridge
6eb18ce183 Article unread count updated via scenecoordinator 2022-02-13 08:06:10 +08:00
Stuart Breckenridge
a72e0f047f Adds unread count indicator to Article view
Fixes #3134
2022-02-12 11:35:13 +08:00
Stuart Breckenridge
0e178b574f Rebuilds menu when themes are installed 2022-02-10 22:34:04 +08:00
Stuart Breckenridge
08618f5f15 Articles
This commit focuses on the `ArticleViewController`:

- Adds an "Aa" menu to the article view that allows for theme changes and full screen article toggling on iPhone, and theme changes on iPad.
- Removes separate Settings option for full screen availability on iPhone.
- Removes tap target in nav bar to enable full screen mode.
2022-02-10 12:13:06 +08:00
Maurice Parker
dcd7fca06e Merge pull request #3431 from stuartbreckenridge/ios-ui-navbartoolbar
Makes nav/toolbar behaviour consistent for Feeds, Timeline, and Article
2022-02-07 12:56:38 -08:00
Stuart Breckenridge
90b41995eb moves nav bar config to SceneCoordinator 2022-02-05 10:47:26 +08:00
Dimitris Apostolou
99120c0c80 Fix typo 2022-02-03 00:01:22 +02:00
Stuart Breckenridge
7249451c99 Fixes Article nav/tool bar behaviour
Now consistent with Feed and Timeline
2022-01-29 13:52:57 +08:00
Maurice Parker
ba4c17c0d7 Restore full screen if that is what we used last 2022-01-28 16:15:14 -08:00
Maurice Parker
2a3bccd7d4 Delete dead code 2022-01-28 16:12:01 -08:00
Maurice Parker
e81966c884 Remove obsolete function flag 2022-01-28 16:07:57 -08:00
Maurice Parker
31f5e5632a Fix how we identify collapsed stack removal for the new 3 panel mode 2022-01-27 15:26:40 -08:00
Maurice Parker
5424050171 Change to new iOS 3 panel UISplitViewController 2022-01-26 15:40:47 -08:00
Stuart Breckenridge
90fed800cb Adds WKWebViewConfiguration to PreloadedWebView 2022-01-21 12:52:48 +08:00
Dimitris Apostolou
94ae4d348c Fix typos 2022-01-05 00:25:20 +02:00
Brian Sanders
a731397486 Fixes #2369: Video playback is reset on rotation
The viewWillTransition(to:with:) method in WebViewController was introduced to
fix #3041, so I added an alternative solution using a resize handler in JS.
2021-12-04 18:43:53 -05:00
Maurice Parker
f44308c0c5 Make state restoration work on both the iPad and the iPhone 2021-09-13 02:22:15 -05:00
Maurice Parker
5001d82355 Restore article scroll position on iOS 2021-09-13 01:11:23 -05:00
Maurice Parker
7646029f2e Reload the web view when the Theme changes 2021-09-12 15:44:24 -05:00
Maurice Parker
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
56bbfe713b Fix regression that prevented universal links from working 2021-09-01 14:13:04 -05:00
Stuart Breckenridge
178e737040 Converts to a browser preference to a Bool. 2021-08-26 10:27:23 +08:00
Stuart Breckenridge
3bc18e2891 Reduces Browsers to in-app and system default 2021-08-25 15:05:18 +08:00
Stuart Breckenridge
08a1120e00 Adds app default option
Adds app defaults option for controlling link opening preferences.

Adds browser logic and images.

Browser Manager Updates

- Handles deletion of current browser
- Fixes detection of installed browsers by moving URL Types to LSApplicationQuery
- Updates icons to glyphs
- Context menus update

tidy up

- removes browser specific options and offers in-app or default browser options (can be enabled via a bool)
- adds 1Password as an option
- removes custom wording on context menus

Fixes

- makes sure browser options are available on iPad
- uses VibrantCell
- Changes Settings title to "Open Links In"
2021-08-23 23:01:48 +08:00
Maurice Parker
b3773ad01b Implement the WKUIDelegate method that is reached when JavaScript in a web view invokes window.open(). This ensures that attempts to open links from code, such as from the YouTube embedded video player, work as expected. Fixes #3088. 2021-07-29 16:48:42 -05:00
Maurice Parker
f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05:00
Maurice Parker
7e820c58e5 Reload the webview when rotating the device on an iPhone. Fixes #3041 2021-05-04 21:44:55 -05:00
Duncan Babbage
9092d075a0 Handle links with unencoded spaces. Fixes #3069 2021-04-28 22:49:32 +12:00
Stuart Breckenridge
0a433b8573 Disables reader view in iOS for Feed Providers 2021-04-10 09:03:08 +08:00
Maurice Parker
cc6449ed2a Merge branch 'ios-candidate' into main 2021-04-03 11:10:04 -05:00
Maurice Parker
0d5de9c325 Renamed Open in Safari activity to Open in Browser 2021-04-03 09:06:51 -05:00
Stuart Breckenridge
1e578828e9 : class chnaged to : AnyObject for protocols 2021-02-06 07:06:45 +08:00
Stuart Breckenridge
f85c1234a5 Adds to the URL-Extensions file 2021-01-09 06:09:50 +08:00
Stuart Breckenridge
ea77504f3a percent encodes email addresses 2021-01-09 05:56:13 +08:00
Stuart Breckenridge
c59e3e4ddf Emails
Acquiesce to the user’s request for a different default mail app.
2021-01-08 12:15:16 +08:00
Maurice Parker
71cdf2548d Don't use the commands from the KeyboardManager if the user is typing in a text field. Fixes #2437 2020-11-20 13:00:58 -06:00