Commit Graph

20 Commits

Author SHA1 Message Date
fca3a4c2ea Labels update 2023-06-27 15:46:49 +08:00
2698bb0a24 Display read time on the reader view 2023-05-02 11:56:09 +08:00
8cf0a6ecb2 Simplify top positioning 2023-03-10 16:47:02 +08:00
066766d980 Remove unused code 2023-02-27 11:12:29 +08:00
9d6a28cc74 More warnings clean up 2023-02-27 10:34:12 +08:00
55e925cc98 Clean up iOS recommendations, show a primer on first load 2022-12-19 17:07:27 +08:00
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
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
742347d898 Fixed archive button not changing to unarchive. 2022-06-02 08:44:58 +00:00
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
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
c280b2cf01 Remove items from cache when archived from the article actions menu 2022-04-12 12:23:55 -07:00
db2251b38a Remove debug 2022-04-12 12:23:55 -07:00
0bb2c1d8c6 Refresh labels when edited 2022-04-12 12:23:55 -07:00
f9af4ec2d8 Remove unused shareInfo from GQL queries 2022-03-11 13:12:34 -08:00
38a6ee9394 Remove unused attributes from article queries 2022-03-11 12:59:50 -08:00
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
42511a5439 Remove the labels query from GetArticle 2022-02-24 20:54:22 -08:00
6482d280f7 add loading and set labels ui 2022-02-24 14:47:33 +08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00