Skip to content

[Feature]: Add support for Data frame state being restored #1958

Open
@schloerke

Description

@schloerke

Component

UI (ui.*)

Severity

P2 - Medium (workaround exists)

Shiny Version

1.4.0

Minimal Reproducible Example

Related: #1952

If Shiny inputs components are serialized in any of the cells, they will not be properly serialized for bookmarking as their state will not be captured.

Behavior

Currently the data frame is not restored at all. This is due to timing issues in when the state can be set.

In the Data Frame situation, the CellValue is the original Tags. In the ui.Chat, the messages have already been serialized.

In both cases, they will lose server-side html-dependencies that do not already exist.


For the updated cell patch map... If the ui.output_data_frame was updated to include restore context input values (similar to ui.Chat PR), the state could be restored within Javascript.

When trying to restore the selected cells, currently viewed rows, and other data frame information, this should be handled within ui.output_data_frame setting a JS state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions