Commit Graph

77 Commits

Author SHA1 Message Date
2416efadb2 Ask for confirmation when unsubscribing 2022-08-08 12:57:37 +08:00
6f5e49ece7 fix some typeahead search on siteName not working by adding siteName to the keywords list in kbar 2022-07-14 11:27:10 +08:00
91bb08ea5f Use typeahead search 2022-07-12 10:36:09 -07:00
ecde719b64 Merge pull request #807 from omnivore-app/OMN-715
[OMN-715]: Add a command pallet to the web
2022-07-12 09:29:34 -07:00
156c4cf2cf Update design on Add Link, and notes modals 2022-07-11 19:25:25 -07:00
9e3b192506 Clean up the design of FormModals 2022-07-11 18:15:14 -07:00
bde765c524 Cast unactive actions to correct type now that its an empty list 2022-07-11 14:09:24 -07:00
4e27ec97f9 Use kbar for highlighting shortcuts, cleanup options 2022-07-11 13:14:14 -07:00
552d76a929 Added search support for kbar in this PR. 2022-07-11 13:14:12 -07:00
6dc707cc92 Improve the outlines on dropdown arrows 2022-07-08 19:27:53 -07:00
d2522420b1 We dont need to sync layout 2022-06-24 09:48:58 -07:00
004a6a25ab We still need to call useGetUserPreferences to get the users theme 2022-06-24 09:48:46 -07:00
a6455d8359 We dont need to wait for preferences data to load before showing the grid selector now 2022-06-24 09:38:32 -07:00
df17496c69 Use persisted state instead of preferences data for library layout
These visual settings should be per device not set in preferences
having them in preferences requires an API call and will make
them flicker when loaded.
2022-06-24 09:15:35 -07:00
376cc74aaa Allow primary layout to use full screen dimensions
Also set the library fetch limit back to 10.
2022-06-20 12:31:30 -07:00
45c11aabbb Remove unused types 2022-06-17 16:14:05 -07:00
eb8cb3854c Do all scroll watching on the main window
This moves all scrolling from child divs to the main window. This
improves our keyboard handling, as focus will be given to the
body element, not the child div when navigating by keyboard
commands, so arrow keys and space bar will work after navigating
to the reader with the keyboard commands.
2022-06-17 15:59:51 -07:00
14b2f33691 Make the AddLink and HighlightNote modals more consistent 2022-06-14 10:43:19 -07:00
27d364e5f1 Layout / text tweaks 2022-06-09 13:32:45 -07:00
cec6dc5197 Rebase 2022-06-09 13:32:32 -07:00
a8531b7ced Merge branch 'main' into OMN-700 2022-06-07 01:01:59 +05:30
c5e6bb1534 Update sort by readAt query on Web 2022-06-05 20:00:38 +08:00
313c4db094 Added unsubscribe menu option 2022-06-01 20:17:34 +00:00
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
b53dae36a0 Enable saved search buttons for all users 2022-05-05 11:17:00 -07:00
8a7389712b Pull scroll to highlight changes into this branch 2022-05-03 15:00:49 -07:00
5d42b65611 Remove unused import 2022-05-03 12:15:57 -07:00
5ea67a0bea Pull in new highlight cards 2022-05-03 12:09:32 -07:00
f68507c069 add sort by updated and recently read 2022-05-03 11:04:01 -07:00
b36e8a78d7 remove luxon dependency in web 2022-05-03 11:03:59 -07:00
5eff1c05bf add savedAt and publishedAt date range in search query 2022-05-03 11:03:39 -07:00
6061f2927b update web to call new search endpoint for pages 2022-05-03 11:02:41 -07:00
57e6bcac8e Added cypress tests for saving links 2022-05-03 17:46:52 +00:00
95b163a437 Prettier clean up 2022-05-02 20:58:05 -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
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
755d8563d8 Add a clear button to the search bar 2022-04-25 13:50:40 -07:00
4e211f447d Handle blank as the inbox term in the search filter buttons 2022-04-25 13:07:54 -07:00
605f13432f Add timezone difference in today search query 2022-04-23 09:19:00 +08:00
584f30c525 Make buttons the same size as the add link button 2022-04-21 19:49:02 -07:00
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
10dc8e2136 Fix typo in highlighted search 2022-04-21 14:27:57 -07:00
3f7546fb08 Dont display empty state while loading 2022-04-21 14:26:59 -07:00
88f936164b HTML escaping 2022-04-21 14:10:49 -07:00
510a95f393 Add topbar dependencies 2022-04-21 14:00:09 -07:00
f4f9311b39 Update saved search buttons 2022-04-21 13:59:53 -07:00
714628587a Add top bar loading indicator to the library 2022-04-21 13:51:20 -07:00
cefe326fba Add UI for empty state in the library 2022-04-21 13:43:31 -07:00
23883b1db5 Make search filters scrollable, dont wrap button text 2022-04-20 15:47:57 -07:00
119f44dd38 Fix calculating yesterdays date 2022-04-20 15:47:19 -07:00