Commit graph

591 commits

Author SHA1 Message Date
Jackson Harper
a959c4beb0 Better dropdown name 2022-07-01 17:29:43 -07:00
Jackson Harper
0752191138 Enable API in the dropdown 2022-07-01 17:29:08 -07:00
Jackson Harper
2344d6711b Better printing of never expiring tokens 2022-06-29 10:51:54 -07:00
Jackson Harper
14ed43f263 Add support for "never" expiring tokens by setting to the Date MAX_AGE 2022-06-28 20:02:32 -07:00
Rupin Khandelwal
d6f183e1f2 Added never as one of the options 2022-06-28 13:57:47 -07:00
Rupin Khandelwal
61de5b88ac fixed bug for input text showing undefined value 2022-06-28 09:20:50 -07:00
Jackson Harper
c2ce6a478b Set select color and background colors so OS themes dont override them 2022-06-27 23:07:55 -07:00
Rupin Khandelwal
9122495632 adding prepopulation for input 2022-06-27 13:05:43 -07:00
Rupin Khandelwal
b1a6fe1151 Allow opening the create api token dialog on the /settings/api page via a URL 2022-06-27 11:36:44 -07:00
Jackson Harper
d2522420b1 We dont need to sync layout 2022-06-24 09:48:58 -07:00
Jackson Harper
004a6a25ab We still need to call useGetUserPreferences to get the users theme 2022-06-24 09:48:46 -07:00
Jackson Harper
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
Jackson Harper
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
Jackson Harper
8e59764f02
Merge pull request #874 from omnivore-app/updated-highlight-bar
updated highlight bar
2022-06-23 20:06:32 -07:00
Jackson Harper
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
Rupin Khandelwal
f9932c6777 Merge branch 'main' of github.com:omnivore-app/omnivore into issue-835 2022-06-23 11:50:59 -07:00
Rupin Khandelwal
3761893aa3 fixed icon and text position to be centered inside highlight bar 2022-06-23 09:48:16 -07:00
Jackson Harper
45a6aae10c Set the body background colour to grayBase
This is needed because the background divs dont display full
view anymore.
2022-06-23 00:59:28 -07:00
Rupin Khandelwal
560853fb1d Issue-835-Part-1 2022-06-22 12:36:06 -07:00
Jackson Harper
c7307ec713 Force the height of the primary layout content space
This is needed so the PDF container gets a size set
on it, because it can't expand content to fit its size.
2022-06-22 12:35:40 -07:00
Jackson Harper
cdd2e206ce Update the labels on the login page image
Still need to update the article content on this page, but this
at least gets rid of obvious placeholder graphics.
2022-06-22 11:38:05 -07:00
Jackson Harper
c7c582281e Right align the checkmark on the font selector 2022-06-21 20:50:33 -07:00
Satindar Dhillon
1245d32eed rename to readerSettings 2022-06-21 19:00:24 -07:00
Jackson Harper
d5939b3fec Use same checkmark as labels for font selection. Clean up layout of title 2022-06-21 17:04:59 -07:00
Jackson Harper
28283a10fc Simplify layout of font selector 2022-06-21 16:53:26 -07:00
Jackson Harper
3d3ddc2562 Remove unneeded props 2022-06-21 16:33:18 -07:00
Jackson Harper
26bef3ad12 Fix display settings modal props 2022-06-21 16:03:23 -07:00
Jackson Harper
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
Jackson Harper
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
Jackson Harper
45c11aabbb Remove unused types 2022-06-17 16:14:05 -07:00
Jackson Harper
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
Jackson Harper
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
Jackson Harper
e0792f984f Update the list of fonts for web to match iOS 2022-06-15 12:40:10 -07:00
Jackson Harper
7a2b1ca940 Update list of fonts 2022-06-15 12:38:36 -07:00
Jackson Harper
702329cf3f Layout tweaks for font selector, allow adjusting margins on smaller screens 2022-06-15 11:46:41 -07:00
gitstart-omnivore
b7ecff195e Added font selector 2022-06-15 15:43:10 +00:00
Jackson Harper
e2ba117195
Merge pull request #797 from omnivore-app/fix/modal-dialog-buttons
Make the AddLink and HighlightNote modals more consistent
2022-06-14 11:39:47 -07:00
Jackson Harper
a65152de82 Fix call to saveNoteChanges 2022-06-14 11:25:36 -07:00
Jackson Harper
14b2f33691 Make the AddLink and HighlightNote modals more consistent 2022-06-14 10:43:19 -07:00
Jackson Harper
97418f5492 Right align buttons, no need for a Cancel button 2022-06-14 10:14:37 -07:00
Jackson Harper
00bbb993bc Consistent naming 2022-06-14 10:01:20 -07:00
Jackson Harper
c69eb3b575 Make checkboxs left aligned 2022-06-14 09:59:58 -07:00
Jackson Harper
88aa4fb27b Linting fixes 2022-06-13 23:00:00 -07:00
Jackson Harper
927ec54775 Use a <select for picking API expiration, fix some text color issues in dark mode 2022-06-13 22:46:49 -07:00
Jackson Harper
b59dc45a39 Add new fonts for the reader on iOS 2022-06-13 16:06:49 -07:00
Jackson Harper
ab6a225ccf Embed the reader fonts into iOS and the appreader CSS 2022-06-13 15:01:35 -07:00
Jackson Harper
c1698464bf Update pspdfkit library files 2022-06-13 13:43:59 -07:00
dependabot[bot]
90153ffa36
Bump pspdfkit from 2021.6.1 to 2022.2.3
Bumps [pspdfkit](https://pspdfkit.com/web) from 2021.6.1 to 2022.2.3.

---
updated-dependencies:
- dependency-name: pspdfkit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 19:58:59 +00:00
Satindar Dhillon
bd34f4ff3c use maxWidthPercentage to update margin in web reader: 2022-06-13 11:27:21 -07:00
Satindar Dhillon
4423bc3e44 adds ability to control maxWidth on iphone 2022-06-13 09:57:28 -07:00