Commit Graph

155 Commits

Author SHA1 Message Date
95d866a120 Display the highlight delete confirmation outside the modal content
This fixes an issue where a long list of highlights wouldn't show
the confirmation modal properly if scrolled because the modal
would be in the scrolled content.
2022-07-28 12:18:25 -07:00
55338c5576 Put the Add Note form in a form element so submit works 2022-07-14 17:44:37 -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
6471e67fa8 Use update colour name 2022-07-11 19:44:43 -07:00
aba2e7892e Update the all highlights modal 2022-07-11 19:40:00 -07:00
156c4cf2cf Update design on Add Link, and notes modals 2022-07-11 19:25:25 -07: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
da6103b444 Fix issues with merging highlights
highlightLocations can't be a prop or they wont be updated
properly when highlights are created and merged.

This fixes issues with merging highlights. It changes how we
scroll to an initial highlight in the case of deep links too.
2022-06-23 16:09:28 -07:00
c7c582281e Right align the checkmark on the font selector 2022-06-21 20:50:33 -07:00
1245d32eed rename to readerSettings 2022-06-21 19:00:24 -07:00
d5939b3fec Use same checkmark as labels for font selection. Clean up layout of title 2022-06-21 17:04:59 -07:00
28283a10fc Simplify layout of font selector 2022-06-21 16:53:26 -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
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
4042408126 Disable margins on small screens again
Need to fix how this is down across all smaller devices, until
then we can disable so the fonts stuff can be deployed.
2022-06-15 16:31:54 -07:00
7a2b1ca940 Update list of fonts 2022-06-15 12:38:36 -07:00
702329cf3f Layout tweaks for font selector, allow adjusting margins on smaller screens 2022-06-15 11:46:41 -07:00
b7ecff195e Added font selector 2022-06-15 15:43:10 +00:00
a65152de82 Fix call to saveNoteChanges 2022-06-14 11:25:36 -07:00
14b2f33691 Make the AddLink and HighlightNote modals more consistent 2022-06-14 10:43:19 -07:00
bd34f4ff3c use maxWidthPercentage to update margin in web reader: 2022-06-13 11:27:21 -07:00
4423bc3e44 adds ability to control maxWidth on iphone 2022-06-13 09:57:28 -07:00
7522f22f51 Pull in bundle.js from main 2022-06-09 13:53:15 -07:00
edadb9aafa Merge pull request #710 from omnivore-app/OMN-657
[OMN-657]: Archive button should change to unarchive on web if an article has already been archived
2022-06-09 12:45:53 -07:00
0eadd8516e use unset instead of undefined for default font 2022-06-05 11:49:46 -07:00
d547946e84 remove sf mono font in web reader font list. add sysstem default 2022-06-05 11:24:31 -07:00
bbf4ef42ef Add ability to toggle higher contrast text in the reader 2022-06-03 20:59:53 -07:00
e607fc5675 update font family in web view 2022-06-03 16:44:40 -07:00
be5323b8ce update web preferences event listeners 2022-06-03 15:59:49 -07:00
e0372bfc5a adjust maxWidth for iphone web embed 2022-06-03 11:54:45 -07: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
1f0c48fdfa add web listeners for margin and line spacing changes on ios 2022-06-01 14:52:38 -07:00
4b3533c17d pass url and title to share call. update bundle.js in apple apps 2022-05-16 12:20:05 -07:00
51117290d7 add event listener for share event in webview 2022-05-16 12:10:03 -07: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
c5549d72a6 Pull in link to highlight changes 2022-05-03 14:04:40 -07:00
57e6bcac8e Added cypress tests for saving links 2022-05-03 17:46:52 +00:00
fedd92488b Merge pull request #491 from omnivore-app/OMN-423
[OMN-423] Updated share highlight modal
2022-05-02 15:28:02 -07:00
039cab33ed Use embedded SVG so we can set colours 2022-05-02 13:01:50 -07:00
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
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
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
5182a3053a reverted OmnivoreNameLogo icon and change icon sizes 2022-04-28 03:07:01 +00:00
ab869a79bd Mutate the labels on links when setting them so they are reflected in UI 2022-04-19 15:54:38 -07:00
0203347c4a Set tab index on the modals close button so it doesnt autofocus 2022-04-19 11:59:48 -07:00