url
stringlengths
60
60
repository_url
stringclasses
1 value
labels_url
stringlengths
74
74
comments_url
stringlengths
69
69
events_url
stringlengths
67
67
html_url
stringlengths
48
50
id
int64
571M
1.59B
node_id
stringlengths
18
32
number
int64
1.15k
6.14k
title
stringlengths
1
342
user
dict
labels
list
state
stringclasses
2 values
locked
bool
1 class
assignee
dict
assignees
list
milestone
null
comments
int64
0
51
created_at
timestamp[s]
updated_at
timestamp[s]
closed_at
timestamp[s]
author_association
stringclasses
4 values
active_lock_reason
null
body
stringlengths
0
76.3k
reactions
dict
timeline_url
stringlengths
69
69
performed_via_github_app
null
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
is_pull_request
bool
2 classes
https://api.github.com/repos/streamlit/streamlit/issues/5835
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5835/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5835/comments
https://api.github.com/repos/streamlit/streamlit/issues/5835/events
https://github.com/streamlit/streamlit/issues/5835
1,485,504,810
I_kwDODCoeTs5YiwEq
5,835
Missing support numpy.ndarray in st.map
{ "login": "sfc-gh-kbregula", "id": 78743291, "node_id": "MDQ6VXNlcjc4NzQzMjkx", "avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-kbregula", "html_url": "https://github.com/sfc-gh-kbregula", "followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers", "following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs", "repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos", "events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230105890, "node_id": "MDU6TGFiZWwzMjMwMTA1ODkw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2", "name": "priority:P2", "color": "ff4b4b", "default": false, "description": "" }, { "id": 3904046963, "node_id": "LA_kwDODCoeTs7oswdz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.map", "name": "feature:st.map", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
1
2022-12-08T22:21:19
2022-12-13T23:42:54
null
CONTRIBUTOR
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary According to the documentation, `st.map` accepts `numpy.ndarray`. ![Screenshot 2022-12-08 at 23 18 17](https://user-images.githubusercontent.com/78743291/206579131-3b16084b-1257-4ba7-8d4a-de512215d85b.png) https://docs.streamlit.io/library/api-reference/charts/st.map But I checked and it doesn't work. ### Reproducible Code Example ```Python arr = np.array([[1, 2], [4, 5]], np.int32) st.map(arr) ``` ### Steps To Reproduce _No response_ ### Expected Behavior We have two solutions: 1. Update the docstring and drop support for `numpy.ndarray` in `st.map` 2. Add support for Nx2 arrays. ### Current Behavior Error message: ``` streamlit.errors.StreamlitAPIException: Map data must contain a latitude column named: 'LAT', 'LATITUDE', 'lat', 'latitude'. Existing columns: 0, 1 ``` ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: develop - Python version: N/A - Operating System: N/A - Browser: N/A - Virtual environment: N/A ### Additional Information Previous discussion: https://github.com/streamlit/streamlit/pull/5792#issuecomment-1338907772 ### Are you willing to submit a PR? - [X] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5835/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5834
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5834/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5834/comments
https://api.github.com/repos/streamlit/streamlit/issues/5834/events
https://github.com/streamlit/streamlit/issues/5834
1,485,176,492
I_kwDODCoeTs5Yhf6s
5,834
'MediaFileHandler: Missing file' after last update
{ "login": "pankowalski", "id": 98972061, "node_id": "U_kgDOBeYxnQ", "avatar_url": "https://avatars.githubusercontent.com/u/98972061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pankowalski", "html_url": "https://github.com/pankowalski", "followers_url": "https://api.github.com/users/pankowalski/followers", "following_url": "https://api.github.com/users/pankowalski/following{/other_user}", "gists_url": "https://api.github.com/users/pankowalski/gists{/gist_id}", "starred_url": "https://api.github.com/users/pankowalski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pankowalski/subscriptions", "organizations_url": "https://api.github.com/users/pankowalski/orgs", "repos_url": "https://api.github.com/users/pankowalski/repos", "events_url": "https://api.github.com/users/pankowalski/events{/privacy}", "received_events_url": "https://api.github.com/users/pankowalski/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 2258739424, "node_id": "MDU6TGFiZWwyMjU4NzM5NDI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response", "name": "status:awaiting-user-response", "color": "FEF2C0", "default": false, "description": "Issue requires clarification from submitter" }, { "id": 3904050941, "node_id": "LA_kwDODCoeTs7osxb9", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.pyplot", "name": "feature:st.pyplot", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-12-08T18:20:26
2023-01-25T17:49:42
2023-01-25T17:49:41
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Hello Seems like after last update one of my plot stopped working properly. It works fine when filters from the above are untouched, however when user applies specific 'technology area' or 'seniority level' filter then it breaks. Both plots are using exactly the same function. ![image](https://user-images.githubusercontent.com/98972061/206532179-e4d51b3c-12b0-4a37-869f-4f2fabbd5b1a.png) ![image](https://user-images.githubusercontent.com/98972061/206532309-ea1021c7-a93d-4723-95a9-e9326a9a5aea.png) Issue seems to be similar to closed one: https://github.com/streamlit/streamlit/issues/1294 Streamlit app: https://echoit.streamlit.app/ Repo: https://github.com/pankowalski/EchoIT Code: https://github.com/pankowalski/EchoIT/blob/main/main_dashboard_v03.py ![image](https://user-images.githubusercontent.com/98972061/206534418-27ad9686-b253-4e42-a078-896fd89fb439.png) ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [x] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5834/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5833
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5833/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5833/comments
https://api.github.com/repos/streamlit/streamlit/issues/5833/events
https://github.com/streamlit/streamlit/issues/5833
1,485,093,405
I_kwDODCoeTs5YhLod
5,833
Sliders ignore user input if value argument changes
{ "login": "aarchiba", "id": 136867, "node_id": "MDQ6VXNlcjEzNjg2Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/136867?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aarchiba", "html_url": "https://github.com/aarchiba", "followers_url": "https://api.github.com/users/aarchiba/followers", "following_url": "https://api.github.com/users/aarchiba/following{/other_user}", "gists_url": "https://api.github.com/users/aarchiba/gists{/gist_id}", "starred_url": "https://api.github.com/users/aarchiba/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aarchiba/subscriptions", "organizations_url": "https://api.github.com/users/aarchiba/orgs", "repos_url": "https://api.github.com/users/aarchiba/repos", "events_url": "https://api.github.com/users/aarchiba/events{/privacy}", "received_events_url": "https://api.github.com/users/aarchiba/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
1
2022-12-08T17:30:53
2022-12-30T03:37:17
2022-12-14T00:03:04
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary When I create a slider that uses `value=50.` every time, it works as expected. But if I create a slider that uses `value=np.random.uniform(0,100)`, it ignores all user input. Specifically, when I move the slider, it immediately jumps to a random location and returns that random value. The values I select are not returned from the slider at any point. ### Reproducible Code Example ```Python import numpy as np import streamlit as st r1 = st.slider("Fixed initial value", min_value=0.0, max_value=100.0, value=50.0) print(f"{r1=}") r2 = st.slider( "Random initial value", min_value=0.0, max_value=100.0, value=np.random.uniform(0, 100), ) print(f"{r2=}") ``` ### Steps To Reproduce 1. Run the above code. 2. Move the bottom slider. 3. Move the bottom slider again. ### Expected Behavior When I move the bottom slider to, say, zero, the slider should return zero. Probably the slider should also ignore the `value` argument, remaining where the user set it, if a user has set a different value, but this is arguable. ### Current Behavior When I move the bottom slider, it jumps to a random value and returns that random value. ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.2 - Python version: 3.10.6 - Operating System: Ubuntu Linux - Browser: Firefox - Virtual environment: plain venv ### Additional Information This arose when I was trying to write code that extracted the default value from an external class. The code was meant to read the value from the class, pass it to the slider, and save the value selected by the user into the class. Because of the above behaviour, the value only changes every other time I try to set it. Presumably if there's a new `value` passed in I only get back that answer, but if the `value` is the same as last time I can successfully select a new value? ```python thing.j = st.slider(..., value=thing.j) ``` Here `thing` is a persistent singleton and the reading and writing are protected by a lock. To work around this I suppose I need to record in `session_state` what the default value is and be sure to supply the same value every time? ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5833/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5832
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5832/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5832/comments
https://api.github.com/repos/streamlit/streamlit/issues/5832/events
https://github.com/streamlit/streamlit/pull/5832
1,484,549,012
PR_kwDODCoeTs5EyPt7
5,832
Add text parameter to st.progress
{ "login": "sfc-gh-kbregula", "id": 78743291, "node_id": "MDQ6VXNlcjc4NzQzMjkx", "avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-kbregula", "html_url": "https://github.com/sfc-gh-kbregula", "followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers", "following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs", "repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos", "events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-12-08T12:37:09
2023-01-20T15:29:52
2023-01-20T15:29:52
CONTRIBUTOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context `st.progress` is a progress bar with a value. We add an optional text above it, so devs can print some info on the progress. _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [ ] Bugfix - [X] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [X] This is a visible (user-facing) change **Revised:** _Insert screenshot of your updated UI/code here_ **Current:** <img width="1170" alt="Screenshot 2022-12-08 at 13 21 55" src="https://user-images.githubusercontent.com/78743291/206447920-498f394e-9c43-443c-8815-071e2c349f4b.png"> ## 🧪 Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5832/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5832/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5832", "html_url": "https://github.com/streamlit/streamlit/pull/5832", "diff_url": "https://github.com/streamlit/streamlit/pull/5832.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5832.patch", "merged_at": "2023-01-20T15:29:52" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5831
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5831/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5831/comments
https://api.github.com/repos/streamlit/streamlit/issues/5831/events
https://github.com/streamlit/streamlit/pull/5831
1,484,288,021
PR_kwDODCoeTs5ExUKT
5,831
Update element docstrings for colored text support
{ "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-12-08T10:25:29
2022-12-12T11:55:02
2022-12-12T11:38:11
MEMBER
null
## 📚 Context #5774 adds support for colored text to the`body` param of some static elements and the `label` param of some widgets. This PR documents those changes in the affected commands' docstrings. - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes - Updates the docstrings of the following static elements with support for colored text and limited markdown: - `st.write` - `st.markdown` - `st.title` - `st.header` - `st.subheader` - `st.caption` - Updates the docstrings of the following widget labels with support for colored text and limited markdown: - `st.metric` - `st.radio` - `st.selectbox` - `st.multiselect` - `st.slider` - `st.select_slider` - `st.text_input` - `st.number_input` - `st.text_area` - `st.date_input` - `st.time_input` - `st.file_uploader` - `st.camera_input` - `st.color_picker` - [ ] This is a breaking API change - [x] This is a visible (user-facing) change <details open><summary><b>Revised:</b></summary> ![image](https://user-images.githubusercontent.com/20672874/206421939-eaed1aa6-04d1-4ad1-843b-85e20567f975.png) </details> <details><summary><b>Current:</b></summary> ![image](https://user-images.githubusercontent.com/20672874/206422131-0e23d004-5914-4cf4-997f-c53c2d386f08.png) </details> ## Note to reviewers This PR neither adds nor updates any tests as it is merely a refactoring of docstrings. ## 🧪 Testing Done - [x] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References - [x] [Docs in Notion](https://www.notion.so/streamlit/Docs-for-8b5cb9a2d5e045718e84400663a283e6#667d45f9005541a19d06dd9d6a100007) - [x] [QA in Notion](https://www.notion.so/streamlit/QA-plan-00656851e2d447a4b2f1b55003c997d4) --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5831/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5831/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5831", "html_url": "https://github.com/streamlit/streamlit/pull/5831", "diff_url": "https://github.com/streamlit/streamlit/pull/5831.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5831.patch", "merged_at": "2022-12-12T11:38:11" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5830
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5830/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5830/comments
https://api.github.com/repos/streamlit/streamlit/issues/5830/events
https://github.com/streamlit/streamlit/issues/5830
1,483,453,890
I_kwDODCoeTs5Ya7XC
5,830
In the Linux system, multipage does not support Chinese file names
{ "login": "xmxoxo", "id": 6042267, "node_id": "MDQ6VXNlcjYwNDIyNjc=", "avatar_url": "https://avatars.githubusercontent.com/u/6042267?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xmxoxo", "html_url": "https://github.com/xmxoxo", "followers_url": "https://api.github.com/users/xmxoxo/followers", "following_url": "https://api.github.com/users/xmxoxo/following{/other_user}", "gists_url": "https://api.github.com/users/xmxoxo/gists{/gist_id}", "starred_url": "https://api.github.com/users/xmxoxo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xmxoxo/subscriptions", "organizations_url": "https://api.github.com/users/xmxoxo/orgs", "repos_url": "https://api.github.com/users/xmxoxo/repos", "events_url": "https://api.github.com/users/xmxoxo/events{/privacy}", "received_events_url": "https://api.github.com/users/xmxoxo/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230105890, "node_id": "MDU6TGFiZWwzMjMwMTA1ODkw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2", "name": "priority:P2", "color": "ff4b4b", "default": false, "description": "" }, { "id": 4288309131, "node_id": "LA_kwDODCoeTs7_mmeL", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:multipage-apps", "name": "feature:multipage-apps", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-12-08T02:55:26
2023-01-29T07:13:57
2023-01-29T07:13:57
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary When using multiple pages in the linux system, in order for the menu to display Chinese, the Chinese file name must be used, However, the Chinese file name cannot be correctly parsed and displayed. ### Reproducible Code Example ```Python "0_0_首页.py" code: import streamlit as st st.set_page_config( page_title="Hello", page_icon="👋", ) st.sidebar.success("Select a demo above.") ``` ### Steps To Reproduce 1. I created a new "0_0_首页.py" as the entry page, Note that the file name contains Chinese. 2. Then start the method with: ``` python -m streamlit run 0_0_首页.py ``` 3. we get an error: ``` Error: Invalid value: File does not exist: 0_0_\udcca\udcd7ҳ.py ``` ### Expected Behavior I have used the following command to convert the filename in Linux ``` convmv -f GBK -t utf8 -r . ``` ### Current Behavior Error: Invalid value: File does not exist: 0_0_\udcca\udcd7ҳ.py ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.10.0 - Python version: python3.6.12 - Operating System: Ubuntu 20.0 - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5830/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5829
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5829/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5829/comments
https://api.github.com/repos/streamlit/streamlit/issues/5829/events
https://github.com/streamlit/streamlit/pull/5829
1,483,385,638
PR_kwDODCoeTs5EuFaA
5,829
Fix markdown headers spacing
{ "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-12-08T02:09:59
2022-12-09T17:54:00
2022-12-09T15:44:25
COLLABORATOR
null
## 📚 Context There's a regression where headings called separately (`st.title` followed by `st.markdown`) had extra spacing than calling it all in `st.markdown`. - What kind of change does this PR introduce? - [x] Bugfix ## 🧠 Description of Changes - There's a container that adds a negative margin to the markdown handling that negates the `gap` param of each block. - Note: Negative margins really cause some problems. I think there's a larger problem we should fix, but re-adding it back would fix the margin and get the image **Revised:** <img width="749" alt="image" src="https://user-images.githubusercontent.com/69432/206339094-092c720f-13bc-48c3-b13d-6e3d337f56e4.png"> **Current:** <img width="736" alt="image" src="https://user-images.githubusercontent.com/69432/206339191-0607aebb-3713-44e4-98e2-22b387badeb4.png"> ## 🧪 Testing Done - [x] Screenshots included - [x] Added/Updated e2e tests ## 🌐 References - **Issue**: Closes https://github.com/streamlit/streamlit/issues/5759 --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5829/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5829/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5829", "html_url": "https://github.com/streamlit/streamlit/pull/5829", "diff_url": "https://github.com/streamlit/streamlit/pull/5829.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5829.patch", "merged_at": "2022-12-09T15:44:25" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5828
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5828/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5828/comments
https://api.github.com/repos/streamlit/streamlit/issues/5828/events
https://github.com/streamlit/streamlit/issues/5828
1,483,080,302
I_kwDODCoeTs5YZgJu
5,828
Dictionary to DataFrame to st.table: TypeError: unhashable type: 'bytearray'
{ "login": "amrungwaew", "id": 70072027, "node_id": "MDQ6VXNlcjcwMDcyMDI3", "avatar_url": "https://avatars.githubusercontent.com/u/70072027?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amrungwaew", "html_url": "https://github.com/amrungwaew", "followers_url": "https://api.github.com/users/amrungwaew/followers", "following_url": "https://api.github.com/users/amrungwaew/following{/other_user}", "gists_url": "https://api.github.com/users/amrungwaew/gists{/gist_id}", "starred_url": "https://api.github.com/users/amrungwaew/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amrungwaew/subscriptions", "organizations_url": "https://api.github.com/users/amrungwaew/orgs", "repos_url": "https://api.github.com/users/amrungwaew/repos", "events_url": "https://api.github.com/users/amrungwaew/events{/privacy}", "received_events_url": "https://api.github.com/users/amrungwaew/received_events", "type": "User", "site_admin": false }
[ { "id": 3761991321, "node_id": "LA_kwDODCoeTs7gO26Z", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:will-not-fix", "name": "status:will-not-fix", "color": "FEF2C0", "default": false, "description": "Streamlit team does not plan on addressing this request with a code change" } ]
closed
false
null
[]
null
1
2022-12-07T23:24:09
2022-12-14T07:16:46
2022-12-14T07:13:21
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Hello! I am in the process of creating a web app as part of my coursework. After implementing FLAML, I made a dictionary out of some of the automl results (run time of best model, best hyperparameter configuration, best R2, etc.). As my app allows the user to build different models, I wanted to be able to show them their results via a static table, i.e. st.table(). I use column containers to space things out and tabs for different parts of the project. My understanding is that st.table() requires a pandas dataframe. So I converted my two dictionaries into dataframes using pd.DataFrame.from_dict({'dictionary'}). I then plugged this into st.table(), resulting in `TypeError: unhashable type: 'bytearray'`. This exception then lead to another: `streamlit.runtime.legacy_caching.hashing.InternalHashError: unhashable type: 'bytearray' While caching the return value of `load_model()`, Streamlit encountered an object of type `builtins.dict`, which it does not know how to hash`. This is while in a column in a tab. Previously the dictionary to dataframe to st.table() worked when I did each step successively with nothing else in-between and only made a single dictionary of all the results. There were also no column but I was still in a tab. ### Reproducible Code Example ```Python choice_default_mod_dict = {'Best R2 on validation data:': 1-chosen_ml.best_loss, 'Training duration of best run:': chosen_ml.best_config_train_time} choice_default_mod = pd.DataFrame.from_dict(choice_default_mod_dict) st.table(choice_default_mod) ``` ### Steps To Reproduce Find replicate code here: https://github.com/amrungwaew/frasier_project/blob/main/frasier_bug.py ### Expected Behavior Expected to get a nice lil static table. ### Current Behavior `TypeError: unhashable type: 'bytearray'` ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: 3.9.15 - Operating System: MacOS Ventura 13.0.1 - Browser: Google Chrome - Virtual environment: Visual Studio Code ### Additional Information https://github.com/amrungwaew/frasier_project/blob/main/frasier_bug.py ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5828/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5827
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5827/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5827/comments
https://api.github.com/repos/streamlit/streamlit/issues/5827/events
https://github.com/streamlit/streamlit/issues/5827
1,483,004,920
I_kwDODCoeTs5YZNv4
5,827
Don't rerun on widget interaction
{ "login": "jrieke", "id": 5103165, "node_id": "MDQ6VXNlcjUxMDMxNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/5103165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jrieke", "html_url": "https://github.com/jrieke", "followers_url": "https://api.github.com/users/jrieke/followers", "following_url": "https://api.github.com/users/jrieke/following{/other_user}", "gists_url": "https://api.github.com/users/jrieke/gists{/gist_id}", "starred_url": "https://api.github.com/users/jrieke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jrieke/subscriptions", "organizations_url": "https://api.github.com/users/jrieke/orgs", "repos_url": "https://api.github.com/users/jrieke/repos", "events_url": "https://api.github.com/users/jrieke/events{/privacy}", "received_events_url": "https://api.github.com/users/jrieke/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" } ]
open
false
null
[]
null
1
2022-12-07T22:36:38
2022-12-08T14:16:56
null
COLLABORATOR
null
When a user interacts with a widget, Streamlit always reruns the entire script. There are ways to get around this (forms, caching, ...) but sometimes it would be really useful to just do something like `st.slider(..., rerun=False)`. See requests in this very popular forum post: https://discuss.streamlit.io/t/how-to-prevent-the-reloading-of-the-whole-page-when-i-let-the-user-to-perform-an-action/10800/7 This touches on the fundamental of Streamlit so we'll need to think this through carefully. No guarantees that we'll do this anytime soon! If you have use cases, please post them here (and upvote the issue!) so we can prioritize and see what's the best way to solve all problems. --- Community voting on feature requests enables the Streamlit team to understand which features are most important to our users. **If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5827/reactions", "total_count": 8, "+1": 8, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5827/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5826
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5826/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5826/comments
https://api.github.com/repos/streamlit/streamlit/issues/5826/events
https://github.com/streamlit/streamlit/issues/5826
1,482,745,216
I_kwDODCoeTs5YYOWA
5,826
Joining user threads
{ "login": "tikuma-lsuhsc", "id": 79113787, "node_id": "MDQ6VXNlcjc5MTEzNzg3", "avatar_url": "https://avatars.githubusercontent.com/u/79113787?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tikuma-lsuhsc", "html_url": "https://github.com/tikuma-lsuhsc", "followers_url": "https://api.github.com/users/tikuma-lsuhsc/followers", "following_url": "https://api.github.com/users/tikuma-lsuhsc/following{/other_user}", "gists_url": "https://api.github.com/users/tikuma-lsuhsc/gists{/gist_id}", "starred_url": "https://api.github.com/users/tikuma-lsuhsc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tikuma-lsuhsc/subscriptions", "organizations_url": "https://api.github.com/users/tikuma-lsuhsc/orgs", "repos_url": "https://api.github.com/users/tikuma-lsuhsc/repos", "events_url": "https://api.github.com/users/tikuma-lsuhsc/events{/privacy}", "received_events_url": "https://api.github.com/users/tikuma-lsuhsc/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" } ]
open
false
null
[]
null
0
2022-12-07T20:08:40
2022-12-07T21:30:52
null
NONE
null
### Problem This request is related to #1792. There is no mechanism currently to join user issued threads from the script runner thread. ### Solution **MVP:** After some digging, I think the simplest way to address this is to kill all active threads stored in the session state during `AppSession.shutdown`. (I don't know where the cached variables are stored, but something similar for those as well.) Below is my minimal working example, monkey patching `AppSession.shutdown`: ```python import streamlit as st import time import asyncio import threading # monkey patch to kill all active threads stored in the session state from streamlit.runtime.app_session import AppSession _shutdown = None def app_session_shutdown(appsession): # kill all threads in the session state states = appsession._session_state for key in states: val = states[key] if isinstance(val, threading.Thread) and val.is_alive() and not val.isDaemon(): val.join() # run the normal AppSession.shutdown _shutdown(appsession) if AppSession.shutdown != app_session_shutdown: _shutdown = AppSession.shutdown AppSession.shutdown = app_session_shutdown # END MONKEY PATCHING class AsyncThread(threading.Thread): def __init__(self, **kwargs): super().__init__(**kwargs) self.started = threading.Event() self.join_req = None def get_time(self, delay=1): """user function interface""" future = asyncio.run_coroutine_threadsafe(self._get_time(delay), self.loop) return future.result() # Wait for the result: async def _get_time(self, delay): """user function implementation""" await asyncio.sleep(delay) return time.strftime("%X") def start(self) -> None: """waits until thread is running""" super().start() self.started.wait() def join(self): """release main()""" if self.join_req: self.loop.call_soon_threadsafe(self.join_req.set) super().join() def run(self): """Thread function. Run until join_req is set""" async def main(): self.loop = asyncio.get_running_loop() self.started.set() self.join_req = asyncio.Event() await self.join_req.wait() asyncio.run(main()) if "async_thread" not in st.session_state: st.session_state["async_thread"] = th = AsyncThread() th.start() st.text(st.session_state["async_thread"].get_time()) st.button("Click bottom to update the time") ``` When applied on the source, the relevant lines in `app_session_shutdown()` should be placed in [L203 of `runtime/app_session.py`](https://github.com/streamlit/streamlit/blob/7ec02a14bddbf866e36b1fe24a25afe72a5975b1/lib/streamlit/runtime/app_session.py#L203) **Preferred solution:** Introduce the `blinker.signal` mechanism (which is already being used for the `ScriptRunner` class) in `AppSession` to allow users to assign arbitrary shutdown event handlers.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5826/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5825
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5825/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5825/comments
https://api.github.com/repos/streamlit/streamlit/issues/5825/events
https://github.com/streamlit/streamlit/pull/5825
1,482,667,003
PR_kwDODCoeTs5ErgtV
5,825
Upgrade vega package to latest with vega-tooltip resolved to the latest version
{ "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-07T19:21:41
2022-12-07T20:40:23
2022-12-07T20:40:18
COLLABORATOR
null
## 📚 Context `vega-tooltip` had an issue with `unsafe-inline` for a Content Security Policy (See https://github.com/vega/vega-tooltip/pull/714). This sets the resolution for `vega-tooltip` to ensure the latest version is used. (We considered upgrading `vega`, but there were too many additional versions of d3 downloaded and we can save that for a specific project.) - What kind of change does this PR introduce? - [x] Other, please describe: part bug fix/part feature to better support CSPs ## 🧪 Testing Done No testing is needed beyond what we currently available. Our e2e tests will verify the output of the charts remain the same. See the following folders in the [snapshots directory](https://github.com/streamlit/streamlit/tree/develop/frontend/cypress/snapshots/linux/2x). - st_arrow_altair_chart.spec.js - st_arrow_vega_lite_chart.spec.js - st_arrow_bar_chart.spec.js - st_arrow_line_chart.spec.js - st_arrow_area_chart.spec.js --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5825/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5825", "html_url": "https://github.com/streamlit/streamlit/pull/5825", "diff_url": "https://github.com/streamlit/streamlit/pull/5825.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5825.patch", "merged_at": "2022-12-07T20:40:18" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5824
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5824/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5824/comments
https://api.github.com/repos/streamlit/streamlit/issues/5824/events
https://github.com/streamlit/streamlit/pull/5824
1,482,278,949
PR_kwDODCoeTs5EqJLw
5,824
Remove unnecessarily methods from DeltaGenerator
{ "login": "sfc-gh-kbregula", "id": 78743291, "node_id": "MDQ6VXNlcjc4NzQzMjkx", "avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-kbregula", "html_url": "https://github.com/sfc-gh-kbregula", "followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers", "following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs", "repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos", "events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-07T16:07:12
2022-12-08T13:49:30
2022-12-08T13:49:16
CONTRIBUTOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context `DeltaGenerator` has as many as 44 mixins, so we have to be careful with adding new methods. In particular, the new methods may overlap between mixins. To avoid such problems, we use functions instead of static methods, but in the `MetricMixin` class this is not the case. I am now moving the static methods as new functions to the same module. I also added a test to detect such issues in the future. _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [X] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [ ] This is a visible (user-facing) change **Revised:** _Insert screenshot of your updated UI/code here_ **Current:** _Insert screenshot of existing UI/code here_ ## 🧪 Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5824/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5824/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5824", "html_url": "https://github.com/streamlit/streamlit/pull/5824", "diff_url": "https://github.com/streamlit/streamlit/pull/5824.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5824.patch", "merged_at": "2022-12-08T13:49:16" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5823
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5823/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5823/comments
https://api.github.com/repos/streamlit/streamlit/issues/5823/events
https://github.com/streamlit/streamlit/pull/5823
1,480,544,951
PR_kwDODCoeTs5EkAOa
5,823
Bump express from 4.17.1 to 4.18.2 in /frontend
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-12-07T00:28:52
2022-12-07T02:01:57
2022-12-07T02:01:48
CONTRIBUTOR
null
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/expressjs/express/releases">express's releases</a>.</em></p> <blockquote> <h2>4.18.2</h2> <ul> <li>Fix regression routing a large stack in a single route</li> <li>deps: body-parser@1.20.1 <ul> <li>deps: qs@6.11.0</li> <li>perf: remove unnecessary object clone</li> </ul> </li> <li>deps: qs@6.11.0</li> </ul> <h2>4.18.1</h2> <ul> <li>Fix hanging on large stack of sync routes</li> </ul> <h2>4.18.0</h2> <ul> <li>Add &quot;root&quot; option to <code>res.download</code></li> <li>Allow <code>options</code> without <code>filename</code> in <code>res.download</code></li> <li>Deprecate string and non-integer arguments to <code>res.status</code></li> <li>Fix behavior of <code>null</code>/<code>undefined</code> as <code>maxAge</code> in <code>res.cookie</code></li> <li>Fix handling very large stacks of sync middleware</li> <li>Ignore <code>Object.prototype</code> values in settings through <code>app.set</code>/<code>app.get</code></li> <li>Invoke <code>default</code> with same arguments as types in <code>res.format</code></li> <li>Support proper 205 responses using <code>res.send</code></li> <li>Use <code>http-errors</code> for <code>res.format</code> error</li> <li>deps: body-parser@1.20.0 <ul> <li>Fix error message for json parse whitespace in <code>strict</code></li> <li>Fix internal error when inflated body exceeds limit</li> <li>Prevent loss of async hooks context</li> <li>Prevent hanging when request already read</li> <li>deps: depd@2.0.0</li> <li>deps: http-errors@2.0.0</li> <li>deps: on-finished@2.4.1</li> <li>deps: qs@6.10.3</li> <li>deps: raw-body@2.5.1</li> </ul> </li> <li>deps: cookie@0.5.0 <ul> <li>Add <code>priority</code> option</li> <li>Fix <code>expires</code> option to reject invalid dates</li> </ul> </li> <li>deps: depd@2.0.0 <ul> <li>Replace internal <code>eval</code> usage with <code>Function</code> constructor</li> <li>Use instance methods on <code>process</code> to check for listeners</li> </ul> </li> <li>deps: finalhandler@1.2.0 <ul> <li>Remove set content headers that break response</li> <li>deps: on-finished@2.4.1</li> <li>deps: statuses@2.0.1</li> </ul> </li> <li>deps: on-finished@2.4.1 <ul> <li>Prevent loss of async hooks context</li> </ul> </li> <li>deps: qs@6.10.3</li> <li>deps: send@0.18.0 <ul> <li>Fix emitted 416 error missing headers property</li> <li>Limit the headers removed for 304 response</li> <li>deps: depd@2.0.0</li> <li>deps: destroy@1.2.0</li> <li>deps: http-errors@2.0.0</li> <li>deps: on-finished@2.4.1</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/expressjs/express/blob/master/History.md">express's changelog</a>.</em></p> <blockquote> <h1>4.18.2 / 2022-10-08</h1> <ul> <li>Fix regression routing a large stack in a single route</li> <li>deps: body-parser@1.20.1 <ul> <li>deps: qs@6.11.0</li> <li>perf: remove unnecessary object clone</li> </ul> </li> <li>deps: qs@6.11.0</li> </ul> <h1>4.18.1 / 2022-04-29</h1> <ul> <li>Fix hanging on large stack of sync routes</li> </ul> <h1>4.18.0 / 2022-04-25</h1> <ul> <li>Add &quot;root&quot; option to <code>res.download</code></li> <li>Allow <code>options</code> without <code>filename</code> in <code>res.download</code></li> <li>Deprecate string and non-integer arguments to <code>res.status</code></li> <li>Fix behavior of <code>null</code>/<code>undefined</code> as <code>maxAge</code> in <code>res.cookie</code></li> <li>Fix handling very large stacks of sync middleware</li> <li>Ignore <code>Object.prototype</code> values in settings through <code>app.set</code>/<code>app.get</code></li> <li>Invoke <code>default</code> with same arguments as types in <code>res.format</code></li> <li>Support proper 205 responses using <code>res.send</code></li> <li>Use <code>http-errors</code> for <code>res.format</code> error</li> <li>deps: body-parser@1.20.0 <ul> <li>Fix error message for json parse whitespace in <code>strict</code></li> <li>Fix internal error when inflated body exceeds limit</li> <li>Prevent loss of async hooks context</li> <li>Prevent hanging when request already read</li> <li>deps: depd@2.0.0</li> <li>deps: http-errors@2.0.0</li> <li>deps: on-finished@2.4.1</li> <li>deps: qs@6.10.3</li> <li>deps: raw-body@2.5.1</li> </ul> </li> <li>deps: cookie@0.5.0 <ul> <li>Add <code>priority</code> option</li> <li>Fix <code>expires</code> option to reject invalid dates</li> </ul> </li> <li>deps: depd@2.0.0 <ul> <li>Replace internal <code>eval</code> usage with <code>Function</code> constructor</li> <li>Use instance methods on <code>process</code> to check for listeners</li> </ul> </li> <li>deps: finalhandler@1.2.0 <ul> <li>Remove set content headers that break response</li> <li>deps: on-finished@2.4.1</li> <li>deps: statuses@2.0.1</li> </ul> </li> <li>deps: on-finished@2.4.1 <ul> <li>Prevent loss of async hooks context</li> </ul> </li> <li>deps: qs@6.10.3</li> <li>deps: send@0.18.0</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/expressjs/express/commit/8368dc178af16b91b576c4c1d135f701a0007e5d"><code>8368dc1</code></a> 4.18.2</li> <li><a href="https://github.com/expressjs/express/commit/61f40491222dbede653b9938e6a4676f187aab44"><code>61f4049</code></a> docs: replace Freenode with Libera Chat</li> <li><a href="https://github.com/expressjs/express/commit/bb7907b932afe3a19236a642f6054b6c8f7349a0"><code>bb7907b</code></a> build: Node.js@18.10</li> <li><a href="https://github.com/expressjs/express/commit/f56ce73186e885a938bfdb3d3d1005a58e6ae12b"><code>f56ce73</code></a> build: supertest@6.3.0</li> <li><a href="https://github.com/expressjs/express/commit/24b3dc551670ac4fb0cd5a2bd5ef643c9525e60f"><code>24b3dc5</code></a> deps: qs@6.11.0</li> <li><a href="https://github.com/expressjs/express/commit/689d175b8b39d8860b81d723233fb83d15201827"><code>689d175</code></a> deps: body-parser@1.20.1</li> <li><a href="https://github.com/expressjs/express/commit/340be0f79afb9b3176afb76235aa7f92acbd5050"><code>340be0f</code></a> build: eslint@8.24.0</li> <li><a href="https://github.com/expressjs/express/commit/33e8dc303af9277f8a7e4f46abfdcb5e72f6797b"><code>33e8dc3</code></a> docs: use Node.js name style</li> <li><a href="https://github.com/expressjs/express/commit/644f6464b9f61cbafa8f880636b1aa5237d95bad"><code>644f646</code></a> build: supertest@6.2.4</li> <li><a href="https://github.com/expressjs/express/commit/ecd7572f1e920b7a512452b8d9806ae617a99c54"><code>ecd7572</code></a> build: Node.js@14.20</li> <li>Additional commits viewable in <a href="https://github.com/expressjs/express/compare/4.17.1...4.18.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=express&package-manager=npm_and_yarn&previous-version=4.17.1&new-version=4.18.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/streamlit/streamlit/network/alerts). </details>
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5823/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5823", "html_url": "https://github.com/streamlit/streamlit/pull/5823", "diff_url": "https://github.com/streamlit/streamlit/pull/5823.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5823.patch", "merged_at": "2022-12-07T02:01:48" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5822
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5822/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5822/comments
https://api.github.com/repos/streamlit/streamlit/issues/5822/events
https://github.com/streamlit/streamlit/pull/5822
1,480,543,667
PR_kwDODCoeTs5Ej_7E
5,822
Bump qs from 6.5.2 to 6.5.3 in /frontend
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-12-07T00:28:18
2022-12-07T02:01:36
2022-12-07T02:01:33
CONTRIBUTOR
null
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ljharb/qs/blob/main/CHANGELOG.md">qs's changelog</a>.</em></p> <blockquote> <h2><strong>6.5.3</strong></h2> <ul> <li>[Fix] <code>parse</code>: ignore <code>__proto__</code> keys (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/428">#428</a>)</li> <li>[Fix]<code> </code>utils.merge`: avoid a crash with a null target and a truthy non-array source</li> <li>[Fix] correctly parse nested arrays</li> <li>[Fix] <code>stringify</code>: fix a crash with <code>strictNullHandling</code> and a custom <code>filter</code>/<code>serializeDate</code> (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/279">#279</a>)</li> <li>[Fix] <code>utils</code>: <code>merge</code>: fix crash when <code>source</code> is a truthy primitive &amp; no options are provided</li> <li>[Fix] when <code>parseArrays</code> is false, properly handle keys ending in <code>[]</code></li> <li>[Fix] fix for an impossible situation: when the formatter is called with a non-string value</li> <li>[Fix] <code>utils.merge</code>: avoid a crash with a null target and an array source</li> <li>[Refactor] <code>utils</code>: reduce observable [[Get]]s</li> <li>[Refactor] use cached <code>Array.isArray</code></li> <li>[Refactor] <code>stringify</code>: Avoid arr = arr.concat(...), push to the existing instance (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/269">#269</a>)</li> <li>[Refactor] <code>parse</code>: only need to reassign the var once</li> <li>[Robustness] <code>stringify</code>: avoid relying on a global <code>undefined</code> (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/427">#427</a>)</li> <li>[readme] remove travis badge; add github actions/codecov badges; update URLs</li> <li>[Docs] Clean up license text so it’s properly detected as BSD-3-Clause</li> <li>[Docs] Clarify the need for &quot;arrayLimit&quot; option</li> <li>[meta] fix README.md (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/399">#399</a>)</li> <li>[meta] add FUNDING.yml</li> <li>[actions] backport actions from main</li> <li>[Tests] always use <code>String(x)</code> over <code>x.toString()</code></li> <li>[Tests] remove nonexistent tape option</li> <li>[Dev Deps] backport from main</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ljharb/qs/commit/298bfa55d6db00ddea78dd0333509aadf9bb3077"><code>298bfa5</code></a> v6.5.3</li> <li><a href="https://github.com/ljharb/qs/commit/ed0f5dcbef4b168a8ae299d78b1e4a2e9b1baf1f"><code>ed0f5dc</code></a> [Fix] <code>parse</code>: ignore <code>__proto__</code> keys (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/428">#428</a>)</li> <li><a href="https://github.com/ljharb/qs/commit/691e739cfa40cd42604dc05a54e6154371a429ab"><code>691e739</code></a> [Robustness] <code>stringify</code>: avoid relying on a global <code>undefined</code> (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/427">#427</a>)</li> <li><a href="https://github.com/ljharb/qs/commit/1072d57d38a690e1ad7616dced44390bffedcbb2"><code>1072d57</code></a> [readme] remove travis badge; add github actions/codecov badges; update URLs</li> <li><a href="https://github.com/ljharb/qs/commit/12ac1c403aaa04d1a34844f514ed9f9abfb76e64"><code>12ac1c4</code></a> [meta] fix README.md (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/399">#399</a>)</li> <li><a href="https://github.com/ljharb/qs/commit/0338716b09fdbd4711823eeb0a14e556a2498e7a"><code>0338716</code></a> [actions] backport actions from main</li> <li><a href="https://github.com/ljharb/qs/commit/5639c20ce0a7c1332200a3181339331483e5a3a1"><code>5639c20</code></a> Clean up license text so it’s properly detected as BSD-3-Clause</li> <li><a href="https://github.com/ljharb/qs/commit/51b8a0b1b213596dd1702b837f5e7dec2229793d"><code>51b8a0b</code></a> add FUNDING.yml</li> <li><a href="https://github.com/ljharb/qs/commit/45f675936e742d92fac8d4dae5cfc385c576a977"><code>45f6759</code></a> [Fix] fix for an impossible situation: when the formatter is called with a no...</li> <li><a href="https://github.com/ljharb/qs/commit/f814a7f8f2af059f8158f7e4b2bf8b46aeb62cd3"><code>f814a7f</code></a> [Dev Deps] backport from main</li> <li>Additional commits viewable in <a href="https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=qs&package-manager=npm_and_yarn&previous-version=6.5.2&new-version=6.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/streamlit/streamlit/network/alerts). </details>
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5822/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5822", "html_url": "https://github.com/streamlit/streamlit/pull/5822", "diff_url": "https://github.com/streamlit/streamlit/pull/5822.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5822.patch", "merged_at": "2022-12-07T02:01:33" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5821
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5821/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5821/comments
https://api.github.com/repos/streamlit/streamlit/issues/5821/events
https://github.com/streamlit/streamlit/pull/5821
1,480,150,923
PR_kwDODCoeTs5Eimaf
5,821
Singleton: `ttl` and `max_entries` support
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-06T20:47:55
2022-12-07T17:52:50
2022-12-07T17:52:14
COLLABORATOR
null
Adds `ttl` and `max_entries` support to `@st.experimental_singleton`. This is primarily just copied from the existing support in `memo`, which means that `singleton` now uses a `cachetools.TTLCache` instance for its storage. There are a few new common utilities and tests where appropriate.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5821/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5821/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5821", "html_url": "https://github.com/streamlit/streamlit/pull/5821", "diff_url": "https://github.com/streamlit/streamlit/pull/5821.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5821.patch", "merged_at": "2022-12-07T17:52:14" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5820
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5820/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5820/comments
https://api.github.com/repos/streamlit/streamlit/issues/5820/events
https://github.com/streamlit/streamlit/issues/5820
1,479,905,184
I_kwDODCoeTs5YNY-g
5,820
Content inside tabs jitters when switching tabs for the first time
{ "login": "marduk2", "id": 12582729, "node_id": "MDQ6VXNlcjEyNTgyNzI5", "avatar_url": "https://avatars.githubusercontent.com/u/12582729?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marduk2", "html_url": "https://github.com/marduk2", "followers_url": "https://api.github.com/users/marduk2/followers", "following_url": "https://api.github.com/users/marduk2/following{/other_user}", "gists_url": "https://api.github.com/users/marduk2/gists{/gist_id}", "starred_url": "https://api.github.com/users/marduk2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marduk2/subscriptions", "organizations_url": "https://api.github.com/users/marduk2/orgs", "repos_url": "https://api.github.com/users/marduk2/repos", "events_url": "https://api.github.com/users/marduk2/events{/privacy}", "received_events_url": "https://api.github.com/users/marduk2/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230107623, "node_id": "MDU6TGFiZWwzMjMwMTA3NjIz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3", "name": "priority:P3", "color": "ff4b4b", "default": false, "description": "" }, { "id": 4346975821, "node_id": "LA_kwDODCoeTs8AAAABAxmWTQ", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.tabs", "name": "feature:st.tabs", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
{ "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false }
[ { "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false } ]
null
2
2022-12-06T18:55:15
2022-12-30T00:30:57
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5820) Currently, the content inside tabs jitters when a user switches tabs for the first time. Another user reported [this](https://discuss.streamlit.io/t/bug-with-st-tabs-glitches-for-1-frame-while-rendering/33497/5) bug on the forum, but wanted to create an official issue here too. ### Reproducible Code Example ```Python import streamlit as st st.title('Content inside tabs jitters on first load') t1, t2, t3 = st.tabs(['First tab','Second tab','Third tab']) t1.header('This content is inside the first tab') t2.header('This content is inside the second tab') t3.header('This content is inside the third tab') ``` ### Steps To Reproduce 1. Run the Reproducible Code Example as a Streamlit app. 2. Click on the different tabs and see how the content jitters. ### Expected Behavior Content inside each tab does not jitter when switching tabs. ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.1 - Python version: 3.10 - Operating System: macOS - Browser: Brave - Virtual environment: conda ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5820/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5820/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5819
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5819/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5819/comments
https://api.github.com/repos/streamlit/streamlit/issues/5819/events
https://github.com/streamlit/streamlit/pull/5819
1,477,807,872
PR_kwDODCoeTs5EaVXx
5,819
Pass session ID back from frontend and use it to reconnect
{ "login": "vdonato", "id": 3144420, "node_id": "MDQ6VXNlcjMxNDQ0MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdonato", "html_url": "https://github.com/vdonato", "followers_url": "https://api.github.com/users/vdonato/followers", "following_url": "https://api.github.com/users/vdonato/following{/other_user}", "gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}", "starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vdonato/subscriptions", "organizations_url": "https://api.github.com/users/vdonato/orgs", "repos_url": "https://api.github.com/users/vdonato/repos", "events_url": "https://api.github.com/users/vdonato/events{/privacy}", "received_events_url": "https://api.github.com/users/vdonato/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-06T00:33:29
2022-12-10T02:47:09
2022-12-10T02:47:06
COLLABORATOR
null
## 📚 Context This PR wraps up the websocket reconnect behavior improvements being implemented in this feature branch. Now that the server knows how to accept an `existing_session_id` and reconnect to it due to the work done in #5806, the last step is to pass the session ID that we want to reconnect to from the client when attempting to reestablish a websocket connection. There are still a few things related to reconnect improvements that I want to get done after this PR is merged: * Within the feature branch, * Rename some methods/classes, such as `Runtime.create_session` -> `Runtime.connect_session` and `SessionData` -> something that doesn't sound so similar to `SessionInfo`. * Finalize and write docstrings for the thread safety semantics of `SessionManager` methods. * As a followup project (after the feature branch is merged), fix `st.file_uploader` to be able to retain its files across websocket disconnects. - What kind of change does this PR introduce? - [x] Bugfix - [x] Feature ## 🧪 Testing Done - [x] Added/Updated unit tests - [x] Added/Updated e2e tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5819/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5819", "html_url": "https://github.com/streamlit/streamlit/pull/5819", "diff_url": "https://github.com/streamlit/streamlit/pull/5819.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5819.patch", "merged_at": "2022-12-10T02:47:06" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5818
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5818/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5818/comments
https://api.github.com/repos/streamlit/streamlit/issues/5818/events
https://github.com/streamlit/streamlit/pull/5818
1,477,729,600
PR_kwDODCoeTs5EaDot
5,818
Parameterized cache decorator metrics names
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
4
2022-12-05T23:48:46
2022-12-06T17:34:32
2022-12-06T17:32:46
COLLABORATOR
null
- The data team wants to track metrics on both the deprecated cache decorator names (`@st.experimental_memo`, `@st.experimental_singleton`) AND the new decorators names (`@st.cache_data`, `@st.cache_resource`) - This PR parameterizes `CacheDataAPI` and `CacheResourceAPI` with the decorator metric name, to achieve the above. - This means that we now have _two_ instances of both `CacheDataAPI` and `CacheResourceAPI` (one instance for both supported names). The underlying cache storage remains the same (that is, both `CacheDataAPI` instances share the same on-disk and in-memory cache storage; and the same is true of `CacheResourceAPI`). Tests: - `metrics_util_test.test_public_api_commands` no longer ignores st.experimental_memo/singleton, so these are now properly tracked as their own standalone metrics-gathering APIs - `cache_data_api_test` and `cache_resource_api_test` now include tests asserting that decorator variants share the same storage.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5818/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5818/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5818", "html_url": "https://github.com/streamlit/streamlit/pull/5818", "diff_url": "https://github.com/streamlit/streamlit/pull/5818.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5818.patch", "merged_at": "2022-12-06T17:32:46" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5817
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5817/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5817/comments
https://api.github.com/repos/streamlit/streamlit/issues/5817/events
https://github.com/streamlit/streamlit/pull/5817
1,477,117,864
PR_kwDODCoeTs5EX5Js
5,817
Easter Egg
{ "login": "mayagbarnes", "id": 63436329, "node_id": "MDQ6VXNlcjYzNDM2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayagbarnes", "html_url": "https://github.com/mayagbarnes", "followers_url": "https://api.github.com/users/mayagbarnes/followers", "following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}", "gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}", "starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions", "organizations_url": "https://api.github.com/users/mayagbarnes/orgs", "repos_url": "https://api.github.com/users/mayagbarnes/repos", "events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}", "received_events_url": "https://api.github.com/users/mayagbarnes/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-05T18:06:02
2022-12-07T20:26:34
2022-12-07T20:26:31
COLLABORATOR
null
New Years Easter Egg - see [Notion doc](https://www.notion.so/streamlit/Product-spec-a96960d519ce49bdabd9366e3e5a40e2) ## 📚 Context Running Man modification for New Years - What kind of change does this PR introduce? - [x] Feature ## 🧠 Description of Changes - Added new gif - Added function to test the current date based on client local date/time, change gif rendered accordingly - [x] This is a visible (user-facing) change ## 🧪 Testing Done - [x] Manual Testing - [x] Add FE Unit Tests - [x] QA Testing - [doc link](https://www.notion.so/streamlit/QA-Feature-Test-New-Years-Easter-Egg-6253b0b7eb054af99a9bad96e10b81bd) --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5817/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5817/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5817", "html_url": "https://github.com/streamlit/streamlit/pull/5817", "diff_url": "https://github.com/streamlit/streamlit/pull/5817.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5817.patch", "merged_at": "2022-12-07T20:26:31" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5816
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5816/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5816/comments
https://api.github.com/repos/streamlit/streamlit/issues/5816/events
https://github.com/streamlit/streamlit/issues/5816
1,477,060,195
I_kwDODCoeTs5YCiZj
5,816
Customisation of st.expander label font size via markdown does not work in 1.15.0 version
{ "login": "vfrankswood", "id": 95878893, "node_id": "U_kgDOBbb-7Q", "avatar_url": "https://avatars.githubusercontent.com/u/95878893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vfrankswood", "html_url": "https://github.com/vfrankswood", "followers_url": "https://api.github.com/users/vfrankswood/followers", "following_url": "https://api.github.com/users/vfrankswood/following{/other_user}", "gists_url": "https://api.github.com/users/vfrankswood/gists{/gist_id}", "starred_url": "https://api.github.com/users/vfrankswood/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vfrankswood/subscriptions", "organizations_url": "https://api.github.com/users/vfrankswood/orgs", "repos_url": "https://api.github.com/users/vfrankswood/repos", "events_url": "https://api.github.com/users/vfrankswood/events{/privacy}", "received_events_url": "https://api.github.com/users/vfrankswood/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
2
2022-12-05T17:31:14
2022-12-13T11:43:33
2022-12-08T02:14:17
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary In 1.14.1 version one could make label of st.expander larger by accessing .streamlit-expanderHeader class via st.markdown(). In latest version (1.15.0) it just doesn't work - the font size remains the same. ### Reproducible Code Example ```Python import streamlit as st st.markdown( """ <style> .streamlit-expanderHeader { font-size: 20px; } </style> """, unsafe_allow_html=True, ) with st.expander('Some label text', expanded=True): st.write('I love streamlit') ``` ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5816/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5815
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5815/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5815/comments
https://api.github.com/repos/streamlit/streamlit/issues/5815/events
https://github.com/streamlit/streamlit/issues/5815
1,476,938,613
I_kwDODCoeTs5YCEt1
5,815
Script does not always re-execute with latest params when using both session state and `get_query_params`
{ "login": "JovanVeljanoski", "id": 18574951, "node_id": "MDQ6VXNlcjE4NTc0OTUx", "avatar_url": "https://avatars.githubusercontent.com/u/18574951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JovanVeljanoski", "html_url": "https://github.com/JovanVeljanoski", "followers_url": "https://api.github.com/users/JovanVeljanoski/followers", "following_url": "https://api.github.com/users/JovanVeljanoski/following{/other_user}", "gists_url": "https://api.github.com/users/JovanVeljanoski/gists{/gist_id}", "starred_url": "https://api.github.com/users/JovanVeljanoski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JovanVeljanoski/subscriptions", "organizations_url": "https://api.github.com/users/JovanVeljanoski/orgs", "repos_url": "https://api.github.com/users/JovanVeljanoski/repos", "events_url": "https://api.github.com/users/JovanVeljanoski/events{/privacy}", "received_events_url": "https://api.github.com/users/JovanVeljanoski/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 4070169954, "node_id": "LA_kwDODCoeTs7ymd1i", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state", "name": "feature:st.session_state", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-12-05T16:29:40
2022-12-29T23:39:04
2022-12-29T23:38:43
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I am building a (multi-page) app in which I'd like to preserve some input parameters across the pages, but also enable for query params (url) params, for easy sharing of results. I have noticed that, at least with my implementation) after the first couple of clicks, one needs to interact with an UI element (dropdown, slider etc.. ) before the script is run. Otherwise, the script is run, but with the old parameters. The issue above is no limited to multi-page apps (I mentioned that to describe the use-case/need of the feature), but it can be reproduced for single page apps (see below). ### Reproducible Code Example ```Python import numpy as np import matplotlib.pyplot as plt import streamlit as st def update_session_state(query_params: dict, key: str, options: list = None, default_value: str = None, as_int: bool = False): value = query_params.get(key, [default_value])[0] if value == "None": value = None if as_int: value = int(value) if options is not None: if value not in options: st.error(f"Invalid value for {key}: {value}") st.stop() if key not in st.session_state: st.session_state[key] = value return value # Get the URL parameters (query parameters) query_params = st.experimental_get_query_params() freq_options = [-3, -2, -1, 0, 1, 2, 3] color_options = ["red", "green", "blue"] lw_options = [1, 2, 3, 4, 5] # Get the values from the URL parameters freq = update_session_state(query_params=query_params, key="freq", options=freq_options, default_value=0, as_int=True) color = update_session_state(query_params=query_params, key="color", options=color_options, default_value="red") lw = update_session_state(query_params=query_params, key="lw", options=lw_options, default_value=1, as_int=True) # Parameters freq = st.sidebar.selectbox('Frequency', options=freq_options, index=freq_options.index(freq)) color = st.sidebar.selectbox('Color', options=color_options, index=color_options.index(color)) lw = st.sidebar.selectbox('Line width', options=lw_options, index=lw_options.index(lw)) st.header('My pretty plot') x = np.linspace(0, 10, 100) y = np.sin(x + freq) fig, ax = plt.subplots() ax.plot(x, y, color=color, lw=lw) st.pyplot(fig) st.experimental_set_query_params(freq=freq, color=color, lw=lw) ``` ### Steps To Reproduce 1. Run the app 2. Click on the drop-downs few times 3. Observe that sometimes (very often after the 1st few clicks) you need to click on an element twice to get the full script to run. I.e. if you put a longer running process, you will noticed that the script does run, but with the previous parameters. ### Expected Behavior The expectation is that one need a single interaction with an UI element ### Current Behavior There is no explicit error message related to this issue. However I am uploading a screen-capture to demonstrate the problem. I hope this makes it clearer. [streamlit-app-2022-12-05-17-12-45.webm](https://user-images.githubusercontent.com/18574951/205688567-d4314d6f-f107-4a40-a795-cc3314a93765.webm) ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14, 1.50.0, 1.50.1, 1.50.2 - Python version: 3.9 - Operating System: MacOS 12.5.1 (Monterey) - Browser: Firefox, Chrome - Installed via: conda/mamba via conda-forge (also tried via pip inside conda/mamba environment, same results) ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5815/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5814
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5814/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5814/comments
https://api.github.com/repos/streamlit/streamlit/issues/5814/events
https://github.com/streamlit/streamlit/pull/5814
1,476,564,792
PR_kwDODCoeTs5EV9fq
5,814
Improve alert elements docstrings
{ "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-12-05T13:25:39
2022-12-05T15:53:12
2022-12-05T15:07:23
MEMBER
null
## 📚 Context The docstring for `icon` arg in st.warning, st.info, etc, is unclear. From its docstring, I can’t tell how to use the `icon` keyword. The type annotation also seems to be wrong (it says `None`, which would mean it only accepts`None` — incorrect). - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes - Changes the type of `icon` keyword in alert element docstrings from `None` to `str or None`. - Explains how to use the `icon` keyword, states what's not allowed, and describes the default behavior. - Reorders the `st.error` parameters in the docstring to be consistent with the order of params in the function signature. Note: This PR does not update or add any tests as it is merely refactoring/updating the docstring text. - [ ] This is a breaking API change - [x] This is a visible (user-facing) change **Revised:** ![image](https://user-images.githubusercontent.com/20672874/205647818-c34eb50c-f760-44db-a2f7-ab5768926b8a.png) **Current:** ![image](https://user-images.githubusercontent.com/20672874/205647915-d2bc28a6-4f08-45c5-b655-2eb04c1c006c.png) ## 🧪 Testing Done - [x] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5814/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5814/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5814", "html_url": "https://github.com/streamlit/streamlit/pull/5814", "diff_url": "https://github.com/streamlit/streamlit/pull/5814.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5814.patch", "merged_at": "2022-12-05T15:07:23" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5813
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5813/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5813/comments
https://api.github.com/repos/streamlit/streamlit/issues/5813/events
https://github.com/streamlit/streamlit/issues/5813
1,475,362,817
I_kwDODCoeTs5X8EAB
5,813
Preserve widget state when a widget disappears from the page (demoed via Multipage Apps)
{ "login": "treuille", "id": 1673013, "node_id": "MDQ6VXNlcjE2NzMwMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/1673013?v=4", "gravatar_id": "", "url": "https://api.github.com/users/treuille", "html_url": "https://github.com/treuille", "followers_url": "https://api.github.com/users/treuille/followers", "following_url": "https://api.github.com/users/treuille/following{/other_user}", "gists_url": "https://api.github.com/users/treuille/gists{/gist_id}", "starred_url": "https://api.github.com/users/treuille/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/treuille/subscriptions", "organizations_url": "https://api.github.com/users/treuille/orgs", "repos_url": "https://api.github.com/users/treuille/repos", "events_url": "https://api.github.com/users/treuille/events{/privacy}", "received_events_url": "https://api.github.com/users/treuille/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 1964271488, "node_id": "MDU6TGFiZWwxOTY0MjcxNDg4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:widgets", "name": "area:widgets", "color": "C2E0C6", "default": false, "description": "" }, { "id": 4070169954, "node_id": "LA_kwDODCoeTs7ymd1i", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state", "name": "feature:st.session_state", "color": "C5DEF5", "default": false, "description": "" }, { "id": 4288309131, "node_id": "LA_kwDODCoeTs7_mmeL", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:multipage-apps", "name": "feature:multipage-apps", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
7
2022-12-05T01:06:19
2023-02-07T16:27:27
null
CONTRIBUTOR
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary When you set a session state variable via the ```py st.some_input_widget(..., key="foo") ``` The value of session_state.foo is overridden when you leave that page and go back to that page. I created an example of this which you can see here * [Live app](https://treuille-streamlit-1-15-2-multipage-state--streamlit-app-kpr2ai.streamlit.app/) * [Source Code](https://github.com/treuille/streamlit-1.15.2-multipage-state-issue/blob/main/streamlit_app.py) ### Reproducible Code Example ```Python # See the live example on Streamlit Community Cloud ``` ### Steps To Reproduce 1. Go to the [live app](https://treuille-streamlit-1-15-2-multipage-state--streamlit-app-kpr2ai.streamlit.app/). 2. Type in "ABC" in the text box which should bind it to the state variable "foo" 3. Optionally, click the button to set the "bar" state (this is included only to show that other forms of state are properly preserved across state views). 4. Click on the second page. 5. Click *back* to the main page. ### Expected Behavior When you complete step (5) the text you entered ("ABC") should still be be bound to "foo" and appear on that page. ### Current Behavior "foo" has been overridden when you go back to the main page. ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: `1.15.2` - Python version: `3.10.6` - Operating System: `MacOS 12.6.1 (21G217)` - Browser: `Chrome Version 107.0.5304.121 (Official Build) (arm64)` - Virtual environment: Python venv ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5813/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5813/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5812
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5812/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5812/comments
https://api.github.com/repos/streamlit/streamlit/issues/5812/events
https://github.com/streamlit/streamlit/issues/5812
1,474,680,015
I_kwDODCoeTs5X5dTP
5,812
input text and get error of :validation error for TextGenerationOutput 生成结果 str type expected (type=type_error.str)
{ "login": "Fairywang9", "id": 56218499, "node_id": "MDQ6VXNlcjU2MjE4NDk5", "avatar_url": "https://avatars.githubusercontent.com/u/56218499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Fairywang9", "html_url": "https://github.com/Fairywang9", "followers_url": "https://api.github.com/users/Fairywang9/followers", "following_url": "https://api.github.com/users/Fairywang9/following{/other_user}", "gists_url": "https://api.github.com/users/Fairywang9/gists{/gist_id}", "starred_url": "https://api.github.com/users/Fairywang9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Fairywang9/subscriptions", "organizations_url": "https://api.github.com/users/Fairywang9/orgs", "repos_url": "https://api.github.com/users/Fairywang9/repos", "events_url": "https://api.github.com/users/Fairywang9/events{/privacy}", "received_events_url": "https://api.github.com/users/Fairywang9/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
1
2022-12-04T10:22:16
2022-12-30T03:37:17
2022-12-07T00:04:08
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary ![image](https://user-images.githubusercontent.com/56218499/205485432-5f8b85b4-551d-492f-a7c7-812cd2e31464.png) ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5812/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5811
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5811/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5811/comments
https://api.github.com/repos/streamlit/streamlit/issues/5811/events
https://github.com/streamlit/streamlit/issues/5811
1,474,674,260
I_kwDODCoeTs5X5b5U
5,811
Plotly plot layout can't be changed
{ "login": "KensingtonOscupant", "id": 99140162, "node_id": "U_kgDOBejCQg", "avatar_url": "https://avatars.githubusercontent.com/u/99140162?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KensingtonOscupant", "html_url": "https://github.com/KensingtonOscupant", "followers_url": "https://api.github.com/users/KensingtonOscupant/followers", "following_url": "https://api.github.com/users/KensingtonOscupant/following{/other_user}", "gists_url": "https://api.github.com/users/KensingtonOscupant/gists{/gist_id}", "starred_url": "https://api.github.com/users/KensingtonOscupant/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KensingtonOscupant/subscriptions", "organizations_url": "https://api.github.com/users/KensingtonOscupant/orgs", "repos_url": "https://api.github.com/users/KensingtonOscupant/repos", "events_url": "https://api.github.com/users/KensingtonOscupant/events{/privacy}", "received_events_url": "https://api.github.com/users/KensingtonOscupant/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
1
2022-12-04T10:14:21
2022-12-30T03:37:16
2022-12-05T18:48:27
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Plotly plots in Streamlit do not allow for the height to be changed. This also does not work in the [example app](https://doc-plotly-chart.streamlit.app/). ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 15.0 - Python version: 3.8 - Operating System: Windows 11 and Ubuntu 22.04 - Browser: Chrome ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5811/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5810
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5810/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5810/comments
https://api.github.com/repos/streamlit/streamlit/issues/5810/events
https://github.com/streamlit/streamlit/pull/5810
1,474,436,757
PR_kwDODCoeTs5EOesU
5,810
Fix multipage apps e2e test describe block
{ "login": "vdonato", "id": 3144420, "node_id": "MDQ6VXNlcjMxNDQ0MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdonato", "html_url": "https://github.com/vdonato", "followers_url": "https://api.github.com/users/vdonato/followers", "following_url": "https://api.github.com/users/vdonato/following{/other_user}", "gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}", "starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vdonato/subscriptions", "organizations_url": "https://api.github.com/users/vdonato/orgs", "repos_url": "https://api.github.com/users/vdonato/repos", "events_url": "https://api.github.com/users/vdonato/events{/privacy}", "received_events_url": "https://api.github.com/users/vdonato/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-04T04:28:38
2022-12-06T00:07:09
2022-12-06T00:07:03
COLLABORATOR
null
I noticed the top-level `describe` for the multipage e2e tests is labeled as `st.map`, probably because I copy-pasted the `describe` block and forgot to change the title, then it managed to slip by in code review.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5810/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5810", "html_url": "https://github.com/streamlit/streamlit/pull/5810", "diff_url": "https://github.com/streamlit/streamlit/pull/5810.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5810.patch", "merged_at": "2022-12-06T00:07:03" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5809
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5809/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5809/comments
https://api.github.com/repos/streamlit/streamlit/issues/5809/events
https://github.com/streamlit/streamlit/pull/5809
1,474,431,833
PR_kwDODCoeTs5EOdjp
5,809
Replace closeConnection with shutdownRuntime and disconnectWebsocket
{ "login": "vdonato", "id": 3144420, "node_id": "MDQ6VXNlcjMxNDQ0MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdonato", "html_url": "https://github.com/vdonato", "followers_url": "https://api.github.com/users/vdonato/followers", "following_url": "https://api.github.com/users/vdonato/following{/other_user}", "gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}", "starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vdonato/subscriptions", "organizations_url": "https://api.github.com/users/vdonato/orgs", "repos_url": "https://api.github.com/users/vdonato/repos", "events_url": "https://api.github.com/users/vdonato/events{/privacy}", "received_events_url": "https://api.github.com/users/vdonato/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-04T04:20:56
2022-12-05T23:53:36
2022-12-05T23:53:32
COLLABORATOR
null
## 📚 Context This is another change that's being made because we need it for the `feature/session-manager` branch but is being made straight to `develop` to keep the final diff size down. The special test-only `closeConnection` proto message type has a pretty misleading name because what it really does is shut down the runtime entirely. Because we need a way to test reconnect behavior (and thus a way to close *only* the browser websocket connection without nuking the entire Streamlit server), we replace this proto type with `debugShutdownRuntime` and `debugDisconnectWebsocket`, which do what their names suggest. ## 🧪 Testing Done - [x] Added/Updated e2e tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5809/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5809", "html_url": "https://github.com/streamlit/streamlit/pull/5809", "diff_url": "https://github.com/streamlit/streamlit/pull/5809.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5809.patch", "merged_at": "2022-12-05T23:53:32" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5808
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5808/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5808/comments
https://api.github.com/repos/streamlit/streamlit/issues/5808/events
https://github.com/streamlit/streamlit/issues/5808
1,474,430,349
I_kwDODCoeTs5X4gWN
5,808
Ag-grid crashes and remaining code does not complete
{ "login": "nafets33", "id": 18087911, "node_id": "MDQ6VXNlcjE4MDg3OTEx", "avatar_url": "https://avatars.githubusercontent.com/u/18087911?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nafets33", "html_url": "https://github.com/nafets33", "followers_url": "https://api.github.com/users/nafets33/followers", "following_url": "https://api.github.com/users/nafets33/following{/other_user}", "gists_url": "https://api.github.com/users/nafets33/gists{/gist_id}", "starred_url": "https://api.github.com/users/nafets33/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nafets33/subscriptions", "organizations_url": "https://api.github.com/users/nafets33/orgs", "repos_url": "https://api.github.com/users/nafets33/repos", "events_url": "https://api.github.com/users/nafets33/events{/privacy}", "received_events_url": "https://api.github.com/users/nafets33/received_events", "type": "User", "site_admin": false }
[ { "id": 4771992204, "node_id": "LA_kwDODCoeTs8AAAABHG7SjA", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:not-issue", "name": "type:not-issue", "color": "262730", "default": false, "description": "This issue is not valid (e.g. debugging question, question unrelated to Streamlit, etc.)" } ]
closed
false
null
[]
null
1
2022-12-04T04:18:38
2022-12-07T21:31:53
2022-12-07T21:31:53
NONE
null
streamlit== 1.5.1 & 1.13.0 streamlit-aggrid== 0.2.3 & 0.3.3 I noticed that when new data is introduced to grid, the grid will crash/reset (when I mean crash, the remaining code does not complete in script, in my case, saving latest edit to grid to backend) Solution: Keep data in session state to preserve the grid from resetting, however, I still am not able to create a solution for allowing new data to come into the grid. Does anyone know how to do this? Below code to re-produce, as long as you do not SAVE the data to backend grid remains in tack, the second edits are saved the grid will crash and reset. code to reproduce (the same applies if you use db as .csv file) import pandas as pd from st_aggrid import GridOptionsBuilder, AgGrid, GridUpdateMode, DataReturnMode, JsCode import streamlit as st # pip install streamlit import os import sqlite3 import datetime import pytz client_user = 'me' def return_nowtime(timezone='US/Pacific'): return datetime.datetime.now().astimezone(pytz.timezone(timezone)) def create_connection(db_file): """ create a database connection to the SQLite database specified by db_file :param db_file: database file :return: Connection object or None """ conn = None try: conn = sqlite3.connect(db_file) return conn except Exception as e: print(e) return conn def query_sql__return_qrd(conn): query = "SELECT * from qrd_db" df =pd.read_sql_query(query, conn) return df def sql_update_qrd(conn, update_package): # task = ('test', '60053') df = update_package['df'] for io_num in df['IO_Num'].tolist(): for col in df.columns.tolist(): if col in ['IO_Num', 'idx']: continue df_slice = df[df['IO_Num'] == io_num].copy() value = df_slice.iloc[0][col] sql = f'UPDATE qrd_db SET "{col}" = ? WHERE IO_Num = ?' task = (value, io_num) print(task) cur = conn.cursor() cur.execute(sql, task) conn.commit() st.write("data saved") print("data saved") return True # # qrd = os.path.join(db_root, 'mqrd.plk') database = os.path.join(os.getcwd(), "qrd.db") if os.path.exists(database) == False: with open(database, 'w') as f: items_ = [{'IO_Num': str(i), 'Review.Sign.Off': str(i)} for i in range(10)] df = pd.DataFrame(items_) # df = pd.read_csv(r'c:\Users\sstapinski\Downloads\wtf.csv') create_db = True print("db created") else: create_db = False if create_db: conn = create_connection(db_file=os.path.join(os.getcwd(), "qrd.db")) df.to_sql("qrd_db", conn, if_exists="replace") else: conn = create_connection(db_file=os.path.join(os.getcwd(), "qrd.db")) df = query_sql__return_qrd(conn) # db_file = r'c:\Users\sstapinski\Downloads\wtf.csv' # df = pd.read_csv(db_file, dtype=str) df = df[['IO_Num', 'Review.Sign.Off']].copy() df['idx'] = df.index df_orgin = df.copy() data = df.copy() gb = GridOptionsBuilder.from_dataframe(data, min_column_width=30) gb.configure_column("Review.Sign.Off", editable=True, cellEditor='agSelectCellEditor', cellEditorParams={'values': ['ok', 'notok'] }, maxWidth=130, autoSize=True) gridOptions = gb.build() gridOptions['rememberGroupStateWhenNewData'] = 'true' gridOptions['resizable'] = 'true' gridOptions['wrapHeaderText'] = 'true' grid_response = AgGrid( data, gridOptions=gridOptions, data_return_mode='AS_INPUT', update_mode='VALUE_CHANGED', fit_columns_on_grid_load=False, enable_enterprise_modules=True, height=200, reload_data=False, allow_unsafe_jscode=True, ) df_new = grid_response['data'] df_changes = df_new[~df_new[['IO_Num', 'Review.Sign.Off']].apply(tuple,1).isin(df_orgin[['IO_Num','Review.Sign.Off']].apply(tuple,1))].dropna() df_changes = df_changes[~df_changes['Review.Sign.Off'].isin(['nan'])].copy() # df_orgin.to_csv(db_file) sql_update_qrd(conn, update_package={'df': df_changes}) ### <<< if you update grid will crash on next loads st.write("saved confirmed Items Saved", df_changes) [streamlit-jq_app-2022-12-03-23-12-85.webm](https://user-images.githubusercontent.com/18087911/205474049-86dcfdc7-9923-46b5-805a-01e34dd9ab2c.webm)
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5808/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5807
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5807/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5807/comments
https://api.github.com/repos/streamlit/streamlit/issues/5807/events
https://github.com/streamlit/streamlit/pull/5807
1,474,075,705
PR_kwDODCoeTs5ENQAF
5,807
iFrame resizer guest script
{ "login": "cbensimon", "id": 11795593, "node_id": "MDQ6VXNlcjExNzk1NTkz", "avatar_url": "https://avatars.githubusercontent.com/u/11795593?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cbensimon", "html_url": "https://github.com/cbensimon", "followers_url": "https://api.github.com/users/cbensimon/followers", "following_url": "https://api.github.com/users/cbensimon/following{/other_user}", "gists_url": "https://api.github.com/users/cbensimon/gists{/gist_id}", "starred_url": "https://api.github.com/users/cbensimon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cbensimon/subscriptions", "organizations_url": "https://api.github.com/users/cbensimon/orgs", "repos_url": "https://api.github.com/users/cbensimon/repos", "events_url": "https://api.github.com/users/cbensimon/events{/privacy}", "received_events_url": "https://api.github.com/users/cbensimon/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
11
2022-12-03T14:40:57
2023-01-04T19:59:13
2023-01-04T19:59:12
CONTRIBUTOR
null
## 📚 Context Enhance Streamlit apps embedding capabilities by making it "compatible" with the [iFrame Resizer](https://github.com/davidjbradshaw/iframe-resizer) library - What kind of change does this PR introduce? - [ ] Bugfix - [x] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - Dynamically load the iFrame resizer guest script on App startup if the app runs in an iFrame - Place a no-op invisible anchor element at the bottom of the main app content - used by iFrame resizer to determine the current height of the running app **Revised:** https://user-images.githubusercontent.com/11795593/205446266-2b1a0cf2-5716-4018-b1c0-8cd0519d7ab0.mov ## 🧪 Testing Done No test added ## 🌐 References - Kind of following-up https://github.com/streamlit/streamlit/pull/5111 - iFrame Resizer library : https://github.com/davidjbradshaw/iframe-resizer --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5807/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 4, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5807/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5807", "html_url": "https://github.com/streamlit/streamlit/pull/5807", "diff_url": "https://github.com/streamlit/streamlit/pull/5807.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5807.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5806
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5806/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5806/comments
https://api.github.com/repos/streamlit/streamlit/issues/5806/events
https://github.com/streamlit/streamlit/pull/5806
1,473,707,487
PR_kwDODCoeTs5EL9cz
5,806
Implement real version of WebsocketSessionManager
{ "login": "vdonato", "id": 3144420, "node_id": "MDQ6VXNlcjMxNDQ0MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdonato", "html_url": "https://github.com/vdonato", "followers_url": "https://api.github.com/users/vdonato/followers", "following_url": "https://api.github.com/users/vdonato/following{/other_user}", "gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}", "starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vdonato/subscriptions", "organizations_url": "https://api.github.com/users/vdonato/orgs", "repos_url": "https://api.github.com/users/vdonato/repos", "events_url": "https://api.github.com/users/vdonato/events{/privacy}", "received_events_url": "https://api.github.com/users/vdonato/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-03T04:01:14
2022-12-06T23:48:01
2022-12-06T23:47:58
COLLABORATOR
null
## 📚 Context We previously wrote a stub implementation of `WebsocketSessionManager` that made no behavioral changes while we were making the other changes necessary for us to be able to actually implement our improved websocket reconnect behavior. This PR implements a more complete version of `WebsocketSessionManager` that understands how to disconnect from/reconnect to sessions using the `SessionStorage` implementation provided to it. Note that we don't take the final step of having the client attempt to reconnect to its last session after a disconnect -- that will be done in the next PR. - What kind of change does this PR introduce? - [x] Feature ## 🧪 Testing Done - [x] Added/Updated unit tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5806/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5806", "html_url": "https://github.com/streamlit/streamlit/pull/5806", "diff_url": "https://github.com/streamlit/streamlit/pull/5806.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5806.patch", "merged_at": "2022-12-06T23:47:58" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5805
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5805/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5805/comments
https://api.github.com/repos/streamlit/streamlit/issues/5805/events
https://github.com/streamlit/streamlit/pull/5805
1,473,524,228
PR_kwDODCoeTs5ELVHd
5,805
Deprecate st.experimental_memo and st.experimental_singleton
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-02T22:15:35
2022-12-05T21:37:30
2022-12-05T21:37:27
COLLABORATOR
null
- `st.experimental_memo` and `st.experimental_singleton` are now separate, deprecated APIs inside the `st` namespace - Most of the rest of the PR is just renaming stuff to match the new names
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5805/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5805", "html_url": "https://github.com/streamlit/streamlit/pull/5805", "diff_url": "https://github.com/streamlit/streamlit/pull/5805.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5805.patch", "merged_at": "2022-12-05T21:37:27" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5804
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5804/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5804/comments
https://api.github.com/repos/streamlit/streamlit/issues/5804/events
https://github.com/streamlit/streamlit/issues/5804
1,473,286,795
I_kwDODCoeTs5X0JKL
5,804
st.dataframe adds additional decimals
{ "login": "Travis-Barton", "id": 39603097, "node_id": "MDQ6VXNlcjM5NjAzMDk3", "avatar_url": "https://avatars.githubusercontent.com/u/39603097?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Travis-Barton", "html_url": "https://github.com/Travis-Barton", "followers_url": "https://api.github.com/users/Travis-Barton/followers", "following_url": "https://api.github.com/users/Travis-Barton/following{/other_user}", "gists_url": "https://api.github.com/users/Travis-Barton/gists{/gist_id}", "starred_url": "https://api.github.com/users/Travis-Barton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Travis-Barton/subscriptions", "organizations_url": "https://api.github.com/users/Travis-Barton/orgs", "repos_url": "https://api.github.com/users/Travis-Barton/repos", "events_url": "https://api.github.com/users/Travis-Barton/events{/privacy}", "received_events_url": "https://api.github.com/users/Travis-Barton/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 1846291968, "node_id": "MDU6TGFiZWwxODQ2MjkxOTY4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/package:arrow", "name": "package:arrow", "color": "00d4b1", "default": false, "description": "Related to Arrow" }, { "id": 1964011103, "node_id": "MDU6TGFiZWwxOTY0MDExMTAz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe", "name": "feature:st.dataframe", "color": "C5DEF5", "default": false, "description": "" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230107623, "node_id": "MDU6TGFiZWwzMjMwMTA3NjIz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3", "name": "priority:P3", "color": "ff4b4b", "default": false, "description": "" } ]
open
false
null
[]
null
2
2022-12-02T18:34:46
2022-12-29T23:15:33
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5804) Hi all, I have this dataframe: ``` <table border="1" class="dataframe"> <thead> <tr style="text-align: right;"> <th></th> <th>Variable</th> <th>d = 0.1</th> <th>d = 0.2</th> <th>d = 0.5</th> </tr> <tr> <th>Metric</th> <th></th> <th></th> <th></th> <th></th> </tr> </thead> <tbody> <tr> <th>Adj Control Sample Size*</th> <td>nc (adj)</td> <td>1569.780</td> <td>392.440</td> <td>62.790</td> </tr> <tr> <th>Adj Test Sample Size*</th> <td>nt (adj)</td> <td>1569.780</td> <td>392.440</td> <td>62.790</td> </tr> <tr> <th>Control Sample Size</th> <td>nc</td> <td>1569.780</td> <td>392.440</td> <td>62.790</td> </tr> <tr> <th>Test Sample Size</th> <td>nt</td> <td>1569.780</td> <td>392.440</td> <td>62.790</td> </tr> <tr> <th>Confidence</th> <td>1-alpha</td> <td>0.975</td> <td>0.975</td> <td>0.975</td> </tr> <tr> <th>Power</th> <td>1-beta</td> <td>0.800</td> <td>0.800</td> <td>0.800</td> </tr> </tbody> </table> ``` and there are only 3 decimal places max. yes when I pass it into st.dataframe I get this: ![Screen Shot 2022-12-02 at 10 31 28 AM](https://user-images.githubusercontent.com/39603097/205361643-7fc882c9-eca1-43f4-a870-0fff6dae8ff6.png) Those extra 0s are adding a lot of unnecessary spacing and i cant seem to get rid of them. Things I've tried: using the pandas styler: ``` st.write(main_df.round(2).style.hide_index().to_html(), use_container_width=True, unsafe_allow_html=True) ``` converting to latex ``` st.markdown("$$" + main_df.round(2).to_latex + "$$", unsafe_allow_html=True) ``` but the dataframe underlying doesn't have these extra 0s, they seem to be added when i pass them into the function (confirmed with debug). Any idea for a fix?
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5804/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5804/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5803
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5803/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5803/comments
https://api.github.com/repos/streamlit/streamlit/issues/5803/events
https://github.com/streamlit/streamlit/issues/5803
1,473,191,769
I_kwDODCoeTs5Xzx9Z
5,803
Google fonts native custom font theming
{ "login": "ItzSylex", "id": 42503343, "node_id": "MDQ6VXNlcjQyNTAzMzQz", "avatar_url": "https://avatars.githubusercontent.com/u/42503343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ItzSylex", "html_url": "https://github.com/ItzSylex", "followers_url": "https://api.github.com/users/ItzSylex/followers", "following_url": "https://api.github.com/users/ItzSylex/following{/other_user}", "gists_url": "https://api.github.com/users/ItzSylex/gists{/gist_id}", "starred_url": "https://api.github.com/users/ItzSylex/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ItzSylex/subscriptions", "organizations_url": "https://api.github.com/users/ItzSylex/orgs", "repos_url": "https://api.github.com/users/ItzSylex/repos", "events_url": "https://api.github.com/users/ItzSylex/events{/privacy}", "received_events_url": "https://api.github.com/users/ItzSylex/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 1846397999, "node_id": "MDU6TGFiZWwxODQ2Mzk3OTk5", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:ux/ui", "name": "area:ux/ui", "color": "C2E0C6", "default": false, "description": "" }, { "id": 2567817581, "node_id": "MDU6TGFiZWwyNTY3ODE3NTgx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:styling", "name": "area:styling", "color": "C2E0C6", "default": false, "description": "" } ]
open
false
null
[]
null
1
2022-12-02T17:19:18
2023-01-26T17:59:59
null
NONE
null
Could streamlit support google fonts natively within the config.toml file for more options when styling your app? While using a custom css and loading it with a `st.markdown` works, it feels better to have a native way to do such thing. And I have also find that using a custom css on a multipage app makes it so that whenever u switch to a different page, the css loads and it takes a fraction of a second to show the styling of the css
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5803/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5803/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5802
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5802/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5802/comments
https://api.github.com/repos/streamlit/streamlit/issues/5802/events
https://github.com/streamlit/streamlit/pull/5802
1,473,110,814
PR_kwDODCoeTs5EJ73k
5,802
Bump decode-uri-component from 0.2.0 to 0.2.2 in /frontend
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-12-02T16:13:21
2022-12-07T00:27:35
2022-12-07T00:27:32
CONTRIBUTOR
null
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/SamVerschueren/decode-uri-component/releases">decode-uri-component's releases</a>.</em></p> <blockquote> <h2>v0.2.2</h2> <ul> <li>Prevent overwriting previously decoded tokens 980e0bf</li> </ul> <p><a href="https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2">https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2</a></p> <h2>v0.2.1</h2> <ul> <li>Switch to GitHub workflows 76abc93</li> <li>Fix issue where decode throws - fixes <a href="https://github-redirect.dependabot.com/SamVerschueren/decode-uri-component/issues/6">#6</a> 746ca5d</li> <li>Update license (<a href="https://github-redirect.dependabot.com/SamVerschueren/decode-uri-component/issues/1">#1</a>) 486d7e2</li> <li>Tidelift tasks a650457</li> <li>Meta tweaks 66e1c28</li> </ul> <p><a href="https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1">https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/a0eea469d26eb0df668b081672cdb9581feb78eb"><code>a0eea46</code></a> 0.2.2</li> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/980e0bf09b64d94f1aa79012f895816c30ffd152"><code>980e0bf</code></a> Prevent overwriting previously decoded tokens</li> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/3c8a373dd4837e89b3f970e01295dd03e1405a33"><code>3c8a373</code></a> 0.2.1</li> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/76abc939783fe3900fadb7d384a74d324d5557f3"><code>76abc93</code></a> Switch to GitHub workflows</li> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/746ca5dcb6667c5d364e782d53c542830e4c10b9"><code>746ca5d</code></a> Fix issue where decode throws - fixes <a href="https://github-redirect.dependabot.com/SamVerschueren/decode-uri-component/issues/6">#6</a></li> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/486d7e26d3a8c0fbe860fb651fe1bc98c2f2be30"><code>486d7e2</code></a> Update license (<a href="https://github-redirect.dependabot.com/SamVerschueren/decode-uri-component/issues/1">#1</a>)</li> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/a65045724e6234acef87f31da499d4807b20b134"><code>a650457</code></a> Tidelift tasks</li> <li><a href="https://github.com/SamVerschueren/decode-uri-component/commit/66e1c2834c0e189201cb65196ec3101372459b02"><code>66e1c28</code></a> Meta tweaks</li> <li>See full diff in <a href="https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=decode-uri-component&package-manager=npm_and_yarn&previous-version=0.2.0&new-version=0.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/streamlit/streamlit/network/alerts). </details>
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5802/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5802", "html_url": "https://github.com/streamlit/streamlit/pull/5802", "diff_url": "https://github.com/streamlit/streamlit/pull/5802.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5802.patch", "merged_at": "2022-12-07T00:27:32" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5801
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5801/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5801/comments
https://api.github.com/repos/streamlit/streamlit/issues/5801/events
https://github.com/streamlit/streamlit/pull/5801
1,472,105,745
PR_kwDODCoeTs5EGiJY
5,801
metrics_util_test tweaks
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-01T23:42:13
2022-12-02T01:21:42
2022-12-02T01:21:39
COLLABORATOR
null
Small modifications to `metrics_util_test.test_public_api_commands` for clarity: - Sort our list of public_api_names, so that we iterate it deterministically (I have a branch that introduces a couple metrics naming errors, and i was getting different errors on different runs) - Add a few comments and name changes where things confused me - Add a custom explanation message to the `assertIn` call, to help explain the context of failures
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5801/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5801/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5801", "html_url": "https://github.com/streamlit/streamlit/pull/5801", "diff_url": "https://github.com/streamlit/streamlit/pull/5801.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5801.patch", "merged_at": "2022-12-02T01:21:39" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5800
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5800/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5800/comments
https://api.github.com/repos/streamlit/streamlit/issues/5800/events
https://github.com/streamlit/streamlit/pull/5800
1,471,652,903
PR_kwDODCoeTs5EE-3p
5,800
Release 1.15.2
{ "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-01T17:03:24
2022-12-01T19:17:07
2022-12-01T19:17:07
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5800/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5800", "html_url": "https://github.com/streamlit/streamlit/pull/5800", "diff_url": "https://github.com/streamlit/streamlit/pull/5800.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5800.patch", "merged_at": "2022-12-01T19:17:07" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5799
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5799/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5799/comments
https://api.github.com/repos/streamlit/streamlit/issues/5799/events
https://github.com/streamlit/streamlit/issues/5799
1,471,444,048
I_kwDODCoeTs5XtHRQ
5,799
pydeck_chart: Error (not a valid JSON) when data contains NaN
{ "login": "clo-vis", "id": 25638902, "node_id": "MDQ6VXNlcjI1NjM4OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/25638902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/clo-vis", "html_url": "https://github.com/clo-vis", "followers_url": "https://api.github.com/users/clo-vis/followers", "following_url": "https://api.github.com/users/clo-vis/following{/other_user}", "gists_url": "https://api.github.com/users/clo-vis/gists{/gist_id}", "starred_url": "https://api.github.com/users/clo-vis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/clo-vis/subscriptions", "organizations_url": "https://api.github.com/users/clo-vis/orgs", "repos_url": "https://api.github.com/users/clo-vis/repos", "events_url": "https://api.github.com/users/clo-vis/events{/privacy}", "received_events_url": "https://api.github.com/users/clo-vis/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230107623, "node_id": "MDU6TGFiZWwzMjMwMTA3NjIz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3", "name": "priority:P3", "color": "ff4b4b", "default": false, "description": "" }, { "id": 3904046669, "node_id": "LA_kwDODCoeTs7oswZN", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.pydeck_chart", "name": "feature:st.pydeck_chart", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
{ "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false }
[ { "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false } ]
null
1
2022-12-01T14:47:22
2022-12-29T21:40:06
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary If the data used in pydeck contains NaN (even if it is not used), the application fails with ![image](https://user-images.githubusercontent.com/25638902/205078988-992fdce1-a6b8-4183-9237-5cd4e358e2ff.png) ### Reproducible Code Example ```Python import math, pandas, pydeck, streamlit streamlit.set_page_config(layout="wide") data = pandas.DataFrame({"lng": [-109.037673], "lat": [36.994672], "weight": [math.nan]}) layer = pydeck.Layer("ScatterplotLayer", data=data, get_position=["lng", "lat"], radius_min_pixels=4) deck = pydeck.Deck(layers=[layer], map_style=pydeck.map_styles.CARTO_LIGHT, tooltip={"text": "weight: {weight}"}) deck.to_html("test.html") streamlit.pydeck_chart(deck, use_container_width=True) ``` ### Steps To Reproduce Run the code as usual. ### Expected Behavior No error, as in the file ```test.html``` generated ### Current Behavior SyntaxError: Unexpected token 'N', ...""weight": NaN "... is not valid JSON ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: Streamlit v1.15.1 - Python version: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] - Operating System: Windows 10.0.19045.2251 - Browser: Chome, Opera, Edge, Firefox - Virtual environment: poetry ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5799/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5798
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5798/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5798/comments
https://api.github.com/repos/streamlit/streamlit/issues/5798/events
https://github.com/streamlit/streamlit/issues/5798
1,471,262,949
I_kwDODCoeTs5XsbDl
5,798
Optimize Streamlit core static files and library imports to reduce app startup time
{ "login": "marduk2", "id": 12582729, "node_id": "MDQ6VXNlcjEyNTgyNzI5", "avatar_url": "https://avatars.githubusercontent.com/u/12582729?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marduk2", "html_url": "https://github.com/marduk2", "followers_url": "https://api.github.com/users/marduk2/followers", "following_url": "https://api.github.com/users/marduk2/following{/other_user}", "gists_url": "https://api.github.com/users/marduk2/gists{/gist_id}", "starred_url": "https://api.github.com/users/marduk2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marduk2/subscriptions", "organizations_url": "https://api.github.com/users/marduk2/orgs", "repos_url": "https://api.github.com/users/marduk2/repos", "events_url": "https://api.github.com/users/marduk2/events{/privacy}", "received_events_url": "https://api.github.com/users/marduk2/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" } ]
open
false
null
[]
null
1
2022-12-01T12:51:24
2023-02-06T07:03:17
null
NONE
null
### Problem Streamlit apps always take a few moments to load. One reason for this is the amount and size of the several static files that need to be fetched; another, the libraries that need to be imported in the .py files. ### Solution A combination of the following: - Reduce amount of files in `streamlit/static/static` that are fetched with GET requests. - Reduce size of files in `streamlit/static/static` that are fetched with GET requests. - Lazy loading of static files (for example, currently the files in `streamlit/static/vendor` are always loaded in `streamlit/static/index.html`, even though not all apps might use bokeh and graphviz widgets). - Lazy loading of libraries imported in the .py files. --- Community voting on feature requests enables the Streamlit team to understand which features are most important to our users. **If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5798/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5798/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5797
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5797/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5797/comments
https://api.github.com/repos/streamlit/streamlit/issues/5797/events
https://github.com/streamlit/streamlit/pull/5797
1,471,166,175
PR_kwDODCoeTs5EDUfS
5,797
Fix failing Cypress test (3), test(4)
{ "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-12-01T11:42:00
2022-12-01T16:45:25
2022-12-01T16:40:21
MEMBER
null
## 📚 Context Recent PRs are failing Cypress test (3) and test (4). - test (3) fails on `st_alert.spec.js`. There's a diff in `alert7-(dark|light).snap.png`. ![image](https://user-images.githubusercontent.com/20672874/205043884-0af156be-417e-4600-b53b-8819dca3495e.png) - test (4) fails on `st_arrow_dataframe_canvas_rendering.spec.js`. There's a diff in `data-grid-canvas-21-(dark|light).snap.png` ![image](https://user-images.githubusercontent.com/20672874/205044350-29f8255c-43a5-427e-8df2-dc929722e0a0.png) In both tests, there are visible differences in the appearance and pixels of rendered emojis: - What kind of change does this PR introduce? - [x] Bugfix ## 🧠 Description of Changes This PR updates the respective snapshots. ## 🧪 Testing Done - [x] Screenshots included - [x] Added/Updated e2e tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5797/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5797", "html_url": "https://github.com/streamlit/streamlit/pull/5797", "diff_url": "https://github.com/streamlit/streamlit/pull/5797.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5797.patch", "merged_at": "2022-12-01T16:40:21" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5796
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5796/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5796/comments
https://api.github.com/repos/streamlit/streamlit/issues/5796/events
https://github.com/streamlit/streamlit/pull/5796
1,470,767,314
PR_kwDODCoeTs5EB-Aw
5,796
Turn on streamlit theme for altair and plotly
{ "login": "willhuang1997", "id": 16749069, "node_id": "MDQ6VXNlcjE2NzQ5MDY5", "avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willhuang1997", "html_url": "https://github.com/willhuang1997", "followers_url": "https://api.github.com/users/willhuang1997/followers", "following_url": "https://api.github.com/users/willhuang1997/following{/other_user}", "gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}", "starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions", "organizations_url": "https://api.github.com/users/willhuang1997/orgs", "repos_url": "https://api.github.com/users/willhuang1997/repos", "events_url": "https://api.github.com/users/willhuang1997/events{/privacy}", "received_events_url": "https://api.github.com/users/willhuang1997/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-12-01T06:40:46
2022-12-09T18:55:22
2022-12-09T18:55:22
COLLABORATOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context This is to release plotly charts and altair charts with the streamlit theme. This turns it on for both of them. This also reenables the altair theme to be set globally. This PR should likely be checked through commits. _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [ ] Bugfix - [x] Feature - [x] Refactoring - [x] Other, please describe: ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5796/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5796", "html_url": "https://github.com/streamlit/streamlit/pull/5796", "diff_url": "https://github.com/streamlit/streamlit/pull/5796.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5796.patch", "merged_at": "2022-12-09T18:55:22" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5795
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5795/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5795/comments
https://api.github.com/repos/streamlit/streamlit/issues/5795/events
https://github.com/streamlit/streamlit/pull/5795
1,470,379,459
PR_kwDODCoeTs5EAorS
5,795
deprecation_util: handle arbitrary name changes
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-30T23:53:26
2022-12-01T17:31:28
2022-12-01T17:31:25
COLLABORATOR
null
`deprecation_util` currently only handles APIs that are dropping the "experimental_" or "beta_" prefix from their name. It does not handle the case where a function or object is changing its name entirely (e.g. from `st.experimental_memo` to `st.cache_data`). This PR changes that: - There are two deprecation functions: `deprecate_func_name` and `deprecate_obj_name`. - These functions handle any name change. It's now the caller's job to specify the API's deprecated name (we no longer infer it from a param).
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5795/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5795", "html_url": "https://github.com/streamlit/streamlit/pull/5795", "diff_url": "https://github.com/streamlit/streamlit/pull/5795.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5795.patch", "merged_at": "2022-12-01T17:31:25" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5794
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5794/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5794/comments
https://api.github.com/repos/streamlit/streamlit/issues/5794/events
https://github.com/streamlit/streamlit/pull/5794
1,470,171,677
PR_kwDODCoeTs5D_7YD
5,794
Fix plotly time series buttons
{ "login": "willhuang1997", "id": 16749069, "node_id": "MDQ6VXNlcjE2NzQ5MDY5", "avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willhuang1997", "html_url": "https://github.com/willhuang1997", "followers_url": "https://api.github.com/users/willhuang1997/followers", "following_url": "https://api.github.com/users/willhuang1997/following{/other_user}", "gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}", "starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions", "organizations_url": "https://api.github.com/users/willhuang1997/orgs", "repos_url": "https://api.github.com/users/willhuang1997/repos", "events_url": "https://api.github.com/users/willhuang1997/events{/privacy}", "received_events_url": "https://api.github.com/users/willhuang1997/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-11-30T20:18:26
2022-12-02T20:49:03
2022-12-02T20:49:03
COLLABORATOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context Currently, the time series buttons don't work for default theme and streamlit theme. They are hard to look at and hard to read because of the colors. This is to solve that in the streamlit theme since the default theme is a little bit harder to resolve. _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [x] Bugfix - [ ] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [x] This is a visible (user-facing) change **Revised:** <img width="837" alt="Screenshot 2022-11-30 at 4 23 56 PM" src="https://user-images.githubusercontent.com/16749069/204936696-f4163ce4-9cfd-4cbc-9735-f3909888d843.png"> _Insert screenshot of your updated UI/code here_ **Current:** <img width="919" alt="Screenshot 2022-11-30 at 4 25 38 PM" src="https://user-images.githubusercontent.com/16749069/204936707-a021067f-19d8-4fd7-8555-5e928636297a.png"> ## 🧪 Testing Done - [x] Screenshots included - [ ] Added/Updated unit tests - [x] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5794/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5794", "html_url": "https://github.com/streamlit/streamlit/pull/5794", "diff_url": "https://github.com/streamlit/streamlit/pull/5794.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5794.patch", "merged_at": "2022-12-02T20:49:03" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5793
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5793/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5793/comments
https://api.github.com/repos/streamlit/streamlit/issues/5793/events
https://github.com/streamlit/streamlit/issues/5793
1,469,598,073
I_kwDODCoeTs5XmEl5
5,793
Misconfigured _xsrf cookies
{ "login": "matkozak", "id": 19314272, "node_id": "MDQ6VXNlcjE5MzE0Mjcy", "avatar_url": "https://avatars.githubusercontent.com/u/19314272?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matkozak", "html_url": "https://github.com/matkozak", "followers_url": "https://api.github.com/users/matkozak/followers", "following_url": "https://api.github.com/users/matkozak/following{/other_user}", "gists_url": "https://api.github.com/users/matkozak/gists{/gist_id}", "starred_url": "https://api.github.com/users/matkozak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matkozak/subscriptions", "organizations_url": "https://api.github.com/users/matkozak/orgs", "repos_url": "https://api.github.com/users/matkozak/repos", "events_url": "https://api.github.com/users/matkozak/events{/privacy}", "received_events_url": "https://api.github.com/users/matkozak/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 1522696937, "node_id": "MDU6TGFiZWwxNTIyNjk2OTM3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:security", "name": "area:security", "color": "C2E0C6", "default": false, "description": "" }, { "id": 4776836712, "node_id": "LA_kwDODCoeTs8AAAABHLi-aA", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-team-response", "name": "status:awaiting-team-response", "color": "FEF2C0", "default": false, "description": "" } ]
open
false
{ "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false }
[ { "login": "kmcgrady", "id": 69432, "node_id": "MDQ6VXNlcjY5NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmcgrady", "html_url": "https://github.com/kmcgrady", "followers_url": "https://api.github.com/users/kmcgrady/followers", "following_url": "https://api.github.com/users/kmcgrady/following{/other_user}", "gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}", "starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions", "organizations_url": "https://api.github.com/users/kmcgrady/orgs", "repos_url": "https://api.github.com/users/kmcgrady/repos", "events_url": "https://api.github.com/users/kmcgrady/events{/privacy}", "received_events_url": "https://api.github.com/users/kmcgrady/received_events", "type": "User", "site_admin": false } ]
null
1
2022-11-30T12:59:03
2022-12-30T03:36:50
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Hi, I am running a Streamlit app on Azure, requiring authentication with AD, and `st.file_uploader` returns a 403 Forbidden error if `enableXsrfProtection` is on. It works locally, and I suspect that this is caused by the _xsrf cookie not getting though, because I can see the cookie in dev tools locally, but not when deployed. In particular, the cookie is missing the SameSite and Secure attributes. ### Reproducible Code Example _No response_ ### Steps To Reproduce 1. Open any Streamlit app 2. Open browser developer tools ### Expected Behavior Cookies have `SameSite=None; Secure` attribute. ### Current Behavior _xsrf cookie is not transmitted when deployed on the cloud with SSO and HTTPS-only. Locally this is what I am getting: ![image](https://user-images.githubusercontent.com/19314272/204801462-8a387f12-3df5-46e7-a9f6-69bd5293733d.png) Plus the deprecation warning: >Some cookies are misusing the recommended “SameSite“ attribute >Cookie “_xsrf” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.0 - Python version: 3.10, 3.11 - Operating System: Ubuntu 22.04 (WSL) - Browser: Firefox, Chrome - Virtual environment: yes ### Additional Information This has been touched on in https://github.com/streamlit/streamlit/issues/2517 and particularly https://github.com/streamlit/streamlit/issues/2517#issuecomment-1321281460. Feel free to close if you consider this is a duplicate, but I believe that the cookie configuration and Streamlit overwriting Jupyter's cookies are two different issues. There are multiple reports of this on the forum: https://discuss.streamlit.io/t/deployment-on-azure-ad-authentication-enabled-st-file-uploader-403-forbidden/30898 https://discuss.streamlit.io/t/azure-ad-xsrf-protection-and-st-file-uploader/33612 https://discuss.streamlit.io/t/deployment-on-azure-appservice-ad-authentication-enabled-st-file-uploader-403-forbidden/5839 https://discuss.streamlit.io/t/file-uploader-403-error-when-embedding-streamlit-app-in-iframe/24109 Whether they all have the same underlying cause, I cannot tell. ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5793/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5792
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5792/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5792/comments
https://api.github.com/repos/streamlit/streamlit/issues/5792/events
https://github.com/streamlit/streamlit/pull/5792
1,469,504,772
PR_kwDODCoeTs5D9rJe
5,792
Update error message and docstring in st.map
{ "login": "sfc-gh-kbregula", "id": 78743291, "node_id": "MDQ6VXNlcjc4NzQzMjkx", "avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-kbregula", "html_url": "https://github.com/sfc-gh-kbregula", "followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers", "following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs", "repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos", "events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
7
2022-11-30T11:48:34
2022-12-13T23:42:29
2022-12-08T22:14:39
CONTRIBUTOR
null
## 📚 Context The docstring for the `data` parameter of `st.map` could be better formatted and should include all the possible valid values of column names. Additionally, the st.map code includes many if-else blocks that could use refactoring. - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [x] Refactoring - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes - Improves formatting of docstring for the `data` parameter of `st.map` - Includes all the possible valid values of column names for the `data` parameter and also does so in the error message - Refactors st.map code to replace multiple if-else blocks with iterators - [ ] This is a breaking API change - [x] This is a visible (user-facing) change <details open><summary><b>Revised:</b></summary> ![image](https://user-images.githubusercontent.com/20672874/205271475-a16389e2-850c-46c9-a2c2-cab73878c50c.png) </details> <details><summary><b>Current:</b></summary> ![image](https://user-images.githubusercontent.com/20672874/205271259-689b2e57-2208-4d4c-b86b-5780560cdc5d.png) </details> ## 🧪 Testing Done - [x] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5792/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5792", "html_url": "https://github.com/streamlit/streamlit/pull/5792", "diff_url": "https://github.com/streamlit/streamlit/pull/5792.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5792.patch", "merged_at": "2022-12-08T22:14:39" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5791
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5791/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5791/comments
https://api.github.com/repos/streamlit/streamlit/issues/5791/events
https://github.com/streamlit/streamlit/pull/5791
1,469,463,165
PR_kwDODCoeTs5D9iIV
5,791
Improve st.experimental_memo exception on Snowpark/PySpark integration
{ "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
{ "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false }
[ { "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false } ]
null
1
2022-11-30T11:15:22
2022-12-06T22:22:57
2022-12-06T22:22:56
CONTRIBUTOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context _Please describe the project or issue background here_ This PR shows custom `st.experimental_memo` exception for `snowflake.snowpark.table.Table` and `pyspark.sql.dataframe.DataFrame`, additionally to `snowflake.snowpark.dataframe.DataFrame`. - What kind of change does this PR introduce? - [x] Bugfix - [ ] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [ ] This is a visible (user-facing) change **Revised:** _Insert screenshot of your updated UI/code here_ **Current:** _Insert screenshot of existing UI/code here_ ## 🧪 Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5791/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5791", "html_url": "https://github.com/streamlit/streamlit/pull/5791", "diff_url": "https://github.com/streamlit/streamlit/pull/5791.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5791.patch", "merged_at": "2022-12-06T22:22:56" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5790
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5790/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5790/comments
https://api.github.com/repos/streamlit/streamlit/issues/5790/events
https://github.com/streamlit/streamlit/pull/5790
1,469,343,461
PR_kwDODCoeTs5D9ILC
5,790
Pin pyflakes in autoflake hook
{ "login": "sfc-gh-kbregula", "id": 78743291, "node_id": "MDQ6VXNlcjc4NzQzMjkx", "avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-kbregula", "html_url": "https://github.com/sfc-gh-kbregula", "followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers", "following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs", "repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos", "events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-30T09:47:48
2022-11-30T13:24:22
2022-11-30T13:24:21
CONTRIBUTOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context The new version of the library causes problems when the environment is created from scratch. On CI, this problem doesn't exist yet, because we use cache. If someone modifies .pre-commit-hook, the cache is not used and then unexpected changes are made. See: https://github.com/streamlit/streamlit/actions/runs/3565886702/jobs/5992503264 https://github.com/streamlit/streamlit/pull/5776#issuecomment-1329248659 _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [ ] This is a visible (user-facing) change **Revised:** _Insert screenshot of your updated UI/code here_ **Current:** _Insert screenshot of existing UI/code here_ ## 🧪 Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5790/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5790/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5790", "html_url": "https://github.com/streamlit/streamlit/pull/5790", "diff_url": "https://github.com/streamlit/streamlit/pull/5790.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5790.patch", "merged_at": "2022-11-30T13:24:21" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5789
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5789/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5789/comments
https://api.github.com/repos/streamlit/streamlit/issues/5789/events
https://github.com/streamlit/streamlit/pull/5789
1,468,941,601
PR_kwDODCoeTs5D7y7_
5,789
Add the label_visibility parameter to st.metric
{ "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
7
2022-11-30T02:05:06
2022-12-04T17:08:06
2022-12-04T16:33:33
MEMBER
null
## 📚 Context Adds the `label_visibility` keyword-only parameter to `st.metric`, to be consistent with other elements that have the `label` parameter. - What kind of change does this PR introduce? - [x] Bugfix - [x] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - [ ] This is a breaking API change - [x] This is a visible (user-facing) change **Visible:** ![image](https://user-images.githubusercontent.com/20672874/204869733-062efe35-71a0-49cd-88a6-e01848f37b97.png) **Hidden:** ![image](https://user-images.githubusercontent.com/20672874/204869810-33746e2f-f154-4fd5-b56f-6cf3ed787417.png) **Collapsed:** ![image](https://user-images.githubusercontent.com/20672874/204869926-a1a2d18b-959c-4c9c-b6a7-c0499943b231.png) ## 🧪 Testing Done - [x] Screenshots included - [x] Added/Updated unit tests - [x] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #5786 --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5789/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5789/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5789", "html_url": "https://github.com/streamlit/streamlit/pull/5789", "diff_url": "https://github.com/streamlit/streamlit/pull/5789.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5789.patch", "merged_at": "2022-12-04T16:33:33" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5788
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5788/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5788/comments
https://api.github.com/repos/streamlit/streamlit/issues/5788/events
https://github.com/streamlit/streamlit/issues/5788
1,468,841,494
I_kwDODCoeTs5XjL4W
5,788
Within sidebar, newline ( \n ) syntax results in code block without use of st.code
{ "login": "lagraham337", "id": 63523604, "node_id": "MDQ6VXNlcjYzNTIzNjA0", "avatar_url": "https://avatars.githubusercontent.com/u/63523604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lagraham337", "html_url": "https://github.com/lagraham337", "followers_url": "https://api.github.com/users/lagraham337/followers", "following_url": "https://api.github.com/users/lagraham337/following{/other_user}", "gists_url": "https://api.github.com/users/lagraham337/gists{/gist_id}", "starred_url": "https://api.github.com/users/lagraham337/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lagraham337/subscriptions", "organizations_url": "https://api.github.com/users/lagraham337/orgs", "repos_url": "https://api.github.com/users/lagraham337/repos", "events_url": "https://api.github.com/users/lagraham337/events{/privacy}", "received_events_url": "https://api.github.com/users/lagraham337/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
1
2022-11-29T23:36:48
2022-12-30T03:37:16
2022-11-30T02:07:12
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Within an st.sidebar function, using two spaces followed by \n renders something that appears to be the st.code function instead of a new line. This happens seemingly only when the string is present in multiple lines of code. ### Reproducible Code Example ```Python import streamlit as st with st.sidebar: st.write("""The purpose of this is to demonstrate a possible Streamlit bug. \n As you can see, a code block has been generated. However, there is not st.code contained in my code.""") ``` ### Steps To Reproduce 1. Generate a .py file containing the above code. 2. Run the program. Alternatively, within a side bar function, use st.write to display any multiline string in triple-quotes that includes \n after two spaces on the first line, with the string continuing in the next line of code. ### Expected Behavior The expected behavior is the remaining text after \n appears on a new line without a code block. <img width="416" alt="Screen Shot 2022-11-29 at 3 30 11 PM" src="https://user-images.githubusercontent.com/63523604/204671183-d4482fd8-1295-4114-a1ab-822609715f97.png"> ### Current Behavior In a multiline quote within st.write, within st.sidebar, \n results in a code block instead of a regular new line. <img width="485" alt="Screen Shot 2022-11-29 at 3 20 16 PM" src="https://user-images.githubusercontent.com/63523604/204670173-96e67b91-f332-45f8-bc3a-a1a058ff69f0.png"> <img width="809" alt="Screen Shot 2022-11-29 at 3 14 46 PM" src="https://user-images.githubusercontent.com/63523604/204670201-4fcc8081-8fa6-4295-ba94-15b60a69f512.png"> ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.13.0 - Python version: 3.10.4 - Operating System: MacOs 12.2.1 - Browser: Chrome - Virtual environment: Pipenv ### Additional Information Similar but different issue: https://github.com/streamlit/streamlit/issues/5398 "Newlines are not rendered correctly". Workaround: start the new line with /n. <img width="661" alt="Screen Shot 2022-11-29 at 3 36 05 PM" src="https://user-images.githubusercontent.com/63523604/204671889-95ac2e13-18af-4998-8db8-7a7fdf5b6c60.png"> ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5788/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5787
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5787/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5787/comments
https://api.github.com/repos/streamlit/streamlit/issues/5787/events
https://github.com/streamlit/streamlit/issues/5787
1,468,758,465
I_kwDODCoeTs5Xi3nB
5,787
Multipage: Callback or deactivated page switch
{ "login": "coolkau", "id": 20328478, "node_id": "MDQ6VXNlcjIwMzI4NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/20328478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/coolkau", "html_url": "https://github.com/coolkau", "followers_url": "https://api.github.com/users/coolkau/followers", "following_url": "https://api.github.com/users/coolkau/following{/other_user}", "gists_url": "https://api.github.com/users/coolkau/gists{/gist_id}", "starred_url": "https://api.github.com/users/coolkau/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/coolkau/subscriptions", "organizations_url": "https://api.github.com/users/coolkau/orgs", "repos_url": "https://api.github.com/users/coolkau/repos", "events_url": "https://api.github.com/users/coolkau/events{/privacy}", "received_events_url": "https://api.github.com/users/coolkau/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" } ]
open
false
null
[]
null
0
2022-11-29T22:00:52
2022-11-29T22:00:52
null
NONE
null
It would be great to have controls on page switches. E.g. I have an editor window open in a form. I would like to either deactivate the page switch until the form is submitted or cancelled. Or I would like to submit the form on page switch and close the editor window.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5787/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5787/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5786
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5786/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5786/comments
https://api.github.com/repos/streamlit/streamlit/issues/5786/events
https://github.com/streamlit/streamlit/issues/5786
1,468,739,603
I_kwDODCoeTs5XizAT
5,786
`st.metric` should have `label_visibility` parameter
{ "login": "jrieke", "id": 5103165, "node_id": "MDQ6VXNlcjUxMDMxNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/5103165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jrieke", "html_url": "https://github.com/jrieke", "followers_url": "https://api.github.com/users/jrieke/followers", "following_url": "https://api.github.com/users/jrieke/following{/other_user}", "gists_url": "https://api.github.com/users/jrieke/gists{/gist_id}", "starred_url": "https://api.github.com/users/jrieke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jrieke/subscriptions", "organizations_url": "https://api.github.com/users/jrieke/orgs", "repos_url": "https://api.github.com/users/jrieke/repos", "events_url": "https://api.github.com/users/jrieke/events{/privacy}", "received_events_url": "https://api.github.com/users/jrieke/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 3761989865, "node_id": "LA_kwDODCoeTs7gO2jp", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:fixed", "name": "status:fixed", "color": "FEF2C0", "default": false, "description": "This issue has been fixed" }, { "id": 4303854551, "node_id": "LA_kwDODCoeTs8AAAABAIeb1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.metric", "name": "feature:st.metric", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
{ "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false }
[ { "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false } ]
null
0
2022-11-29T21:41:02
2022-12-05T09:11:06
2022-12-04T16:33:34
COLLABORATOR
null
We had that in the original spec but probably forgot it during implementation. Let's fix it. Not super urgent but would be good to do soon so we don't forget. --- Community voting on feature requests enables the Streamlit team to understand which features are most important to our users. **If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5786/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5785
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5785/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5785/comments
https://api.github.com/repos/streamlit/streamlit/issues/5785/events
https://github.com/streamlit/streamlit/pull/5785
1,468,646,369
PR_kwDODCoeTs5D6zjJ
5,785
Rename: cache_data, cache_resource
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-29T20:16:26
2022-11-30T18:04:39
2022-11-30T18:04:26
COLLABORATOR
null
Renames `memo` to `cache_data`, and `singleton` to `cache_resource`. These are still called `@st.experimental_memo` and `@st.experimental_singleton` in the public API. Deprecation-related changes; those will come in a future PR.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5785/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5785/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5785", "html_url": "https://github.com/streamlit/streamlit/pull/5785", "diff_url": "https://github.com/streamlit/streamlit/pull/5785.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5785.patch", "merged_at": "2022-11-30T18:04:26" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5784
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5784/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5784/comments
https://api.github.com/repos/streamlit/streamlit/issues/5784/events
https://github.com/streamlit/streamlit/issues/5784
1,468,571,341
I_kwDODCoeTs5XiJ7N
5,784
Tab doesn't commit the value typed in a time_input widget
{ "login": "clo-vis", "id": 25638902, "node_id": "MDQ6VXNlcjI1NjM4OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/25638902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/clo-vis", "html_url": "https://github.com/clo-vis", "followers_url": "https://api.github.com/users/clo-vis/followers", "following_url": "https://api.github.com/users/clo-vis/following{/other_user}", "gists_url": "https://api.github.com/users/clo-vis/gists{/gist_id}", "starred_url": "https://api.github.com/users/clo-vis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/clo-vis/subscriptions", "organizations_url": "https://api.github.com/users/clo-vis/orgs", "repos_url": "https://api.github.com/users/clo-vis/repos", "events_url": "https://api.github.com/users/clo-vis/events{/privacy}", "received_events_url": "https://api.github.com/users/clo-vis/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 4139230645, "node_id": "LA_kwDODCoeTs72t6W1", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.time_input", "name": "feature:st.time_input", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
0
2022-11-29T19:11:45
2022-12-29T20:12:15
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Differently from ```text_input``` and ```date_input```, ```time_input``` doesn't commit the input value after pressing _TAB_ - the input focus moves to the next widget, but the value entered goes away. ### Reproducible Code Example [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5784) ```Python import streamlit, datetime title = streamlit.text_input('Movie title', 'Life of Brian') d = streamlit.date_input("When's your birthday", datetime.date(2019, 7, 6)) t = streamlit.time_input('Set an alarm for', datetime.time(8, 45, 30)) streamlit.write('The current movie title is', title) streamlit.write('Your birthday is:', d) streamlit.write('Alarm is set for', t) ``` ### Steps To Reproduce Run the app as usual. Enter the values in each widget using the keyboard and navigate to the next widget using _TAB_ ### Expected Behavior The value entered in time_input is returned after _TAB_ is pressed (similarly to what happens with date_input and text_input). ### Current Behavior The value entered in time_input is lost after pressing _TAB_. ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: Streamlit v1.15.1 - Python version: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] - Operating System: Windows 10.0.19045.2251 - Browser: Chome, Opera, Edge, Firefox - Virtual environment: poetry ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5784/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5784/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5783
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5783/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5783/comments
https://api.github.com/repos/streamlit/streamlit/issues/5783/events
https://github.com/streamlit/streamlit/issues/5783
1,468,538,207
I_kwDODCoeTs5XiB1f
5,783
pydeck's HeatmapLayer sluggish
{ "login": "clo-vis", "id": 25638902, "node_id": "MDQ6VXNlcjI1NjM4OTAy", "avatar_url": "https://avatars.githubusercontent.com/u/25638902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/clo-vis", "html_url": "https://github.com/clo-vis", "followers_url": "https://api.github.com/users/clo-vis/followers", "following_url": "https://api.github.com/users/clo-vis/following{/other_user}", "gists_url": "https://api.github.com/users/clo-vis/gists{/gist_id}", "starred_url": "https://api.github.com/users/clo-vis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/clo-vis/subscriptions", "organizations_url": "https://api.github.com/users/clo-vis/orgs", "repos_url": "https://api.github.com/users/clo-vis/repos", "events_url": "https://api.github.com/users/clo-vis/events{/privacy}", "received_events_url": "https://api.github.com/users/clo-vis/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
3
2022-11-29T18:45:08
2022-12-30T03:37:15
2022-12-29T19:57:10
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Moving a map with a pydeck's HeatmapLayer is very slow. Without streamlit (that is, the page generated by pydeck.Deck.to_html), no performance problem can be noticed. ### Reproducible Code Example ```Python import pandas, pydeck, streamlit data = pandas.DataFrame({"lng": [-109.037673, -109.029339], "lat": [36.994672, 36.994672], "weight": [1, 1]}) (view := pydeck.data_utils.compute_view(data[["lng", "lat"]])).zoom = 15 layer1 = pydeck.Layer("HeatmapLayer", data=data, get_position=["lng", "lat"], get_weight="weight") layer2 = pydeck.Layer("ScatterplotLayer", data=data, get_position=["lng", "lat"], radius_min_pixels=4) deck = pydeck.Deck(layers=[layer1, layer2], initial_view_state=view, map_style=pydeck.map_styles.CARTO_LIGHT) deck.to_html("grid_layer.html") streamlit.set_page_config(layout="wide") streamlit.pydeck_chart(deck, use_container_width=True) ``` ### Steps To Reproduce Run the code as usual and move the map with the mouse. Optionally, remove ```layer1``` from ```layers``` to compare the speed with and without a HeatmapLayer, or open grid_layer.html in a browser. ### Expected Behavior Moving the map around should feel the same as in the HTML generated by pydeck. ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: Streamlit v1.15.1 - Python version: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] - Operating System: Windows 10.0.19045.2251 - Browser: Chome, Opera, Edge, Firefox - Virtual environment: poetry ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5783/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5783/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5782
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5782/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5782/comments
https://api.github.com/repos/streamlit/streamlit/issues/5782/events
https://github.com/streamlit/streamlit/pull/5782
1,467,182,944
PR_kwDODCoeTs5D14z_
5,782
Refactor AppSession to simplify improving reconnect behavior
{ "login": "vdonato", "id": 3144420, "node_id": "MDQ6VXNlcjMxNDQ0MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdonato", "html_url": "https://github.com/vdonato", "followers_url": "https://api.github.com/users/vdonato/followers", "following_url": "https://api.github.com/users/vdonato/following{/other_user}", "gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}", "starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vdonato/subscriptions", "organizations_url": "https://api.github.com/users/vdonato/orgs", "repos_url": "https://api.github.com/users/vdonato/repos", "events_url": "https://api.github.com/users/vdonato/events{/privacy}", "received_events_url": "https://api.github.com/users/vdonato/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-28T22:32:34
2022-11-29T02:19:36
2022-11-29T02:19:33
COLLABORATOR
null
Note: * This PR is going into the `develop` branch rather than `feature/session-manager` as it doesn't hurt to merge it into `develop` and reduces the diff size of the feature branch. * No functional change is introduced by this PR. --- ## 📚 Context In the `feature/session-manager` branch, we're working towards improving the way that we handle websocket disconnects. As part of this work, we'll need to have the final steps of `AppSession` cleanup (done by the `shutdown()` method) happen when a session is garbage collected rather than when the browser's websocket connection is dropped. To make this easier, this PR splits out file changed handler registration/deregistration into two helper methods. We also add a `__del__` method to `AppSession`, which calls the `shutdown()` method on garbage collection. Finally, we add a test to make it harder to introduce `AppSession`-related memory leaks related to file watchers holding references to `AppSession` file changed handler methods. This exact issue has caused memory leaks in the past, so we should be extra-careful to avoid it given that our work to defer `AppSession` cleanup is particularly prone to running into this. - What kind of change does this PR introduce? - [x] Refactoring - [x] Other, please describe: Prep work for upcoming feature ## 🧪 Testing Done - [x] Added/Updated unit tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5782/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5782/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5782", "html_url": "https://github.com/streamlit/streamlit/pull/5782", "diff_url": "https://github.com/streamlit/streamlit/pull/5782.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5782.patch", "merged_at": "2022-11-29T02:19:33" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5781
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5781/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5781/comments
https://api.github.com/repos/streamlit/streamlit/issues/5781/events
https://github.com/streamlit/streamlit/pull/5781
1,467,114,809
PR_kwDODCoeTs5D1p0j
5,781
Test component_template.spec resolution
{ "login": "mayagbarnes", "id": 63436329, "node_id": "MDQ6VXNlcjYzNDM2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayagbarnes", "html_url": "https://github.com/mayagbarnes", "followers_url": "https://api.github.com/users/mayagbarnes/followers", "following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}", "gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}", "starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions", "organizations_url": "https://api.github.com/users/mayagbarnes/orgs", "repos_url": "https://api.github.com/users/mayagbarnes/repos", "events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}", "received_events_url": "https://api.github.com/users/mayagbarnes/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-11-28T21:27:02
2023-01-10T18:57:20
2022-11-29T00:33:44
COLLABORATOR
null
## 📚 Context _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [ ] This is a visible (user-facing) change **Revised:** _Insert screenshot of your updated UI/code here_ **Current:** _Insert screenshot of existing UI/code here_ ## 🧪 Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5781/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5781/timeline
null
null
true
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5781", "html_url": "https://github.com/streamlit/streamlit/pull/5781", "diff_url": "https://github.com/streamlit/streamlit/pull/5781.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5781.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5780
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5780/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5780/comments
https://api.github.com/repos/streamlit/streamlit/issues/5780/events
https://github.com/streamlit/streamlit/pull/5780
1,467,098,809
PR_kwDODCoeTs5D1mZB
5,780
Fixing component-template typecheck failure
{ "login": "AnOctopus", "id": 7356217, "node_id": "MDQ6VXNlcjczNTYyMTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnOctopus", "html_url": "https://github.com/AnOctopus", "followers_url": "https://api.github.com/users/AnOctopus/followers", "following_url": "https://api.github.com/users/AnOctopus/following{/other_user}", "gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions", "organizations_url": "https://api.github.com/users/AnOctopus/orgs", "repos_url": "https://api.github.com/users/AnOctopus/repos", "events_url": "https://api.github.com/users/AnOctopus/events{/privacy}", "received_events_url": "https://api.github.com/users/AnOctopus/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-28T21:10:48
2022-11-28T23:57:27
2022-11-28T23:57:23
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5780/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5780/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5780", "html_url": "https://github.com/streamlit/streamlit/pull/5780", "diff_url": "https://github.com/streamlit/streamlit/pull/5780.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5780.patch", "merged_at": "2022-11-28T23:57:23" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5779
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5779/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5779/comments
https://api.github.com/repos/streamlit/streamlit/issues/5779/events
https://github.com/streamlit/streamlit/pull/5779
1,466,973,317
PR_kwDODCoeTs5D1Ldg
5,779
Fix plotly height attributes and useContainerWidth
{ "login": "willhuang1997", "id": 16749069, "node_id": "MDQ6VXNlcjE2NzQ5MDY5", "avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willhuang1997", "html_url": "https://github.com/willhuang1997", "followers_url": "https://api.github.com/users/willhuang1997/followers", "following_url": "https://api.github.com/users/willhuang1997/following{/other_user}", "gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}", "starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions", "organizations_url": "https://api.github.com/users/willhuang1997/orgs", "repos_url": "https://api.github.com/users/willhuang1997/repos", "events_url": "https://api.github.com/users/willhuang1997/events{/privacy}", "received_events_url": "https://api.github.com/users/willhuang1997/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-28T19:28:16
2022-11-29T22:43:01
2022-11-29T22:43:01
COLLABORATOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context When I was fixing the fullscreen bug where the PlotlyChart component was not properly keeping state of width and height, I defaulted the height and width to incorrect heights and widths. Because of this, I broke the useContainerWidth parameter and when setting height to the chart. In addition, in order to truly solve the full screen issue, we need to use `useLayoutEffect` instead of `useEffect`. Explanation about both can be found here: https://kentcdodds.com/blog/useeffect-vs-uselayouteffect Testing matrix and methodology: # Goal: making sure the coverage on testing is truly correct for height / width changes. In 2 of the e2e tests, we have the height and width manually changed with each theme. Testing for fullscreen which is done manually and through some unit tests. Testing for useContainerWidth for false, true are also in unit tests. Lmk if I am missing any other tests. _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [x] Bugfix - [ ] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [x] This is a visible (user-facing) change **Revised:** <img width="860" alt="Screen Shot 2022-11-28 at 12 29 26 PM" src="https://user-images.githubusercontent.com/16749069/204374694-2673a4bc-b82f-4cce-ada3-9ffce6b2766a.png"> _Insert screenshot of your updated UI/code here_ **Current:** _Insert screenshot of existing UI/code here_ <img width="758" alt="Screen Shot 2022-11-28 at 12 30 13 PM" src="https://user-images.githubusercontent.com/16749069/204374773-ad05e743-426b-4be4-9dd2-16aa9ec1fdcd.png"> ## 🧪 Testing Done - [x] Screenshots included - [x] Added/Updated unit tests - [x] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #5749 , #5761 --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5779/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5779/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5779", "html_url": "https://github.com/streamlit/streamlit/pull/5779", "diff_url": "https://github.com/streamlit/streamlit/pull/5779.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5779.patch", "merged_at": "2022-11-29T22:43:00" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5778
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5778/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5778/comments
https://api.github.com/repos/streamlit/streamlit/issues/5778/events
https://github.com/streamlit/streamlit/issues/5778
1,466,940,819
I_kwDODCoeTs5Xb72T
5,778
St.file_uploader not allowing me to upload files
{ "login": "cwmattei", "id": 113928755, "node_id": "U_kgDOBspqMw", "avatar_url": "https://avatars.githubusercontent.com/u/113928755?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cwmattei", "html_url": "https://github.com/cwmattei", "followers_url": "https://api.github.com/users/cwmattei/followers", "following_url": "https://api.github.com/users/cwmattei/following{/other_user}", "gists_url": "https://api.github.com/users/cwmattei/gists{/gist_id}", "starred_url": "https://api.github.com/users/cwmattei/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cwmattei/subscriptions", "organizations_url": "https://api.github.com/users/cwmattei/orgs", "repos_url": "https://api.github.com/users/cwmattei/repos", "events_url": "https://api.github.com/users/cwmattei/events{/privacy}", "received_events_url": "https://api.github.com/users/cwmattei/received_events", "type": "User", "site_admin": false }
[ { "id": 1848183387, "node_id": "MDU6TGFiZWwxODQ4MTgzMzg3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.file_uploader", "name": "feature:st.file_uploader", "color": "C5DEF5", "default": false, "description": "" }, { "id": 2856044535, "node_id": "MDU6TGFiZWwyODU2MDQ0NTM1", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce", "name": "status:cannot-reproduce", "color": "FEF2C0", "default": false, "description": "The Streamlit team is unable to reproduce the described behavior" } ]
closed
false
null
[]
null
3
2022-11-28T19:10:43
2022-12-01T03:20:03
2022-12-01T03:19:28
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I was using st.file_uploader in Pycharm, and everything was working until randomly, I wasn't able to upload files when I ran the streamlit app. Now, when I click on "Browse Files" in the app, nothing happens and the outline of the box becomes red when I click on it. ### Reproducible Code Example ```Python import streamlit as st upload = st.file_uploader("Upload Data Here") if upload is not None: data = pd.read_excel(upload) ``` ### Steps To Reproduce 1. Import streamlit 2. Add a file uploader to the code 3. run streamlit and try uploading a file ### Expected Behavior When you run streamlit, you can click "Browse Files," and then choose a file. It will then proceed to run the rest of your code. ### Current Behavior I click on "Browse Files," and nothing happens. If I click on the upload widget, the box outline becomes red. ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.11.0 - Python version: 3.10.4 - Operating System: MacOs 12.5 - Browser: Chrome - Virtual environment: Conda ### Additional Information <img width="727" alt="Screen Shot 2022-11-28 at 2 09 04 PM" src="https://user-images.githubusercontent.com/113928755/204360587-b41d58e9-17b3-4723-83a1-9495d36ff917.png"> <img width="368" alt="Screen Shot 2022-11-28 at 2 10 20 PM" src="https://user-images.githubusercontent.com/113928755/204360826-f997dc51-7286-4331-8c08-e80202d87fec.png"> ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5778/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5777
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5777/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5777/comments
https://api.github.com/repos/streamlit/streamlit/issues/5777/events
https://github.com/streamlit/streamlit/pull/5777
1,466,543,071
PR_kwDODCoeTs5DzyWS
5,777
Fix infrequently occurring (≤ 10) pydocstyle error codes
{ "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-11-28T14:36:04
2022-12-05T22:34:56
2022-12-05T22:34:56
MEMBER
null
## 📚 Context #5776 adds a `pydocstyle` pre-commit hook to ensure any modified or new `.py` files in `(lib\/streamlit\/)(?!vendor)(?!watcher)` follow certain stylistic rules. For the full set of rules, see #5776. That PR however didn't answer the question: **"How do we ensure existing docstrings are validated ?"**. - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes This PR is a small effort towards answering that question. Rather than fix all the docstring violations, this PR fixes categories of violations (aka [Error Codes](https://www.pydocstyle.org/en/stable/error_codes.html)) that occur `≤ 10` times. The following errors for the entire codebase have been fixed by this PR: D200, D202, D209, D301, D404, D406, D409.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5777/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5777/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5777", "html_url": "https://github.com/streamlit/streamlit/pull/5777", "diff_url": "https://github.com/streamlit/streamlit/pull/5777.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5777.patch", "merged_at": "2022-12-05T22:34:56" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5776
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5776/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5776/comments
https://api.github.com/repos/streamlit/streamlit/issues/5776/events
https://github.com/streamlit/streamlit/pull/5776
1,466,441,563
PR_kwDODCoeTs5DzcK4
5,776
Add pre-commit hook to validate docstrings with pydocstyle
{ "login": "snehankekre", "id": 20672874, "node_id": "MDQ6VXNlcjIwNjcyODc0", "avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snehankekre", "html_url": "https://github.com/snehankekre", "followers_url": "https://api.github.com/users/snehankekre/followers", "following_url": "https://api.github.com/users/snehankekre/following{/other_user}", "gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}", "starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions", "organizations_url": "https://api.github.com/users/snehankekre/orgs", "repos_url": "https://api.github.com/users/snehankekre/repos", "events_url": "https://api.github.com/users/snehankekre/events{/privacy}", "received_events_url": "https://api.github.com/users/snehankekre/received_events", "type": "User", "site_admin": false }
[ { "id": 4800340903, "node_id": "LA_kwDODCoeTs8AAAABHh9jpw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/stale", "name": "stale", "color": "ffffff", "default": false, "description": null }, { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
4
2022-11-28T13:35:22
2022-12-16T07:19:32
2022-12-16T07:19:32
MEMBER
null
## 📚 Context The docstrings in Streamlit's codebase (specifically, the public API) loosely conform to the `numpy` (aka `numpydoc`) [convention](https://numpydoc.readthedocs.io/en/latest/format.html). The specific rules of the `numpy` convention we follow and don't follow haven't been explicitly laid out. - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes This PR does two things: 1. Makes explicit the rules of the `numpy` convention we follow and those we ignore. Read [Error Codes](https://www.pydocstyle.org/en/stable/error_codes.html) for an exhaustive list of all possible rules. - We want to limit ourselves to validate docstrings that are part of Streamlit's [public API](https://docs.streamlit.io/library/api-reference). However, `pydocstyle` operates on `.py` files and not function names. As such, the pre-commit hook in point 2 validates docstrings in `.py` files in `lib/streamlit/` (which contains all .py files corresponding to all public Streamlit commands), excluding `lib/streamlit/vendor` and `lib/streamlit/watcher` (both sub dirs don't contain .py files with public API commands). 2. Adds a pre-commit hook that uses `pydocstyle` to validate if docstrings pass all the rules except the ones mentioned below: ```yaml - repo: https://github.com/pycqa/pydocstyle rev: 6.1.1 hooks: - id: pydocstyle name: Run pydocstyle args: - --convention=numpy - --add-ignore=D100,D101,D104,D105,D106,D107 - --add-select=D417 - --match-dir=(lib\/streamlit\/)(?!vendor)(?!watcher) ``` ### Rules we follow The subset of rules from `pydocstyle`'s [Error Codes](https://www.pydocstyle.org/en/stable/error_codes.html) we follow are: | Error code | Description | |------------|-------------| | **Missing Docstrings** | | | D102 | Missing docstring in public method | | D103 | Missing docstring in public function | | **Whitespace Issues** | | | D200 | One-line docstring should fit on one line with quotes | | D201 | No blank lines allowed before function docstring | | D202 | No blank lines allowed after function docstring | | D204 | 1 blank required after class docstring | | D205 | 1 blank line required between summary line and description | | D206 | Docstring should be indented with spaces, not tabs | | D207 | Docstring is under-indented | | D208 | Docstring is over-indented | | D209 | Multi-line docstring closing quotes should be on a separate line | | D210 | No whitespaces allowed surrounding docstring text | | D211 | No blank lines allowed before class docstring | | D214 | Section is over-indented | | D215 | Section underline is over-indented | | **Quotes Issues** | | | D300 | Use """triple double quotes""" | | D301 | Use r""" if any backslashes in a docstring | | D302 | Deprecated: Use u""" for Unicode docstrings | | **Docstring Content Issues** | | | D400 | First line should end with a period | | D401 | First line should be in imperative mood | | D403 | First word of the first line should be properly capitalized | | D404 | First word of the docstring should not be _This_ | | D405 | Section name should be properly capitalized | | D406 | Section name should end with a newline | | D407 | Missing dashed underline after section | | D408 | Section underline should be in the line following the section's name | | D409 | Section underline should match the length of its name | | D410 | Missing blank line after section | | D411 | Missing blank line before section | | D412 | No blank lines allowed between a section header and its content | | D414 | Section has no content | | D417 | Missing argument descriptions in the docstring | | D418 | Missing attribute description in the docstring | ### Rules we ignore | Error code | Description | |------------|-------------| | **Missing Docstrings** | | | ❌ D100 | Missing docstring in public module | | ❌ D101 | Missing docstring in public class | | ❌ D104 | Missing docstring in public package | | ❌ D105 | Missing docstring in magic method | | ❌ D106 | Missing docstring in public nested class | | ❌ D107 | Missing docstring in **init** | ### What's **not** covered in this PR - All existing docstrings that break any of the above rules we're supposed to follow will not be retroactively fixed. i.e. The `pydocstyle` pre-commit hook operates only on staged files in git. - We choose to operate only on modified files and run the checks locally so as to not disrupt developers' workflows. As a developer contributing to the codebase, one would rather not see hundreds of docstring errors that unrelated to one's contribution; both locally and in CI (GHA) - The hook does not modify files. It only checks if files follow rules (think linting) and outputs what files, if any, break the rules. ### What's next? The PR ensures that the `pydocstyle` check will run against any new or modified `.py` files in `(lib\/streamlit\/)(?!vendor)(?!watcher)`. It leaves unanswered the question: *"How do we ensure existing docstrings are validated ?"*. That question can be answered using one or both of these options: 1. [ ] The Streamlit Documentation team in subsequent PRs fixes all existing the docstrings in violation of rules 2. [ ] Let the Community tackle in separate PRs fixes for each violated rule This PR, however, is independent of the above question and can be merged before it is answered.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5776/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5776/timeline
null
null
true
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5776", "html_url": "https://github.com/streamlit/streamlit/pull/5776", "diff_url": "https://github.com/streamlit/streamlit/pull/5776.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5776.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5775
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5775/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5775/comments
https://api.github.com/repos/streamlit/streamlit/issues/5775/events
https://github.com/streamlit/streamlit/issues/5775
1,466,405,809
I_kwDODCoeTs5XZ5Ox
5,775
Missing E-Mail adress in Button
{ "login": "ctrimborn", "id": 98919078, "node_id": "U_kgDOBeVipg", "avatar_url": "https://avatars.githubusercontent.com/u/98919078?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ctrimborn", "html_url": "https://github.com/ctrimborn", "followers_url": "https://api.github.com/users/ctrimborn/followers", "following_url": "https://api.github.com/users/ctrimborn/following{/other_user}", "gists_url": "https://api.github.com/users/ctrimborn/gists{/gist_id}", "starred_url": "https://api.github.com/users/ctrimborn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ctrimborn/subscriptions", "organizations_url": "https://api.github.com/users/ctrimborn/orgs", "repos_url": "https://api.github.com/users/ctrimborn/repos", "events_url": "https://api.github.com/users/ctrimborn/events{/privacy}", "received_events_url": "https://api.github.com/users/ctrimborn/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
0
2022-11-28T13:13:14
2022-12-30T03:37:15
2022-11-28T13:13:49
NONE
null
### Checklist - [ ] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [ ] I added a very descriptive title to this issue. - [ ] I have provided sufficient information below to help reproduce this issue. ### Summary I've added an Email Adress to the Label of a button on version 1.15 the Email adress dissapeared and only the rest of the text was shown ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5775/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5775/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5774
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5774/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5774/comments
https://api.github.com/repos/streamlit/streamlit/issues/5774/events
https://github.com/streamlit/streamlit/pull/5774
1,466,397,460
PR_kwDODCoeTs5DzSdh
5,774
Add remark directive to streamlit markdown
{ "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
{ "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false }
[ { "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false } ]
null
1
2022-11-28T13:08:32
2022-12-11T19:35:16
2022-12-11T19:35:16
CONTRIBUTOR
null
<!-- Before contributing (PLEASE READ!) ⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first. This helps make sure: 1. Two people aren't working on the same thing 2. This is something Streamlit's maintainers believe should be implemented/fixed 3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers 4. Your time is well spent! More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing --> ## 📚 Context _Please describe the project or issue background here_ This PR introduces colored text in Streamlit using remark-directive plugin. **Need support/question:** I'd like to use theme for colouring, the problem is though I don't see a way to access `theme: Theme` inside `function remarkColoring()`, so I can reuse existing theme mechanism - What kind of change does this PR introduce? - [ ] Bugfix - [x] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [ ] This is a visible (user-facing) change **Revised:** _Insert screenshot of your updated UI/code here_ **Current:** _Insert screenshot of existing UI/code here_ ## 🧪 Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #XXXX --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5774/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5774/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5774", "html_url": "https://github.com/streamlit/streamlit/pull/5774", "diff_url": "https://github.com/streamlit/streamlit/pull/5774.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5774.patch", "merged_at": "2022-12-11T19:35:16" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5773
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5773/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5773/comments
https://api.github.com/repos/streamlit/streamlit/issues/5773/events
https://github.com/streamlit/streamlit/issues/5773
1,466,221,747
I_kwDODCoeTs5XZMSz
5,773
Multiselect parameter to select all options
{ "login": "Kurokabe", "id": 37635308, "node_id": "MDQ6VXNlcjM3NjM1MzA4", "avatar_url": "https://avatars.githubusercontent.com/u/37635308?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kurokabe", "html_url": "https://github.com/Kurokabe", "followers_url": "https://api.github.com/users/Kurokabe/followers", "following_url": "https://api.github.com/users/Kurokabe/following{/other_user}", "gists_url": "https://api.github.com/users/Kurokabe/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kurokabe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kurokabe/subscriptions", "organizations_url": "https://api.github.com/users/Kurokabe/orgs", "repos_url": "https://api.github.com/users/Kurokabe/repos", "events_url": "https://api.github.com/users/Kurokabe/events{/privacy}", "received_events_url": "https://api.github.com/users/Kurokabe/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 4139233284, "node_id": "LA_kwDODCoeTs72t7AE", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.multiselect", "name": "feature:st.multiselect", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
0
2022-11-28T11:03:40
2022-11-28T20:11:11
null
NONE
null
### Problem Let's imagine that you have a DataFrame with many columns (100+) and you want your user to be able to select all columns or a subset of these columns. With a multiselect, the user is able to select some columns, but if he wants to select all columns, he must include all columns one by one. If all columns are added by default, in addition to be quite ugly (see picture), once the user clicked on clear all to add a few columns, if he wanna select all parameters he must either do it one by one, or refresh the page to have back the default values. ![image](https://user-images.githubusercontent.com/37635308/204258814-b905764c-e973-4fcb-b754-bb6e4b041dfe.png) It would be useful to have an option in the select box (either by default, or via a st.multiselect parameter) to be able to select all parameters. ### Solution One solution would be to have a multiselect parameter to automatically add a checkbox to select all options as described on [this post](https://discuss.streamlit.io/t/select-all-on-a-streamlit-multiselect/9799/2). Another possibility would be to include the "Select All" option directly in the list of options instead of a separate checkbox: ![image](https://user-images.githubusercontent.com/37635308/204260105-eaf0f886-e77a-4b0e-8713-0de261dd70da.png) The multiselect display could also be changed to include a checkbox next to it, so that the 'select all' option could show at a glance whether all options are selected ☑ or only a subset [-].
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5773/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5773/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5772
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5772/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5772/comments
https://api.github.com/repos/streamlit/streamlit/issues/5772/events
https://github.com/streamlit/streamlit/pull/5772
1,466,023,954
PR_kwDODCoeTs5DyBZY
5,772
Add links for workflow failure slack messages
{ "login": "mayagbarnes", "id": 63436329, "node_id": "MDQ6VXNlcjYzNDM2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayagbarnes", "html_url": "https://github.com/mayagbarnes", "followers_url": "https://api.github.com/users/mayagbarnes/followers", "following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}", "gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}", "starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions", "organizations_url": "https://api.github.com/users/mayagbarnes/orgs", "repos_url": "https://api.github.com/users/mayagbarnes/repos", "events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}", "received_events_url": "https://api.github.com/users/mayagbarnes/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-28T08:41:07
2022-11-29T03:06:38
2022-11-29T03:04:47
COLLABORATOR
null
## 📚 Context Add link to failure slack messages for nightly, release candidate, and release workflows - What kind of change does this PR introduce? - [x] Refactoring --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5772/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5772/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5772", "html_url": "https://github.com/streamlit/streamlit/pull/5772", "diff_url": "https://github.com/streamlit/streamlit/pull/5772.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5772.patch", "merged_at": "2022-11-29T03:04:47" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5771
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5771/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5771/comments
https://api.github.com/repos/streamlit/streamlit/issues/5771/events
https://github.com/streamlit/streamlit/issues/5771
1,465,543,803
I_kwDODCoeTs5XWmx7
5,771
can not run streamlit python file...
{ "login": "ct11-omkara", "id": 77201302, "node_id": "MDQ6VXNlcjc3MjAxMzAy", "avatar_url": "https://avatars.githubusercontent.com/u/77201302?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ct11-omkara", "html_url": "https://github.com/ct11-omkara", "followers_url": "https://api.github.com/users/ct11-omkara/followers", "following_url": "https://api.github.com/users/ct11-omkara/following{/other_user}", "gists_url": "https://api.github.com/users/ct11-omkara/gists{/gist_id}", "starred_url": "https://api.github.com/users/ct11-omkara/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ct11-omkara/subscriptions", "organizations_url": "https://api.github.com/users/ct11-omkara/orgs", "repos_url": "https://api.github.com/users/ct11-omkara/repos", "events_url": "https://api.github.com/users/ct11-omkara/events{/privacy}", "received_events_url": "https://api.github.com/users/ct11-omkara/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
2
2022-11-27T18:59:10
2022-11-28T03:47:04
2022-11-28T03:47:04
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary (base) E:\Chetan\PycharmProjects\iNeuronProject>streamlit run test_streamlit.py 2022-11-28 00:19:03.756 INFO numexpr.utils: Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2022-11-28 00:19:03.756 INFO numexpr.utils: NumExpr defaulting to 8 threads. You can now view your Streamlit app in your browser. Local URL: http://localhost:8502 Network URL: http://192.168.1.3:8502 2022-11-28 00:19:07.306 Uncaught exception Traceback (most recent call last): File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\http1connection.py", line 273, in _read_message delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\routing.py", line 268, in finish self.delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2290, in finish self.execute() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2309, in execute self.handler = self.handler_class( File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\websocket.py", line 224, in __init__ super().__init__(application, request, **kwargs) File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 209, in __init__ super().__init__() File "C:\Users\Chetan\anaconda3\lib\typing.py", line 1083, in _no_init raise TypeError('Protocols cannot be instantiated') TypeError: Protocols cannot be instantiated ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior (base) E:\Chetan\PycharmProjects\iNeuronProject>streamlit run test_streamlit.py 2022-11-28 00:19:03.756 INFO numexpr.utils: Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2022-11-28 00:19:03.756 INFO numexpr.utils: NumExpr defaulting to 8 threads. You can now view your Streamlit app in your browser. Local URL: http://localhost:8502 Network URL: http://192.168.1.3:8502 2022-11-28 00:19:07.306 Uncaught exception Traceback (most recent call last): File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\http1connection.py", line 273, in _read_message delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\routing.py", line 268, in finish self.delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2290, in finish self.execute() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2309, in execute self.handler = self.handler_class( File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\websocket.py", line 224, in __init__ super().__init__(application, request, **kwargs) File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 209, in __init__ super().__init__() File "C:\Users\Chetan\anaconda3\lib\typing.py", line 1083, in _no_init raise TypeError('Protocols cannot be instantiated') TypeError: Protocols cannot be instantiated ### Current Behavior (base) E:\Chetan\PycharmProjects\iNeuronProject>streamlit run test_streamlit.py 2022-11-28 00:19:03.756 INFO numexpr.utils: Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2022-11-28 00:19:03.756 INFO numexpr.utils: NumExpr defaulting to 8 threads. You can now view your Streamlit app in your browser. Local URL: http://localhost:8502 Network URL: http://192.168.1.3:8502 2022-11-28 00:19:07.306 Uncaught exception Traceback (most recent call last): File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\http1connection.py", line 273, in _read_message delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\routing.py", line 268, in finish self.delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2290, in finish self.execute() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2309, in execute self.handler = self.handler_class( File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\websocket.py", line 224, in __init__ super().__init__(application, request, **kwargs) File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 209, in __init__ super().__init__() File "C:\Users\Chetan\anaconda3\lib\typing.py", line 1083, in _no_init raise TypeError('Protocols cannot be instantiated') TypeError: Protocols cannot be instantiated ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information (base) E:\Chetan\PycharmProjects\iNeuronProject>streamlit run test_streamlit.py 2022-11-28 00:19:03.756 INFO numexpr.utils: Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2022-11-28 00:19:03.756 INFO numexpr.utils: NumExpr defaulting to 8 threads. You can now view your Streamlit app in your browser. Local URL: http://localhost:8502 Network URL: http://192.168.1.3:8502 2022-11-28 00:19:07.306 Uncaught exception Traceback (most recent call last): File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\http1connection.py", line 273, in _read_message delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\routing.py", line 268, in finish self.delegate.finish() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2290, in finish self.execute() File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 2309, in execute self.handler = self.handler_class( File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\websocket.py", line 224, in __init__ super().__init__(application, request, **kwargs) File "C:\Users\Chetan\anaconda3\lib\site-packages\tornado\web.py", line 209, in __init__ super().__init__() File "C:\Users\Chetan\anaconda3\lib\typing.py", line 1083, in _no_init raise TypeError('Protocols cannot be instantiated') TypeError: Protocols cannot be instantiated ### Are you willing to submit a PR? - [X] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5771/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5771/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5770
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5770/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5770/comments
https://api.github.com/repos/streamlit/streamlit/issues/5770/events
https://github.com/streamlit/streamlit/issues/5770
1,465,529,676
I_kwDODCoeTs5XWjVM
5,770
Can't add additional button to form
{ "login": "CyberGear", "id": 3903818, "node_id": "MDQ6VXNlcjM5MDM4MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/3903818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CyberGear", "html_url": "https://github.com/CyberGear", "followers_url": "https://api.github.com/users/CyberGear/followers", "following_url": "https://api.github.com/users/CyberGear/following{/other_user}", "gists_url": "https://api.github.com/users/CyberGear/gists{/gist_id}", "starred_url": "https://api.github.com/users/CyberGear/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CyberGear/subscriptions", "organizations_url": "https://api.github.com/users/CyberGear/orgs", "repos_url": "https://api.github.com/users/CyberGear/repos", "events_url": "https://api.github.com/users/CyberGear/events{/privacy}", "received_events_url": "https://api.github.com/users/CyberGear/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 4078156025, "node_id": "LA_kwDODCoeTs7zE7j5", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.form", "name": "feature:st.form", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-11-27T18:05:12
2023-02-08T22:22:50
2023-02-08T22:22:49
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I do have a case when I need buttons to modify forms and after filling them submit it. I do not understand why this limitation is set :) ### Reproducible Code Example ```Python if 'income_count' not in st.session_state: st.session_state.income_count = 0 form = st.form(key="monthly-return") container = form.container() columns(container, lambda c: c.write("Type"), lambda c: c.write("Amount"), lambda c: c.write("Date")) if form.button("➕ Add Income"): st.session_state.income_count += 1 draw_incomes() # redraws items depending on income_count else: draw_incomes() # redraws items depending on income_count form.form_submit_button() ``` ### Steps To Reproduce I think that is clear :) ### Expected Behavior I would like it to work :) ### Current Behavior StreamlitAPIException: st.button() can't be used in an st.form() ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.1 - Python version: 3.10.8 - Operating System: Linux - Browser: Firefox - Virtual environment: none at this run ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5770/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5770/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5769
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5769/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5769/comments
https://api.github.com/repos/streamlit/streamlit/issues/5769/events
https://github.com/streamlit/streamlit/issues/5769
1,465,404,689
I_kwDODCoeTs5XWE0R
5,769
Range Slider Widget, does not allow expand on a single selection in both directions
{ "login": "coolkau", "id": 20328478, "node_id": "MDQ6VXNlcjIwMzI4NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/20328478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/coolkau", "html_url": "https://github.com/coolkau", "followers_url": "https://api.github.com/users/coolkau/followers", "following_url": "https://api.github.com/users/coolkau/following{/other_user}", "gists_url": "https://api.github.com/users/coolkau/gists{/gist_id}", "starred_url": "https://api.github.com/users/coolkau/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/coolkau/subscriptions", "organizations_url": "https://api.github.com/users/coolkau/orgs", "repos_url": "https://api.github.com/users/coolkau/repos", "events_url": "https://api.github.com/users/coolkau/events{/privacy}", "received_events_url": "https://api.github.com/users/coolkau/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 3230108595, "node_id": "MDU6TGFiZWwzMjMwMTA4NTk1", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P4", "name": "priority:P4", "color": "ff4b4b", "default": false, "description": "" }, { "id": 4089930576, "node_id": "LA_kwDODCoeTs7zx2NQ", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.select_slider", "name": "feature:st.select_slider", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
0
2022-11-27T11:03:47
2022-11-28T04:04:27
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary See you [example range slider](https://docs.streamlit.io/library/api-reference/widgets/st.select_slider) to test it out: Move the red selection to blue to select blue only. Now try to select the range [blue, violet]. You cant. This is because the minimum selector is on top of the maximum selector, and the min cant move beyond the max. The two selectors should be moving independently, and the react object should figure out what is minimum and maximum in the back. ### Reproducible Code Example ```Python See your own example (https://docs.streamlit.io/library/api-reference/widgets/st.select_slider) ``` ### Steps To Reproduce detailed above ### Expected Behavior I can freely move the two selector points independently of each other. React makes sure to feed the right min and max to the backend. ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5769/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5769/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5768
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5768/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5768/comments
https://api.github.com/repos/streamlit/streamlit/issues/5768/events
https://github.com/streamlit/streamlit/issues/5768
1,465,348,536
I_kwDODCoeTs5XV3G4
5,768
Cache static files of custom components (currently they always get 304 response)
{ "login": "marduk2", "id": 12582729, "node_id": "MDQ6VXNlcjEyNTgyNzI5", "avatar_url": "https://avatars.githubusercontent.com/u/12582729?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marduk2", "html_url": "https://github.com/marduk2", "followers_url": "https://api.github.com/users/marduk2/followers", "following_url": "https://api.github.com/users/marduk2/following{/other_user}", "gists_url": "https://api.github.com/users/marduk2/gists{/gist_id}", "starred_url": "https://api.github.com/users/marduk2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marduk2/subscriptions", "organizations_url": "https://api.github.com/users/marduk2/orgs", "repos_url": "https://api.github.com/users/marduk2/repos", "events_url": "https://api.github.com/users/marduk2/events{/privacy}", "received_events_url": "https://api.github.com/users/marduk2/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 1948948989, "node_id": "MDU6TGFiZWwxOTQ4OTQ4OTg5", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:custom-components", "name": "feature:custom-components", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
1
2022-11-27T06:38:55
2022-11-28T09:43:06
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary - Currently, the GET requests for static files of custom components (index.html, css, js, etc.) always get a "304 (not modified)" response when the component is refreshed. (This behavior can be checked by opening Developer Tools -> Network in browser while using a Streamlit app, both when working locally and also when deployed.) - This introduces some latency, because even if the files haven't changed a request is sent. - Ideally, the static files of custom components could be cached in a way that subsequent GET requests for static files are skipped. In this case, I believe we would see a "200 (cached)" response. ### Reproducible Code Example ```Python import streamlit as st from st_btn_select import st_btn_select st.title('Static files of custom components always get 304 response') if 'counter' not in st.session_state: st.session_state.counter = 1 if st.button('Click to refresh st_btn_select component by changing value of its key'): st.session_state.counter += 1 button_group = st_btn_select( options = ('home', 'about', 'docs', 'playground'), key = st.session_state.counter, format_func=lambda name: name.capitalize(), ) ``` ### Steps To Reproduce 1. Start the Streamlit app example. 2. Open your browser's Developer Tools -> Network. 3. Remount the custom component by clicking the "Click to refresh" button. 4. In the Developer Tools -> Network, see responses received for the static files of the custom component. ### Expected Behavior Static files of custom components are cached properly, so that they are not requested every time the component is refreshed. ### Current Behavior <img width="1440" alt="Captura de pantalla 2022-11-27 a las 7 36 26" src="https://user-images.githubusercontent.com/12582729/204122692-8f981ec3-3ba8-4d7b-bfb5-536d66227ac4.png"> ### Debug info - Streamlit version: 1.14.1 - Python version: 3.10 - Operating System: macOS - Browser: Brave - Virtual environment: conda ### Additional Information A file in the Streamlit library that might be worth investigating is [/streamlit/web/server/component_request_handler.py](https://github.com/streamlit/streamlit/blob/develop/lib/streamlit/web/server/component_request_handler.py)
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5768/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5768/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5767
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5767/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5767/comments
https://api.github.com/repos/streamlit/streamlit/issues/5767/events
https://github.com/streamlit/streamlit/issues/5767
1,465,090,172
I_kwDODCoeTs5XU4B8
5,767
Customization Problems for Multiple Page App's Side Bar Icons
{ "login": "murattasci06", "id": 71190059, "node_id": "MDQ6VXNlcjcxMTkwMDU5", "avatar_url": "https://avatars.githubusercontent.com/u/71190059?v=4", "gravatar_id": "", "url": "https://api.github.com/users/murattasci06", "html_url": "https://github.com/murattasci06", "followers_url": "https://api.github.com/users/murattasci06/followers", "following_url": "https://api.github.com/users/murattasci06/following{/other_user}", "gists_url": "https://api.github.com/users/murattasci06/gists{/gist_id}", "starred_url": "https://api.github.com/users/murattasci06/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/murattasci06/subscriptions", "organizations_url": "https://api.github.com/users/murattasci06/orgs", "repos_url": "https://api.github.com/users/murattasci06/repos", "events_url": "https://api.github.com/users/murattasci06/events{/privacy}", "received_events_url": "https://api.github.com/users/murattasci06/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 4288309131, "node_id": "LA_kwDODCoeTs7_mmeL", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:multipage-apps", "name": "feature:multipage-apps", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
1
2022-11-26T08:38:17
2023-01-20T16:41:47
null
NONE
null
### Problem Streamlit v1.13.0 We cannot change the position of side bar emojis (left, right, up, down), font color, hover color and size, even with html, css, in multiple page app application. we should be able to do this with html ,css even if there is no streamlit configuration parameter. ![019dd3a5d5b29f50d0bb2553f65a3045d209c617](https://user-images.githubusercontent.com/71190059/204102414-a8520919-bafb-46ee-bfbb-f5fa95f0ffe7.png) Here the issue: https://discuss.streamlit.io/t/the-problem-of-not-being-able-to-change-the-background-color-thickness-and-position-of-the-texts-in-the-streamlit-multiple-page-apps-side-bar/33718 ### Solution Streamlit customization property for multiple Page app side bar or more general feature or accessing to the this features with html, css.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5767/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5767/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5766
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5766/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5766/comments
https://api.github.com/repos/streamlit/streamlit/issues/5766/events
https://github.com/streamlit/streamlit/issues/5766
1,464,922,463
I_kwDODCoeTs5XUPFf
5,766
Question Mark Tooltip within markdown / dataframe header
{ "login": "Casyfill", "id": 2675621, "node_id": "MDQ6VXNlcjI2NzU2MjE=", "avatar_url": "https://avatars.githubusercontent.com/u/2675621?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Casyfill", "html_url": "https://github.com/Casyfill", "followers_url": "https://api.github.com/users/Casyfill/followers", "following_url": "https://api.github.com/users/Casyfill/following{/other_user}", "gists_url": "https://api.github.com/users/Casyfill/gists{/gist_id}", "starred_url": "https://api.github.com/users/Casyfill/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Casyfill/subscriptions", "organizations_url": "https://api.github.com/users/Casyfill/orgs", "repos_url": "https://api.github.com/users/Casyfill/repos", "events_url": "https://api.github.com/users/Casyfill/events{/privacy}", "received_events_url": "https://api.github.com/users/Casyfill/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 1846397999, "node_id": "MDU6TGFiZWwxODQ2Mzk3OTk5", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:ux/ui", "name": "area:ux/ui", "color": "C2E0C6", "default": false, "description": "" }, { "id": 4785087249, "node_id": "LA_kwDODCoeTs8AAAABHTajEQ", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:tooltip", "name": "feature:tooltip", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-11-25T20:55:43
2022-12-07T21:48:03
2022-12-07T21:47:29
NONE
null
I am building a demo around an ML model, and need to explain the features I use to a broad audience. This means that ideally, I need a dedicated place to describe what each feature means. I really like the tooltip option for streamlit input widgets, so I’d love to use the same widget within my markdown and elsewhere (e.g. in the dataframe header) - I have a list of feature names and be able to set a tooltip question mark with an explanation on hover near it. I know there are a few ways different markdown flavors do something like that. The way I see it it could be something like that: ```markdown st.markdown(''' - first feature ?[:question:](Tooltip text for the first feature) - second feature ?[:exclamation:](Tooltip text for the Second feature) ''') ``` - [related discuss topic](https://discuss.streamlit.io/t/feature-request-tooltips-within-text-markdown/33687)
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5766/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5766/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5765
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5765/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5765/comments
https://api.github.com/repos/streamlit/streamlit/issues/5765/events
https://github.com/streamlit/streamlit/issues/5765
1,464,413,301
I_kwDODCoeTs5XSSx1
5,765
Default theme for built-in charts is broken
{ "login": "arnaudmiribel", "id": 7164864, "node_id": "MDQ6VXNlcjcxNjQ4NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7164864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arnaudmiribel", "html_url": "https://github.com/arnaudmiribel", "followers_url": "https://api.github.com/users/arnaudmiribel/followers", "following_url": "https://api.github.com/users/arnaudmiribel/following{/other_user}", "gists_url": "https://api.github.com/users/arnaudmiribel/gists{/gist_id}", "starred_url": "https://api.github.com/users/arnaudmiribel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arnaudmiribel/subscriptions", "organizations_url": "https://api.github.com/users/arnaudmiribel/orgs", "repos_url": "https://api.github.com/users/arnaudmiribel/repos", "events_url": "https://api.github.com/users/arnaudmiribel/events{/privacy}", "received_events_url": "https://api.github.com/users/arnaudmiribel/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 1964044893, "node_id": "MDU6TGFiZWwxOTY0MDQ0ODkz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:charts", "name": "feature:charts", "color": "C5DEF5", "default": false, "description": "Related to charting functionality" }, { "id": 2567817581, "node_id": "MDU6TGFiZWwyNTY3ODE3NTgx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:styling", "name": "area:styling", "color": "C2E0C6", "default": false, "description": "" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230107623, "node_id": "MDU6TGFiZWwzMjMwMTA3NjIz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3", "name": "priority:P3", "color": "ff4b4b", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-25T11:26:55
2022-12-05T18:48:48
2022-12-05T18:48:48
COLLABORATOR
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I'm afraid the latest Streamlit release broke the built-in charts default theme! While we don't have theme="streamlit" as default for any Altair chart, the theme should be default for our built-in charts. <img width="618" alt="image" src="https://user-images.githubusercontent.com/7164864/203975661-7b647de5-b687-44fd-a4d0-4dc2f055c42c.png"> ### Reproducible Code Example ```Python import numpy as np import pandas as pd import streamlit as st chart_data = pd.DataFrame(np.random.randn(20, 3), columns=["a", "b", "c"]) st.write(f"Streamlit version: {st.__version__}") st.line_chart(chart_data) st.area_chart(chart_data) st.bar_chart(chart_data) ``` ### Steps To Reproduce _No response_ ### Expected Behavior Theme should look like our docs ### Current Behavior _No response_ ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.1 - Python version: 3.9.13 - Operating System: on Streamlit Cloud - Browser: Chrome - Virtual environment: Pipenv ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5765/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5765/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5764
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5764/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5764/comments
https://api.github.com/repos/streamlit/streamlit/issues/5764/events
https://github.com/streamlit/streamlit/issues/5764
1,464,345,355
I_kwDODCoeTs5XSCML
5,764
Hover window gets cropped on top (on plotly plots)
{ "login": "q-wertz", "id": 20948931, "node_id": "MDQ6VXNlcjIwOTQ4OTMx", "avatar_url": "https://avatars.githubusercontent.com/u/20948931?v=4", "gravatar_id": "", "url": "https://api.github.com/users/q-wertz", "html_url": "https://github.com/q-wertz", "followers_url": "https://api.github.com/users/q-wertz/followers", "following_url": "https://api.github.com/users/q-wertz/following{/other_user}", "gists_url": "https://api.github.com/users/q-wertz/gists{/gist_id}", "starred_url": "https://api.github.com/users/q-wertz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/q-wertz/subscriptions", "organizations_url": "https://api.github.com/users/q-wertz/orgs", "repos_url": "https://api.github.com/users/q-wertz/repos", "events_url": "https://api.github.com/users/q-wertz/events{/privacy}", "received_events_url": "https://api.github.com/users/q-wertz/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 3230108595, "node_id": "MDU6TGFiZWwzMjMwMTA4NTk1", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P4", "name": "priority:P4", "color": "ff4b4b", "default": false, "description": "" }, { "id": 3904044329, "node_id": "LA_kwDODCoeTs7osv0p", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.plotly_chart", "name": "feature:st.plotly_chart", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-11-25T10:33:25
2022-11-28T10:02:38
2022-11-28T09:27:14
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary When creating a (plotly) plot with lots of traces and enabling the hover information it gets cropped (at the top). As far as I could figure out, this is not from the plotly library (but not 100% sure)… ![image](https://user-images.githubusercontent.com/20948931/203963608-a0bf8e83-18f6-4665-b1c3-9f8724ba8ebc.png) ### Reproducible Code Example ```Python import streamlit as st import plotly.express as px import numpy as np x = np.linspace(0.0, 19.0, 20) y = [] for i in range(10): y.append(np.ones(shape=(20))*i) fig = px.line(x=x, y=y, height=300) fig.update_layout(hovermode="x unified") st.plotly_chart(fig) ``` ### Steps To Reproduce 1. Run `streamlit run test.py` 2. Hover in the plotly graph ### Expected Behavior The hover window is an overlay and not cropped. ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.1 - Python version: 3.10.8 - Operating System: Manjaro (Arch) - Browser: Firefox 107.0 - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5764/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5764/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5763
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5763/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5763/comments
https://api.github.com/repos/streamlit/streamlit/issues/5763/events
https://github.com/streamlit/streamlit/issues/5763
1,463,224,677
I_kwDODCoeTs5XNwll
5,763
Streamlit hosting for code hosted in Azure Repos
{ "login": "lurifaxel", "id": 12863511, "node_id": "MDQ6VXNlcjEyODYzNTEx", "avatar_url": "https://avatars.githubusercontent.com/u/12863511?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lurifaxel", "html_url": "https://github.com/lurifaxel", "followers_url": "https://api.github.com/users/lurifaxel/followers", "following_url": "https://api.github.com/users/lurifaxel/following{/other_user}", "gists_url": "https://api.github.com/users/lurifaxel/gists{/gist_id}", "starred_url": "https://api.github.com/users/lurifaxel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lurifaxel/subscriptions", "organizations_url": "https://api.github.com/users/lurifaxel/orgs", "repos_url": "https://api.github.com/users/lurifaxel/repos", "events_url": "https://api.github.com/users/lurifaxel/events{/privacy}", "received_events_url": "https://api.github.com/users/lurifaxel/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 2603950938, "node_id": "MDU6TGFiZWwyNjAzOTUwOTM4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:community-cloud", "name": "feature:community-cloud", "color": "C5DEF5", "default": false, "description": "Related to Streamlit Community Cloud" } ]
closed
false
null
[]
null
1
2022-11-24T11:49:58
2022-12-01T18:35:06
2022-12-01T18:35:05
NONE
null
### Problem I'm using [Azure Repos](https://azure.microsoft.com/en-gb/products/devops/repos/) to host my Streamlit app code and would like to use Streamlit hosting! This is not possible right now as Streamlit hosting only allows Github repositories. ### Solution **Preferred solution:** Support Azure Repos in the same way as Github repos are supported today. ### Additional context Azure Repos may be more well known as "Azure DevOps repositories". --- Community voting on feature requests enables the Streamlit team to understand which features are most important to our users. **If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5763/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5763/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5762
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5762/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5762/comments
https://api.github.com/repos/streamlit/streamlit/issues/5762/events
https://github.com/streamlit/streamlit/issues/5762
1,463,065,925
I_kwDODCoeTs5XNJ1F
5,762
Could not open streamlit on my device
{ "login": "AnkitaD1998", "id": 83806097, "node_id": "MDQ6VXNlcjgzODA2MDk3", "avatar_url": "https://avatars.githubusercontent.com/u/83806097?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnkitaD1998", "html_url": "https://github.com/AnkitaD1998", "followers_url": "https://api.github.com/users/AnkitaD1998/followers", "following_url": "https://api.github.com/users/AnkitaD1998/following{/other_user}", "gists_url": "https://api.github.com/users/AnkitaD1998/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnkitaD1998/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnkitaD1998/subscriptions", "organizations_url": "https://api.github.com/users/AnkitaD1998/orgs", "repos_url": "https://api.github.com/users/AnkitaD1998/repos", "events_url": "https://api.github.com/users/AnkitaD1998/events{/privacy}", "received_events_url": "https://api.github.com/users/AnkitaD1998/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
1
2022-11-24T09:51:02
2022-11-25T08:04:51
2022-11-25T08:04:35
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary 2022-11-24 15:19:20.258 Uncaught exception Traceback (most recent call last): File "C:\Users\user\anaconda3\lib\site-packages\tornado\http1connection.py", line 273, in _read_message delegate.finish() File "C:\Users\user\anaconda3\lib\site-packages\tornado\routing.py", line 268, in finish self.delegate.finish() File "C:\Users\user\anaconda3\lib\site-packages\tornado\web.py", line 2290, in finish self.execute() File "C:\Users\user\anaconda3\lib\site-packages\tornado\web.py", line 2309, in execute self.handler = self.handler_class( File "C:\Users\user\anaconda3\lib\site-packages\tornado\websocket.py", line 224, in __init__ super().__init__(application, request, **kwargs) File "C:\Users\user\anaconda3\lib\site-packages\tornado\web.py", line 209, in __init__ super().__init__() File "C:\Users\user\anaconda3\lib\typing.py", line 1083, in _no_init raise TypeError('Protocols cannot be instantiated') TypeError: Protocols cannot be instantiated ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5762/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5762/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5761
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5761/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5761/comments
https://api.github.com/repos/streamlit/streamlit/issues/5761/events
https://github.com/streamlit/streamlit/issues/5761
1,462,860,078
I_kwDODCoeTs5XMXku
5,761
use_container_width parameter of st.plotly_chart stopped working with version 1.14.1
{ "login": "fabioannovazzi", "id": 3429553, "node_id": "MDQ6VXNlcjM0Mjk1NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/3429553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fabioannovazzi", "html_url": "https://github.com/fabioannovazzi", "followers_url": "https://api.github.com/users/fabioannovazzi/followers", "following_url": "https://api.github.com/users/fabioannovazzi/following{/other_user}", "gists_url": "https://api.github.com/users/fabioannovazzi/gists{/gist_id}", "starred_url": "https://api.github.com/users/fabioannovazzi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fabioannovazzi/subscriptions", "organizations_url": "https://api.github.com/users/fabioannovazzi/orgs", "repos_url": "https://api.github.com/users/fabioannovazzi/repos", "events_url": "https://api.github.com/users/fabioannovazzi/events{/privacy}", "received_events_url": "https://api.github.com/users/fabioannovazzi/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 1637089211, "node_id": "MDU6TGFiZWwxNjM3MDg5MjEx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:regression", "name": "type:regression", "color": "D93F0B", "default": false, "description": "This bug is a regression" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230105890, "node_id": "MDU6TGFiZWwzMjMwMTA1ODkw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2", "name": "priority:P2", "color": "ff4b4b", "default": false, "description": "" }, { "id": 3904044329, "node_id": "LA_kwDODCoeTs7osv0p", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.plotly_chart", "name": "feature:st.plotly_chart", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-11-24T07:03:29
2022-12-03T01:28:24
2022-12-03T01:28:23
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I need to control the width of my plotly charts so I plot all my charts with the use_container_width parameter set to False. st.plotly_chart(fig,use_container_width=False,config=configPlotlyDict) With version 1.14.0 I get this ![image](https://user-images.githubusercontent.com/3429553/203716016-11b302f8-3721-4328-b379-5b82777a0854.png) With version 1.15.1 I get this (considerably less pretty :grinning: ) ![image](https://user-images.githubusercontent.com/3429553/203716068-4f29b657-36a9-44d3-847c-ba1f06a8a9ab.png) ### Reproducible Code Example [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5749) ### Is this a regression? - [x] Yes, this used to work in a previous version.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5761/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5761/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5760
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5760/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5760/comments
https://api.github.com/repos/streamlit/streamlit/issues/5760/events
https://github.com/streamlit/streamlit/issues/5760
1,462,844,243
I_kwDODCoeTs5XMTtT
5,760
Openpyxl cannot work after deployed to streamlit cloud
{ "login": "springna-tsai", "id": 118429838, "node_id": "U_kgDOBw8Yjg", "avatar_url": "https://avatars.githubusercontent.com/u/118429838?v=4", "gravatar_id": "", "url": "https://api.github.com/users/springna-tsai", "html_url": "https://github.com/springna-tsai", "followers_url": "https://api.github.com/users/springna-tsai/followers", "following_url": "https://api.github.com/users/springna-tsai/following{/other_user}", "gists_url": "https://api.github.com/users/springna-tsai/gists{/gist_id}", "starred_url": "https://api.github.com/users/springna-tsai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/springna-tsai/subscriptions", "organizations_url": "https://api.github.com/users/springna-tsai/orgs", "repos_url": "https://api.github.com/users/springna-tsai/repos", "events_url": "https://api.github.com/users/springna-tsai/events{/privacy}", "received_events_url": "https://api.github.com/users/springna-tsai/received_events", "type": "User", "site_admin": false }
[ { "id": 4771944522, "node_id": "LA_kwDODCoeTs8AAAABHG4YSg", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:redirect-forum", "name": "status:redirect-forum", "color": "FEF2C0", "default": false, "description": "This question belongs in the forum" } ]
closed
false
null
[]
null
1
2022-11-24T06:46:12
2022-11-25T08:55:59
2022-11-25T08:55:59
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Hello there! I have a python code that calculates the inventory with openpyxl, and I usually save it in excel(xlsx.) format. It succeeds when operating from the terminal in my computer, however, it seems that openpyxl fails to operate after deploying it to the remote app. I notice that it showed the message for all dependencies: ``` Attempting to uninstall: openpyxl Found existing installation: openpyxl 3.0.10 Uninstalling openpyxl-3.0.10: Successfully uninstalled openpyxl-3.0.10 ``` Maybe it's the reason that cause the issue mentioned above. How can I solve the issues, and could I automate the file(Inventory Log Book.xlsx) using openpyxl as I do locally? Thanks and best wishes for your day ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior the link [[http://my.app#myid](http://my.app/#myid) ](https://springna-tsai-nivea--app--bd8txq.streamlit.app/) will jump to my markdown ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.51.1 - Python version: 3.9 - Operating System: macOS 12.5 - Browser: Chrome - Virtual environment: conda ### Additional Information _No response_ ### Are you willing to submit a PR? - [X] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5760/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5760/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5759
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5759/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5759/comments
https://api.github.com/repos/streamlit/streamlit/issues/5759/events
https://github.com/streamlit/streamlit/issues/5759
1,462,599,239
I_kwDODCoeTs5XLX5H
5,759
Space below title differs between `st.title` and `st.write("# ...")`
{ "login": "jrieke", "id": 5103165, "node_id": "MDQ6VXNlcjUxMDMxNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/5103165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jrieke", "html_url": "https://github.com/jrieke", "followers_url": "https://api.github.com/users/jrieke/followers", "following_url": "https://api.github.com/users/jrieke/following{/other_user}", "gists_url": "https://api.github.com/users/jrieke/gists{/gist_id}", "starred_url": "https://api.github.com/users/jrieke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jrieke/subscriptions", "organizations_url": "https://api.github.com/users/jrieke/orgs", "repos_url": "https://api.github.com/users/jrieke/repos", "events_url": "https://api.github.com/users/jrieke/events{/privacy}", "received_events_url": "https://api.github.com/users/jrieke/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 2567817581, "node_id": "MDU6TGFiZWwyNTY3ODE3NTgx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:styling", "name": "area:styling", "color": "C2E0C6", "default": false, "description": "" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" } ]
closed
false
{ "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false }
[ { "login": "sfc-gh-tszerszen", "id": 78742618, "node_id": "MDQ6VXNlcjc4NzQyNjE4", "avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tszerszen", "html_url": "https://github.com/sfc-gh-tszerszen", "followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers", "following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos", "events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events", "type": "User", "site_admin": false } ]
null
1
2022-11-24T00:38:24
2022-12-09T15:44:26
2022-12-09T15:44:26
COLLABORATOR
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary If you do `st.title` and then `st.write` the space between the two elements is a bit larger than if you do ``` st.write( """ # Title something else """ ) ``` ### Reproducible Code Example ```Python import streamlit as st st.title("Title") st.write("Some text bla bla blub") st.write(""" # Title Some text bla bla blub """) ``` ### Steps To Reproduce Run the app. ### Expected Behavior Space between title and the first text line should be equal in both cases. ### Current Behavior It's not! The space is a bit larger in the first case: ![CleanShot 2022-11-24 at 01 36 17](https://user-images.githubusercontent.com/5103165/203669023-b1bc2bf4-82f8-4d44-891f-dd184d14bc7e.png) Looking at dev tools, I think this is just ~~because of the gap in the flex container~~ (see below). Not sure if we can fix that: ![CleanShot 2022-11-24 at 01 40 57](https://user-images.githubusercontent.com/5103165/203669517-4015f54d-ca63-4a2c-9072-353c7dc5dc08.png) ### Is this a regression? - [x] Yes, this used to work in a previous version. (see my comment below, worked in 1.12.0 but broken for >= 1.13.0) ### Debug info - Streamlit version: 1.15.1 - Python version: 3.9 - Operating System: MacOS - Browser: Chrome - Virtual environment: pipenv ### Additional Information ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5759/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5758
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5758/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5758/comments
https://api.github.com/repos/streamlit/streamlit/issues/5758/events
https://github.com/streamlit/streamlit/issues/5758
1,462,498,220
I_kwDODCoeTs5XK_Os
5,758
experimental_memo decorator failed to persist to 'disk' after upgrading to 1.15
{ "login": "LiyeTeza", "id": 118476230, "node_id": "U_kgDOBw_Nxg", "avatar_url": "https://avatars.githubusercontent.com/u/118476230?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LiyeTeza", "html_url": "https://github.com/LiyeTeza", "followers_url": "https://api.github.com/users/LiyeTeza/followers", "following_url": "https://api.github.com/users/LiyeTeza/following{/other_user}", "gists_url": "https://api.github.com/users/LiyeTeza/gists{/gist_id}", "starred_url": "https://api.github.com/users/LiyeTeza/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/LiyeTeza/subscriptions", "organizations_url": "https://api.github.com/users/LiyeTeza/orgs", "repos_url": "https://api.github.com/users/LiyeTeza/repos", "events_url": "https://api.github.com/users/LiyeTeza/events{/privacy}", "received_events_url": "https://api.github.com/users/LiyeTeza/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 2258739424, "node_id": "MDU6TGFiZWwyMjU4NzM5NDI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response", "name": "status:awaiting-user-response", "color": "FEF2C0", "default": false, "description": "Issue requires clarification from submitter" }, { "id": 2856044535, "node_id": "MDU6TGFiZWwyODU2MDQ0NTM1", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce", "name": "status:cannot-reproduce", "color": "FEF2C0", "default": false, "description": "The Streamlit team is unable to reproduce the described behavior" } ]
closed
false
null
[]
null
2
2022-11-23T22:39:49
2022-12-13T23:36:42
2022-12-13T23:36:41
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary experimental_memo decorator failed to persist to 'disk' after upgrading to 1.15 from 1.14.1 ### Reproducible Code Example ```Python import streamlit as st disk_memo = st.experimental_memo(suppress_st_warning=True, persist='disk', show_spinner=False) @disk_memo def func(a=1): return a+1 ``` ### Steps To Reproduce run the code. No cache file is produced at ~/.streamlit/cache ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.50 - Python version: 3.10.8 - Operating System: MacOS 13.0.1 - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5758/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5758/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5757
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5757/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5757/comments
https://api.github.com/repos/streamlit/streamlit/issues/5757/events
https://github.com/streamlit/streamlit/issues/5757
1,462,468,182
I_kwDODCoeTs5XK35W
5,757
Crash after hours
{ "login": "andressantamaria2003", "id": 62310611, "node_id": "MDQ6VXNlcjYyMzEwNjEx", "avatar_url": "https://avatars.githubusercontent.com/u/62310611?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andressantamaria2003", "html_url": "https://github.com/andressantamaria2003", "followers_url": "https://api.github.com/users/andressantamaria2003/followers", "following_url": "https://api.github.com/users/andressantamaria2003/following{/other_user}", "gists_url": "https://api.github.com/users/andressantamaria2003/gists{/gist_id}", "starred_url": "https://api.github.com/users/andressantamaria2003/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andressantamaria2003/subscriptions", "organizations_url": "https://api.github.com/users/andressantamaria2003/orgs", "repos_url": "https://api.github.com/users/andressantamaria2003/repos", "events_url": "https://api.github.com/users/andressantamaria2003/events{/privacy}", "received_events_url": "https://api.github.com/users/andressantamaria2003/received_events", "type": "User", "site_admin": false }
[ { "id": 4771944522, "node_id": "LA_kwDODCoeTs8AAAABHG4YSg", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:redirect-forum", "name": "status:redirect-forum", "color": "FEF2C0", "default": false, "description": "This question belongs in the forum" } ]
closed
false
null
[]
null
1
2022-11-23T22:08:41
2022-11-25T06:29:45
2022-11-25T06:29:45
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary Hello I have an streamlit app running on windows And when i am running locally 0 problems But when i open to the internet it crash hours leater ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior ValueError: too many file descriptors in select() ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: latest - Python version: 3.10 - Operating System: Windows - Browser: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5757/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5757/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5756
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5756/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5756/comments
https://api.github.com/repos/streamlit/streamlit/issues/5756/events
https://github.com/streamlit/streamlit/issues/5756
1,461,068,794
I_kwDODCoeTs5XFiP6
5,756
Optionally add line numbers to `st.code` output
{ "login": "alexscott-ff", "id": 89804861, "node_id": "MDQ6VXNlcjg5ODA0ODYx", "avatar_url": "https://avatars.githubusercontent.com/u/89804861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexscott-ff", "html_url": "https://github.com/alexscott-ff", "followers_url": "https://api.github.com/users/alexscott-ff/followers", "following_url": "https://api.github.com/users/alexscott-ff/following{/other_user}", "gists_url": "https://api.github.com/users/alexscott-ff/gists{/gist_id}", "starred_url": "https://api.github.com/users/alexscott-ff/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexscott-ff/subscriptions", "organizations_url": "https://api.github.com/users/alexscott-ff/orgs", "repos_url": "https://api.github.com/users/alexscott-ff/repos", "events_url": "https://api.github.com/users/alexscott-ff/events{/privacy}", "received_events_url": "https://api.github.com/users/alexscott-ff/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 4851189954, "node_id": "LA_kwDODCoeTs8AAAABISdIwg", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.code", "name": "feature:st.code", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
3
2022-11-23T05:48:43
2022-12-06T16:06:19
null
NONE
null
### Problem `st.code()` is great but doesn't output line numbers. They would be very helpful in a lot of contexts though; e.g. to reference a line number in a big block of code, to more easily see and highlight an error in say, a SQL block of code, where there is a missing comma. ### Solution Provide an argument and functionality to optionally display line numbers with `st.code()`. A pretty cool solution as an example, not sure if useful: https://codepen.io/heiswayi/pen/jyKYyg Relevant SO question: https://stackoverflow.com/questions/36122803/how-to-display-line-numbers-using-github-flavored-markdown-code
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5756/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5756/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5755
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5755/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5755/comments
https://api.github.com/repos/streamlit/streamlit/issues/5755/events
https://github.com/streamlit/streamlit/pull/5755
1,460,927,353
PR_kwDODCoeTs5DhGO7
5,755
Add a new make target to only install build dependencies
{ "login": "vdonato", "id": 3144420, "node_id": "MDQ6VXNlcjMxNDQ0MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdonato", "html_url": "https://github.com/vdonato", "followers_url": "https://api.github.com/users/vdonato/followers", "following_url": "https://api.github.com/users/vdonato/following{/other_user}", "gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}", "starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vdonato/subscriptions", "organizations_url": "https://api.github.com/users/vdonato/orgs", "repos_url": "https://api.github.com/users/vdonato/repos", "events_url": "https://api.github.com/users/vdonato/events{/privacy}", "received_events_url": "https://api.github.com/users/vdonato/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-23T03:25:59
2022-11-27T01:41:43
2022-11-27T01:41:40
COLLABORATOR
null
## 📚 Context Some of our internal Snowpark conda builds of Streamlit ran into some issues installing `pre-commit` on the machines that they run on. We really don't need pre-commit at all when *building* Streamlit (the code has already gone through CI + code review at that point, so running pre-commit again is redundant), so we might as well skip installing it completely. This PR does this by adding a new make target: `make build-deps`, which works the same way as `make mini-devel`, but intentionally omits the `pre-commit` installation. We also start using this target in place of `mini-devel` in the `package` and `conda-package` targets. - What kind of change does this PR introduce? - [x] Other, please describe: new make target
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5755/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5755/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5755", "html_url": "https://github.com/streamlit/streamlit/pull/5755", "diff_url": "https://github.com/streamlit/streamlit/pull/5755.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5755.patch", "merged_at": "2022-11-27T01:41:40" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5754
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5754/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5754/comments
https://api.github.com/repos/streamlit/streamlit/issues/5754/events
https://github.com/streamlit/streamlit/pull/5754
1,460,535,884
PR_kwDODCoeTs5Dfu0j
5,754
`deprecation_util.py` (formerly `beta_util.py`)
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-22T20:52:13
2022-11-22T22:25:04
2022-11-22T22:25:01
COLLABORATOR
null
- Renames `beta_util` to `deprecation_util` - adds support for deprecating `experimental_` methods - Adds proper type annotations to the deprecation wrapper functions, which should help with IDE autocomplete
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5754/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5754/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5754", "html_url": "https://github.com/streamlit/streamlit/pull/5754", "diff_url": "https://github.com/streamlit/streamlit/pull/5754.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5754.patch", "merged_at": "2022-11-22T22:25:01" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5753
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5753/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5753/comments
https://api.github.com/repos/streamlit/streamlit/issues/5753/events
https://github.com/streamlit/streamlit/issues/5753
1,460,524,403
I_kwDODCoeTs5XDdVz
5,753
Streamlit fails from Docker: MediaFileStorageError
{ "login": "ghost", "id": 10137, "node_id": "MDQ6VXNlcjEwMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghost", "html_url": "https://github.com/ghost", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "organizations_url": "https://api.github.com/users/ghost/orgs", "repos_url": "https://api.github.com/users/ghost/repos", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "received_events_url": "https://api.github.com/users/ghost/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
2
2022-11-22T20:41:43
2023-01-09T17:44:48
2022-11-23T01:41:55
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I'm trying to run a Streamlit app from within a Docker container. I have the appropriate port opened (in my case `STREAMLIT_SERVER_PORT=3500`), and after runningL streamlit run <path to my app> --server.fileWatcherType=none I get the expected output in the console: ``` You can now view your Streamlit app in your browser. Network URL: http://172.18.0.5:3500 External URL: http://50.220.19.194:3500 ``` However, when I open the URL, I get the following error: ``` MediaFileStorageError: Error opening 'assets/navbar_logo.png' ``` ### Reproducible Code Example ```Python Not applicable ``` ### Steps To Reproduce 1. Deploy streamlit app to Docker 2. Fire up container for app 3. run `streamlit run <path to my app> --server.fileWatcherType=none` 4. Follow URL displayed following streamlit command ### Expected Behavior _No response_ ### Current Behavior Here is the full error: ``` Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 564, in _run_script exec(code, module.__dict__) File "/var/repos/pie_live/research/projections/pitchers/pitcher_proj_app.py", line 35, in <module> st.sidebar.image("assets/navbar_logo.png", use_column_width=True) File "/usr/local/lib/python3.8/site-packages/streamlit/runtime/metrics_util.py", line 311, in wrapped_func result = non_optional_func(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/streamlit/elements/image.py", line 146, in image marshall_images( File "/usr/local/lib/python3.8/site-packages/streamlit/elements/image.py", line 516, in marshall_images proto_img.url = image_to_url( File "/usr/local/lib/python3.8/site-packages/streamlit/elements/image.py", line 348, in image_to_url url = runtime.get_instance().media_file_mgr.add(image, mimetype, image_id) File "/usr/local/lib/python3.8/site-packages/streamlit/runtime/media_file_manager.py", line 222, in add file_id = self._storage.load_and_get_id( File "/usr/local/lib/python3.8/site-packages/streamlit/runtime/memory_media_file_storage.py", line 115, in load_and_get_id file_data = self._read_file(path_or_data) File "/usr/local/lib/python3.8/site-packages/streamlit/runtime/memory_media_file_storage.py", line 167, in _read_file raise MediaFileStorageError(f"Error opening '{filename}'") from ex streamlit.runtime.media_file_storage.MediaFileStorageError: Error opening 'assets/navbar_logo.png' ``` ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15 - Python version: 3.9 - Operating System: macOS - Browser: Chrome - Virtual environment: Docker ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5753/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5751
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5751/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5751/comments
https://api.github.com/repos/streamlit/streamlit/issues/5751/events
https://github.com/streamlit/streamlit/pull/5751
1,460,444,244
PR_kwDODCoeTs5Dfa4g
5,751
Fix py_snowflake job for Nightly Release
{ "login": "mayagbarnes", "id": 63436329, "node_id": "MDQ6VXNlcjYzNDM2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayagbarnes", "html_url": "https://github.com/mayagbarnes", "followers_url": "https://api.github.com/users/mayagbarnes/followers", "following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}", "gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}", "starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions", "organizations_url": "https://api.github.com/users/mayagbarnes/orgs", "repos_url": "https://api.github.com/users/mayagbarnes/repos", "events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}", "received_events_url": "https://api.github.com/users/mayagbarnes/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-22T19:32:32
2022-11-23T04:14:56
2022-11-23T04:14:54
COLLABORATOR
null
## 📚 Context `py_snowflake` job is now being skipped in the nightly - [link to run](https://github.com/streamlit/streamlit/actions/runs/3520991277) - I believe this is because we need to add the github event `schedule` to the if check - What kind of change does this PR introduce? - [x] Bugfix --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5751/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5751/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5751", "html_url": "https://github.com/streamlit/streamlit/pull/5751", "diff_url": "https://github.com/streamlit/streamlit/pull/5751.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5751.patch", "merged_at": "2022-11-23T04:14:54" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5750
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5750/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5750/comments
https://api.github.com/repos/streamlit/streamlit/issues/5750/events
https://github.com/streamlit/streamlit/issues/5750
1,460,276,293
I_kwDODCoeTs5XCgxF
5,750
Security: remove known exploit by updating pillow version requirement
{ "login": "JMBurley", "id": 23153616, "node_id": "MDQ6VXNlcjIzMTUzNjE2", "avatar_url": "https://avatars.githubusercontent.com/u/23153616?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JMBurley", "html_url": "https://github.com/JMBurley", "followers_url": "https://api.github.com/users/JMBurley/followers", "following_url": "https://api.github.com/users/JMBurley/following{/other_user}", "gists_url": "https://api.github.com/users/JMBurley/gists{/gist_id}", "starred_url": "https://api.github.com/users/JMBurley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JMBurley/subscriptions", "organizations_url": "https://api.github.com/users/JMBurley/orgs", "repos_url": "https://api.github.com/users/JMBurley/repos", "events_url": "https://api.github.com/users/JMBurley/events{/privacy}", "received_events_url": "https://api.github.com/users/JMBurley/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 1522696937, "node_id": "MDU6TGFiZWwxNTIyNjk2OTM3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:security", "name": "area:security", "color": "C2E0C6", "default": false, "description": "" } ]
open
false
null
[]
null
3
2022-11-22T17:24:59
2022-12-07T21:42:17
null
NONE
null
### Problem Streamlit has an enforced dependency on `pillow>=6.2.0` that has severe security issues (CVE-2022-30595, CVE-2022-45198) when updated versions (pillow>=9.2.0) would remove this flaw. Because of pillow 6.2.0 any install of streamlit (using typical package mgmt processes) can introduce an exploit unless concurrently installing another package with a suitably high pillow pin. We can and should patch streamlit to avoid this. While users can manually enforce higher pillow versions alongside streamlit to resolve this, I do not think that is appropriate. Major packages should control their dependencies and manage security rather than relying on individual users to control security downstream. ### Solution **MVP:** update pillow requirement [here](https://github.com/streamlit/streamlit/blob/219e5124d11721b73e692535526c0d3a9ea103c5/lib/setup.py#L41) to `"pillow>=9.2.0",`. **Possible additions:** I'd suggest a formal process to review dependencies within snowflake/streamlit. Security patches should not be >6 months behind current knowledge. --- Community voting on feature requests enables the Streamlit team to understand which features are most important to our users. **If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5750/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/streamlit/streamlit/issues/5750/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5749
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5749/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5749/comments
https://api.github.com/repos/streamlit/streamlit/issues/5749/events
https://github.com/streamlit/streamlit/issues/5749
1,459,475,419
I_kwDODCoeTs5W_dPb
5,749
Plotly charts ignore HEIGHT attribute after bug fix #5645
{ "login": "DirkHD-ops", "id": 66269236, "node_id": "MDQ6VXNlcjY2MjY5MjM2", "avatar_url": "https://avatars.githubusercontent.com/u/66269236?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DirkHD-ops", "html_url": "https://github.com/DirkHD-ops", "followers_url": "https://api.github.com/users/DirkHD-ops/followers", "following_url": "https://api.github.com/users/DirkHD-ops/following{/other_user}", "gists_url": "https://api.github.com/users/DirkHD-ops/gists{/gist_id}", "starred_url": "https://api.github.com/users/DirkHD-ops/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DirkHD-ops/subscriptions", "organizations_url": "https://api.github.com/users/DirkHD-ops/orgs", "repos_url": "https://api.github.com/users/DirkHD-ops/repos", "events_url": "https://api.github.com/users/DirkHD-ops/events{/privacy}", "received_events_url": "https://api.github.com/users/DirkHD-ops/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 1637089211, "node_id": "MDU6TGFiZWwxNjM3MDg5MjEx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:regression", "name": "type:regression", "color": "D93F0B", "default": false, "description": "This bug is a regression" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230105890, "node_id": "MDU6TGFiZWwzMjMwMTA1ODkw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2", "name": "priority:P2", "color": "ff4b4b", "default": false, "description": "" }, { "id": 3904044329, "node_id": "LA_kwDODCoeTs7osv0p", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.plotly_chart", "name": "feature:st.plotly_chart", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
2
2022-11-22T09:27:28
2022-11-29T22:43:02
2022-11-29T22:43:02
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary When defining a chart with Plotly Express, you can provide a HEIGHT attribute defining. Before bugfix #5645 this worked, but after this bugfix now the HEIGHT is ignored. ### Reproducible Code Example [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5749) ```Python import streamlit as st import pandas as pd import plotly.express as px data = pd.DataFrame((100,120,104,102,203,102),columns=["some_col"]) fig = px.line(data, height=100, width=200) fig.update_xaxes(visible=False, fixedrange=True) fig.update_yaxes(visible=False, fixedrange=True) fig.update_layout(annotations=[], overwrite=True) fig.update_layout( showlegend=False, plot_bgcolor="white", margin=dict(t=10,l=10,b=10,r=10) ) st.plotly_chart(fig,config=dict(displayModeBar=False)) ``` ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15. - Python version: 3.10 - Operating System: Win 10 - Browser: Edge - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5749/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5748
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5748/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5748/comments
https://api.github.com/repos/streamlit/streamlit/issues/5748/events
https://github.com/streamlit/streamlit/pull/5748
1,458,983,794
PR_kwDODCoeTs5DaXJw
5,748
Improve error message when widgets of different types have the same key
{ "login": "vdonato", "id": 3144420, "node_id": "MDQ6VXNlcjMxNDQ0MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vdonato", "html_url": "https://github.com/vdonato", "followers_url": "https://api.github.com/users/vdonato/followers", "following_url": "https://api.github.com/users/vdonato/following{/other_user}", "gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}", "starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vdonato/subscriptions", "organizations_url": "https://api.github.com/users/vdonato/orgs", "repos_url": "https://api.github.com/users/vdonato/repos", "events_url": "https://api.github.com/users/vdonato/events{/privacy}", "received_events_url": "https://api.github.com/users/vdonato/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-22T03:38:14
2022-11-27T01:42:01
2022-11-27T01:41:56
COLLABORATOR
null
## 📚 Context The message that we currently display to users when they give two widgets the same key assumes that the two widgets have the same type, which is not necessarily the case. It doesn't seem worth it to do the work (+add more complexity to this code) to include the widget types in this message given that it should already be pretty easy to find the offending widgets with the given stacktrace + key, so this PR just changes the message to not mention the widget type. - What kind of change does this PR introduce? - [x] Bugfix ## 🧠 Description of Changes - [x] This is a visible (user-facing) change ## 🌐 References Closes #5715
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5748/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5748/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5748", "html_url": "https://github.com/streamlit/streamlit/pull/5748", "diff_url": "https://github.com/streamlit/streamlit/pull/5748.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5748.patch", "merged_at": "2022-11-27T01:41:56" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5747
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5747/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5747/comments
https://api.github.com/repos/streamlit/streamlit/issues/5747/events
https://github.com/streamlit/streamlit/pull/5747
1,458,737,263
PR_kwDODCoeTs5DZgvM
5,747
Fix py_snowflake for Nightly, Release Candidate & Release
{ "login": "mayagbarnes", "id": 63436329, "node_id": "MDQ6VXNlcjYzNDM2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayagbarnes", "html_url": "https://github.com/mayagbarnes", "followers_url": "https://api.github.com/users/mayagbarnes/followers", "following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}", "gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}", "starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions", "organizations_url": "https://api.github.com/users/mayagbarnes/orgs", "repos_url": "https://api.github.com/users/mayagbarnes/repos", "events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}", "received_events_url": "https://api.github.com/users/mayagbarnes/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-21T23:18:33
2022-11-22T02:15:30
2022-11-22T02:15:27
COLLABORATOR
null
## 📚 Context `python_versions.yml` when triggered from a `workflow_dispatch` event (Nightly, Release Candidate, Release) does not have secrets access unless the workflow is specifically passed the secret(s). The PR passes the `PARAMETER_PASSWORD` necessary for `py_snowflake` test. Docs used as reference [here](https://docs.github.com/en/actions/using-workflows/reusing-workflows#creating-a-reusable-workflow). - What kind of change does this PR introduce? - [x] Bugfix --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5747/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5747", "html_url": "https://github.com/streamlit/streamlit/pull/5747", "diff_url": "https://github.com/streamlit/streamlit/pull/5747.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5747.patch", "merged_at": "2022-11-22T02:15:27" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5746
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5746/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5746/comments
https://api.github.com/repos/streamlit/streamlit/issues/5746/events
https://github.com/streamlit/streamlit/pull/5746
1,457,484,408
PR_kwDODCoeTs5DVQVs
5,746
Wrap type in quotes to support lower versions of protobuf
{ "login": "willhuang1997", "id": 16749069, "node_id": "MDQ6VXNlcjE2NzQ5MDY5", "avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willhuang1997", "html_url": "https://github.com/willhuang1997", "followers_url": "https://api.github.com/users/willhuang1997/followers", "following_url": "https://api.github.com/users/willhuang1997/following{/other_user}", "gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}", "starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions", "organizations_url": "https://api.github.com/users/willhuang1997/orgs", "repos_url": "https://api.github.com/users/willhuang1997/repos", "events_url": "https://api.github.com/users/willhuang1997/events{/privacy}", "received_events_url": "https://api.github.com/users/willhuang1997/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
0
2022-11-21T08:00:20
2022-11-22T02:16:27
2022-11-22T02:16:27
COLLABORATOR
null
We seemingly broke streamlit in 1.15.0 in https://github.com/streamlit/streamlit/issues/5742 and https://discuss.streamlit.io/t/version-1-15-returns-error/33523/10 and https://discuss.streamlit.io/t/streamlit-1-15-0-hello-run-error/33571 and likely more. It looks like the bug is being caused by protobuf versions from my debugging since I don't see that ValueType in 3.19.6. https://github.com/protocolbuffers/protobuf/blob/v3.19.6/python/google/protobuf/internal/enum_type_wrapper.py. I also tested it out and my theory holds true if u install protobuf==3.19.6 and run streamlit --version. I think we should add dependency changes to make sure they have the correct protobuf version. UPDATE: We just need to change the return type as a string
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5746/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5746/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5746", "html_url": "https://github.com/streamlit/streamlit/pull/5746", "diff_url": "https://github.com/streamlit/streamlit/pull/5746.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5746.patch", "merged_at": "2022-11-22T02:16:27" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5745
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5745/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5745/comments
https://api.github.com/repos/streamlit/streamlit/issues/5745/events
https://github.com/streamlit/streamlit/issues/5745
1,457,068,151
I_kwDODCoeTs5W2Rh3
5,745
AttributeError: 'list' object has no attribute 'get'
{ "login": "taesanbeck", "id": 63169589, "node_id": "MDQ6VXNlcjYzMTY5NTg5", "avatar_url": "https://avatars.githubusercontent.com/u/63169589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/taesanbeck", "html_url": "https://github.com/taesanbeck", "followers_url": "https://api.github.com/users/taesanbeck/followers", "following_url": "https://api.github.com/users/taesanbeck/following{/other_user}", "gists_url": "https://api.github.com/users/taesanbeck/gists{/gist_id}", "starred_url": "https://api.github.com/users/taesanbeck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taesanbeck/subscriptions", "organizations_url": "https://api.github.com/users/taesanbeck/orgs", "repos_url": "https://api.github.com/users/taesanbeck/repos", "events_url": "https://api.github.com/users/taesanbeck/events{/privacy}", "received_events_url": "https://api.github.com/users/taesanbeck/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" } ]
closed
false
null
[]
null
6
2022-11-20T22:20:11
2022-12-30T03:37:13
2022-11-22T03:08:20
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary My classmate and I are working on a project together and he sent me his app.py file and while he can run it I can not, we are both using VS code, and have installed the latest versions for the conda environment variable. ![error](https://user-images.githubusercontent.com/63169589/202928984-8bb03c56-5621-4cb4-8fe9-2b2780640bc5.JPG) ### Reproducible Code Example ```Python # Bar Graph import altair as alt import pandas as pd import streamlit as st # import K_Chart # import os # os.chdir('./Data') source = pd.read_csv('./refined_insurance.csv') source2 = pd.read_csv('./refined_insurance_2.csv') source3 = pd.read_csv('./refined_insurance_3.csv') Benefit_by_age = alt.Chart(source2).mark_bar().encode( x=alt.X('type:N',sort = ['Current','Forward','Proposed'], axis=alt.Axis(title=None, labels=False)), y='Cost:Q', color= alt.Color("type:N",scale=alt.Scale(scheme='tableau20'),legend=alt.Legend(title="Cost Type",orient="top", direction='horizontal', titleAnchor='middle')), column=alt.Column('Age Category:N',header=alt.Header(titleFontSize=20,titleColor='White',labelColor='White',labelFontSize=25)), tooltip= alt.Tooltip('Cost:Q',format = ",.0f"), ).transform_fold( as_=['type','Cost'], fold=['Current','Forward','Proposed'] ).properties(width=200,height=300).configure_axis( grid=False, labelFontSize=20, titleFontSize = 20 ).configure_legend(labelFontSize = 15,titleFontSize=15) input_dropdown = alt.binding_select(options=[True,False], name='Smoker') selection = alt.selection_single(fields=['smoker'], bind=input_dropdown) ben_age_bmi = alt.Chart(source).mark_bar().encode( x=alt.X('BMI Category:N',sort=['<25','26 - 35','36+']), y='mean(benefit/cost from proposed pricing):Q', color= alt.Color("Benefit from Proposed Price Yes/No:N", type="nominal",scale=alt.Scale(range=['#800000', ' #63ba97']),legend=None), column=alt.Column('Age Category:N',header=alt.Header(titleFontSize=20,titleColor='White',labelColor='White',labelFontSize=25)) ).interactive().add_selection( selection ).transform_filter( selection ).properties(width=200,height=300).configure_axis( grid=False, labelFontSize=20, titleFontSize = 20 ).configure_legend(labelFontSize = 15,titleFontSize=15).configure_view( strokeWidth=0 ) slider = alt.binding_range(min=.1, max=.4, step=.1) select_margin = alt.selection_single(name='Operating Margin', fields=['Operating Margin'], bind=slider, init={'Operating Margin': .4}) base = alt.Chart(source3).add_selection( select_margin ).transform_filter(select_margin).properties( width=250 ) left = base.encode( x=alt.X('Revenue Impact:Q',scale=alt.Scale(domain=(-160000,0)),axis=alt.Axis(grid=False,domain=False,tickSize=0,title='Revenue Impact',titleFontSize= 20,labelFontSize= 15)), y=alt.Y('Rev_scale:N',axis= alt.Axis(title='',grid=False,domain=False,tickSize=0,offset=10,labels=False)), color = alt.value('maroon') ).mark_bar(size=60).interactive() right = base.encode( x=alt.X('Net Profit Impact:Q',scale=alt.Scale(domain=(0,160000)),axis=alt.Axis(grid=False,domain=False,tickSize=0,title='Net Profit Impact',titleFontSize= 20,labelFontSize= 15)), y=alt.Y('NP_scale:N',axis= alt.Axis(title='',grid=False,domain=False,tickSize=0,offset=10,labels=False)), color = alt.value('green') ).mark_bar(size=60) ### APP st.image('./Forward Pic.jpg') new_title = '<p style="font-family:sans-serif; color:Green; font-size: 42px;">TEAM SLAM DUNKS FORWARD</p>' st.markdown(new_title, unsafe_allow_html=True) st.markdown(''' ## Heading 1 What is our problem and what are we looking to solve Tell the story: 1. Currently costs X per capita 2. People who are fat are paying more and older people paying more 3. go forward presents a solution that does not tailor to individual circumstances so we wanted to propose a pricing methodology that would help 4. this pricing methodology actually works better for most of those people than go forwards 149/month model ''') st.altair_chart(Benefit_by_age) st.markdown(''' ## Heading 2 How are we looking to solve it ''') st.altair_chart(ben_age_bmi) st.markdown(''' ## Business Impact Analysis From a business standpoint, a forward model with our proposed pricing model definitely results in a lower top-line. We identified this during our analysis but it was generally to the tune of 5%. To address potentially decreased incentive, we additionally propose that the government provided a tax cut depending on how efficient a company is at managing its expenses. Along those lines, we think the tax rate cut should be 25%, 50%, 75%, and 100 percent if the company in question achieved 10%, 20%, 30%, or 40% Operating Margin, respectively. The chart below showcases that, while companies would see a general decline in top-line, such tax rate cuts would result in a substantial increase to bottom-line - more than compensating for the decline in revenues. ''') col1, col2 = st.columns(2) with col1: st.altair_chart(alt.concat(left,right,spacing = 0).configure_view(width=250,height=200,strokeWidth = 0)) source3.loc[:, "Operating Margin"] =source3["Operating Margin"].map('{:.2%}'.format) source3 = source3.set_index('Operating Margin') with col2: st.write(source3[['Revenue Impact','Net Profit Impact']],use_container_width = True ) st.sidebar.image(image='./Forward Pic.jpg',width=200, caption='TEAM SLAM DUNKS FORWARD') ``` ### Steps To Reproduce 1. make sure you have the csv required 2. label the code app.py 3. open the code file with all csv's in the same directory 4. In the Terminal type streamlit run app.py [refined_insurance.csv](https://github.com/streamlit/streamlit/files/10050820/refined_insurance.csv) [refined_insurance_2.csv](https://github.com/streamlit/streamlit/files/10050821/refined_insurance_2.csv) [refined_insurance_3.csv](https://github.com/streamlit/streamlit/files/10050822/refined_insurance_3.csv) [refined_insurance_v2.csv](https://github.com/streamlit/streamlit/files/10050823/refined_insurance_v2.csv) [refined_insurance_v3.csv](https://github.com/streamlit/streamlit/files/10050824/refined_insurance_v3.csv) [insurance3r2.csv](https://github.com/streamlit/streamlit/files/10050825/insurance3r2.csv) ### Expected Behavior It should render a streamlit webpage, at least for Him it does, but the same code and files produce the above error for me. ### Current Behavior Traceback: File "C:\Users\taesa\anaconda3\lib\site-packages\streamlit\scriptrunner\script_runner.py", line 557, in _run_script exec(code, module.__dict__) File "app.py", line 13, in <module> Benefit_by_age = alt.Chart(source2).mark_bar().encode( File "C:\Users\taesa\anaconda3\lib\site-packages\altair\vegalite\v4\api.py", line 1159, in transform_fold return self._add_transform(core.FoldTransform(fold=fold, **{"as": as_})) File "C:\Users\taesa\anaconda3\lib\site-packages\altair\vegalite\v4\schema\core.py", line 18192, in __init__ super(FoldTransform, self).__init__(fold=fold, **kwds) File "C:\Users\taesa\anaconda3\lib\site-packages\altair\vegalite\v4\schema\core.py", line 17975, in __init__ super(Transform, self).__init__(*args, **kwds) File "C:\Users\taesa\anaconda3\lib\site-packages\altair\utils\schemapi.py", line 176, in __init__ self.to_dict(validate=True) File "C:\Users\taesa\anaconda3\lib\site-packages\altair\utils\schemapi.py", line 337, in to_dict self.validate(result) File "C:\Users\taesa\anaconda3\lib\site-packages\altair\utils\schemapi.py", line 442, in validate return jsonschema.validate(instance, schema, resolver=resolver) File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 1108, in validate error = exceptions.best_match(validator.iter_errors(instance)) File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\exceptions.py", line 382, in best_match best = next(errors, None) File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 278, in iter_errors for error in errors: File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\_validators.py", line 298, in ref yield from validator.descend(instance, resolved) File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 295, in descend for error in self.evolve(schema=schema).iter_errors(instance): File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 278, in iter_errors for error in errors: File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\_validators.py", line 332, in properties yield from validator.descend( File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 295, in descend for error in self.evolve(schema=schema).iter_errors(instance): File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 278, in iter_errors for error in errors: File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\_validators.py", line 76, in items yield from validator.descend( File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 295, in descend for error in self.evolve(schema=schema).iter_errors(instance): File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 268, in iter_errors scope = id_of(_schema) File "C:\Users\taesa\anaconda3\lib\site-packages\jsonschema\validators.py", line 101, in _id_of return schema.get("$id", "") ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: Streamlit, version 1.11.0 - Python version: 3.10.8 - Operating System: Win10 64bit - Browser: Google Chrome - Virtual environment: Conda inside of VS code (my own VS code not the one in anaconda3, I just use that environment variable) ### Additional Information [refined_insurance.csv](https://github.com/streamlit/streamlit/files/10050829/refined_insurance.csv) [refined_insurance_2.csv](https://github.com/streamlit/streamlit/files/10050830/refined_insurance_2.csv) [refined_insurance_3.csv](https://github.com/streamlit/streamlit/files/10050831/refined_insurance_3.csv) [refined_insurance_v2.csv](https://github.com/streamlit/streamlit/files/10050832/refined_insurance_v2.csv) [refined_insurance_v3.csv](https://github.com/streamlit/streamlit/files/10050833/ ![Forward Pic](https://user-images.githubusercontent.com/63169589/202929347-ef13d210-85b8-44ce-bab7-b52246227878.jpg) refined_insurance_v3.csv) ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5745/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5744
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5744/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5744/comments
https://api.github.com/repos/streamlit/streamlit/issues/5744/events
https://github.com/streamlit/streamlit/issues/5744
1,456,571,309
I_kwDODCoeTs5W0YOt
5,744
Allow st.selectbox to accept an arbitrary value
{ "login": "steve7734", "id": 10487423, "node_id": "MDQ6VXNlcjEwNDg3NDIz", "avatar_url": "https://avatars.githubusercontent.com/u/10487423?v=4", "gravatar_id": "", "url": "https://api.github.com/users/steve7734", "html_url": "https://github.com/steve7734", "followers_url": "https://api.github.com/users/steve7734/followers", "following_url": "https://api.github.com/users/steve7734/following{/other_user}", "gists_url": "https://api.github.com/users/steve7734/gists{/gist_id}", "starred_url": "https://api.github.com/users/steve7734/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/steve7734/subscriptions", "organizations_url": "https://api.github.com/users/steve7734/orgs", "repos_url": "https://api.github.com/users/steve7734/repos", "events_url": "https://api.github.com/users/steve7734/events{/privacy}", "received_events_url": "https://api.github.com/users/steve7734/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 3904104045, "node_id": "LA_kwDODCoeTs7os-Zt", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.selectbox", "name": "feature:st.selectbox", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
2
2022-11-19T16:43:18
2023-01-12T14:36:33
null
NONE
null
### Problem st.selectbox does not accept a value unless it is present in the options list. You can type it (because of the search feature) but it will not be accepted. This would be *so* useful, because to enter a new value at the moment I have to add an extra text field. The result is wasteful of space and confusing to the user, who sees two fields to enter the same thing. ### Solution Add a boolean parameter (FreeText?) to allow st.selectbox to accept and return the text that has been typed in by the user, even when it does not exist in the list. --- Community voting on feature requests enables the Streamlit team to understand which features are most important to our users. **If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5744/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5744/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5743
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5743/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5743/comments
https://api.github.com/repos/streamlit/streamlit/issues/5743/events
https://github.com/streamlit/streamlit/issues/5743
1,456,523,883
I_kwDODCoeTs5W0Mpr
5,743
Version 1.15.0 not working (windows 10, anaconda python version = 3.9.12)
{ "login": "MaartenHBP", "id": 109026625, "node_id": "U_kgDOBn-dQQ", "avatar_url": "https://avatars.githubusercontent.com/u/109026625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MaartenHBP", "html_url": "https://github.com/MaartenHBP", "followers_url": "https://api.github.com/users/MaartenHBP/followers", "following_url": "https://api.github.com/users/MaartenHBP/following{/other_user}", "gists_url": "https://api.github.com/users/MaartenHBP/gists{/gist_id}", "starred_url": "https://api.github.com/users/MaartenHBP/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MaartenHBP/subscriptions", "organizations_url": "https://api.github.com/users/MaartenHBP/orgs", "repos_url": "https://api.github.com/users/MaartenHBP/repos", "events_url": "https://api.github.com/users/MaartenHBP/events{/privacy}", "received_events_url": "https://api.github.com/users/MaartenHBP/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 2603943013, "node_id": "MDU6TGFiZWwyNjAzOTQzMDEz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/package:protobuf", "name": "package:protobuf", "color": "00d4b1", "default": false, "description": "Related to protobuf" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230102628, "node_id": "MDU6TGFiZWwzMjMwMTAyNjI4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P0", "name": "priority:P0", "color": "ff4b4b", "default": false, "description": "" }, { "id": 4762245906, "node_id": "LA_kwDODCoeTs8AAAABG9obEg", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:in-progress", "name": "status:in-progress", "color": "FEF2C0", "default": false, "description": "We're working on fixing this issue" } ]
closed
false
null
[]
null
3
2022-11-19T14:53:50
2022-11-22T03:10:12
2022-11-22T03:10:11
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I just installed streamlit version 1.15.0 (windows 10, anaconda python version = 3.9.12) and when running "streamlit hello" (or any other "streamlit run <python script>") I got the following error: (... is where python is installed) Traceback (most recent call last): File "...\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "...\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "...\Scripts\streamlit.exe\__main__.py", line 4, in <module> File "...\lib\site-packages\streamlit\__init__.py", line 55, in <module> from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator File "...\lib\site-packages\streamlit\delta_generator.py", line 45, in <module> from streamlit.elements.arrow_altair import ArrowAltairMixin File "...\lib\site-packages\streamlit\elements\arrow_altair.py", line 42, in <module> from streamlit.elements.utils import last_index_for_melted_dataframes File "...\lib\site-packages\streamlit\elements\utils.py", line 82, in <module> ) -> LabelVisibilityMessage.LabelVisibilityOptions.ValueType: File "...\lib\site-packages\google\protobuf\internal\enum_type_wrapper.py", line 114, in __getattr__ raise AttributeError('Enum {} has no value defined for name {!r}'.format( AttributeError: Enum LabelVisibilityOptions has no value defined for name 'ValueType' Downgrading to version 1.14.0 seemed to fix the issue. ### Reproducible Code Example _No response_ ### Steps To Reproduce pip install streamlit streamlit hello ### Expected Behavior _No response_ ### Current Behavior ``` Traceback (most recent call last): File "...\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "...\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "...\Scripts\streamlit.exe\__main__.py", line 4, in <module> File "...\lib\site-packages\streamlit\__init__.py", line 55, in <module> from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator File "...\lib\site-packages\streamlit\delta_generator.py", line 45, in <module> from streamlit.elements.arrow_altair import ArrowAltairMixin File "...\lib\site-packages\streamlit\elements\arrow_altair.py", line 42, in <module> from streamlit.elements.utils import last_index_for_melted_dataframes File "...\lib\site-packages\streamlit\elements\utils.py", line 82, in <module> ) -> LabelVisibilityMessage.LabelVisibilityOptions.ValueType: File "...\lib\site-packages\google\protobuf\internal\enum_type_wrapper.py", line 114, in __getattr__ raise AttributeError('Enum {} has no value defined for name {!r}'.format( AttributeError: Enum LabelVisibilityOptions has no value defined for name 'ValueType' ``` ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.0 - Python version: 3.9.12 - Operating System: Windows 10 - Browser: Chrome - Virtual environment: conda ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5743/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5743/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5742
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5742/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5742/comments
https://api.github.com/repos/streamlit/streamlit/issues/5742/events
https://github.com/streamlit/streamlit/issues/5742
1,456,523,066
I_kwDODCoeTs5W0Mc6
5,742
Version 1.15.0 outputs Error when importing streamlit
{ "login": "kompleksanda", "id": 46966054, "node_id": "MDQ6VXNlcjQ2OTY2MDU0", "avatar_url": "https://avatars.githubusercontent.com/u/46966054?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kompleksanda", "html_url": "https://github.com/kompleksanda", "followers_url": "https://api.github.com/users/kompleksanda/followers", "following_url": "https://api.github.com/users/kompleksanda/following{/other_user}", "gists_url": "https://api.github.com/users/kompleksanda/gists{/gist_id}", "starred_url": "https://api.github.com/users/kompleksanda/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kompleksanda/subscriptions", "organizations_url": "https://api.github.com/users/kompleksanda/orgs", "repos_url": "https://api.github.com/users/kompleksanda/repos", "events_url": "https://api.github.com/users/kompleksanda/events{/privacy}", "received_events_url": "https://api.github.com/users/kompleksanda/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 2603943013, "node_id": "MDU6TGFiZWwyNjAzOTQzMDEz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/package:protobuf", "name": "package:protobuf", "color": "00d4b1", "default": false, "description": "Related to protobuf" }, { "id": 3022365121, "node_id": "MDU6TGFiZWwzMDIyMzY1MTIx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed", "name": "status:confirmed", "color": "FEF2C0", "default": false, "description": "This bug has been confirmed by the Streamlit team" }, { "id": 3230102628, "node_id": "MDU6TGFiZWwzMjMwMTAyNjI4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P0", "name": "priority:P0", "color": "ff4b4b", "default": false, "description": "" }, { "id": 3761992489, "node_id": "LA_kwDODCoeTs7gO3Mp", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:duplicate", "name": "status:duplicate", "color": "FEF2C0", "default": false, "description": "This issue is a duplicate" }, { "id": 4762245906, "node_id": "LA_kwDODCoeTs8AAAABG9obEg", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:in-progress", "name": "status:in-progress", "color": "FEF2C0", "default": false, "description": "We're working on fixing this issue" } ]
closed
false
null
[]
null
6
2022-11-19T14:52:26
2022-11-22T03:11:12
2022-11-22T03:11:12
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary The latest version 1.15.0 does not import without error. I had to install the older version 1.14.1 for me to use streamlit Streamlit version 1.15.0 was released on November 17 and I started getting this error since then, ### Reproducible Code Example ```Python pip install streamlit #Installs latest version which is equivalent to "pip install streamlit==1.15.0" import streamlit ``` ### Steps To Reproduce _No response_ ### Expected Behavior --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-3-12b511d36365> in <module> ----> 1 import streamlit 4 frames /usr/local/lib/python3.7/dist-packages/streamlit/__init__.py in <module> 53 __version__ = _STREAMLIT_VERSION_STRING 54 ---> 55 from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator 56 from streamlit.proto.RootContainer_pb2 import RootContainer as _RootContainer 57 from streamlit.runtime.caching import ( /usr/local/lib/python3.7/dist-packages/streamlit/delta_generator.py in <module> 43 # We select between them with the DataFrameElementSelectorMixin. 44 from streamlit.elements.arrow import ArrowMixin ---> 45 from streamlit.elements.arrow_altair import ArrowAltairMixin 46 from streamlit.elements.arrow_vega_lite import ArrowVegaLiteMixin 47 from streamlit.elements.balloons import BalloonsMixin /usr/local/lib/python3.7/dist-packages/streamlit/elements/arrow_altair.py in <module> 40 from streamlit import type_util 41 from streamlit.elements.arrow import Data ---> 42 from streamlit.elements.utils import last_index_for_melted_dataframes 43 from streamlit.errors import StreamlitAPIException 44 from streamlit.proto.ArrowVegaLiteChart_pb2 import ( /usr/local/lib/python3.7/dist-packages/streamlit/elements/utils.py in <module> 80 def get_label_visibility_proto_value( 81 label_visibility_string: type_util.LabelVisibility, ---> 82 ) -> LabelVisibilityMessage.LabelVisibilityOptions.ValueType: 83 """Returns one of LabelVisibilityMessage enum constants based on string value.""" 84 /usr/local/lib/python3.7/dist-packages/google/protobuf/internal/enum_type_wrapper.py in __getattr__(self, name) 113 pass # fall out to break exception chaining 114 raise AttributeError('Enum {} has no value defined for name {!r}'.format( --> 115 self._enum_type.name, name)) AttributeError: Enum LabelVisibilityOptions has no value defined for name 'ValueType' ### Current Behavior _No response_ ### Is this a regression? - [x] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.0 - Python version: 3.7.15 - Operating System: Google Colab - Browser: Chrome - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5742/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5742/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5741
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5741/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5741/comments
https://api.github.com/repos/streamlit/streamlit/issues/5741/events
https://github.com/streamlit/streamlit/issues/5741
1,456,414,391
I_kwDODCoeTs5Wzx63
5,741
Streamlit overwriting Ids in in markdown headings
{ "login": "coolkau", "id": 20328478, "node_id": "MDQ6VXNlcjIwMzI4NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/20328478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/coolkau", "html_url": "https://github.com/coolkau", "followers_url": "https://api.github.com/users/coolkau/followers", "following_url": "https://api.github.com/users/coolkau/following{/other_user}", "gists_url": "https://api.github.com/users/coolkau/gists{/gist_id}", "starred_url": "https://api.github.com/users/coolkau/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/coolkau/subscriptions", "organizations_url": "https://api.github.com/users/coolkau/orgs", "repos_url": "https://api.github.com/users/coolkau/repos", "events_url": "https://api.github.com/users/coolkau/events{/privacy}", "received_events_url": "https://api.github.com/users/coolkau/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 1846473688, "node_id": "MDU6TGFiZWwxODQ2NDczNjg4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.markdown", "name": "feature:st.markdown", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
4
2022-11-19T11:37:30
2022-11-28T22:34:39
null
NONE
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary I have a html markdown string ```<h1 id="myid">my_text</h1>``` which streamlit turns into ```<h1 id="my_text">[...]"my_text"[...]</h1>``` which makes it impossible to use ids for naviation if you have headers with the same title, e.g. called "Example"... ### Reproducible Code Example ```Python import streamlit as st st.markdown("<h1 id="myid">my_text</h1>", unsafe_html=True) ``` ### Steps To Reproduce _No response_ ### Expected Behavior the link http://my.app#myid will jump to my markdown ### Current Behavior the link http://my.app#myid will not do anything the autogenerated http://my.app#my_text will also not do anything id you have several headers with the same title ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.13.0 - Python version: 3.9 - Operating System: Win - Browser: Firefox - Virtual environment:venv ### Additional Information Dont overwrite the ID if one is already provided, should be fixed by a simple if clause at the right spot ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5741/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5740
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5740/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5740/comments
https://api.github.com/repos/streamlit/streamlit/issues/5740/events
https://github.com/streamlit/streamlit/issues/5740
1,456,216,896
I_kwDODCoeTs5WzBtA
5,740
The app URL in the "Over resource limits on Streamlit Cloud" report is not correct with custom domains
{ "login": "whitphx", "id": 3135397, "node_id": "MDQ6VXNlcjMxMzUzOTc=", "avatar_url": "https://avatars.githubusercontent.com/u/3135397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/whitphx", "html_url": "https://github.com/whitphx", "followers_url": "https://api.github.com/users/whitphx/followers", "following_url": "https://api.github.com/users/whitphx/following{/other_user}", "gists_url": "https://api.github.com/users/whitphx/gists{/gist_id}", "starred_url": "https://api.github.com/users/whitphx/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/whitphx/subscriptions", "organizations_url": "https://api.github.com/users/whitphx/orgs", "repos_url": "https://api.github.com/users/whitphx/repos", "events_url": "https://api.github.com/users/whitphx/events{/privacy}", "received_events_url": "https://api.github.com/users/whitphx/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285324, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug", "name": "type:bug", "color": "D93F0B", "default": false, "description": "Something isn't working" }, { "id": 2603950938, "node_id": "MDU6TGFiZWwyNjAzOTUwOTM4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:community-cloud", "name": "feature:community-cloud", "color": "C5DEF5", "default": false, "description": "Related to Streamlit Community Cloud" }, { "id": 3230107623, "node_id": "MDU6TGFiZWwzMjMwMTA3NjIz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3", "name": "priority:P3", "color": "ff4b4b", "default": false, "description": "" } ]
open
false
null
[]
null
1
2022-11-19T04:57:47
2022-12-07T21:41:04
null
CONTRIBUTOR
null
### Checklist - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues. - [X] I added a very descriptive title to this issue. - [X] I have provided sufficient information below to help reproduce this issue. ### Summary This issue is an example of my app -> https://github.com/whitphx/streamlit-webrtc-example/issues/184 This app is set up with a custom domain, `webrtc.streamlit.app`, so the text "your app on Streamlit Cloud deployed from this repo" in this report should be linked to https://webrtc.streamlit.app/, the root path of this host. However, it is actually linked to https://webrtc.streamlit.app/whitphx/streamlit-webrtc-example/main/app.py that contains an unnecessary path and it looks like a non-custom domain app URL. I understand this report text has been generated from the error page of Streamlit Cloud, so I think it should be fixed on it? ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: - Python version: - Operating System: - Browser: - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5740/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5739
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5739/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5739/comments
https://api.github.com/repos/streamlit/streamlit/issues/5739/events
https://github.com/streamlit/streamlit/pull/5739
1,456,081,704
PR_kwDODCoeTs5DQrFl
5,739
memo_test/singleton_test: ensure ScriptRunCtx exists
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-11-19T01:21:57
2022-11-21T21:33:44
2022-11-21T21:33:36
COLLABORATOR
null
Our new cache function "widget replay" functionality relies on a `ScriptRunContext` existing: without a `ScriptRunContext`, no values will be written to the cached function. Some of our caching tests don't create a `ScriptRunContext`. Running these tests in isolation (outside of the full test suite) currently results in test failures due to a missing context. (When run as part of the full test suite, some other ScriptRunContext-creating test will run first, which is why they don't fail in that circumstance.)
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5739/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5739/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5739", "html_url": "https://github.com/streamlit/streamlit/pull/5739", "diff_url": "https://github.com/streamlit/streamlit/pull/5739.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5739.patch", "merged_at": "2022-11-21T21:33:36" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5738
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5738/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5738/comments
https://api.github.com/repos/streamlit/streamlit/issues/5738/events
https://github.com/streamlit/streamlit/pull/5738
1,455,914,133
PR_kwDODCoeTs5DQGm5
5,738
Use newer annotations features in caching modules
{ "login": "AnOctopus", "id": 7356217, "node_id": "MDQ6VXNlcjczNTYyMTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnOctopus", "html_url": "https://github.com/AnOctopus", "followers_url": "https://api.github.com/users/AnOctopus/followers", "following_url": "https://api.github.com/users/AnOctopus/following{/other_user}", "gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions", "organizations_url": "https://api.github.com/users/AnOctopus/orgs", "repos_url": "https://api.github.com/users/AnOctopus/repos", "events_url": "https://api.github.com/users/AnOctopus/events{/privacy}", "received_events_url": "https://api.github.com/users/AnOctopus/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-11-18T22:31:20
2022-11-29T19:21:58
2022-11-29T19:21:54
COLLABORATOR
null
## 📚 Context It came up that `from __future__ import annotations` allows us to use generic builtins, type union syntax, and lazy annotations, while still being compatible with 3.7. So let's start using them. - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [x] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - [ ] This is a breaking API change - [ ] This is a visible (user-facing) change ## 🧪 Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [ ] Added/Updated e2e tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5738/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5738/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5738", "html_url": "https://github.com/streamlit/streamlit/pull/5738", "diff_url": "https://github.com/streamlit/streamlit/pull/5738.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5738.patch", "merged_at": "2022-11-29T19:21:54" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5737
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5737/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5737/comments
https://api.github.com/repos/streamlit/streamlit/issues/5737/events
https://github.com/streamlit/streamlit/pull/5737
1,455,866,883
PR_kwDODCoeTs5DP8Ei
5,737
cli.py cleanup
{ "login": "tconkling", "id": 709022, "node_id": "MDQ6VXNlcjcwOTAyMg==", "avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tconkling", "html_url": "https://github.com/tconkling", "followers_url": "https://api.github.com/users/tconkling/followers", "following_url": "https://api.github.com/users/tconkling/following{/other_user}", "gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}", "starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tconkling/subscriptions", "organizations_url": "https://api.github.com/users/tconkling/orgs", "repos_url": "https://api.github.com/users/tconkling/repos", "events_url": "https://api.github.com/users/tconkling/events{/privacy}", "received_events_url": "https://api.github.com/users/tconkling/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-11-18T21:51:25
2022-11-18T22:56:34
2022-11-18T22:56:30
COLLABORATOR
null
Drive by cleanup of `cli.py`: - Use f-strings where appropriate - Add missing type annotations - Remove unnecessary `@click.pass_context` decorator usage - Fix caching imports
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5737/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5737", "html_url": "https://github.com/streamlit/streamlit/pull/5737", "diff_url": "https://github.com/streamlit/streamlit/pull/5737.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5737.patch", "merged_at": "2022-11-18T22:56:30" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5736
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5736/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5736/comments
https://api.github.com/repos/streamlit/streamlit/issues/5736/events
https://github.com/streamlit/streamlit/pull/5736
1,455,744,505
PR_kwDODCoeTs5DPg8E
5,736
Fix snowpark integration test workflow
{ "login": "mayagbarnes", "id": 63436329, "node_id": "MDQ6VXNlcjYzNDM2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayagbarnes", "html_url": "https://github.com/mayagbarnes", "followers_url": "https://api.github.com/users/mayagbarnes/followers", "following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}", "gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}", "starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions", "organizations_url": "https://api.github.com/users/mayagbarnes/orgs", "repos_url": "https://api.github.com/users/mayagbarnes/repos", "events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}", "received_events_url": "https://api.github.com/users/mayagbarnes/received_events", "type": "User", "site_admin": false }
[ { "id": 4804598999, "node_id": "LA_kwDODCoeTs8AAAABHmBc1w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed", "name": "security-assessment-completed", "color": "69056A", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-11-18T20:19:31
2022-11-22T00:57:02
2022-11-22T00:56:59
COLLABORATOR
null
## 📚 Context The snowpark integration test in `python-versons.yml` will fail for all forks because forks don't have secrets access - necessary for the `Decrypt credentials` step in `py_snowpark`. This adjusts the if statement to check if the PR is coming from a fork. - What kind of change does this PR introduce? - [x] Other, please describe: Test Fix --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5736/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5736", "html_url": "https://github.com/streamlit/streamlit/pull/5736", "diff_url": "https://github.com/streamlit/streamlit/pull/5736.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5736.patch", "merged_at": "2022-11-22T00:56:59" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5735
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5735/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5735/comments
https://api.github.com/repos/streamlit/streamlit/issues/5735/events
https://github.com/streamlit/streamlit/issues/5735
1,455,743,227
I_kwDODCoeTs5WxOD7
5,735
Allow setting optgroup when using `st.selectbox`
{ "login": "alexscott-ff", "id": 89804861, "node_id": "MDQ6VXNlcjg5ODA0ODYx", "avatar_url": "https://avatars.githubusercontent.com/u/89804861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexscott-ff", "html_url": "https://github.com/alexscott-ff", "followers_url": "https://api.github.com/users/alexscott-ff/followers", "following_url": "https://api.github.com/users/alexscott-ff/following{/other_user}", "gists_url": "https://api.github.com/users/alexscott-ff/gists{/gist_id}", "starred_url": "https://api.github.com/users/alexscott-ff/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexscott-ff/subscriptions", "organizations_url": "https://api.github.com/users/alexscott-ff/orgs", "repos_url": "https://api.github.com/users/alexscott-ff/repos", "events_url": "https://api.github.com/users/alexscott-ff/events{/privacy}", "received_events_url": "https://api.github.com/users/alexscott-ff/received_events", "type": "User", "site_admin": false }
[ { "id": 1516285327, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement", "name": "type:enhancement", "color": "0E8A16", "default": false, "description": "Requests for feature enhancements or new features" }, { "id": 3904104045, "node_id": "LA_kwDODCoeTs7os-Zt", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.selectbox", "name": "feature:st.selectbox", "color": "C5DEF5", "default": false, "description": "" }, { "id": 4776836712, "node_id": "LA_kwDODCoeTs8AAAABHLi-aA", "url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-team-response", "name": "status:awaiting-team-response", "color": "FEF2C0", "default": false, "description": "" } ]
open
false
null
[]
null
2
2022-11-18T20:18:20
2022-12-07T21:40:08
null
NONE
null
### Problem I'd like to separate options within a select box by their category. HTML has a built-in way of doing this: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup ### Solution Allow specifying optgroups, potentially by inputting a `dict`, for `st.selectbox`
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5735/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5735/timeline
null
null
null
null
false