Commit graph

75 commits

Author SHA1 Message Date
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
Jackson Harper
1afa24d12a Keyboard shortcut for editing labels from the library 2022-04-19 11:41:29 -07:00
Jackson Harper
da561ca58b Query for labels with library items. Display properly on the home feed 2022-04-13 13:38:36 -07:00
Jackson Harper
4e4dae89d7 Consistent naming on label controls
- Edit Labels: Edit all of a user's labels
- Set Labels: Set the labels assigned to a link
2022-04-13 10:52:00 -07:00
Jackson Harper
5a77bd8332 Update to use pageId instead of linkId for SetLabels API 2022-04-12 20:50:06 -07:00
Jackson Harper
110a503927 Implement the Create new Label button 2022-04-12 12:23:55 -07:00
Jackson Harper
c280b2cf01 Remove items from cache when archived from the article actions menu 2022-04-12 12:23:55 -07:00
Jackson Harper
db2251b38a Remove debug 2022-04-12 12:23:55 -07:00
Jackson Harper
4ed475ecf5 Invert margin buttons 2022-04-12 12:23:55 -07:00
Jackson Harper
0bb2c1d8c6 Refresh labels when edited 2022-04-12 12:23:55 -07:00
Jackson Harper
e2aeff0c6f Use single label type 2022-04-12 12:23:55 -07:00
Jackson Harper
770dbbd68a Add margins on wider screens, keyboard commands to adjust 2022-04-12 12:23:08 -07:00
Jackson Harper
8670bbb2f3 Remove debug statements 2022-04-06 12:12:55 -07:00
Jackson Harper
06360a5993
Merge branch 'main' into OMN-190 2022-04-06 09:24:49 -07:00
Jackson Harper
e49bb8652a Use new layout for desktop labels, handle API errors 2022-04-05 21:35:28 -07:00
Jackson Harper
a99ab365b8 Remove unused import 2022-04-04 09:22:18 -07:00
Jackson Harper
3bab5e9eff Error responses when deleting emails 2022-03-30 20:16:29 -07:00
Jackson Harper
604194299a Parse response type for newsletter creation 2022-03-30 20:13:06 -07:00
gitstart-omnivore
11db7be473 [Omn-190] - [Settings View] - Labels 2022-03-30 12:24:29 +00:00
Jackson Harper
78999beb46 Fix docs for arrow navigation in keyboard controls 2022-03-28 13:23:47 -07:00
Jackson Harper
8cdcd86f9d Shorter default duration on toast messages 2022-03-26 09:30:41 -07:00
Jackson Harper
1784edefaf Remove unused imports, use a single Label fragment 2022-03-25 14:17:02 -07:00
Jackson Harper
59da82ddc7
Merge pull request #316 from omnivore-app/fix/bound-highlight-responses
Bridging for GQL highlight responses
2022-03-25 12:56:35 -07:00
Jackson Harper
0a459a20c4 Show success/error toasts for archiving and removing 2022-03-25 10:35:19 -07:00
Jackson Harper
e13296c02a Small visual tweaks to the toastbar message
Dropped the font down a little because the degular font is
slighty smaller than inter. Made the X icon bold.
2022-03-25 10:10:46 -07:00
Jackson Harper
45d4a99d17 Fix Highlight type attributes 2022-03-24 13:52:38 -07:00
Jackson Harper
5392265a5e Bridge response values from highlight mutations back to JS in the format it expects 2022-03-24 10:52:26 -07:00
Jackson Harper
f3edb9ca7a Reduce the data fetched when creating highlights
This reduces the fields on the highlight type, and reduces what
we fetch. We are doing this so its easier to bind from Swift and
pass back simpler types for create/update/merge highlight
operations
2022-03-24 10:50:46 -07:00
gitstart-omnivore
5ead3ea339 [Omn-158] - Update the snackbar on web based on latest designs 2022-03-24 01:28:15 +00:00