Commit graph

364 commits

Author SHA1 Message Date
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
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
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
Satindar Dhillon
7babb90d7a use action enum for profile view 2022-02-24 22:22:04 -08:00
Jackson Harper
2939ebef52
Merge pull request #126 from omnivore-app/search-on-domain
Add the link domain to the search index
2022-02-24 22:14:29 -08:00
Jackson Harper
3926cefc1f Add comment to search index query 2022-02-24 22:07:26 -08:00
Jackson Harper
df3a0e1640 Add the link domain to the search index
This adds the domain of the saved link to the search index in
two formats, the full domain like www.omnivore.app and just
the secondary domain like `omnivore`.

This also adds some ranking to search, making title, description,
and domain more highly ranked than the content but search results
wont change as we still order by saved_at.
2022-02-24 22:07:26 -08:00
Satindar Dhillon
8538a48b37 create profile child view 2022-02-24 21:51:20 -08:00
Jackson Harper
01d96c98db
Merge pull request #131 from omnivore-app/add-contributing-doc
Add a contributing file
2022-02-24 21:43:49 -08:00
Jackson Harper
ba8860bb70 Add link to license file, make more terse 2022-02-24 21:37:17 -08:00
Jackson Harper
960a6438ca Add a contributing file 2022-02-24 21:32:10 -08:00
Satindar Dhillon
c085467249
Merge pull request #129 from omnivore-app/fix/snackbar-position
Remove snackbar offset
2022-02-24 21:11:18 -08:00
Satindar Dhillon
b7b994e599 set snackbar y offset to 8 2022-02-24 21:09:15 -08:00
Jackson Harper
f6951f468e
Merge pull request #128 from omnivore-app/fix/rm-labels-from-get-article
Remove the labels query from GetArticle
2022-02-24 21:04:17 -08:00
Satindar Dhillon
e01aed15e8 remove snackbar offset 2022-02-24 20:58:48 -08:00
Jackson Harper
42511a5439 Remove the labels query from GetArticle 2022-02-24 20:54:22 -08:00