Commit Graph

19 Commits

Author SHA1 Message Date
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
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00