Skip to content

Conversation

@arraydude
Copy link
Contributor

@arraydude arraydude commented Dec 29, 2020

This PR includes the python side changes from #2422

Having this we send the git information in a separate message instead of resending it every time on the NewReport message.

Copy link
Contributor

@akrolsmir akrolsmir left a comment

Choose a reason for hiding this comment

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

Looks great! This is exactly the correct refactor that keeps our Core codebase clean and readable, so thanks a million for doing this and separating it out as a different PR 😄

@arraydude arraydude marked this pull request as ready for review December 29, 2020 22:56
@arraydude arraydude requested a review from a team December 29, 2020 22:56
@arraydude arraydude requested a review from akrolsmir December 30, 2020 18:13
Copy link
Contributor

@akrolsmir akrolsmir left a comment

Choose a reason for hiding this comment

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

Awesome, LGTM!


# Pyenv Stuff
.python-version
venv
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, do you use venv instead of pipenv? I think most of the Core dev team is on Pipenv haha. (In any case, this is probably fine to check in)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I'm using pipenv but Pycharm, which is my IDE, uses it

@akrolsmir akrolsmir merged commit 0bbc7aa into streamlit:develop Jan 4, 2021
karriebear added a commit to karriebear/streamlit that referenced this pull request Jan 7, 2021
karriebear added a commit to karriebear/streamlit that referenced this pull request Jan 7, 2021
tconkling added a commit to tconkling/streamlit that referenced this pull request Jan 11, 2021
* develop: (21 commits)
  Remove depressing emojis (streamlit#2565)
  Go back to v1 metrics. (streamlit#2572)
  Up version to 0.74.1
  Revert "Upgrade react-hotkeys (streamlit#2525)"
  Revert "Upgrade react-markdown (streamlit#2527)"
  Revert "Revert "Deploy button py (streamlit#2535)""
  Revert "Deploy button py (streamlit#2535)"
  Update change log
  Update notices
  Up version to 0.74.0
  Update instructions placement on number input (streamlit#2549)
  Fix broken url (streamlit#2540)
  Deploy button front (streamlit#2552)
  Bump camelcase from 5.3.1 to 6.2.0 in /frontend (streamlit#2558)
  Fix block-container styles for sidebar (streamlit#2551)
  Bump @types/lodash from 4.14.165 to 4.14.167 in /frontend (streamlit#2550)
  Bump axios from 0.19.2 to 0.21.1 in /frontend (streamlit#2548)
  Remove deprecation message + add config expiration (streamlit#2546)
  Deploy button py (streamlit#2535)
  Remove aws-sdk (streamlit#2545)
  ...
tvst pushed a commit to tvst/streamlit that referenced this pull request Jan 14, 2021
tvst added a commit that referenced this pull request Jan 14, 2021
* Revert "Deploy button front (#2552)"

This reverts commit 0f66b6e.

* Fix merge (erm... revert) conflict.

* Revert "Deploy button py (#2535)"

This reverts commit 0bbc7aa.

Co-authored-by: karrie <[email protected]>
CFrez pushed a commit to CFrez/streamlit that referenced this pull request Jan 21, 2021
* Revert "Deploy button front (streamlit#2552)"

This reverts commit 0f66b6e.

* Fix merge (erm... revert) conflict.

* Revert "Deploy button py (streamlit#2535)"

This reverts commit 0bbc7aa.

Co-authored-by: karrie <[email protected]>
kmcgrady pushed a commit that referenced this pull request Jan 25, 2021
* switched react-katex package

* lockfile updated

* update test to corrected spelling

* decapitalize KaTex

* Fix slider UX (#2596)

* Fix slider UX

* Add snapshot

* Revert "Deploy button front (#2552)" (#2599)

* Revert "Deploy button front (#2552)"

This reverts commit 0f66b6e.

* Fix merge (erm... revert) conflict.

* Revert "Deploy button py (#2535)"

This reverts commit 0bbc7aa.

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

* Remove extra period from sentence (#2601)

* Have st.number_input warn user of mismatched type and format string (#2604)

* Add %u to list of valid number_input formatters

* Have number_input warn user of mismatched type and format string

* Use more modern f-string syntax instead of .format()

* Feature/sudoless metrics (#2605)

* Add and use sudoless machine id getter for metrics

Step 2 of the metrics user ID improvement plan.

* Add machine-id v3 tests

Duplicates of the v1 tests, since those covered the cases that remain in v3,
and we will remove v1 and its tests later.

Also fix formatting of some python files.

* DRY out machine ID paths into global constants

* Increase side padding to 5rem when app is in wide mode (#2613)

* Increase side padding to 5rem when app is in wide mode

* Upload Cypress snapshot

* Rerender Maybe components when they're first disabled (#2617)

\#2395 ended up being caused by this since we don't rerender placeholder
components created by `st.empty()` when react props/state change as a
performance optimization, but we need to do so when replacing an
existing component with an empty one to get rid of what's currently
drawn on screen.

Closes #2395

Co-authored-by: karrie <[email protected]>
Co-authored-by: Thiago Teixeira <[email protected]>
Co-authored-by: Randy Zwitch <[email protected]>
Co-authored-by: Vincent Donato <[email protected]>
Co-authored-by: Amanda Walker <[email protected]>
Co-authored-by: Austin Chen <[email protected]>
Co-authored-by: Vincent Donato <[email protected]>
kmcgrady pushed a commit to kmcgrady/streamlit that referenced this pull request Mar 19, 2021
* Python side

* format

* import

* todo

* #  * git binary or GitPython not installed

* undo white spaces

* undo white spaces

* undo white spaces

* handle_git_information_request

* git_info_changed

* Using enum

* ahead_commits and uncommitted_files as properties

* format
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