Commit Graph

51 Commits

Author SHA1 Message Date
137283db0a More moves to react-query for key library functions 2024-08-12 11:09:56 +08:00
04868c1fd9 fix: sort by highlight location when highlight position is equal 2024-07-03 20:55:14 +02:00
547dccab64 refactor: use common sortHighlights function 2024-07-03 20:47:27 +02:00
0ed8623e65 Comment out the withLabel icon until its working better 2024-02-26 14:08:10 +08:00
6ad528d755 When highlights are deleted also delete their label buttons if they have one 2024-02-26 13:32:18 +08:00
67fada0c40 Fix create hgihlight internal API call 2024-02-19 15:38:54 +08:00
398d816248 Start work on shortcuts 2024-02-16 15:45:38 +08:00
2aa7c1a7d4 Fix reader header offset, add labels icon to highlights 2024-02-16 15:34:39 +08:00
4a08c1f195 Syncing improvements for highlight changes on android 2024-01-10 11:47:30 +08:00
45add1643c small fix 2024-01-02 02:00:08 -05:00
45fdce7f16 merge main 2024-01-02 01:53:49 -05:00
b23ddcb6bc Add documentation for highlight and fix bug
Issue: https://github.com/omnivore-app/omnivore/issues/2996
2024-01-02 01:52:47 -05:00
1386e97396 Add documentation for highlight and fix bug
Issue: https://github.com/omnivore-app/omnivore/issues/2996
2023-12-27 19:56:24 -05:00
c4773dc904 Landing page improvements and various supporting improvements 2023-10-24 09:43:39 +01:00
913eba19a1 Rename some CSS vars to try and break some caching 2023-08-24 16:57:53 +08:00
03e95a029b Add multiple highlight colors 2023-08-24 12:03:32 +08:00
d511d43593 Handle all whitespace nodes when creating highlights, improve highlight view styling 2023-06-28 15:42:31 +08:00
73498383ba Sync highlight changes from page to notebook 2023-06-27 15:47:32 +08:00
14d5676979 Add handler for justify text, fix dependency issue with auto highlights 2023-04-10 15:59:40 +08:00
2ed372a74c Better dependency handling of highlights data 2023-04-05 17:05:30 +08:00
1220481b00 Better highlight position calculation 2023-04-04 21:26:47 +08:00
8e3aba2295 WIP: feature cards, fir merging highlights offline sync 2023-04-04 21:04:13 +08:00
af00b88c5a More merge fixes 2023-04-03 17:29:01 +08:00
5eef42e296 Merge highlight improvements 2023-04-03 17:19:43 +08:00
a55eab32f3 Send HTML with highlight requests 2023-03-31 14:04:42 +08:00
e3675295f0 WIP: use MD for highlight quotes 2023-03-31 12:26:03 +08:00
33e301cae6 Handle changes in the modal notebook 2023-03-24 20:18:37 +08:00
066766d980 Remove unused code 2023-02-27 11:12:29 +08:00
82638eaf04 multiply x and y tap coordinates by density to get correct bar positioning 2023-02-14 07:54:28 -08:00
ea0f114d64 Linting clean up 2023-02-07 11:03:53 +08:00
92d5851aa9 Enable highlight on selection behavior on iOS 2023-02-07 11:03:53 +08:00
fe9ed7aa13 Track the highlight position percent and anchor index when saving on web 2023-02-01 16:42:36 +08:00
e16fc81a2f Fix issue with spaces dissapearing when highlights are created
Use the raw text when creating a highlight node instead of the
escaped text. This means \n spaces will be preserved in the
node and prevent spaces from being removed.
2022-12-27 20:31:34 +08:00
a0d4b1493a Simplify code to set custom highlight color 2022-12-20 17:20:57 +08:00
7ac26365b2 Use let instead of var 2022-12-19 17:07:27 +08:00
e8cd9f4412 Shared highlights UX 2022-12-19 17:07:27 +08:00
be44636aa6 Update web 2022-12-09 15:40:34 +08:00
bc1ddd5681 adjust menu location with toolbar height. user screenx/y to store tap location 2022-12-07 15:21:19 -08:00
28c1628a97 implement text selection copying 2022-12-01 13:03:39 -08:00
708bb25470 send android selection coordinates when touches end 2022-12-01 10:27:41 -08:00
74df91445b Linting clean up 2022-11-15 15:50:13 +08:00
aa856a5366 If in a pre block dont replace whitespace when highlighting 2022-11-15 15:34:27 +08:00
c2bd50715d We are writing Typescript here not Swift 2022-09-26 16:27:39 +08:00
d164013ff9 Also break on comma 2022-09-26 14:49:57 +08:00
3ccb3c6c84 Disable word snapping on CJK languages 2022-09-26 14:42:19 +08:00
5392265a5e Bridge response values from highlight mutations back to JS in the format it expects 2022-03-24 10:52:26 -07:00
f3edb9ca7a Reduce the data fetched when creating highlights
This reduces the fields on the highlight type, and reduces what
we fetch. We are doing this so its easier to bind from Swift and
pass back simpler types for create/update/merge highlight
operations
2022-03-24 10:50:46 -07:00
9275dbb732 Display the note SVG in a container div 2022-03-23 11:20:32 -07:00
4960daeb30 use inline svg for highlight note icon 2022-03-23 10:59:59 -07:00
6daa599b76 Separate the mutations out of lower level components
This will let us handle the mutations differently on native
iOS and should help in avoiding making web calls directly from
the web view, so we can avoid CORs and introduce a caching
layer.
2022-03-22 13:58:39 -07:00