Skip to content

Fix overwriting elements in the sidebar#181

Merged
jrhone merged 2 commits intostreamlit:developfrom
jrhone:fix_overwrite_sidebar
Sep 24, 2019
Merged

Fix overwriting elements in the sidebar#181
jrhone merged 2 commits intostreamlit:developfrom
jrhone:fix_overwrite_sidebar

Conversation

@jrhone
Copy link
Copy Markdown
Contributor

@jrhone jrhone commented Sep 24, 2019

Issue:

#182

Description:

  • Pass the container into the newly created Delta Generator when enqueuing a new element delta
  • Python and Cypress tests

  • By checking this box, I agree that all contributions to this project are made under the Apache 2.0 license.

@jrhone jrhone assigned jrhone and unassigned jrhone Sep 24, 2019
if override_root:
main_dg = self.new_delta_generator()
sidebar_dg = self.new_delta_generator()
sidebar_dg = self.new_delta_generator(container=BlockPath.SIDEBAR)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change wasn't integral to my PR but seems like the right thing to do to avoid potential issues with using this class in tests in the future.

@jrhone jrhone requested a review from a team September 24, 2019 08:25
@jrhone jrhone merged commit 735ecb5 into streamlit:develop Sep 24, 2019
@jrhone jrhone deleted the fix_overwrite_sidebar branch September 24, 2019 15:08
tconkling added a commit to tconkling/streamlit that referenced this pull request Sep 25, 2019
# By Jonathan Rhone (3) and others
# Via GitHub
* develop:
  Text changes in ☰ menu and several CLI prompts (streamlit#180)
  add format option for slider widget and return texts for display values (streamlit#154)
  Merge ForwardMsg caching into develop  (streamlit#178)
  e2e test for magic (streamlit#172)
  Bart example update (streamlit#179)
  Pedantic CircleCI cleanup (streamlit#174)
  Fix overwriting elements in the sidebar (streamlit#181)
  update vega lite chart snapshot (streamlit#183)
  Stop react-markdown from converting "[foo]" to a link. (streamlit#151)
  Issue 1204: Graphs using Vega-Lite (streamlit#56)
  Removing uber demo from streamlit repo (streamlit#159)

# Conflicts:
#	lib/streamlit/DeltaGenerator.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants