Commit Graph

62 Commits

Author SHA1 Message Date
fac0e78c3d moved search bar and library to the top of menu, updated some more overriding styles 2022-08-08 16:16:19 +02:00
1564b52535 Added Menu on the home page with static items 2022-08-01 03:21:29 +02: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
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
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
cec6dc5197 Rebase 2022-06-09 13:32:32 -07: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
5ea67a0bea Pull in new highlight cards 2022-05-03 12:09:32 -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
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
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
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
758efc3845 Handle Inbox filter when not set 2022-04-20 11:36:04 -07:00
4030f8efc4 Initial implementation of saved searches (feature flagged) 2022-04-20 11:22:30 -07:00
92423eaa0d Disable keyboard navigation if a modal is open in the library 2022-04-20 09:33:25 -07:00
5187ad5113 Return focus to item after setting its labels 2022-04-20 08:58:51 -07:00
5d88b054c8 Trigger a state change after updating labels 2022-04-19 15:36:12 -07:00
51d723f3fb Disable keyboard shorcuts when modals are open in the library 2022-04-19 14:58:04 -07:00
99cab91d40 Refresh labels on the article when edited in the library 2022-04-19 12:00:15 -07:00
1afa24d12a Keyboard shortcut for editing labels from the library 2022-04-19 11:41:29 -07:00
73af8ada81 Allow editing labels from the library view 2022-04-19 11:10:36 -07:00
ff415b80a1 Remove unneeded debug line 2022-04-06 14:35:09 -07:00
1402e8b6f8 Attempt to load a second page of data after the first 2022-04-06 14:22:41 -07:00
2ef5a59d4c Use the background styles instead of box shadows on new cards 2022-04-06 13:51:52 -07:00
5711df8459 add top margin to web library list on narrow screens 2022-04-06 13:43:41 -07:00
5ab64f3f64 resolve merge conflict 2022-04-06 12:21:47 -07:00
4223433fbb [OMN-320] - Ask for confirmation when removing links 2022-04-01 08:23:57 +00:00