Commit graph

11 commits

Author SHA1 Message Date
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
Jackson Harper
04eef29387 Wire up show highlights modal to new article actions 2022-04-12 12:23:56 -07:00
Jackson Harper
952c137507 In /app dont display labels on the page 2022-04-12 12:23:55 -07:00
Jackson Harper
69abc55615 Add MathJax scripts to /app 2022-03-25 14:02:02 -07:00
Jackson Harper
0859002c0c Remove next dependencies from the article components
This pulls next related deps up into the page instead of the
component and allows us to pull next out of the app reader
dependency.
2022-03-25 13:26:01 -07:00
Jackson Harper
6daa599b76 Separate the mutations out of lower level components
This will let us handle the mutations differently on native
iOS and should help in avoiding making web calls directly from
the web view, so we can avoid CORs and introduce a caching
layer.
2022-03-22 13:58:39 -07:00
Satindar Dhillon
bf035a4ec4 use window to track scrolling for /app web routes 2022-03-09 13:40:18 -08:00
Satindar Dhillon
ddb13770d3 set position to fixed for article container wrapper in /app routes 2022-03-09 13:40:18 -08:00
Satindar Dhillon
c73d4dc64a render correct color mode in privacy and term web embeds [apple] 2022-02-24 14:18:51 -08:00
Satindar Dhillon
cf627e53cb add app specific privact and terms pages 2022-02-24 13:28:48 -08:00
Jackson Harper
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00