Commit graph

103 commits

Author SHA1 Message Date
Jackson Harper
99ec93449b Use a Radix dialog instead of dropdown, add OpenDyslexic font, prefetch fonts
The main change here is using Dialog instead of dropdown. The
dialog uses a fixed position, so when the underlying document
dimensions change based on a font change, the dialog will still
be positioned properly.
2022-06-21 15:38:05 -07:00
Jackson Harper
eb8cb3854c Do all scroll watching on the main window
This moves all scrolling from child divs to the main window. This
improves our keyboard handling, as focus will be given to the
body element, not the child div when navigating by keyboard
commands, so arrow keys and space bar will work after navigating
to the reader with the keyboard commands.
2022-06-17 15:59:51 -07:00
gitstart-omnivore
b7ecff195e Added font selector 2022-06-15 15:43:10 +00:00
Jackson Harper
a99303a261 Pass in updatePageInput so we can have null values 2022-06-09 15:50:59 -07:00
gitstart-omnivore
cec6dc5197 Rebase 2022-06-09 13:32:32 -07:00
Jackson Harper
f628f08d9b
Merge pull request #772 from omnivore-app/OMN-749
[Omn-749] - Connect to SendInstallInstructions API on onboarding/02 page
2022-06-09 13:22:59 -07:00
Jackson Harper
edadb9aafa
Merge pull request #710 from omnivore-app/OMN-657
[OMN-657]: Archive button should change to unarchive on web if an article has already been archived
2022-06-09 12:45:53 -07:00
gitstart-omnivore
2cc5756dc3 Connected sendInstallInstructions API 2022-06-07 09:48:47 +00:00
gitstart-omnivore
2f1ac68a74
Merge branch 'main' into OMN-700 2022-06-07 14:33:49 +05:30
Jackson Harper
5223d28f6d
Merge pull request #753 from omnivore-app/fix/update-search-cache
Update SWR cache function to check search results
2022-06-06 20:18:51 -07:00
Hongbo Wu
3e3f2d1102
Merge pull request #763 from omnivore-app/feature/api-key-ui
API key UI
2022-06-07 10:01:45 +08:00
Jackson Harper
6e1c5509e2 Remove the readAt attribute on web 2022-06-06 15:36:40 -07:00
Jackson Harper
ce5b949971 Remove readAt 2022-06-06 14:16:02 -07:00
gitstart-omnivore
a8531b7ced
Merge branch 'main' into OMN-700 2022-06-07 01:01:59 +05:30
Hongbo Wu
aada005e50 Add revoke api key mutation in Web 2022-06-06 12:53:25 +08:00
Hongbo Wu
af4a2ed3be Add generateApiKey mutation in Web 2022-06-06 11:46:00 +08:00
Hongbo Wu
d27f79c250 Add get api keys UI 2022-06-06 11:41:58 +08:00
Hongbo Wu
c5e6bb1534 Update sort by readAt query on Web 2022-06-05 20:00:38 +08:00
Jackson Harper
38584446f7 Update SWR cache function to check search results
Since switching from the articles API to the search API we
haven't been correctly removing items from the cache when
archived/unarchived.
2022-06-03 14:54:57 -07:00
Jackson Harper
7607b828a0
Merge pull request #722 from omnivore-app/OMN-696
[OMN-696]: Subscribe to checked newsletters during onboarding
2022-06-03 13:41:09 -07:00
gitstart-omnivore
aa2035e3b8 Made minor changes 2022-06-02 08:46:16 +00:00
gitstart-omnivore
742347d898 Fixed archive button not changing to unarchive. 2022-06-02 08:44:58 +00:00
Hongbo Wu
c18b41f184 Set default enabled=false 2022-06-02 12:46:31 +08:00
Hongbo Wu
29797829b4 Add enabled input field in form 2022-06-02 12:32:13 +08:00
Hongbo Wu
1b024214fe Add get webhook query in web 2022-06-02 11:02:57 +08:00
gitstart-omnivore
313c4db094 Added unsubscribe menu option 2022-06-01 20:17:34 +00:00
Hongbo Wu
c83f9290e6 Add setWebhook mutation 2022-06-01 21:08:13 +08:00
Hongbo Wu
545d944ffd Add get webhooks query 2022-06-01 18:43:43 +08:00
Jackson Harper
a20ba60053 Add popular reads for onboarding 2022-05-24 15:31:55 -07:00
Jackson Harper
2a5aaaecd1 Better handling of 404 errors
Next will route these to /[username]/[slug] if there is a 404
with a subfolder.
2022-05-12 10:45:30 -07:00
Hongbo Wu
2aadd6d200 Add siteName in search result web 2022-05-12 10:31:14 +08:00
Jackson Harper
4c7dce330c
Merge pull request #537 from omnivore-app/OMN-434
[OMN-434]: cypress tests for saving links
2022-05-10 12:03:00 -07:00
Hongbo Wu
f47e2754c2 Add state in search result graphql 2022-05-05 09:54:52 +08:00
Jackson Harper
8a7389712b Pull scroll to highlight changes into this branch 2022-05-03 15:00:49 -07:00
Jackson Harper
5ea67a0bea Pull in new highlight cards 2022-05-03 12:09:32 -07:00
Jackson Harper
bbb812f196 Rebase 2022-05-03 11:08:02 -07:00
Hongbo Wu
6061f2927b update web to call new search endpoint for pages 2022-05-03 11:02:41 -07:00
gitstart-omnivore
57e6bcac8e Added cypress tests for saving links 2022-05-03 17:46:52 +00:00
Hongbo Wu
c089b74af9
Revert changes (#513)
* Revert "Remove includePending"

This reverts commit d9c58a6ee2.

* Revert "Remove state"

This reverts commit e2b6cadfda.

* Revert "Remove slug in articleSavingRequest"

This reverts commit 4502bece36.
2022-04-29 14:26:00 +08:00
Hongbo Wu
4502bece36 Remove slug in articleSavingRequest 2022-04-29 13:59:47 +08:00
Jackson Harper
e2b6cadfda Remove state 2022-04-28 22:57:12 -07:00
Jackson Harper
d9c58a6ee2 Remove includePending 2022-04-28 22:47:13 -07:00
Hongbo Wu
2b70d480d2
Remove article saving request (#493)
* Add state and taskName in elastic page mappings

* Add state and taskName in elastic page interface

* Create page with PROCESSING state before scrapping

* Update createArticleRequest API

* Fix tests

* Add default state for pages

* Update createArticle API

* Update save page

* Update save file

* Update saving item description

* Show unable to parse content for failed page

* Fix date parsing

* Search for not failed pages

* Fix tests

* Add test for saveUrl

* Update get article saving request api

* Update get article test

* Add test for articleSavingRequest API

* Add test for failure

* Return new page id if clientRequestId empty

* Update clientRequestId in savePage

* Update clientRequestId in saveFile

* Replace article with slug in articleSavingRequest

* Add slug in articleSavingRequest response

* Depreciate article

* Use slug in web

* Remove article and highlight fragments

* Query article.slug on Prod

* Show unable to parse description for failed page

* Fix a bug having duplicate pages when saving the same url multiple times

* Add state in response

* Rename variables in removeArticle API

* Rename state

* Add state in response in web

* Make state an enum

* Open temporary page by link id

* Use an empty reader view as the background for loading pages

* Progressively load the article page as content is loaded

* Add includePending flag in getArticles API

* Set includePending = true in web

* Add elastic update mappings in migration script

* Add elastic mappings in docker image

* Move index_settings.json to migrate package

* Remove elastic index creation in api

* Move elastic migrations to a separate directory

* Remove index_settings from api docker image

Co-authored-by: Jackson Harper <jacksonh@gmail.com>
2022-04-29 13:41:06 +08:00
Hongbo Wu
bcbda50daa Add basic UI for subscriptions 2022-04-22 12:17:09 -07:00
Jackson Harper
38c190a08f Add debugging line 2022-04-22 12:17:09 -07:00
Jackson Harper
e6ca3c8eb4 Create subscription type instead of importing from GraphQL 2022-04-22 12:17:09 -07:00
Hongbo Wu
c3c65479bb add unsubscribe 2022-04-22 12:17:07 -07:00
Hongbo Wu
f8bacf77df add list subscriptions 2022-04-22 12:16:35 -07:00
Jackson Harper
2b4cbb219a Add nat to feature flagged users 2022-04-20 12:13:48 -07:00
Jackson Harper
d6fb0cb457 Remove unused import 2022-04-19 16:13:22 -07:00