Skip to content
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

feat(data frame): Add .update_cell() and .update_data() #1719

Merged
merged 27 commits into from
Oct 9, 2024
Merged

Conversation

schloerke
Copy link
Collaborator

@schloerke schloerke commented Oct 4, 2024

Fixes #1449

Update Cell Value

  • Implement basic working function
  • Send cell value as is.
    • Process it by the session
  • Assertion on the row and column index values
  • Test assertions
  • Write test app
  • Test app
  • Changelog entry

Update data

  • Implement basic working function
  • Reset data frame's .data() value
  • Reset cell patches
  • Process all cell values
    • Process it by the session
  • Cleanup on the sort, filter, typeHint values
  • Write test app
  • Test app
    • Fix .expect_nrow() on controller.OutputDataFrame
  • Changelog entry

@schloerke schloerke added the data frame Related to @render.data_frame label Oct 4, 2024
@schloerke schloerke changed the title feat(data frame): Add .update_cell() to data frame renderer feat(data frame): Add .update_cell() and .update_data() Oct 8, 2024
@schloerke schloerke requested a review from jcheng5 October 8, 2024 20:45
@schloerke schloerke marked this pull request as ready for review October 9, 2024 18:14
shiny/render/_data_frame.py Outdated Show resolved Hide resolved
shiny/render/_data_frame.py Show resolved Hide resolved
shiny/render/_data_frame.py Outdated Show resolved Hide resolved
@schloerke schloerke merged commit 94aa528 into main Oct 9, 2024
40 checks passed
@schloerke schloerke deleted the df_update_cell branch October 9, 2024 21:58
schloerke added a commit that referenced this pull request Oct 10, 2024
* main:
  feat(data frame): Add `.update_cell()` and `.update_data()` (#1719)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data frame Related to @render.data_frame
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(data_frame): Add .update_data(data, *, reset) and .update_cell_value(value, *, row, col)
2 participants