Skip to content

feat: Add chat_enable_bookmarking(id, client, ..., update_on_input = TRUE, update_on_response = TRUE) #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
92b5419
Update .Rbuildignore
schloerke Feb 20, 2025
dc123e3
bump dev version to 0.1.1.9001
schloerke Feb 20, 2025
254c447
Add ellmer as a suggested package
schloerke Feb 20, 2025
e3ffdd9
white space
schloerke Feb 20, 2025
c115d4c
Init `set_chat_model()` method. Handful of TODOs to clean up
schloerke Feb 20, 2025
a351e36
Use session object directly when possible. Handle when bookmark is fr…
schloerke Feb 21, 2025
0423a49
Rename `set_chat_model()` -> ``set_chat_client()`
schloerke Feb 21, 2025
905de19
Clean up the local env when a session is done; Need to explore using …
schloerke Feb 21, 2025
06e8b03
Use session state to store info
schloerke Feb 24, 2025
3a0494a
Display bookmark store values of `"server"` in examples / docs. Add d…
schloerke Feb 26, 2025
194aa73
Default to `disable` for bookmarkStore value. Error when not enabled
schloerke Feb 26, 2025
1c577b6
If using server-side bookmarking, save the `client` object as is! 🎉
schloerke Feb 26, 2025
748ab2f
`set_chat_client()` -> `chat_bookmark()`
schloerke Feb 26, 2025
db7c855
Rename file to `chat_bookmark.R`
schloerke Feb 26, 2025
d1a9ed6
chat_bookmar.R -> chat_enable_bookmark.R
schloerke Mar 4, 2025
9a8c938
`chat_bookmark()` -> `chat_enable_bookmark()`
schloerke Mar 4, 2025
4da8b0b
Merge branch 'main' into bookmark
schloerke May 6, 2025
811ee4d
rename to chat_enable_bookmarking for consistency
schloerke May 6, 2025
ee86e3a
Use `bookmark_on_input` and `bookmark_on_response` param names
schloerke May 6, 2025
917522c
Merge branch 'bookmark' of https://github.com/posit-dev/shinychat int…
schloerke May 6, 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
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
^_dev$
^cran-comments\.md$
^CRAN-SUBMISSION$
^_dev$
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinychat
Title: Chat UI Component for 'shiny'
Version: 0.1.1.9000
Version: 0.1.1.9001
Authors@R: c(
person("Joe", "Cheng", , "[email protected]", role = c("aut", "cre")),
person("Carson", "Sievert", , "[email protected]", role = c("aut")),
Expand All @@ -20,6 +20,7 @@ Imports:
rlang,
shiny (>= 1.10.0)
Suggests:
ellmer,
testthat (>= 3.0.0)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export(chat_append)
export(chat_append_message)
export(chat_bookmark)
export(chat_clear)
export(chat_ui)
export(markdown_stream)
Expand Down
Loading
Loading