Atai Barkai
1ab4b98b98
minor rearrange and comment for clarity
2023-08-15 06:07:24 -07:00
Atai Barkai
2b46479c03
copilot context takes categories, to allow for filtering of content
2023-08-14 22:50:40 -07:00
Atai Barkai
452c5eb20c
global context now takes categories in initialization and in printing
2023-08-14 22:21:20 -07:00
Atai Barkai
5cb2142805
move useMakeAutosuggestionFunction to react textarea
2023-08-14 17:15:37 -07:00
Atai Barkai
08fed377c0
autosuggestions work and are fucking awesome
2023-08-14 16:32:44 -07:00
Atai Barkai
81764de583
autosuggestions config type
2023-08-14 11:34:17 -07:00
Atai Barkai
2732ed1323
minor comment for clarity
2023-08-14 11:33:28 -07:00
Atai Barkai
755a79050e
tab to complete seems to work
2023-08-13 22:51:12 -07:00
Atai Barkai
73595d30d4
minor file renames
2023-08-13 22:15:16 -07:00
Atai Barkai
c90fb5278c
file refactors: split into more files
2023-08-13 22:15:16 -07:00
Atai Barkai
bf812fac0e
when select an actual (non-collapsed) range, suggestions disappear
2023-08-13 22:15:16 -07:00
Atai Barkai
b19b80475c
suggestions get added and removed correctly as used edits document
...
.
2023-08-13 22:15:16 -07:00
Atai Barkai
f9ba1cf942
calculate the text before/after the cursor only AFTER graduating from debounce
2023-08-13 22:15:16 -07:00
Atai Barkai
56afe0b881
wip before text, after text
...
wip - double counting before text
wip middle sort of working
wip
pre select text seems to be consistent across the standard edge cases! (newlines, middle of node, between nodes, etc.)
2023-08-13 22:15:16 -07:00
Atai Barkai
842b34349d
move debouncer to its own file
2023-08-13 22:15:16 -07:00
Atai Barkai
84039ea435
get rid of error handling
2023-08-13 22:15:16 -07:00
Atai Barkai
19d524ee85
looks like debouncing is fully working
2023-08-13 22:15:16 -07:00
Atai Barkai
4ecfb5fcfe
autocomplete gets called on actual changes
2023-08-13 22:15:16 -07:00
Atai Barkai
73ac1eb802
wip debounce
...
.
2023-08-13 22:15:16 -07:00
Atai Barkai
1cef62903b
ignore normalizing empty text when figuring out text contents of text field
...
.
2023-08-11 14:02:36 -07:00
Atai Barkai
2c73fa0879
insert node, not fragment
2023-08-10 22:35:16 -07:00
Atai Barkai
888dc853e4
Default element uses div, not span, to render newlines
2023-08-10 21:07:54 -07:00
Atai Barkai
5b6ddab45b
restor cursor position after injecting
2023-08-10 21:07:32 -07:00
Atai Barkai
0a51c254b8
suggestions are not editable
2023-08-10 19:46:18 -07:00
Atai Barkai
5b62775fc0
wip: inline suggestion
2023-08-10 19:25:43 -07:00
Atai Barkai
93e75843de
suggestion element as element, not leaf
2023-08-10 15:39:27 -07:00
Atai Barkai
8363b8c774
consistent textarea file arranagement, memoization
2023-08-08 23:02:26 -07:00
Atai Barkai
f899fbb952
support cancelling the autocomplete call
2023-08-08 22:52:03 -07:00
Atai Barkai
fb5e5f32cc
simpe autocomplete impl
2023-08-08 22:12:01 -07:00
Atai Barkai
93d2d5e048
prep for autocomplete impl
2023-08-08 18:54:45 -07:00
Atai Barkai
53f27178b5
remove unused element types
2023-08-08 18:43:22 -07:00
Atai Barkai
883ec18c2b
propagate CopilotTextArea contents etc.
2023-08-08 18:39:21 -07:00
Atai Barkai
cce0b591a5
support leaf formatting (same line)
2023-08-08 17:31:52 -07:00
Atai Barkai
57dd811efe
wip
2023-08-02 20:15:17 -07:00
Atai Barkai
0d8df98c5b
delete unused example
2023-08-02 18:28:08 -07:00
Atai Barkai
a6c82f199b
add basic react-textarea skeleton
2023-08-02 18:28:03 -07:00
Atai Barkai
a6c23813a9
add slate-history
2023-08-02 18:11:55 -07:00
Atai Barkai
2883586540
..
2023-08-02 15:27:08 -07:00
Atai Barkai
587c19c1e4
insall slate peer dependency: react-dom
2023-08-02 15:24:54 -07:00
Atai Barkai
b5ea72e754
pnpm install lock
2023-08-02 15:22:28 -07:00
Atai Barkai
cdab084393
react-textarea: slate-react dependency
2023-08-02 15:22:21 -07:00
Atai Barkai
eb8e370368
.
2023-08-02 15:20:36 -07:00
Atai Barkai
4cceaacaed
react-textarea
2023-08-02 15:20:12 -07:00
RecursivelyAI
505ab39a49
Merge pull request #7 from RecursivelyAI/ataibarkai-patch-1
...
Update README.md
2023-07-28 15:27:43 -07:00
Atai Barkai
5ceff70ed6
Update README.md
2023-07-28 15:24:32 -07:00
RecursivelyAI
8df5bc9816
Merge pull request #6 from RecursivelyAI/atai/0720/more_readme
...
fix discord link
2023-07-20 19:07:07 -07:00
Atai Barkai
d84d968755
fix discord link
2023-07-20 19:06:45 -07:00
Atai Barkai
04c21c96bf
Merge pull request #5 from RecursivelyAI/atai/0720/more_readme
...
reame
2023-07-20 13:09:21 -07:00
Atai Barkai
55d05eaddb
add discord link
2023-07-20 12:55:41 -07:00
Atai Barkai
7b21b307b5
remove api endpoint from readme
2023-07-20 12:40:47 -07:00