Commit graph

412 commits

Author SHA1 Message Date
Jackson Harper
8a7389712b Pull scroll to highlight changes into this branch 2022-05-03 15:00:49 -07:00
Jackson Harper
c5549d72a6 Pull in link to highlight changes 2022-05-03 14:04:40 -07:00
Jackson Harper
5d42b65611 Remove unused import 2022-05-03 12:15:57 -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
f68507c069 add sort by updated and recently read 2022-05-03 11:04:01 -07:00
Hongbo Wu
b36e8a78d7 remove luxon dependency in web 2022-05-03 11:03:59 -07:00
Hongbo Wu
5eff1c05bf add savedAt and publishedAt date range in search query 2022-05-03 11:03:39 -07:00
Hongbo Wu
6061f2927b update web to call new search endpoint for pages 2022-05-03 11:02:41 -07:00
Jackson Harper
95b163a437 Prettier clean up 2022-05-02 20:58:05 -07:00
Jackson Harper
fedd92488b
Merge pull request #491 from omnivore-app/OMN-423
[OMN-423] Updated share highlight modal
2022-05-02 15:28:02 -07:00
Jackson Harper
deac4b6680 Use react attributes for SVG 2022-05-02 13:21:35 -07:00
Jackson Harper
039cab33ed Use embedded SVG so we can set colours 2022-05-02 13:01:50 -07:00
Jackson Harper
9bdd7573c6 Story for the ReaderSettingsControl 2022-05-02 12:32:41 -07:00
Jackson Harper
93bd6b6ed5 Use SVG images of grouped font stepper controls
Aligning the components in CSS didn't work very
well, so this uses exported versions of the design
with the `A` icon and `+/-` symbol in a single image.
2022-05-02 12:19:37 -07:00
Jackson Harper
0c5c9f492a Move the analytics event for link_read out of the container, supply userId
This prevents events from being sent when there is no user id yet
due to race conditions in analytics setup.
2022-04-29 13:54:44 -07: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
gitstart-omnivore
5182a3053a reverted OmnivoreNameLogo icon and change icon sizes 2022-04-28 03:07:01 +00:00
Jackson Harper
e3bcdda89c Remove the client side highlight.js code
We perform highlighting on the backend when content is saved, so
this include isn't needed.
2022-04-26 20:44:09 -07:00
Jackson Harper
0fd6b84609 Reduce margin on the left of the clear search button
This allows more space for text on smaller devices
2022-04-25 15:08:53 -07:00
Jackson Harper
755d8563d8 Add a clear button to the search bar 2022-04-25 13:50:40 -07:00
Jackson Harper
4e211f447d Handle blank as the inbox term in the search filter buttons 2022-04-25 13:07:54 -07:00
Hongbo Wu
605f13432f Add timezone difference in today search query 2022-04-23 09:19:00 +08:00
Jackson Harper
282f171b17 Remove react-intl package until we have internationalized code, drops bundle size 2022-04-22 15:12:59 -07:00
Jackson Harper
00eb4aca70
Merge pull request #470 from omnivore-app/fix/rm-signup-button
Remove the Sign Up button from the header for logged out users
2022-04-22 13:36:04 -07:00
Jackson Harper
9362aa54c7
Merge pull request #443 from omnivore-app/dependabot/npm_and_yarn/cookie-0.5.0
Bump cookie from 0.4.2 to 0.5.0
2022-04-22 13:07:59 -07:00
Jackson Harper
51c3c5506c Comment out subscriptions dropdown option so we can deploy without exposing to users 2022-04-22 12:17:09 -07:00
Hongbo Wu
fdd2d95164 Add popular newsletters 2022-04-22 12:17:09 -07: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
36ed2e9a9f Remove the Sign Up button from the header for logged out users
This reduces flicker on refresh
2022-04-22 12:01:56 -07:00
Jackson Harper
006b15f09f
Merge pull request #468 from omnivore-app/fix/search-docs-cleanup
Improve search docs
2022-04-22 11:51:15 -07:00
Jackson Harper
19cfb9f67b Improve layout shift on the landing page 2022-04-22 11:03:20 -07:00
Jackson Harper
6689ebc090 Improve search docs 2022-04-22 10:33:27 -07:00
Jackson Harper
9e9734c740 Fix typos in help doc 2022-04-22 10:06:49 -07:00
Jackson Harper
d5eef9f960 Quoting 2022-04-22 09:47:40 -07:00
Jackson Harper
330586f8ea Use a bar thickness of 2 so more visible on mobile 2022-04-21 20:52:28 -07:00
Jackson Harper
29b5204de7 Make progress bar more subtle 2022-04-21 20:12:55 -07:00
Jackson Harper
584f30c525 Make buttons the same size as the add link button 2022-04-21 19:49:02 -07:00
Jackson Harper
a9b3123b1b Only display loading bar for first page of library items
Since we trigger a load automatically for infinite scroll this
prevents too much movement in the top bar
2022-04-21 19:43:09 -07:00
Jackson Harper
10dc8e2136 Fix typo in highlighted search 2022-04-21 14:27:57 -07:00
Jackson Harper
3f7546fb08 Dont display empty state while loading 2022-04-21 14:26:59 -07:00
Jackson Harper
88f936164b HTML escaping 2022-04-21 14:10:49 -07:00