Commit graph

125 commits

Author SHA1 Message Date
Satindar Dhillon
0eadd8516e use unset instead of undefined for default font 2022-06-05 11:49:46 -07:00
Satindar Dhillon
d547946e84 remove sf mono font in web reader font list. add sysstem default 2022-06-05 11:24:31 -07:00
Jackson Harper
bbf4ef42ef Add ability to toggle higher contrast text in the reader 2022-06-03 20:59:53 -07:00
Satindar Dhillon
e607fc5675 update font family in web view 2022-06-03 16:44:40 -07:00
Satindar Dhillon
be5323b8ce update web preferences event listeners 2022-06-03 15:59:49 -07:00
Satindar Dhillon
e0372bfc5a adjust maxWidth for iphone web embed 2022-06-03 11:54:45 -07:00
Satindar Dhillon
1f0c48fdfa add web listeners for margin and line spacing changes on ios 2022-06-01 14:52:38 -07:00
Satindar Dhillon
4b3533c17d pass url and title to share call. update bundle.js in apple apps 2022-05-16 12:20:05 -07:00
Satindar Dhillon
51117290d7 add event listener for share event in webview 2022-05-16 12:10:03 -07:00
Jackson Harper
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
Jackson Harper
c5549d72a6 Pull in link to highlight changes 2022-05-03 14:04:40 -07:00
gitstart-omnivore
57e6bcac8e Added cypress tests for saving links 2022-05-03 17:46:52 +00: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
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
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
0203347c4a Set tab index on the modals close button so it doesnt autofocus 2022-04-19 11:59:48 -07:00
Jackson Harper
1afa24d12a Keyboard shortcut for editing labels from the library 2022-04-19 11:41:29 -07:00
Jackson Harper
73af8ada81 Allow editing labels from the library view 2022-04-19 11:10:36 -07:00
Jackson Harper
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
Jackson Harper
0715dafd4b Display the all highlights modal from PDFs via the article actions button 2022-04-14 15:56:10 -07:00
Jackson Harper
a5885fe16c Push props down for lineheight, margin width to keep in sync 2022-04-13 20:46:49 -07:00
Jackson Harper
810401946e Use local storage for margins and line spacing since these are per-device preferences 2022-04-13 16:03:07 -07:00
Jackson Harper
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
Jackson Harper
86d6d03fe0 Remove default button padding, on Safari this caused extra padding on dropdown triggers 2022-04-13 10:25:01 -07:00
Jackson Harper
049a5cf22f Close highlight modal on click/tap outside 2022-04-13 09:59:36 -07:00
Jackson Harper
a728bcf886 Improve sizing of scrollable content area on mobile 2022-04-12 20:36:00 -07:00
Jackson Harper
6231741281 Set the link colour. Safari needs this 2022-04-12 20:09:03 -07:00
Jackson Harper
11429dddc0 Dont autofocus the text input on mobile
On mobile we dont want to auto focus because the keyboard opens
and takes up most of the screen space.
2022-04-12 20:08:20 -07:00
Jackson Harper
92a061b4ba Fix tooltip tags -> labels 2022-04-12 18:10:43 -07:00
Jackson Harper
d92b526583 Give the labels control a max height 2022-04-12 18:09:43 -07:00
Jackson Harper
0d1b05d4fc Rename reader settings 2022-04-12 12:58:04 -07:00
Jackson Harper
244cced8b4 Make the labels modal non-scrollable on small screens, add a border 2022-04-12 12:35:56 -07:00
Jackson Harper
5450c9ce29 Add stand alone display settings modal 2022-04-12 12:23:56 -07:00
Jackson Harper
54ff7b6d60 Smaller display settings dropdown on small screens. Better shadows 2022-04-12 12:23:56 -07:00
Jackson Harper
68933689f6 Close labels modal when tap outside 2022-04-12 12:23:56 -07:00
Jackson Harper
4480548e48 Use a modal instead of dropdown on small screens 2022-04-12 12:23:56 -07:00
Jackson Harper
c6cc7d2987 Dont set a max width on smaller devices for the labels modal 2022-04-12 12:23:56 -07:00
Jackson Harper
bffe887b92 Only show the old article toolbar on ios embedded web (/app) 2022-04-12 12:23:56 -07:00
Jackson Harper
58d6e508bb Set the label modal width to be consistent 2022-04-12 12:23:56 -07:00
Jackson Harper
f0a725b7ef Dont let labels list expand too wide 2022-04-12 12:23:56 -07:00
Jackson Harper
c2cf30624b Remove X icon on reset to better center button 2022-04-12 12:23:56 -07:00
Jackson Harper
04eef29387 Wire up show highlights modal to new article actions 2022-04-12 12:23:56 -07:00
Jackson Harper
a6566e4a9b Rename notes sidebar to highlights modal 2022-04-12 12:23:56 -07:00
Jackson Harper
8d5425bc53 Show a success message when reader settings are reset 2022-04-12 12:23:56 -07:00
Jackson Harper
aa9797f4d4 Dont reserve label space if there are no labels 2022-04-12 12:23:56 -07:00
Jackson Harper
113101fd63 Handle creating labels via keyboard 2022-04-12 12:23:56 -07:00