Skip to content

Merge horiz-layout into develop, under the beta_ prefix#2024

Merged
akrolsmir merged 8 commits intostreamlit:developfrom
akrolsmir:beta-layout
Sep 21, 2020
Merged

Merge horiz-layout into develop, under the beta_ prefix#2024
akrolsmir merged 8 commits intostreamlit:developfrom
akrolsmir:beta-layout

Conversation

@akrolsmir
Copy link
Copy Markdown
Contributor

@akrolsmir akrolsmir commented Sep 21, 2020

This is primarily to unblock Tim's work on ImmutableJS. Before we get to release, we're still missing:

  • Docstrings
  • Mentions in the docs
  • Product approval
  • Any bugs we deem P1

P1 bugs:

akrolsmir and others added 8 commits September 2, 2020 18:05
* Fix up dg._block() to be dg.container()

* Add a unit test

* Add an e2e test for st.container

* Minor cleanups

* Clean up variable names and comments

* Clean up deltaPath code and docs
* Force reinstall of setuptools to 49.6.0 (streamlit#1962)

* try updating in virtualenv

* new cache

* am i using 39.0.1 and if so why is it failing?

* somewhere somehow we are upgrading to setuptools 50.0.3... but where..?

* looks like somewhere between setup + pipenv-install we get a newer version of setuptools

* looks like somewhere between setup + pipenv-install we get a newer version of setuptools

* force reinstall

* looks like it's test requirements messing us up?

* force reinstall + cleanup debugs

* Fix up dg._block() to be dg.container()

* Add a unit test

* Add an e2e test for st.container

* Minor cleanups

* Clean up variable names and comments

* Clean up deltaPath code and docs

* Organize DGs in a tree, to track the `with DG`

* Enable `with` in every st.foo call

* Appease mypy with # type: ignore

* More sacrifices at the altar of mypy

* Add unit and e2e tests for with

* Actually, don't rely on each DG mixin to call _active_dg

Revert "Appease mypy with # type: ignore"

This reverts commit 4ba7c47.

Revert "Enable `with` in every st.foo call"

This reverts commit 9b467d6.

* Use the active DG for all "protected" class methods

* Clean up DG docs

* Don't switch DGs from add_rows

Per Karrie's suggestion

Co-authored-by: karrie <[email protected]>
* Add collapsible_container

* Add default collapsed

* make label required + initial docs

* Consolidate with WIP column work

* Address PR comments for more cleanliness

* Update e2e tests
* rename to expander

* Fix tests

* Rename collapsible to expandable
* Implement columns with variable widths

* Add a e2e test for columns

* Add a unit test

* Update Prettier to 1.19 to allow optional chaining

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining

* Fix e2e test

* Downgrade Prettier back to 1.18

* Empty columns now take up space

* Remove duplicate function from merge conflict

* Use flex-gap instead of margin, so column sides don't get padded

* Minor tweaks requested by code review
@akrolsmir akrolsmir requested a review from a team September 21, 2020 16:54
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