Skip to content

Components: alpha 2 cleanup#1425

Merged
tconkling merged 3 commits intostreamlit:feature/pluginsfrom
tconkling:tim/ComponentsAlpha2
May 6, 2020
Merged

Components: alpha 2 cleanup#1425
tconkling merged 3 commits intostreamlit:feature/pluginsfrom
tconkling:tim/ComponentsAlpha2

Conversation

@tconkling
Copy link
Copy Markdown
Contributor

Template and example code are separated into projects:

  • StreamlitComponent -> StreamlitComponentBase
  • All React code moved into "StreamlitReact.tsx"
  • MyComponent.tsx -> ReactTemplate.tsx
  • VanillaComponent moved into index.tsx
  • SelectableDataTable, RadioButton, CustomDataframe standalone examples

And some small fixes:

  • Remove unsupported iframe sandbox option
  • Removed "setFrameHeight" and "setWidgetValue" from this.props. Just use the static Streamlit functions.

tconkling added 3 commits May 6, 2020 14:19
- StreamlitComponent -> StreamlitComponentBase
- All React code moved into "StreamlitReact.tsx"
- MyComponent.tsx -> ReactTemplate.tsx
- VanillaComponent moved into index.tsx
@tconkling tconkling requested a review from a team as a code owner May 6, 2020 21:35
@tconkling tconkling merged commit e296f7f into streamlit:feature/plugins May 6, 2020
@tconkling tconkling deleted the tim/ComponentsAlpha2 branch May 6, 2020 23:02
tconkling added a commit to tconkling/streamlit that referenced this pull request May 11, 2020
* feature/plugins:
  black reformatting
  Add "make mini-devel" to install minimal dev dependencies (i.e. doesn't install all the test dependencies) (streamlit#1407)
  Fixing date_input | min and max selectable date issues (streamlit#1426)
  Torch Tensorbase hash func (streamlit#1394)
  Change list() cast (streamlit#1401)
  Component template tweaks
  Components: alpha 2 cleanup (streamlit#1425)
  Fix dataframe support
  Add geo layers to DeckGlJsonChart (streamlit#1306)
  Clean up use of LoDash (streamlit#1404)
  Replace st.beta.*/st.experimental.* with st.beta_*/st.experimental_* (streamlit#1403)
  Release 0.59.0 (streamlit#1405)
  Setting textarea height and unit tests (streamlit#1411)
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.

1 participant