Commit graph

399 commits

Author SHA1 Message Date
Jackson Harper
b0b7bf5dcc Update notebook styling 2023-06-27 15:46:49 +08:00
Jackson Harper
b1a7fc8488 Improve styling of notes 2023-06-27 15:46:49 +08:00
Jackson Harper
e294ed4b4b Clean up notebooks design and saving 2023-06-27 15:46:49 +08:00
Jackson Harper
fa0efe7794 First pass at hover actions on the library items 2023-06-27 15:46:49 +08:00
Rahul Tripathi
44bdf4cd26 #2267 fix styling for highlight bar in mobile. 2023-06-26 14:39:37 +05:30
Rahul Tripathi
09abc46102 Correct highlight bar css object conditional. 2023-06-23 03:23:01 +05:30
Rahul Tripathi
273d98332e Clean up HighlightBar.tsx and remove dup code 2023-06-22 17:54:04 +05:30
Rahul Tripathi
36898eea93 Issue 2267 - add a copy button to highlights 2023-06-22 17:16:29 +05:30
Jackson Harper
b733420d19 Allow opening notebooks from the library 2023-06-20 15:54:04 +08:00
Jackson Harper
e270d4acf9 Warnings clean up 2023-06-20 13:36:36 +08:00
Jackson Harper
99af02b5ad Fix padding on list 2023-06-13 16:08:38 +08:00
Jackson Harper
b272e6a46a Padding on the confirmation dialog 2023-06-09 18:03:38 +08:00
Jackson Harper
032b28ba79 Improve list layout 2023-06-09 17:30:24 +08:00
Jackson Harper
4e2c69d681 Some breakpoint improvements 2023-06-09 14:23:10 +08:00
Jackson Harper
180a914260 Fix list view breakpoints to match grid 2023-06-08 19:57:33 +08:00
Jackson Harper
e0cdbdb0e7 More work on multiple selection mode 2023-06-08 19:57:33 +08:00
Jackson Harper
d4aa715b5b Add checkboxes on library cards in multi select mode 2023-06-08 19:57:33 +08:00
Jackson Harper
e6eadf75f0 Some menu and bulk selection UI 2023-06-08 19:57:33 +08:00
Jackson Harper
5a3d0698bf Make sure we filter origin names on library cards 2023-05-26 13:01:42 +08:00
Jackson Harper
b6410976e5 Better handling of focus outlines 2023-05-25 15:26:29 +08:00
Jackson Harper
6cfd424922 Modify the sizes of the left menu and the header 2023-05-25 12:56:58 +08:00
Jackson Harper
f4a860e912 Add label sorting on the web 2023-05-05 12:36:30 +08:00
Jackson Harper
aab332eefc Sort labels by name 2023-05-05 12:03:50 +08:00
Jackson Harper
fde5ec29cf Dont allow descriptions to overflow their card width 2023-05-05 12:00:22 +08:00
Jackson Harper
2698bb0a24 Display read time on the reader view 2023-05-02 11:56:09 +08:00
Jackson Harper
1f320b6db4 Better handling of the tab keypress in notebooks 2023-04-28 20:13:16 +08:00
Jackson Harper
978e802786 Clean up keyboard commands functionalities and modal, add tooltips 2023-04-14 11:27:01 +08:00
Jackson Harper
3c7ab5d77e Remove position: relative in unneeded places
- relative positioning causes it to create its own box, so
it gets its on z-index, removing this prevents it from showing
above the label modal.
2023-04-13 11:52:01 +08:00
Jackson Harper
872c3d8d0b Fix edit labels drop down action 2023-04-10 16:15:57 +08:00
Jackson Harper
4468b038a8 Update notebook icon 2023-04-05 15:09:03 +08:00
Jackson Harper
8e3aba2295 WIP: feature cards, fir merging highlights offline sync 2023-04-04 21:04:13 +08:00
Jackson Harper
8fd891bae7 Start to add a new modal for notes 2023-04-03 16:13:53 +08:00
Jackson Harper
f20cbed563 Improve highlight scrolling from notebooks 2023-04-03 13:46:19 +08:00
Jackson Harper
c00ef27e77 Revert scrolling changes 2023-04-03 10:41:18 +08:00
Jackson Harper
f6fc974040 Add a key to help with rerenders 2023-03-31 21:49:26 +08:00
Jackson Harper
a6bda62a91 Min font size on iOS inputs should be 16px or we will zoom on input 2023-03-31 19:43:03 +08:00
Jackson Harper
ddb32a7704 Allow passing children as text 2023-03-31 15:57:17 +08:00
Jackson Harper
3fdc199401 Padding on empty note boxes 2023-03-31 15:50:19 +08:00
Jackson Harper
579bc45237 Formatting on highlight notes 2023-03-31 15:44:07 +08:00
Jackson Harper
86c3e08355 Update color, remove unused code 2023-03-31 14:54:22 +08:00
Jackson Harper
d6a3eaea92 Fix notebook layout to match design, remove unused file 2023-03-31 14:48:31 +08:00
Jackson Harper
d77ce3c46d Improve CSS on MD boxes 2023-03-31 13:23:01 +08:00
Jackson Harper
e3675295f0 WIP: use MD for highlight quotes 2023-03-31 12:26:03 +08:00
Jackson Harper
bf768293aa Use same notebook across layouts 2023-03-27 14:04:43 +08:00
Jackson Harper
040e446167 WIP: refactoring to reuse notebook code 2023-03-27 12:16:21 +08:00
Jackson Harper
53e5d9c6a0 Quote is nullable, fix style issues in notebooks 2023-03-27 10:17:33 +08:00
Jackson Harper
f658df006e Remove import 2023-03-24 20:39:13 +08:00
Jackson Harper
da795848d8 Move both note handlers into same file 2023-03-24 20:21:35 +08:00
Jackson Harper
33e301cae6 Handle changes in the modal notebook 2023-03-24 20:18:37 +08:00
Jackson Harper
356c64173a Improve the notebooks 2023-03-24 16:23:04 +08:00
Jackson Harper
e2aaaf5a08 Sizing fixes on the note modal 2023-03-24 10:18:36 +08:00
Jackson Harper
0b04cbef28 Udpated boxes for notes
Needs to be refactored a bit, but using two different components
right now because some of the small differences are hard to
abstract while developing.
2023-03-24 10:18:36 +08:00
Jackson Harper
69eaff395e WIP: improve notebook UX, add markdown, document notes 2023-03-24 10:18:36 +08:00
Jackson Harper
baad0030ca Handle highlight delete in the mobile library view 2023-03-17 15:24:22 +08:00
Jackson Harper
23efda667d Theme cleanup, expose extra reader themes
This also removes synced reader preferences so everything is
per device now.
2023-03-10 15:05:18 +08:00
Jackson Harper
56d79580e2 Improve settings layout 2023-03-10 11:03:30 +08:00
Jackson Harper
47277b63ee Clean up the settings header to work better with new layout 2023-03-10 10:12:59 +08:00
Jackson Harper
2f5305ffe4 Padding on author top 2023-03-10 09:17:05 +08:00
Jackson Harper
39207f73a2 Fix imports 2023-03-10 08:35:27 +08:00
Jackson Harper
6bc146f5b0 Simplify metadata on library cards, handle plural in hacky way 2023-03-09 18:46:01 +08:00
Jackson Harper
b445c7ebfe Padding, margin, font size tweaks on highlight editors 2023-03-09 10:23:02 +08:00
Jackson Harper
84dee7cf34 Add missing import 2023-03-08 18:08:13 +08:00
Jackson Harper
e4ae4a7e64 Allow wider grid cards on smaller screens so there isnt a huge amount of margin 2023-03-08 17:58:23 +08:00
Jackson Harper
1067726a7a Sort highlights, make the notes editable 2023-03-08 17:48:30 +08:00
Jackson Harper
e9b4cdd7bf Remove unused 2023-03-08 17:05:42 +08:00
Jackson Harper
c9d48c5f35 Clean up card types, remove old code 2023-03-08 17:02:52 +08:00
Jackson Harper
818a9a66ad Consolidate more of the highlight card code 2023-03-08 16:51:22 +08:00
Jackson Harper
61c44c807b Consolidate some list styling 2023-03-08 16:48:36 +08:00
Jackson Harper
142d1fc4f2 Update some highlights colours 2023-03-08 15:31:52 +08:00
Jackson Harper
3fdb7f8694 Add new mobile highlight cards 2023-03-08 15:23:40 +08:00
Jackson Harper
e13b809389 Get highlights with library items, over fetching for now, can maybe trim stuff in future 2023-03-06 22:13:50 +08:00
Jackson Harper
96ddc100b5 Linting improvements 2023-03-06 16:21:26 +08:00
Jackson Harper
4c4f970a5d Set width on the list view 2023-03-06 16:06:08 +08:00
Jackson Harper
74db69c243 Use a more subtle color for card metadata 2023-03-06 12:58:49 +08:00
Jackson Harper
8a27a50eb5 Hover color for menu buttons 2023-03-06 12:24:45 +08:00
Jackson Harper
205f337ea7 Always display hover state on touch devices for menu 2023-03-06 12:16:55 +08:00
Jackson Harper
8c02184b99 Consolidate library styles 2023-03-06 11:34:02 +08:00
Jackson Harper
b8f24e7be5 Consolidate styles for list and grid cards 2023-03-06 11:24:45 +08:00
Jackson Harper
79902364ae Move article actions to their own menu 2023-03-03 21:55:04 +08:00
Jackson Harper
ac5c3e0176 Fill color for the progress bars in dark 2023-03-03 19:01:07 +08:00
Jackson Harper
35bed5236a Light / dark tweaks 2023-03-03 18:54:09 +08:00
Jackson Harper
f725eea1e5 Borders on list view 2023-03-03 14:23:15 +08:00
Jackson Harper
37b8d644a5 Use theme for display font 2023-03-03 13:29:36 +08:00
Jackson Harper
3eb74251da Work on dark mode 2023-03-03 12:15:02 +08:00
Jackson Harper
e09aaf0347 Use SF pro instead of SF Pro Display 2023-03-03 10:58:36 +08:00
Jackson Harper
3b132490c9 Start adding a search modal thingy 2023-03-03 10:21:06 +08:00
Jackson Harper
7f6c0e9e0a Reading progress dot shouldnt be green 2023-03-02 21:56:46 +08:00
Jackson Harper
7fcd5e300d menu size max list size 2023-03-02 21:41:16 +08:00
Jackson Harper
b4512c7f14 Add library list card 2023-03-02 21:36:44 +08:00
Jackson Harper
ded3768766 Library list view implementation 2023-03-02 21:22:19 +08:00
Jackson Harper
aa2e20d9c0 Edit title and description modal 2023-03-02 12:59:31 +08:00
Jackson Harper
211ba68f6f Remove debug line 2023-03-02 10:28:50 +08:00
Jackson Harper
a95477ab0e Track menu state so we dont hide buttons when they open 2023-03-01 23:29:33 +08:00
Jackson Harper
b07485443f Handle focusing the active element on hover 2023-03-01 23:13:30 +08:00
Jackson Harper
c6f752d3c4 Wrap the next Link in the VStack so we still get hover states from the Library list code 2023-03-01 21:20:10 +08:00
Jackson Harper
7cd8fee664 Hover on the left menu items 2023-03-01 20:41:52 +08:00
Jackson Harper
90c8837c39 Display hover menu backgrounds 2023-03-01 20:35:16 +08:00
Jackson Harper
d05aa87fe8 Handle large lists of labels on some cards 2023-03-01 16:04:52 +08:00
Jackson Harper
deb41afd3f Use full width for cards 2023-03-01 15:36:56 +08:00
Jackson Harper
fef1349dde Remove old commented out code 2023-03-01 15:30:00 +08:00
Jackson Harper
c58e3b3762 Use Next link on grid card 2023-03-01 13:21:49 +08:00
Jackson Harper
602eb26d57 Tweak color of topline on grid cards 2023-03-01 12:35:34 +08:00
Jackson Harper
b091ff830f Improve handling of labels 2023-03-01 10:56:00 +08:00
Jackson Harper
0b33f63680 Some sizing tweaks for larger screens 2023-03-01 10:42:56 +08:00
Jackson Harper
c3b5666f79 Use 4 columns on larger screens, increase menu width 2023-03-01 10:03:23 +08:00
Jackson Harper
3325bddd90 Go back to old cards for now 2023-02-27 15:29:30 +08:00
Jackson Harper
be395019ec Help typescript out a bit 2023-02-27 15:12:09 +08:00
Jackson Harper
e9ae311559 Add wordsCount and better center new grid cards 2023-02-27 15:07:04 +08:00
Jackson Harper
c14550f14f Use new grid cards 2023-02-27 14:54:48 +08:00
Jackson Harper
6ea7d04059 Fix avatar dropdown props 2023-02-27 12:10:32 +08:00
Jackson Harper
066766d980 Remove unused code 2023-02-27 11:12:29 +08:00
Jackson Harper
9d6a28cc74 More warnings clean up 2023-02-27 10:34:12 +08:00
Jackson Harper
65441ae06d Remove some unused code 2023-02-27 09:49:49 +08:00
Jackson Harper
35b94ee237 Remove unused modals 2023-02-27 09:23:04 +08:00
Jackson Harper
30090e0320 Article container fixes to new design, more header work 2023-02-25 09:49:18 +08:00
Jackson Harper
a57dad444d Move keyboard commands from header into layout 2023-02-25 08:51:25 +08:00
Jackson Harper
09328edfe5 Updated library cards 2023-02-24 10:09:24 +08:00
Jackson Harper
5d9aa8cb6b Add documentation link to main dropdown menu 2023-01-27 12:17:27 +08:00
Jackson Harper
5a5d0a5054 Use never as default expiration, fix key= prop 2023-01-18 18:16:30 +08:00
Jackson Harper
4e2197331c Fix default expiration to match form 2023-01-18 18:01:34 +08:00
Jackson Harper
6eb019cc76 Use webBaseURL to make twitter image url absolute 2023-01-16 16:03:17 +08:00
Jackson Harper
a409935da3 Fix concat of test image url 2023-01-16 15:14:07 +08:00
Jackson Harper
e04ad1568b Test making twitter image url absolute 2023-01-16 15:05:53 +08:00
Jackson Harper
9034a75151 Add twitter image data handlers 2023-01-16 14:27:53 +08:00
Jackson Harper
a15af3f514 Different sizing for highlight bar if displaying the extra image 2022-12-21 12:55:08 +08:00
Jackson Harper
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
Jackson Harper
300969cc47 Display label chips on the highlights view 2022-12-02 13:39:23 +08:00
Jackson Harper
5ab647c629 Increase the z-index on the confirmation dialog so it can be displayed over modals 2022-12-02 12:32:14 +08:00
Jackson Harper
f2d8d48e41 Tweak the highlights view padding, handle empty string annotations 2022-12-01 18:57:59 +08:00
Jackson Harper
a4a32dec2b Make the web notebook UI better match the iOS UI 2022-12-01 18:26:35 +08:00
Jackson Harper
53c9881fe0 Allow setting highlight labels by clicking a highlight 2022-11-29 11:58:32 +08:00
Jackson Harper
9fde7c98a4 Handle invalid URLs in the shouldHideUrl check 2022-11-25 16:17:32 +08:00
Jackson Harper
87fa9611ec Add web UI for editing bylines 2022-11-25 11:16:20 +08:00
Jackson Harper
6a918bd074 Show the being deleted item in the confirmation modal 2022-11-24 14:56:44 +08:00
Jackson Harper
89d4259a8e Hide google storage URLs and stub URLs on library cards 2022-11-22 12:33:15 +08:00
Jackson Harper
97fb36bc3c
Merge pull request #1396 from omnivore-app/feat/ultra-voices
iOS work on realistic voices
2022-11-15 08:54:59 +08:00
Jackson Harper
f3f1a9deff Enable the integrations page on the dropdown menu 2022-11-14 17:11:41 +08:00
Jackson Harper
fa99af3f6a Better handling of articles with stub URLs that shouldn't be used (happens with newsletters that dont have a URL') 2022-11-11 15:56:03 +08:00
Jackson Harper
4b287f0a69 Remove Integrations from menu so we can deploy it and test 2022-10-26 16:45:24 +08:00
Rupin Khandelwal
15024480aa Integrations Page 2022-10-17 22:47:42 -05:00
Rupin Khandelwal
eacb569489
Merge pull request #1278 from omnivore-app/bug/fix-gridLayout
Fix - Grid and List Layout
2022-10-10 11:18:47 -05:00
Jackson Harper
b3733a4ee6 Better naming, fix issue with highlight bar placement 2022-10-07 18:08:32 +08:00
Jackson Harper
501edbcde3 fix typo 2022-10-07 17:14:11 +08:00
Jackson Harper
35a8184790 More clear naming for the touch bar 2022-10-07 17:09:34 +08:00
Jackson Harper
7f9e898a1b Display the highlight bar near the cursor on non-touch devices 2022-10-07 16:51:01 +08:00
Jackson Harper
791c9a9113 Always treat highlightBackground as an array not a color now. This lets us apply alpha differently to backgrounds and underlines 2022-10-07 14:13:49 +08:00
Rupin Khandelwal
5bc3dec953 Fixed all the layouts and cleaned up CSS for grid 2022-10-06 12:45:43 -05:00
Rupin Khandelwal
b6173cdc2d Fixed the problem about the layouts - Fresh look helps 2022-10-06 11:47:02 -05:00
Rupin Khandelwal
ab17b9f2da Fix - Grid and List Layout 2022-10-04 13:03:55 -05:00
Jackson Harper
4fcb379950 A couple small font/color tweaks 2022-09-27 10:20:14 +08:00
Rupin Khandelwal
e805c5fade Removing commented out code and polish/clean up 2022-09-26 14:01:18 -05:00
Rupin Khandelwal
efcfc1afdb Compact list view completion 2022-09-26 13:57:18 -05:00
Rupin Khandelwal
84dbc45bc5 Compact List view Creation 2022-09-24 18:12:45 -05:00
Rupin Khandelwal
ed5084eaf1 cleaning up layout for Author 2022-08-29 23:45:55 -05:00
Rupin Khandelwal
ffbcc9ed46 Added condition for the image and increased font weight for the author 2022-08-29 21:28:20 -05:00
Rupin Khandelwal
5e7b5868d8 added condition for the origin text 2022-08-25 19:55:58 -05:00
Rupin Khandelwal
2a66829d24 removed some hard coded testing text 2022-08-25 19:52:49 -05:00
Rupin Khandelwal
fecaf5301e Added some CSS to match the designs and enabled some layouts 2022-08-25 19:51:09 -05:00
Rupin Khandelwal
78abc6b5c4 Feature 1079 -Updating list view to the latest design 2022-08-24 01:43:36 -05:00
Jackson Harper
2b35ae6f08
Merge pull request #1105 from omnivore-app/fix/library-masonry-layout
Use a masonry layout for the library layout
2022-08-23 10:54:17 +08:00
Jackson Harper
7673814fd3 Add a delete page article action, add keyboard ctrls for confirm dialogs 2022-08-22 15:53:22 +08:00
Jackson Harper
1aa0780e29 Use a masonry layout for the library layout 2022-08-19 14:53:01 +08:00
Jackson Harper
695a9ce649 Add page with new library layout 2022-08-11 17:36:09 +08:00
Jackson Harper
858448e0d4 Update style for new library, display progress bar backgrounds 2022-08-11 17:34:44 +08:00
Jackson Harper
77c32b13cf Display toolbar on wide screens for PDFs 2022-07-25 21:35:10 -07:00
Jackson Harper
c4901a1eaf Use dispatch events on article actions
This allows the kbar to be created with no external dependencies
so there is no flicker when a dependency like the article is
loaded.
2022-07-14 14:43:27 -07:00
Jackson Harper
9c37967abe Set a z-index on the omnivore name logo element
When the OmnivoreNameLogo is a floating element we need to
set a z-index on it to ensure that it is above the left
article action menu items.

This fixes issues where the name logo might not be clickable on
wider screens.
2022-07-14 11:10:50 -07:00
Jackson Harper
2d67b90904 Use fixed positioning on floating primary header 2022-07-12 11:59:02 -07:00
Jackson Harper
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
Jackson Harper
aba2e7892e Update the all highlights modal 2022-07-11 19:40:00 -07:00
Jackson Harper
156c4cf2cf Update design on Add Link, and notes modals 2022-07-11 19:25:25 -07:00
Jackson Harper
9e3b192506 Clean up the design of FormModals 2022-07-11 18:15:14 -07:00
Jackson Harper
667db742a0 Re-enable the API keys in the dropdown menu 2022-07-11 16:20:35 -07:00
Jackson Harper
1965146e9f Clean up highlight bar trash icon 2022-07-11 16:01:36 -07:00
Jackson Harper
ff6fcd15c4 Reduce rerenders of the kbar items 2022-07-11 15:47:42 -07:00
Jackson Harper
4e27ec97f9 Use kbar for highlighting shortcuts, cleanup options 2022-07-11 13:14:14 -07:00
gitstart-omnivore
552d76a929 Added search support for kbar in this PR. 2022-07-11 13:14:12 -07:00
Jackson Harper
215d9cfc36 Fix the utility text color in menus, make theme switcher smaller 2022-07-09 17:08:49 -07:00
Jackson Harper
f60876830c Clean up menus based on latest design
Mostly removing separators, improving shadows, tweaking font.

First pass at these updates:

https://www.figma.com/file/ILgs6aXrPfukXOMf5Yibra/Omnivore---Deliverables?node-id=3386%3A82865
2022-07-08 15:20:55 -07:00
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
Rupin Khandelwal
3761893aa3 fixed icon and text position to be centered inside highlight bar 2022-06-23 09:48:16 -07:00
Rupin Khandelwal
560853fb1d Issue-835-Part-1 2022-06-22 12:36:06 -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
97418f5492 Right align buttons, no need for a Cancel button 2022-06-14 10:14:37 -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
gitstart-omnivore
cec6dc5197 Rebase 2022-06-09 13:32:32 -07:00
gitstart-omnivore
a8531b7ced
Merge branch 'main' into OMN-700 2022-06-07 01:01:59 +05:30
Hongbo Wu
96e67a1ddd Add checkout box input 2022-06-03 16:23:05 +08:00
Hongbo Wu
32a45676e3 Update modal form style 2022-06-03 10:42:00 +08:00
Hongbo Wu
ba3316f621 Update modal headline padding 2022-06-02 22:02:50 +08:00
Hongbo Wu
fdccc3e701 Make inputs as state 2022-06-02 21:34:17 +08:00
Hongbo Wu
56f28bcd14 Replace FormInput with input component 2022-06-02 18:40:26 +08:00
Hongbo Wu
29797829b4 Add enabled input field in form 2022-06-02 12:32:13 +08:00
Hongbo Wu
353aa6256f Update FormModal style 2022-06-02 11:03:38 +08:00
gitstart-omnivore
313c4db094 Added unsubscribe menu option 2022-06-01 20:17:34 +00:00
Hongbo Wu
7c926f4ae4 Add webhook adding modal 2022-06-01 22:28:46 +08:00
Hongbo Wu
56c4f5f2de Add formModal 2022-06-01 22:04:58 +08:00
Jackson Harper
bf8a41af29 Make sure the header bar has a background in settings screens 2022-05-13 10:57:39 -07:00
Hongbo Wu
b4e66f33d2
Merge pull request #590 from omnivore-app/clean-domain-name
Remove www. from the siteName
2022-05-12 11:03:19 +08:00