Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ed2d0fc
tmp: project planning instructions
gadenbuie Jun 4, 2025
fc7d305
checkpoint
gadenbuie Jun 4, 2025
1d9872f
tmp: instructions update
gadenbuie Jun 4, 2025
be85ef4
checkpoint: Use vitest instead of jest
gadenbuie Jun 4, 2025
e6dcd24
checkpoint: fixed linter errors
gadenbuie Jun 4, 2025
5df3194
tmp: Update instructions
gadenbuie Jun 4, 2025
b2e8471
checkpoint: markdown-stream with simple demo
gadenbuie Jun 5, 2025
59fb623
checkpoint: fix markdown-stream demo
gadenbuie Jun 5, 2025
35fc80d
checkpoint: move demos into `src/__demos__`
gadenbuie Jun 5, 2025
05c0ba6
tmp: Update instructions
gadenbuie Jun 5, 2025
048b4ef
checkpoint: markdown stream mostly works in js
gadenbuie Jun 5, 2025
e942f6d
checkpoint: shiny-markdown-stream appears to work in python
gadenbuie Jun 5, 2025
0b393c3
dynamic highlight styles
gadenbuie Jun 9, 2025
6fe93f8
feat: Use rehype, rehype-highlight, and react-markdown
gadenbuie Jun 9, 2025
4821129
chore: Remove marked, highlight.js
gadenbuie Jun 9, 2025
4851a0b
feat: remove scroll throttling
gadenbuie Jun 9, 2025
0f99e11
feat: handle binding and unbinding shiny inputs in content
gadenbuie Jun 9, 2025
caa7aa3
chore: add `setCodeTheme()` method
gadenbuie Jun 9, 2025
6eff031
tmp: Update instructions
gadenbuie Jun 9, 2025
4ab947b
clean up demo and temp files
gadenbuie Jun 9, 2025
ebfafac
chore(ShinyMarkdownStream): Update code theme attribute names
gadenbuie Jun 9, 2025
5537131
feat: Update markdown stream dependencies in R package
gadenbuie Jun 9, 2025
601b034
chore(r-pkg): Add more involved streaming example
gadenbuie Jun 9, 2025
27ca0ac
tmp: Update project structure
gadenbuie Jun 9, 2025
0a3ca27
checkpoint: first ChatInput write
gadenbuie Jun 10, 2025
0bf1025
checkpoint: Add `useChatState()` hook
gadenbuie Jun 10, 2025
b0a03ce
checkpoint
gadenbuie Jul 3, 2025
03e9ae8
checkpoint: memoize chat object
gadenbuie Jul 3, 2025
84e3a99
checkpoint: Pass initial messages from Custom element to React component
gadenbuie Jul 3, 2025
279bd18
checkpoint: event dispatching
gadenbuie Jul 3, 2025
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
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ r-update-dist: ## [r] Update shinychat web assets
if [ -d $(PATH_PKG_R)/inst/lib/shiny ]; then \
rm -rf $(PATH_PKG_R)/inst/lib/shiny; \
fi
mkdir -p $(PATH_PKG_R)/inst/lib/shiny
mkdir -p $(PATH_PKG_R)/inst/lib/shiny/react
cp -r $(PATH_PKG_JS)/dist/chat $(PATH_PKG_R)/inst/lib/shiny/
cp -r $(PATH_PKG_JS)/dist/markdown-stream $(PATH_PKG_R)/inst/lib/shiny/
cp -r $(PATH_PKG_JS)/dist/components/ $(PATH_PKG_R)/inst/lib/shiny/react
(git rev-parse HEAD) > "$(PATH_PKG_R)/inst/lib/shiny/GIT_VERSION"

.PHONY: r-docs
Expand Down Expand Up @@ -211,8 +211,8 @@ py-update-dist: ## [py] Update shinychat web assets
rm -rf $(PATH_PKG_PY)/src/shinychat/www; \
fi
mkdir -p $(PATH_PKG_PY)/src/shinychat/www
cp -r $(PATH_PKG_JS)/dist/chat $(PATH_PKG_PY)/src/shinychat/www/
cp -r $(PATH_PKG_JS)/dist/markdown-stream $(PATH_PKG_PY)/src/shinychat/www/
cp -r $(PATH_PKG_JS)/dist/chat $(PATH_PKG_PY)/src/shinychat/www/chat
cp -r $(PATH_PKG_JS)/dist/components $(PATH_PKG_PY)/src/shinychat/www/react
(git rev-parse HEAD) > "$(PATH_PKG_PY)/src/shinychat/www/GIT_VERSION"

.PHONY: help
Expand Down
Loading