Commit Graph

70 Commits

Author SHA1 Message Date
137283db0a More moves to react-query for key library functions 2024-08-12 11:09:56 +08:00
457d1d9de9 More work on react-query switchover 2024-08-12 11:09:56 +08:00
a28f618b08 Consistent casing for titles 2023-11-01 15:16:05 +08:00
f960379783 Allow navigating to next/previous items on the web with keyboard 2023-10-13 17:50:38 +08:00
44a4ec5360 Fight with imports a bit 2023-10-04 18:04:58 +08:00
1adbe9a8cf Use title instead of TooltipWrapped 2023-08-01 17:27:58 +08:00
c0dbbc3b86 Update icons 2023-08-01 12:31:12 +08:00
e270d4acf9 Warnings clean up 2023-06-20 13:36:36 +08:00
3683447b6e Use Tag image 2023-06-19 21:56:41 +08:00
3c7dbc995c Add async 2023-06-19 21:42:18 +08:00
ad921fdff2 Set labels on items in the home screen when editing there 2023-06-19 21:42:18 +08:00
978e802786 Clean up keyboard commands functionalities and modal, add tooltips 2023-04-14 11:27:01 +08:00
4468b038a8 Update notebook icon 2023-04-05 15:09:03 +08:00
19b621fd1c More spacing on article actions 2023-03-06 15:20:54 +08:00
79902364ae Move article actions to their own menu 2023-03-03 21:55:04 +08:00
061c165929 More themeing, set color-scheme on body when changing theme 2023-03-03 20:46:12 +08:00
bd0a8095a0 Article actions colors 2023-03-02 14:50:33 +08:00
aa2e20d9c0 Edit title and description modal 2023-03-02 12:59:31 +08:00
c251de12d9 Reader display setting positioning 2023-02-28 18:20:26 +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
65441ae06d Remove some unused code 2023-02-27 09:49:49 +08:00
30090e0320 Article container fixes to new design, more header work 2023-02-25 09:49:18 +08:00
3040a35203 Reset modal on close 2022-12-29 17:45:29 +08:00
e03da2475d Update setlabels to save on close, always use the modal 2022-12-29 17:37:52 +08:00
f13fc9c35a Only save labels from the modal when the user finishes selection
This prevents creating issues by calling the setlabels mutation
too frequently if a user is rapidly changing labels, if that
happens a failure in the API could cause the user's changes
to be overwritten.
2022-12-21 12:29:34 +08:00
16654bafef Refactor the SetLabels components to allow them to take a highlight or article 2022-12-02 15:30:27 +08:00
7673814fd3 Add a delete page article action, add keyboard ctrls for confirm dialogs 2022-08-22 15:53:22 +08:00
552d76a929 Added search support for kbar in this PR. 2022-07-11 13:14:12 -07:00
56245619cf Remove unused attribute 2022-07-08 19:31:43 -07:00
6dc707cc92 Improve the outlines on dropdown arrows 2022-07-08 19:27:53 -07:00
3d3ddc2562 Remove unneeded props 2022-06-21 16:33:18 -07:00
26bef3ad12 Fix display settings modal props 2022-06-21 16:03:23 -07:00
99ec93449b Use a Radix dialog instead of dropdown, add OpenDyslexic font, prefetch fonts
The main change here is using Dialog instead of dropdown. The
dialog uses a fixed position, so when the underlying document
dimensions change based on a font change, the dialog will still
be positioned properly.
2022-06-21 15:38:05 -07:00
b7ecff195e Added font selector 2022-06-15 15:43:10 +00:00
b00875cd42 Changed unarchive icon and added unarchive functionality. 2022-06-02 08:46:18 +00:00
742347d898 Fixed archive button not changing to unarchive. 2022-06-02 08:44:58 +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
ab869a79bd Mutate the labels on links when setting them so they are reflected in UI 2022-04-19 15:54:38 -07:00
73af8ada81 Allow editing labels from the library view 2022-04-19 11:10:36 -07:00
0842aba57c Always display the article actions toolbar on top for PDFs
Because we dont have margin space on PDFs we want to always
display this on top.
2022-04-14 15:56:10 -07:00
a5885fe16c Push props down for lineheight, margin width to keep in sync 2022-04-13 20:46:49 -07:00
810401946e Use local storage for margins and line spacing since these are per-device preferences 2022-04-13 16:03:07 -07:00
4e4dae89d7 Consistent naming on label controls
- Edit Labels: Edit all of a user's labels
- Set Labels: Set the labels assigned to a link
2022-04-13 10:52:00 -07:00
86d6d03fe0 Remove default button padding, on Safari this caused extra padding on dropdown triggers 2022-04-13 10:25:01 -07:00
92a061b4ba Fix tooltip tags -> labels 2022-04-12 18:10:43 -07:00
0d1b05d4fc Rename reader settings 2022-04-12 12:58:04 -07:00
54ff7b6d60 Smaller display settings dropdown on small screens. Better shadows 2022-04-12 12:23:56 -07:00
4480548e48 Use a modal instead of dropdown on small screens 2022-04-12 12:23:56 -07:00
58d6e508bb Set the label modal width to be consistent 2022-04-12 12:23:56 -07:00