Commit graph

270 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
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
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
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
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
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
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
19cfb9f67b Improve layout shift on the landing page 2022-04-22 11:03:20 -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
Jackson Harper
510a95f393 Add topbar dependencies 2022-04-21 14:00:09 -07:00
Jackson Harper
f4f9311b39 Update saved search buttons 2022-04-21 13:59:53 -07:00
Jackson Harper
714628587a Add top bar loading indicator to the library 2022-04-21 13:51:20 -07:00
Jackson Harper
cefe326fba Add UI for empty state in the library 2022-04-21 13:43:31 -07:00
Jackson Harper
23883b1db5 Make search filters scrollable, dont wrap button text 2022-04-20 15:47:57 -07:00
Jackson Harper
119f44dd38 Fix calculating yesterdays date 2022-04-20 15:47:19 -07:00
Jackson Harper
24b622fffb Themed colours for the saved searches 2022-04-20 11:57:56 -07:00
Jackson Harper
21c6b1fe01 Dont break light gray buttons 2022-04-20 11:39:49 -07:00
Jackson Harper
758efc3845 Handle Inbox filter when not set 2022-04-20 11:36:04 -07:00
Jackson Harper
4030f8efc4 Initial implementation of saved searches (feature flagged) 2022-04-20 11:22:30 -07:00
Jackson Harper
92423eaa0d Disable keyboard navigation if a modal is open in the library 2022-04-20 09:33:25 -07:00
Jackson Harper
5187ad5113 Return focus to item after setting its labels 2022-04-20 08:58:51 -07:00
Jackson Harper
c99466c21e
Merge pull request #451 from omnivore-app/fix/labels-on-library
Allow editing labels from the library view
2022-04-19 20:13:55 -07:00
Jackson Harper
ab869a79bd Mutate the labels on links when setting them so they are reflected in UI 2022-04-19 15:54:38 -07:00
Jackson Harper
5d88b054c8 Trigger a state change after updating labels 2022-04-19 15:36:12 -07:00
Jackson Harper
51d723f3fb Disable keyboard shorcuts when modals are open in the library 2022-04-19 14:58:04 -07:00
Jackson Harper
99cab91d40 Refresh labels on the article when edited in the library 2022-04-19 12:00:15 -07:00
Jackson Harper
0203347c4a Set tab index on the modals close button so it doesnt autofocus 2022-04-19 11:59:48 -07:00