Commit graph

377 commits

Author SHA1 Message Date
Satindar Dhillon
1aaab4d337 use onAppear to set selectedEnvironment in debug menu 2022-02-28 12:18:19 -08:00
Satindar Dhillon
76c56dcdad
Merge pull request #155 from omnivore-app/feature/ipad-layout
iPad Layout - Drop to two panes
2022-02-28 12:11:08 -08:00
Satindar Dhillon
c24264ff27 Split root view and rootviewmodel into separate files 2022-02-28 12:07:35 -08:00
Satindar Dhillon
40153855df configure configurePDFProvider onAppear of RootView 2022-02-28 12:00:08 -08:00
Satindar Dhillon
cba037336c don't initialize root view model in root view init 2022-02-28 11:54:52 -08:00
Jackson Harper
1c0f59c9db
Merge pull request #154 from omnivore-app/add-importer-blurb
Add a link in readme to David Öhlin's importer
2022-02-28 10:23:24 -08:00
Satindar Dhillon
2040f8efe2 move home feed components into separate files 2022-02-28 10:21:44 -08:00
Satindar Dhillon
714e7bb184 use home feed child components in ios views 2022-02-28 10:05:46 -08:00
Jackson Harper
88a198024d Add extra space so code block is rendered correctly 2022-02-28 10:03:38 -08:00
Jackson Harper
800ea460fe Fix typo 2022-02-28 09:59:12 -08:00
Jackson Harper
31f590211a Add a link in readme to David Öhlin's importer 2022-02-28 09:58:09 -08:00
Satindar Dhillon
00fcd99466 destructure home feed components into platform specific parent components 2022-02-28 08:53:58 -08:00
Hongbo Wu
7bf454ae91
use dataloader to fetch all labels of a list of linkIds in a single q… (#133)
* use dataloader to fetch all labels of a list of linkIds in a single query and cached

* add labels in GQL query in frontend
2022-02-28 12:13:26 +08:00
Satindar Dhillon
bedd5d8784 add detail column for mac app only 2022-02-26 20:29:53 -08:00
Satindar Dhillon
c27eafebde add navigation title back 2022-02-26 20:18:59 -08:00
Satindar Dhillon
4e12191893 drop from three panels to two on ipad/mac nav 2022-02-26 20:01:38 -08:00
Satindar Dhillon
64ceca0e63
Merge pull request #140 from omnivore-app/fix/swiftui-state-objects
Use @StateObject when appropriate
2022-02-26 19:43:42 -08:00
Jackson Harper
a39fea9aa5
Merge pull request #149 from omnivore-app/fix/codeblock-order
Apply code block highlighting before running DOM clean
2022-02-26 19:13:24 -08:00
Jackson Harper
328ebc48cb Apply code block highlighting before running DOM clean 2022-02-26 19:04:32 -08:00
Jackson Harper
19471ca891
Merge pull request #147 from omnivore-app/fix/highlight-dev-import
Import highlightjs types
2022-02-26 17:44:51 -08:00
Jackson Harper
e0b8cfc938 Import highlightjs types
We still need these dev packages because of the way our docker
builds are setup.
2022-02-26 17:37:01 -08:00
Jackson Harper
da767bd55a
Merge pull request #143 from omnivore-app/feature/code-highlighting
Add code highlighting using highlight.js
2022-02-26 17:29:58 -08:00
Jackson Harper
fd39923907 Prettier improvements 2022-02-26 16:38:43 -08:00
Jackson Harper
b5f68cf5c9 Add async on the highlightjs script import 2022-02-26 16:31:40 -08:00
Jackson Harper
61f182f730
Merge pull request #144 from omnivore-app/fix/code-inline-block
Use inline-block for code so it scrolls on smaller devices
2022-02-26 16:28:40 -08:00
Jackson Harper
ae22c0b026 Use inline-block for code so it scrolls on smaller devices 2022-02-26 16:17:27 -08:00
Jackson Harper
84fbc9cd27 Add code highlighting using highlight.js 2022-02-26 14:57:59 -08:00
Jackson Harper
766bc285cf
Merge pull request #142 from omnivore-app/fix/code-borders
Add a border radius to code blocks
2022-02-26 14:08:22 -08:00
Jackson Harper
de9b4bec7b Add a border radius to code blocks 2022-02-26 14:04:23 -08:00
Jackson Harper
892c2d18b6
Merge pull request #141 from omnivore-app/fix/codeblock-margins
Remove block formatting on code
2022-02-26 13:45:28 -08:00
Jackson Harper
07066a0619 Remove block formatting on code
This fixes line breaks being added on inline code elements for
example lines like:

call the <code>sprintf</code> function
2022-02-26 13:27:05 -08:00
Satindar Dhillon
1073c63476 use @StateObject when the view owns the observable object 2022-02-26 10:54:05 -08:00
Satindar Dhillon
de07e9ad92
Merge pull request #138 from omnivore-app/feature/emails-ui
Newsletter Email for mac/iOS
2022-02-25 19:52:17 -08:00
Satindar Dhillon
ce5123e2d7 create helper function on Snackbar to show it 2022-02-25 19:39:12 -08:00
Satindar Dhillon
629c378244 use NSPasteboard for macos copying 2022-02-25 19:23:29 -08:00
Jackson Harper
0a9b9f1387 Add a snackbar message when an email address is copied 2022-02-25 15:00:43 -08:00
Jackson Harper
2e161b677d
Merge pull request #139 from omnivore-app/fix/404-errors
Improve design for the error pages
2022-02-25 14:12:45 -08:00
Jackson Harper
5a285a4c7e Improve design for the error pages 2022-02-25 13:50:59 -08:00
Satindar Dhillon
a5f6eae574 create an email when user taps crete email button 2022-02-25 13:38:00 -08:00
Satindar Dhillon
f6ac43373e add createNewsletterEmailPublisher 2022-02-25 13:26:41 -08:00
Satindar Dhillon
5f0297f237 copy text to pasteboard when tapping email button 2022-02-25 13:13:51 -08:00
Satindar Dhillon
666da89c98 fetch email list when loading email view 2022-02-25 13:10:59 -08:00
Satindar Dhillon
a8ca27993f update newsletter swift query 2022-02-25 12:40:54 -08:00
Satindar Dhillon
0f55e1ec14 create newsletter email publisher for apple apps 2022-02-25 11:00:18 -08:00
Satindar Dhillon
e27c2bdd8b generate swift gql code 2022-02-25 10:09:17 -08:00
Satindar Dhillon
bf4e91ad52 create omnivore email relay ui for apple apps 2022-02-25 09:57:00 -08:00
Jackson Harper
824e3a6f11
Merge pull request #132 from omnivore-app/fix/create-trigger-syntax
Remove the OR REPLACE when creating the article trigger
2022-02-24 22:45:00 -08:00
Jackson Harper
cf9e470f74 Create trigger with a new name 2022-02-24 22:38:34 -08:00
Jackson Harper
ae467d44f9 Syntax 2022-02-24 22:31:34 -08:00
Jackson Harper
e8ac5ed0c1 Remove the OR REPLACE when creating the article trigger 2022-02-24 22:28:00 -08:00