Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
bd29a12
Begin work on rich text editor
gordonbrander Oct 4, 2024
04139f6
Basic styling
gordonbrander Oct 4, 2024
c9cede6
Generalize @mention and #hashtag decoration plugin
gordonbrander Oct 5, 2024
a285ff3
Refactor suggestions plugin to build up state
gordonbrander Oct 8, 2024
655e4c5
WIP: position suggestions under active decoration
gordonbrander Oct 8, 2024
443590b
Add toggleHidden helper
gordonbrander Oct 8, 2024
bdcb475
Mentions and hashtag suggestion panes hide/show
gordonbrander Oct 8, 2024
972497c
Simplify suggestions plugin / just expose onUpdate
gordonbrander Oct 8, 2024
120cf9f
Improved suggestion menu style
gordonbrander Oct 8, 2024
d66ecf7
Switch to fixed strategy
gordonbrander Oct 8, 2024
eba0e95
Expose all suggestion events through reducer
gordonbrander Oct 9, 2024
bfcb3ea
Send message on view init
gordonbrander Oct 9, 2024
717be35
Initialize editor in connectedCallback
gordonbrander Oct 9, 2024
9b16435
Send destroy msg to reducer on destroy
gordonbrander Oct 9, 2024
f05ed65
Change positioning strategy to absolute
gordonbrander Oct 9, 2024
f99a99e
Hide suggestions at first
gordonbrander Oct 9, 2024
a104bc6
Pipe suggestion plugins through reducer store
gordonbrander Oct 10, 2024
e996e91
Manage menu position and opacity outside of reactive context
gordonbrander Oct 10, 2024
bea0b60
Factor floating menu out into component
gordonbrander Oct 10, 2024
17ec5d8
Editor store drives updates
gordonbrander Oct 10, 2024
3c0a6f1
Wire up hashtag plugin to store
gordonbrander Oct 10, 2024
7ef2df5
Generate dummy data in suggestion menus
gordonbrander Oct 10, 2024
c32ac0f
Allow preventDefault from callbacks
gordonbrander Oct 10, 2024
41f4d87
Add dummy data module
gordonbrander Oct 10, 2024
f9eb3fc
Begin work wiring up completion microinteractions
gordonbrander Oct 10, 2024
899248c
Fix a few bugs with the arrow keys
gordonbrander Oct 10, 2024
78c222c
Add tests
gordonbrander Oct 11, 2024
cca85bc
Reorganize plugins somewhat
gordonbrander Oct 11, 2024
8a4d727
Add tests for suggestions reducer
gordonbrander Oct 11, 2024
b90bf05
Surface custom event when clicking completions
gordonbrander Oct 11, 2024
0b66094
Add hover style to completions
gordonbrander Oct 11, 2024
2435505
Make cursor a little smarter about re-use
gordonbrander Oct 11, 2024
44d2181
Refactor a little for debuggability
gordonbrander Oct 11, 2024
cf1af98
Proof-of-concept text insertion
gordonbrander Oct 12, 2024
8e3dd77
Simplify types with generic
gordonbrander Oct 14, 2024
2ba6a5f
Re-export suggestion msgs from plugin
gordonbrander Oct 14, 2024
5d2cf52
Include active suggestion with enter and tab msgs
gordonbrander Oct 14, 2024
48ecfbe
Pass through most suggestion plugin msgs
gordonbrander Oct 14, 2024
4e5fddc
Tag hashtag and mention msgs to route enter/tab
gordonbrander Oct 14, 2024
3c944c0
Wire up tab and enter completion replacement
gordonbrander Oct 15, 2024
55c65cd
Wire up click completion
gordonbrander Oct 15, 2024
1cb1ec8
Factor dummy completions out into fx
gordonbrander Oct 15, 2024
79b9e65
Hide menu when no completions to show
gordonbrander Oct 15, 2024
b1c8c9d
Expose editor state as prop, updates as events
gordonbrander Oct 15, 2024
79ce52c
remove unused import
gordonbrander Oct 16, 2024
5179224
Fix test
gordonbrander Oct 16, 2024
505bfee
Add editor selection
gordonbrander Oct 16, 2024
05d15a4
Add typealiases for fx and update driver sigs
gordonbrander Oct 16, 2024
38253cf
Fetch completions from os-rich-text-editor method
gordonbrander Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 62 additions & 36 deletions typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading