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/5734
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5734/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5734/comments
https://api.github.com/repos/streamlit/streamlit/issues/5734/events
https://github.com/streamlit/streamlit/pull/5734
1,455,742,273
PR_kwDODCoeTs5DPgde
5,734
Hoist element message data creation out of loop
{ "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 }
[]
closed
false
null
[]
null
1
2022-11-18T20:17:30
2022-11-22T21:37:23
2022-11-22T21:37:19
COLLABORATOR
null
We only want to reset the callstack's local data after we are done adding the widget/media element to the message list for each cached function we are running in. Moving the creation of the message data class out of the loop, and saving it to each of the lists, accomplishes this with the bonus of saving some memory use. ## πŸ“š Context - [x] Bugfix - [ ] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - Hoist element message data creation out of loop in `save_element_message` - [ ] This is a breaking API change - [x] This is a visible (user-facing) change ## πŸ§ͺ Testing Done - [ ] Screenshots included - [x] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #5677
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5734/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/5734/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5734", "html_url": "https://github.com/streamlit/streamlit/pull/5734", "diff_url": "https://github.com/streamlit/streamlit/pull/5734.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5734.patch", "merged_at": "2022-11-22T21:37:19" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5733
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5733/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5733/comments
https://api.github.com/repos/streamlit/streamlit/issues/5733/events
https://github.com/streamlit/streamlit/issues/5733
1,455,620,455
I_kwDODCoeTs5WwwFn
5,733
st.altair_chart shows blank axis and chart when provided a datetime domain
{ "login": "tyler-simons", "id": 39609292, "node_id": "MDQ6VXNlcjM5NjA5Mjky", "avatar_url": "https://avatars.githubusercontent.com/u/39609292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tyler-simons", "html_url": "https://github.com/tyler-simons", "followers_url": "https://api.github.com/users/tyler-simons/followers", "following_url": "https://api.github.com/users/tyler-simons/following{/other_user}", "gists_url": "https://api.github.com/users/tyler-simons/gists{/gist_id}", "starred_url": "https://api.github.com/users/tyler-simons/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tyler-simons/subscriptions", "organizations_url": "https://api.github.com/users/tyler-simons/orgs", "repos_url": "https://api.github.com/users/tyler-simons/repos", "events_url": "https://api.github.com/users/tyler-simons/events{/privacy}", "received_events_url": "https://api.github.com/users/tyler-simons/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": 3230107623, "node_id": "MDU6TGFiZWwzMjMwMTA3NjIz", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3", "name": "priority:P3", "color": "ff4b4b", "default": false, "description": "" }, { "id": 3904034825, "node_id": "LA_kwDODCoeTs7ostgJ", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.altair_chart", "name": "feature:st.altair_chart", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
3
2022-11-18T18:39:31
2023-01-20T11:03:35
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 Axis shows blank and the chart shows blank for an altair chart when it is passed a datetime domain. Setting a domain for a non-datetime axis works (tried for quantitative, Q). Chart shows up correctly when passed to altair.show() which indicates this may be a bug with Streamlit. ### Reproducible Code Example [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5733) ```Python import altair as alt import pandas as pd import streamlit as st from vega_datasets import data temps = data.seattle_temps() temps = temps[temps.date.dt.hour == 10] startDate = pd.to_datetime("2010-06-01") endDate = pd.to_datetime("2010-06-30") myScale = alt.Scale(domain=[startDate, endDate]) c = ( alt.Chart(temps) .mark_line(clip=True) .encode(x=alt.X("temp:T", scale=myScale), y="temp:Q") ) st.altair_chart(c) ``` ### Steps To Reproduce 1. Run the reproducible code (streamlit run app.py) in with Streamlit 1.15 and see that the chart is blank. 2. Downgrade Streamlit to 1.13 and see that the chart displays as expected. 3. Upgrade to Streamlit 1.14 to see that it does not work in version 1.14 either. ### Expected Behavior We expect that the domain adjusts the st.altair_chart axis when passed the datetime domain and that the data displays correctly. ### Current Behavior The chart and axis is blank. ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.0 - Python version: 3.10.8 - Operating System: Mac OSX 12.6.1 - Browser: Chrome - Virtual environment: Pipenv ### Additional Information This error was reported by user [xavierc](https://discuss.streamlit.io/u/xavierc) on the Streamlit forums. Thanks xavierc for noticing it! Works in Streamlit 1.13 <img width="471" alt="Screen Shot 2022-11-18 at 10 22 15 AM" src="https://user-images.githubusercontent.com/39609292/202777649-599f8f20-af44-4977-b618-9273e89c236e.png"> Fails in Streamlit >1.14 <img width="486" alt="image" src="https://user-images.githubusercontent.com/39609292/202777758-f5c9196a-a232-4d12-82ff-dfa170d3cd8c.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/5733/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/5733/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5732
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5732/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5732/comments
https://api.github.com/repos/streamlit/streamlit/issues/5732/events
https://github.com/streamlit/streamlit/pull/5732
1,455,576,658
PR_kwDODCoeTs5DO8x5
5,732
Add CI tests to Release 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
0
2022-11-18T18:08:13
2022-11-18T23:14:46
2022-11-18T23:14:42
COLLABORATOR
null
## πŸ“š Context Revised release process will not always include a release candidate prior, so adding the checks to the release workflow as well. Previously, we specifically decided to only include the required CI checks on the release candidate. - What kind of change does this PR introduce? - [x] Refactoring ## 🧠 Description of Changes - Add required CI checks for merge to `release.yml` --- **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/5732/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/5732/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5732", "html_url": "https://github.com/streamlit/streamlit/pull/5732", "diff_url": "https://github.com/streamlit/streamlit/pull/5732.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5732.patch", "merged_at": "2022-11-18T23:14:42" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5731
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5731/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5731/comments
https://api.github.com/repos/streamlit/streamlit/issues/5731/events
https://github.com/streamlit/streamlit/pull/5731
1,455,568,801
PR_kwDODCoeTs5DO7Iz
5,731
Update loadApp command timeout
{ "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-18T18:02:40
2022-11-21T08:54:54
2022-11-21T08:54:51
COLLABORATOR
null
## πŸ“š Context I've noticed 3 specs fail on the 'before all' hook lately - See Flaky Tests section of [Notion doc](https://www.notion.so/streamlit/Issues-related-to-our-Github-Actions-CI-f16c2d4f7c6b4bc7bd5e0178f1f9400c) for addtl. details <img width="700" alt="Screen Shot 2022-11-18 at 11 53 52 AM" src="https://user-images.githubusercontent.com/63436329/202791677-2f7749f0-fd3f-4af1-b2cd-79115a61af66.png"> Based on the videos, they are failing in `loadApp`, which checks that the script is no longer running via the StatusWidget with a 10000 millisecond timeout. This doesn't seem to be enough time for some of the scripts in the CI runner, so I added a longer timeout to allow the script to finish running. - What kind of change does this PR introduce? - [x] Other, please describe: Flaky CI 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/5731/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/5731/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5731", "html_url": "https://github.com/streamlit/streamlit/pull/5731", "diff_url": "https://github.com/streamlit/streamlit/pull/5731.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5731.patch", "merged_at": "2022-11-21T08:54:51" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5730
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5730/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5730/comments
https://api.github.com/repos/streamlit/streamlit/issues/5730/events
https://github.com/streamlit/streamlit/issues/5730
1,455,230,740
I_kwDODCoeTs5WvQ8U
5,730
Plotly table does not display text with spaces after action in another tab
{ "login": "jkuehlem", "id": 115151415, "node_id": "U_kgDOBt0SNw", "avatar_url": "https://avatars.githubusercontent.com/u/115151415?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jkuehlem", "html_url": "https://github.com/jkuehlem", "followers_url": "https://api.github.com/users/jkuehlem/followers", "following_url": "https://api.github.com/users/jkuehlem/following{/other_user}", "gists_url": "https://api.github.com/users/jkuehlem/gists{/gist_id}", "starred_url": "https://api.github.com/users/jkuehlem/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jkuehlem/subscriptions", "organizations_url": "https://api.github.com/users/jkuehlem/orgs", "repos_url": "https://api.github.com/users/jkuehlem/repos", "events_url": "https://api.github.com/users/jkuehlem/events{/privacy}", "received_events_url": "https://api.github.com/users/jkuehlem/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": 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": "" } ]
open
false
null
[]
null
8
2022-11-18T14:31:22
2023-02-14T19:10:45
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 The content of cells of a plotly table chart containing white spaces disappears after a button inside another tab is clicked. When scrolling through the table or clicking a button in the same tab the text reappears. ### Reproducible Code Example ```Python import plotly.graph_objects as go import streamlit as st fig = go.Figure() fig.add_table( header=dict(values=["Header1", "Header2 with space"]), cells=dict( values=[ ["text with spaces"] * 30, ["text_without_spaces"] * 30, ], ), ) tab1, tab2 = st.tabs(["Tab1", "Tab2"]) tab1.button("Get text back") tab1.plotly_chart(fig) with tab2: st.button("Click on button and text tab 1 disappears") ``` ### Steps To Reproduce 1. Go to Tab2 2. Click the button "Text tab 1 disappears" 3. Go back to Tab1 (the cells containing spaces are empty) 4. Scroll through the table and the text reappears except for the header reappears or click on "Get text back" and the table is also displayed normally ### Expected Behavior Display of the table does not change. ### Current Behavior Text with spaces is missing. <img width="448" alt="grafik" src="https://user-images.githubusercontent.com/115151415/202720421-96ee3e4f-b717-44f0-9dbc-208c1c6a7146.png"> ### Is this a regression? - [x] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.15.0 - Python version: 3.10.2 - Operating System: MacOs 13.0.1 - Browser: Chrome - Virtual environment: Poetry - Plotly version: 5.11.0 (Plotly.js v2.16.0) ### Additional Information This issue might be caused by plotly.js, as mentioned [here](https://stackoverflow.com/questions/59672505/plotly-table-not-showing-words-with-space). But as there is a suggested fix in the stackoverflow entry, it might be possible to solve this problem by adapting the way streamlit interacts with the plotly chart. The issue is also brought up in the plotly forum. [link](https://community.plotly.com/t/plotly-table-not-showing-words-with-space/52580) ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5730/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/5730/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5729
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5729/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5729/comments
https://api.github.com/repos/streamlit/streamlit/issues/5729/events
https://github.com/streamlit/streamlit/pull/5729
1,454,848,622
PR_kwDODCoeTs5DMdrb
5,729
Fail tests when all snapshots are not committed
{ "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-18T10:25:04
2022-11-22T08:37:35
2022-11-22T08:37:35
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 When someone forgets to add snapshots for new tests, it will be detected on CI. _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/5729/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/5729/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5729", "html_url": "https://github.com/streamlit/streamlit/pull/5729", "diff_url": "https://github.com/streamlit/streamlit/pull/5729.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5729.patch", "merged_at": "2022-11-22T08:37:34" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5728
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5728/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5728/comments
https://api.github.com/repos/streamlit/streamlit/issues/5728/events
https://github.com/streamlit/streamlit/pull/5728
1,454,749,877
PR_kwDODCoeTs5DMIVg
5,728
Teach WebsocketConnection how to wait on an external auth token
{ "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-18T09:12:37
2022-12-09T23:26:54
2022-12-09T23:26:48
COLLABORATOR
null
## πŸ“š Context There's currently a race condition that appears when using an external auth token passed to the streamlit web client. The race is between the auth token actually making it to the iframed streamlit app before it attempts to establish a websocket connection. What generally happens is that the first attempt to establish the websocket connection is done without having received the token, which results in a failed connection attempt. The next retry about 500ms later then succeeds (most of the time, although the asynchronous nature of all of this makes it hard to guarantee when the token is received), but both the extra round-trip and notable startup delay are annoying. This PR fixes this problem by adding a new field to the `/st-allowed-message-origins` response body. The `useExternalAuthToken` field (which for now will always be set to `False` in the pure open source world) is used by the client to decide whether to wait for an auth token to be received from the parent frame before attempting to establish a websocket connection to the Streamlit server. If `useExternalAuthToken` is `False`, the client immediately attempts to establish a websocket connection. Otherwise, it waits until a promise resolves to the auth token before proceeding. - What kind of change does this PR introduce? - [x] Bugfix - [x] Feature ## πŸ§ͺ Testing Done - [x] Added/Updated unit tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5728/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/5728/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5728", "html_url": "https://github.com/streamlit/streamlit/pull/5728", "diff_url": "https://github.com/streamlit/streamlit/pull/5728.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5728.patch", "merged_at": "2022-12-09T23:26:48" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5727
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5727/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5727/comments
https://api.github.com/repos/streamlit/streamlit/issues/5727/events
https://github.com/streamlit/streamlit/pull/5727
1,454,339,405
PR_kwDODCoeTs5DKu2W
5,727
Fix CORS acronym in docstring
{ "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-18T02:37:30
2022-11-18T17:01:40
2022-11-18T17:01:36
COLLABORATOR
null
## πŸ“š Context Quick fix to the streamlit config docstring for enableCORS option - we had the incorrect full name for CORS See [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) - What kind of change does this PR introduce? - [x] Bugfix ## 🧠 Description of Changes - Updated to correct name - [x] This is a visible (user-facing) change --- **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/5727/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/5727/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5727", "html_url": "https://github.com/streamlit/streamlit/pull/5727", "diff_url": "https://github.com/streamlit/streamlit/pull/5727.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5727.patch", "merged_at": "2022-11-18T17:01:36" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5726
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5726/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5726/comments
https://api.github.com/repos/streamlit/streamlit/issues/5726/events
https://github.com/streamlit/streamlit/pull/5726
1,454,245,843
PR_kwDODCoeTs5DKack
5,726
Script interaction in python tests (prototype)
{ "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-18T00:51:24
2022-12-21T00:01:53
2022-12-21T00:01:52
COLLABORATOR
null
A mostly working but hacky implementation of forward message parsing, element query and interaction apis, and test script runner apis. One cypress test file replaced. Getting the value of a widget that was interacted with does not work correctly, we will fix it in the full implementation. Probably not worth actually merging in its current state, creating this as a PR primarily to make it trivial to view as a diff and to discuss it.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5726/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/5726/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5726", "html_url": "https://github.com/streamlit/streamlit/pull/5726", "diff_url": "https://github.com/streamlit/streamlit/pull/5726.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5726.patch", "merged_at": "2022-12-21T00:01:52" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5725
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5725/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5725/comments
https://api.github.com/repos/streamlit/streamlit/issues/5725/events
https://github.com/streamlit/streamlit/issues/5725
1,454,233,303
I_kwDODCoeTs5WrdbX
5,725
Empty container bug
{ "login": "Joeliebo20", "id": 54378952, "node_id": "MDQ6VXNlcjU0Mzc4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/54378952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Joeliebo20", "html_url": "https://github.com/Joeliebo20", "followers_url": "https://api.github.com/users/Joeliebo20/followers", "following_url": "https://api.github.com/users/Joeliebo20/following{/other_user}", "gists_url": "https://api.github.com/users/Joeliebo20/gists{/gist_id}", "starred_url": "https://api.github.com/users/Joeliebo20/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Joeliebo20/subscriptions", "organizations_url": "https://api.github.com/users/Joeliebo20/orgs", "repos_url": "https://api.github.com/users/Joeliebo20/repos", "events_url": "https://api.github.com/users/Joeliebo20/events{/privacy}", "received_events_url": "https://api.github.com/users/Joeliebo20/received_events", "type": "User", "site_admin": false }
[ { "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-18T00:37:19
2022-12-01T03:24:38
2022-12-01T03:24:30
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 At the top of the page of my web app, Streamlit is automatically producing these containers.: [ 0:NULL 1:NULL 2:NULL 3:NULL 4:NULL 5:NULL ] [ 0:NULL 1:NULL 2:NULL 3:NULL 4:NULL 5:NULL ] I do not know how to fix this. The code is provided below. ### Reproducible Code Example ```Python def to_web_app(df1, df2, year, current_week : int, avg_pts, name_to_roster_map): st.title(f'Family Fantasy Football Week {current_week}, {year} Stats') st.markdown(""" This web app takes data from an ESPN Fantasy Football League and creates a webpage out of it """) col1, col2 = st.columns(2) col1.header('Home Teams Stats') sort = df1.sort_values(by='Points', ascending=False) col1.write(sort) col2.header('Away Teams Stats') sort2 = df2.sort_values(by='Points', ascending=False) col2.write(sort2) if st.button('Average Points Per Roster Graph'): max_pts = max(avg_pts) min_pts = min(avg_pts) for key in name_to_roster_map.keys(): if name_to_roster_map[key] == max_pts: max_name = key if name_to_roster_map[key] == min_pts: min_name = key arr1 = league_mates arr2 = avg_pts xLabel = 'Rosters' yLabel = 'Average Points' st.header('Average Points Per Roster(Season)') st.write(f'{max_name} has averaged the most points per week : {max_pts}') st.write(f'{min_name} has averaged the least points per week : {min_pts}') fig = plt.figure(figsize = (10, 7)) plt.bar(arr1, arr2) plt.xlabel(xLabel) plt.ylabel(yLabel) st.pyplot(fig) ``` ### Steps To Reproduce Run my code : https://github.com/Joeliebo20/fantasyfootballwebsite/blob/main/fantasyfootball/ffb_web_app.py ### Expected Behavior Running the code should produce the random thing ### Current Behavior No error message, just the empty containers as mentioned above ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: version 1.14.1 - Python version: Python 2.7.16 - Operating System: macOS - Browser: Chrome - Virtual environment: None ### Additional Information GitHub link provided above ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR!
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5725/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/5725/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5724
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5724/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5724/comments
https://api.github.com/repos/streamlit/streamlit/issues/5724/events
https://github.com/streamlit/streamlit/pull/5724
1,454,159,535
PR_kwDODCoeTs5DKHJ3
5,724
Fix plotly docs example
{ "login": "tyler-simons", "id": 39609292, "node_id": "MDQ6VXNlcjM5NjA5Mjky", "avatar_url": "https://avatars.githubusercontent.com/u/39609292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tyler-simons", "html_url": "https://github.com/tyler-simons", "followers_url": "https://api.github.com/users/tyler-simons/followers", "following_url": "https://api.github.com/users/tyler-simons/following{/other_user}", "gists_url": "https://api.github.com/users/tyler-simons/gists{/gist_id}", "starred_url": "https://api.github.com/users/tyler-simons/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tyler-simons/subscriptions", "organizations_url": "https://api.github.com/users/tyler-simons/orgs", "repos_url": "https://api.github.com/users/tyler-simons/repos", "events_url": "https://api.github.com/users/tyler-simons/events{/privacy}", "received_events_url": "https://api.github.com/users/tyler-simons/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
2
2022-11-17T23:28:40
2022-11-18T22:17:03
2022-11-18T22:15:51
CONTRIBUTOR
null
## πŸ“š Context The most recent update to the docs has introduced an extra newline which causes the example to not format correctly. This removes that new line. - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: Docs bug fix ## 🧠 Description of Changes - Remove additional text that causes the example on the plotly streamlit docs page to render incorrectly. - [ ] This is a breaking API change - [x] This is a visible (user-facing) change
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5724/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/5724/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5724", "html_url": "https://github.com/streamlit/streamlit/pull/5724", "diff_url": "https://github.com/streamlit/streamlit/pull/5724.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5724.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5723
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5723/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5723/comments
https://api.github.com/repos/streamlit/streamlit/issues/5723/events
https://github.com/streamlit/streamlit/pull/5723
1,454,129,126
PR_kwDODCoeTs5DKAX_
5,723
Upgrade codebase to Python 3 syntax
{ "login": "EwoutH", "id": 15776622, "node_id": "MDQ6VXNlcjE1Nzc2NjIy", "avatar_url": "https://avatars.githubusercontent.com/u/15776622?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EwoutH", "html_url": "https://github.com/EwoutH", "followers_url": "https://api.github.com/users/EwoutH/followers", "following_url": "https://api.github.com/users/EwoutH/following{/other_user}", "gists_url": "https://api.github.com/users/EwoutH/gists{/gist_id}", "starred_url": "https://api.github.com/users/EwoutH/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EwoutH/subscriptions", "organizations_url": "https://api.github.com/users/EwoutH/orgs", "repos_url": "https://api.github.com/users/EwoutH/repos", "events_url": "https://api.github.com/users/EwoutH/events{/privacy}", "received_events_url": "https://api.github.com/users/EwoutH/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 } ]
closed
false
null
[]
null
1
2022-11-17T22:59:30
2022-12-10T03:51:47
2022-12-10T03:51:46
CONTRIBUTOR
null
## πŸ“š Context Updated Python code to Python 3 syntax (clean up leftover Python 2 code): - utf-8 encoding is now the default ([PEP 3120](https://www.python.org/dev/peps/pep-3120/), Python 3.0+) - Replace list comprehensions by Generator Expressions ([PEP 289](https://www.python.org/dev/peps/pep-0289/), Python 2.4+) - Remove the default subclass `(object)` when defining a class - Define sets with curly braces `{}` instead of `set()` - Remove `"r"` parameter from open function, which is default Used [pyupgrade](https://github.com/asottile/pyupgrade) 3.2.2 as starting point for this PR. #### 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 ## πŸ§ͺ Testing Done - [ ] Screenshots included - [x] Added/Updated unit tests - [x] 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/5723/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/5723/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5723", "html_url": "https://github.com/streamlit/streamlit/pull/5723", "diff_url": "https://github.com/streamlit/streamlit/pull/5723.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5723.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5722
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5722/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5722/comments
https://api.github.com/repos/streamlit/streamlit/issues/5722/events
https://github.com/streamlit/streamlit/pull/5722
1,454,086,461
PR_kwDODCoeTs5DJ23x
5,722
Add GitHub Actions configuration to Dependabot
{ "login": "EwoutH", "id": 15776622, "node_id": "MDQ6VXNlcjE1Nzc2NjIy", "avatar_url": "https://avatars.githubusercontent.com/u/15776622?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EwoutH", "html_url": "https://github.com/EwoutH", "followers_url": "https://api.github.com/users/EwoutH/followers", "following_url": "https://api.github.com/users/EwoutH/following{/other_user}", "gists_url": "https://api.github.com/users/EwoutH/gists{/gist_id}", "starred_url": "https://api.github.com/users/EwoutH/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EwoutH/subscriptions", "organizations_url": "https://api.github.com/users/EwoutH/orgs", "repos_url": "https://api.github.com/users/EwoutH/repos", "events_url": "https://api.github.com/users/EwoutH/events{/privacy}", "received_events_url": "https://api.github.com/users/EwoutH/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-11-17T22:23:18
2022-11-22T01:04:01
2022-11-22T01:04:01
CONTRIBUTOR
null
Add a Dependabot configuration that checks once a week if the GitHub Actions are still using the latest version. If not, it opens a PR to update them. It will actually open very few PRs, since only major versions are specified (like v3), so only on a major v4 release it will update and open a PR. See [Keeping your actions up to date with Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot).
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5722/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/5722/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5722", "html_url": "https://github.com/streamlit/streamlit/pull/5722", "diff_url": "https://github.com/streamlit/streamlit/pull/5722.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5722.patch", "merged_at": "2022-11-22T01:04:01" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5721
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5721/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5721/comments
https://api.github.com/repos/streamlit/streamlit/issues/5721/events
https://github.com/streamlit/streamlit/pull/5721
1,454,063,101
PR_kwDODCoeTs5DJxqS
5,721
cache_utils.get_decorator_api_name util
{ "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-17T22:04:52
2022-11-18T23:57:54
2022-11-18T23:57:52
COLLABORATOR
null
`CacheType.value` is currently implicitly used to store the name of the public API that the CacheType refers to. (That is, `CacheType.MEMO` has the value `"experimental_memo"`.) This isn't documented anywhere, and it's not intuitive. This PR changes that: - `CacheType.value` is now the stringified version of the enum name ("MEMO" and "SINGLETON" instead of "experimental_memo" and "experimental_singleton") - A new function, `get_decorator_api_name`, returns the public API name for the given CacheType
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5721/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/5721/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5721", "html_url": "https://github.com/streamlit/streamlit/pull/5721", "diff_url": "https://github.com/streamlit/streamlit/pull/5721.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5721.patch", "merged_at": "2022-11-18T23:57:52" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5720
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5720/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5720/comments
https://api.github.com/repos/streamlit/streamlit/issues/5720/events
https://github.com/streamlit/streamlit/pull/5720
1,454,026,046
PR_kwDODCoeTs5DJpiS
5,720
Release/1.15.0
{ "login": "sfc-gh-tteixeira", "id": 103002884, "node_id": "U_kgDOBiOzBA", "avatar_url": "https://avatars.githubusercontent.com/u/103002884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tteixeira", "html_url": "https://github.com/sfc-gh-tteixeira", "followers_url": "https://api.github.com/users/sfc-gh-tteixeira/followers", "following_url": "https://api.github.com/users/sfc-gh-tteixeira/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tteixeira/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tteixeira/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tteixeira/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tteixeira/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tteixeira/repos", "events_url": "https://api.github.com/users/sfc-gh-tteixeira/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tteixeira/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-11-17T21:36:03
2022-11-18T01:30:45
2022-11-18T01:30:44
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5720/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/5720/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5720", "html_url": "https://github.com/streamlit/streamlit/pull/5720", "diff_url": "https://github.com/streamlit/streamlit/pull/5720.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5720.patch", "merged_at": "2022-11-18T01:30:44" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5719
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5719/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5719/comments
https://api.github.com/repos/streamlit/streamlit/issues/5719/events
https://github.com/streamlit/streamlit/pull/5719
1,454,013,739
PR_kwDODCoeTs5DJm2e
5,719
Up version to 1.15.0
{ "login": "sfc-gh-tteixeira", "id": 103002884, "node_id": "U_kgDOBiOzBA", "avatar_url": "https://avatars.githubusercontent.com/u/103002884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-tteixeira", "html_url": "https://github.com/sfc-gh-tteixeira", "followers_url": "https://api.github.com/users/sfc-gh-tteixeira/followers", "following_url": "https://api.github.com/users/sfc-gh-tteixeira/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-tteixeira/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-tteixeira/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-tteixeira/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-tteixeira/orgs", "repos_url": "https://api.github.com/users/sfc-gh-tteixeira/repos", "events_url": "https://api.github.com/users/sfc-gh-tteixeira/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-tteixeira/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-11-17T21:24:58
2022-11-17T21:47:29
2022-11-17T21:35:18
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_ - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: version change ## 🧠 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:** _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/5719/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/5719/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5719", "html_url": "https://github.com/streamlit/streamlit/pull/5719", "diff_url": "https://github.com/streamlit/streamlit/pull/5719.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5719.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5718
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5718/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5718/comments
https://api.github.com/repos/streamlit/streamlit/issues/5718/events
https://github.com/streamlit/streamlit/issues/5718
1,453,708,614
I_kwDODCoeTs5WpdVG
5,718
can't use the download button
{ "login": "xyzsh7", "id": 90363752, "node_id": "MDQ6VXNlcjkwMzYzNzUy", "avatar_url": "https://avatars.githubusercontent.com/u/90363752?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xyzsh7", "html_url": "https://github.com/xyzsh7", "followers_url": "https://api.github.com/users/xyzsh7/followers", "following_url": "https://api.github.com/users/xyzsh7/following{/other_user}", "gists_url": "https://api.github.com/users/xyzsh7/gists{/gist_id}", "starred_url": "https://api.github.com/users/xyzsh7/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xyzsh7/subscriptions", "organizations_url": "https://api.github.com/users/xyzsh7/orgs", "repos_url": "https://api.github.com/users/xyzsh7/repos", "events_url": "https://api.github.com/users/xyzsh7/events{/privacy}", "received_events_url": "https://api.github.com/users/xyzsh7/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-17T17:21:10
2022-12-30T03:37:13
2022-11-18T19:42:26
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 <img width="784" alt="image" src="https://user-images.githubusercontent.com/90363752/202514110-194a0ce0-6f0b-4de3-8e49-c90783e03875.png"> This error keeps popping up. It is similar to this error, but I tried deleting it and re-deploy it and it didnt work https://discuss.streamlit.io/t/importerror/29949 ### 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/5718/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/5718/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5717
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5717/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5717/comments
https://api.github.com/repos/streamlit/streamlit/issues/5717/events
https://github.com/streamlit/streamlit/issues/5717
1,453,670,844
I_kwDODCoeTs5WpUG8
5,717
Pandas stylers don't play nicely with `st.cache` and `st.experimental_memo`
{ "login": "Rafael-Bardisa", "id": 72401330, "node_id": "MDQ6VXNlcjcyNDAxMzMw", "avatar_url": "https://avatars.githubusercontent.com/u/72401330?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rafael-Bardisa", "html_url": "https://github.com/Rafael-Bardisa", "followers_url": "https://api.github.com/users/Rafael-Bardisa/followers", "following_url": "https://api.github.com/users/Rafael-Bardisa/following{/other_user}", "gists_url": "https://api.github.com/users/Rafael-Bardisa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Rafael-Bardisa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rafael-Bardisa/subscriptions", "organizations_url": "https://api.github.com/users/Rafael-Bardisa/orgs", "repos_url": "https://api.github.com/users/Rafael-Bardisa/repos", "events_url": "https://api.github.com/users/Rafael-Bardisa/events{/privacy}", "received_events_url": "https://api.github.com/users/Rafael-Bardisa/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": 1607719438, "node_id": "MDU6TGFiZWwxNjA3NzE5NDM4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache", "name": "feature:cache", "color": "C5DEF5", "default": false, "description": "Related to st.cache, st.experimental_singleton, st.experimental_memo" }, { "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
3
2022-11-17T16:53:56
2023-01-19T01:20:29
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 am building a small Streamlit application that reads data from a csv file and explains a classification model with the SHAP library. I want to visualise my data, so I have the following code: `@st.cache(suppress_st_warning=True) def load_data(): df = pd.read_csv("stage_2_balanced.csv", sep=";").drop(columns=["Unnamed: 0"]) df = df.dropna() # not necessarily needed in this case but good practice to keep # put view inside load data to use cache view = df.sample(frac=1/3).style.apply(highlight_greater_than, threshold=0.5, axis=1) return df, view data, data_view = load_data() f""" Patient data in our dataset:{nl}Red is recurrent patient, blue is non recurrent patient""" st.dataframe(data_view)` This warning started showing up when I added the pandas style view inside the load_data function. I expected it to execute only once so the view does not get updated every time I click a button or enter some text in the app. Streamlit recommends searching for any place where I may be modifying the return values of load_data, but the above snippet is the only place where I'm using them. ### Reproducible Code Example ```Python import streamlit as st import pandas as pd @st.cache(suppress_st_warning=True) def load_data(): df = pd.read_csv("stage_2_balanced.csv", sep=";").drop(columns=["Unnamed: 0"]) df = df.dropna() # not necessarily needed in this case but good practice to keep # put view inside load data to use cache view = df.sample(frac=1/3).style.apply(highlight_greater_than, threshold=0.5, axis=1) return df, view data, data_view = load_data() st.dataframe(data_view) number = st.number_input('Patient index:', min_value=0, value=0, max_value=len(data.index) - 1, step=1) ``` ### Steps To Reproduce 1. Open the Streamlit page 2. Wait for the page to load and select any number from number_input 3. Scroll up to see CachedObjectMutationWarning ### Expected Behavior I would expect no warning to show up, since nothing is being modified outside of load_data ### Current Behavior **In the Streamlit app:** CachedObjectMutationWarning: Return value of load_data() was mutated between runs. By default, Streamlit's cache should be treated as immutable, or it may behave in unexpected ways. You received this warning because Streamlit detected that an object returned by load_data() was mutated outside of load_data(). How to fix this: If you did not mean to mutate that return value: If possible, inspect your code to find and remove that mutation. Otherwise, you could also clone the returned value so you can freely mutate it. If you actually meant to mutate the return value and know the consequences of doing so, annotate the function with @st.cache(allow_output_mutation=True). For more information and detailed solutions check out [our documentation.] (https://docs.streamlit.io/library/advanced-features/caching) Traceback: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 966, in _bootstrap self._bootstrap_inner() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1009, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "/Users/user/Documents/visual analytics/PR06/pages/explore_page.py", line 55, in <module> data, data_view = load_data() ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.1 - Python version: 3.10.2 - Operating System: MacOS 12.6.1 - Browser: safari 16.1 - 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/5717/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/5717/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5716
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5716/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5716/comments
https://api.github.com/repos/streamlit/streamlit/issues/5716/events
https://github.com/streamlit/streamlit/issues/5716
1,453,632,748
I_kwDODCoeTs5WpKzs
5,716
Can't reach bottom pages in sidebar when app has a large number of pages in iOS Chrome
{ "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": 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": 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": "" } ]
open
false
null
[]
null
0
2022-11-17T16:27:18
2022-11-22T03:22:44
null
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 Whenever there are many pages in an app, you can’t scroll to / reach the bottom ones! Example: extras.streamlit.app https://user-images.githubusercontent.com/7164864/202501196-bc35195b-61ab-46d8-ad79-4c4867903d96.MOV ### 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/5716/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/5716/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5715
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5715/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5715/comments
https://api.github.com/repos/streamlit/streamlit/issues/5715/events
https://github.com/streamlit/streamlit/issues/5715
1,453,614,209
I_kwDODCoeTs5WpGSB
5,715
DuplicateWidgetID error message is misleading when creating two different widgets with the same key
{ "login": "jaredvann", "id": 131866, "node_id": "MDQ6VXNlcjEzMTg2Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/131866?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jaredvann", "html_url": "https://github.com/jaredvann", "followers_url": "https://api.github.com/users/jaredvann/followers", "following_url": "https://api.github.com/users/jaredvann/following{/other_user}", "gists_url": "https://api.github.com/users/jaredvann/gists{/gist_id}", "starred_url": "https://api.github.com/users/jaredvann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jaredvann/subscriptions", "organizations_url": "https://api.github.com/users/jaredvann/orgs", "repos_url": "https://api.github.com/users/jaredvann/repos", "events_url": "https://api.github.com/users/jaredvann/events{/privacy}", "received_events_url": "https://api.github.com/users/jaredvann/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": 4775977579, "node_id": "LA_kwDODCoeTs8AAAABHKuiaw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:debugging", "name": "area:debugging", "color": "C2E0C6", "default": false, "description": "" } ]
closed
false
null
[]
null
1
2022-11-17T16:15:24
2022-11-27T01:41:57
2022-11-27T01:41: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 The error message when DuplicateWidgetID is raised suggests that two widgets of the same type with the same key have been created when this is sometimes not the case. ### Reproducible Code Example ```Python import streamlit as st st.button("Button", key="x") st.checkbox("Checkbox", key="x") ``` ### Steps To Reproduce _No response_ ### Expected Behavior 1. Allow widgets of different type to have the same ID. or 2. An improved error message something like: ``` DuplicateWidgetID: There are multiple widgets (st.button, st.checkbox) with key='x'. To fix this, please make sure that the key argument is unique for each widget you create. ``` ### Current Behavior Error message: ``` DuplicateWidgetID: There are multiple identical st.checkbox widgets with key='x'. To fix this, please make sure that the key argument is unique for each st.checkbox you create. ``` ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.1 - Python version: 3.8 - Operating System: Ubuntu 22.04 - Browser: Safari - Virtual environment: None ### 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/5715/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/5715/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5714
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5714/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5714/comments
https://api.github.com/repos/streamlit/streamlit/issues/5714/events
https://github.com/streamlit/streamlit/pull/5714
1,453,585,290
PR_kwDODCoeTs5DIKBT
5,714
Fix camera_input flaky test (hopefully)
{ "login": "kajarenc", "id": 6664805, "node_id": "MDQ6VXNlcjY2NjQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kajarenc", "html_url": "https://github.com/kajarenc", "followers_url": "https://api.github.com/users/kajarenc/followers", "following_url": "https://api.github.com/users/kajarenc/following{/other_user}", "gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}", "starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions", "organizations_url": "https://api.github.com/users/kajarenc/orgs", "repos_url": "https://api.github.com/users/kajarenc/repos", "events_url": "https://api.github.com/users/kajarenc/events{/privacy}", "received_events_url": "https://api.github.com/users/kajarenc/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-11-17T15:55:57
2022-11-24T13:47:02
2022-11-24T13:47:02
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 These changes should *hopefully* fix test flakiness for the camera_input e2e test. The reason, why flakiness was happening, is because `Take photo` is active even when the video stream from the browser is not ready yet. Unfortunately, the`react-webcam` library is not capable to provide us readiness event, the `onUserMedia` event is fired at the point when the browser had allowed to get video stream (for example when a user clicked `Allow` for the camera permission prompt), but actual video stream starts work after some period of time. So waiting 1 second before clicking `Take photo` button should be enough. - 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 - [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/5714/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/5714/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5714", "html_url": "https://github.com/streamlit/streamlit/pull/5714", "diff_url": "https://github.com/streamlit/streamlit/pull/5714.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5714.patch", "merged_at": "2022-11-24T13:47:02" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5713
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5713/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5713/comments
https://api.github.com/repos/streamlit/streamlit/issues/5713/events
https://github.com/streamlit/streamlit/issues/5713
1,453,149,738
I_kwDODCoeTs5WnU4q
5,713
InternalHashError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
{ "login": "TruongQuocTruong", "id": 59196676, "node_id": "MDQ6VXNlcjU5MTk2Njc2", "avatar_url": "https://avatars.githubusercontent.com/u/59196676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TruongQuocTruong", "html_url": "https://github.com/TruongQuocTruong", "followers_url": "https://api.github.com/users/TruongQuocTruong/followers", "following_url": "https://api.github.com/users/TruongQuocTruong/following{/other_user}", "gists_url": "https://api.github.com/users/TruongQuocTruong/gists{/gist_id}", "starred_url": "https://api.github.com/users/TruongQuocTruong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TruongQuocTruong/subscriptions", "organizations_url": "https://api.github.com/users/TruongQuocTruong/orgs", "repos_url": "https://api.github.com/users/TruongQuocTruong/repos", "events_url": "https://api.github.com/users/TruongQuocTruong/events{/privacy}", "received_events_url": "https://api.github.com/users/TruongQuocTruong/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" } ]
closed
false
null
[]
null
2
2022-11-17T11:05:22
2022-12-07T00:00:33
2022-12-07T00:00:32
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 error when I load model in @st.cache() streamlit. Please, help me. Thank you a lot! While caching the return value of LoadModel(), Streamlit encountered an object of type torch.Tensor, which it does not know how to hash. In this specific case, it's very likely you found a Streamlit bug so please [file a bug report here.] (https://github.com/streamlit/streamlit/issues/new/choose) In the meantime, you can try bypassing this error by registering a custom hash function via the hash_funcs keyword in @st.cache(). For example: @st.cache(hash_funcs={torch.Tensor: my_hash_func}) def my_func(...): ... If you don't know where the object of type torch.Tensor is coming from, try looking at the hash chain below for an object that you do recognize, then pass that to hash_funcs instead: ### Reproducible Code Example ```Python @st.cache(hash_funcs={torch.Tensor: my_hash_func}) def my_func(...): ... ``` ### 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/5713/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/5713/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5712
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5712/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5712/comments
https://api.github.com/repos/streamlit/streamlit/issues/5712/events
https://github.com/streamlit/streamlit/issues/5712
1,452,278,256
I_kwDODCoeTs5WkAHw
5,712
Custom "Centered" Widths
{ "login": "code49", "id": 10161722, "node_id": "MDQ6VXNlcjEwMTYxNzIy", "avatar_url": "https://avatars.githubusercontent.com/u/10161722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/code49", "html_url": "https://github.com/code49", "followers_url": "https://api.github.com/users/code49/followers", "following_url": "https://api.github.com/users/code49/following{/other_user}", "gists_url": "https://api.github.com/users/code49/gists{/gist_id}", "starred_url": "https://api.github.com/users/code49/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/code49/subscriptions", "organizations_url": "https://api.github.com/users/code49/orgs", "repos_url": "https://api.github.com/users/code49/repos", "events_url": "https://api.github.com/users/code49/events{/privacy}", "received_events_url": "https://api.github.com/users/code49/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" } ]
closed
false
null
[]
null
2
2022-11-16T21:11:10
2022-12-07T21:52:01
2022-12-07T21:52:01
NONE
null
_(Note, you don't have to fill out every section here. They're just here for guidance. That said, nicely detailed feature requests are more likely to get eng attention sooner)_ ### Problem There seem to only be 2 options for the width of streamlit pages at the present, those being to center all elements in a column roughly 730px in width (or smaller, if the window is smaller) or to left-align all elements but have them stretch fully across the screen. It would be helpful to be able to change the size of the centered column (either by proportion of the window or pixel count) so that developers can pick the size most well-suited to their content, and to avoid the comically small columns that appear when vieweing sites on widescreen monitors. ### Solution **MVP:** What's the smallest possible solution that would get 80% of the problem out of the way? A setting in the .YAML file/initialization function (`st.set_page_config()` allowing developers to select a proportion of the window that is taken up by "centered" content. **Possible additions:** What are other things that could be added to the MVP over time to make it better? Slider/number input in the menu of the site (where the checkbox for "wide mode") to make it possible for users to control this setting as well? ### Additional context Add any other context or screenshots about the feature request here. For example, did this FR come from https://discuss.streamlit.io or another site? Link the original source here! [https://discuss.streamlit.io/t/custom-streamlit-centered-widths/33040](https://discuss.streamlit.io/t/custom-streamlit-centered-widths/33040); original streamlit forum post about the issue [https://code49-personalwebsite.streamlit.app/](https://code49-personalwebsite.streamlit.app/); my website that I would like to be able to change the width of (just as an example) --- 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/5712/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/5712/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5711
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5711/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5711/comments
https://api.github.com/repos/streamlit/streamlit/issues/5711/events
https://github.com/streamlit/streamlit/pull/5711
1,452,037,760
PR_kwDODCoeTs5DDC9s
5,711
Fix #5661, update react-webcam dependency
{ "login": "kajarenc", "id": 6664805, "node_id": "MDQ6VXNlcjY2NjQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kajarenc", "html_url": "https://github.com/kajarenc", "followers_url": "https://api.github.com/users/kajarenc/followers", "following_url": "https://api.github.com/users/kajarenc/following{/other_user}", "gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}", "starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions", "organizations_url": "https://api.github.com/users/kajarenc/orgs", "repos_url": "https://api.github.com/users/kajarenc/repos", "events_url": "https://api.github.com/users/kajarenc/events{/privacy}", "received_events_url": "https://api.github.com/users/kajarenc/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-16T17:57:15
2022-12-02T22:32:04
2022-12-02T16:10:39
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 * fix camera jitter bug #5661 * update react-webcam to version 7.0.1. We request video stream from a browser using the `width` prop, but it could have been changed very often (when we resize the window), which was leading to spamming the system queue of requests to the web camera. As a solution, we use debouncing `width` change handler and only request new video streams with constraints based on the width that stabilized after window resizes. - What kind of change does this PR introduce? - [X] 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 #5661 --- **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/5711/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/5711/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5711", "html_url": "https://github.com/streamlit/streamlit/pull/5711", "diff_url": "https://github.com/streamlit/streamlit/pull/5711.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5711.patch", "merged_at": "2022-12-02T16:10:39" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5710
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5710/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5710/comments
https://api.github.com/repos/streamlit/streamlit/issues/5710/events
https://github.com/streamlit/streamlit/pull/5710
1,451,911,686
PR_kwDODCoeTs5DCoR7
5,710
SVG image from e2e tests render in Firefox
{ "login": "Rahs0601", "id": 92166609, "node_id": "U_kgDOBX5Z0Q", "avatar_url": "https://avatars.githubusercontent.com/u/92166609?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rahs0601", "html_url": "https://github.com/Rahs0601", "followers_url": "https://api.github.com/users/Rahs0601/followers", "following_url": "https://api.github.com/users/Rahs0601/following{/other_user}", "gists_url": "https://api.github.com/users/Rahs0601/gists{/gist_id}", "starred_url": "https://api.github.com/users/Rahs0601/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rahs0601/subscriptions", "organizations_url": "https://api.github.com/users/Rahs0601/orgs", "repos_url": "https://api.github.com/users/Rahs0601/repos", "events_url": "https://api.github.com/users/Rahs0601/events{/privacy}", "received_events_url": "https://api.github.com/users/Rahs0601/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
{ "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 }
[ { "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 }, { "login": "Rahs0601", "id": 92166609, "node_id": "U_kgDOBX5Z0Q", "avatar_url": "https://avatars.githubusercontent.com/u/92166609?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rahs0601", "html_url": "https://github.com/Rahs0601", "followers_url": "https://api.github.com/users/Rahs0601/followers", "following_url": "https://api.github.com/users/Rahs0601/following{/other_user}", "gists_url": "https://api.github.com/users/Rahs0601/gists{/gist_id}", "starred_url": "https://api.github.com/users/Rahs0601/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rahs0601/subscriptions", "organizations_url": "https://api.github.com/users/Rahs0601/orgs", "repos_url": "https://api.github.com/users/Rahs0601/repos", "events_url": "https://api.github.com/users/Rahs0601/events{/privacy}", "received_events_url": "https://api.github.com/users/Rahs0601/received_events", "type": "User", "site_admin": false } ]
null
17
2022-11-16T16:31:09
2022-12-29T10:43:09
2022-12-29T10:43:09
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 The st.image cypress test renders an svg with a github avatar. The avatar appears as expected in chromium, but does not appear in firefox 100. Reproducible Code Example import streamlit as st `st.image( """<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100"> <clipPath id="clipCircle"> <circle r="25" cx="25" cy="25"/> </clipPath> <image href="https://avatars.githubusercontent.com/karriebear" width="50" height="50" clip-path="url(#clipCircle)"/> </svg> """ )` Expected Behavior Avatar renders in all supported browsers
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5710/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/5710/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5710", "html_url": "https://github.com/streamlit/streamlit/pull/5710", "diff_url": "https://github.com/streamlit/streamlit/pull/5710.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5710.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5709
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5709/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5709/comments
https://api.github.com/repos/streamlit/streamlit/issues/5709/events
https://github.com/streamlit/streamlit/pull/5709
1,450,726,580
PR_kwDODCoeTs5C-mrT
5,709
Add CI job to enforce security assessments
{ "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
6
2022-11-16T02:39:43
2022-11-18T22:37:23
2022-11-18T22:37:20
COLLABORATOR
null
## πŸ“š Context This PR adds a simple CI job that fails unless the `security-assessment-completed` label has been added to the PR. The intention here is to simply ensure that we don't merge PRs without being reminded to go through the security assessment process if the PR warrants it. The vast majority of our PRs likely won't require an in-depth security review, but we do want to make sure that we don't prematurely merge PRs that we should be getting security reviews for just because we forgot about the process. NOTE: This security process is only something that maintainers will need to think about. Open source contributors, of course, may be asked to make changes to their PRs in case that there is a security implication that needs to be addressed, but the security process itself is a process internal to the Streamlit team. - What kind of change does this PR introduce? - [x] Other, please describe: security process additions
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5709/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/5709/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5709", "html_url": "https://github.com/streamlit/streamlit/pull/5709", "diff_url": "https://github.com/streamlit/streamlit/pull/5709.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5709.patch", "merged_at": "2022-11-18T22:37:20" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5708
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5708/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5708/comments
https://api.github.com/repos/streamlit/streamlit/issues/5708/events
https://github.com/streamlit/streamlit/pull/5708
1,450,571,195
PR_kwDODCoeTs5C-GK1
5,708
Add audit_frontend_dependencies script to CODEOWNERS
{ "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-15T23:58:21
2022-11-17T17:22:05
2022-11-17T17:22:02
COLLABORATOR
null
This script checks that our frontend dependencies are in compliance with Snowflake's open source policy, and Legal asked us to lock changes to the script under CODEOWNERS. This also swaps out `@jroes` (who no longer has write access to the repo) with `@vdonato`
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5708/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/5708/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5708", "html_url": "https://github.com/streamlit/streamlit/pull/5708", "diff_url": "https://github.com/streamlit/streamlit/pull/5708.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5708.patch", "merged_at": "2022-11-17T17:22:02" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5707
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5707/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5707/comments
https://api.github.com/repos/streamlit/streamlit/issues/5707/events
https://github.com/streamlit/streamlit/issues/5707
1,450,509,078
I_kwDODCoeTs5WdQMW
5,707
Tabs Styling - Background Colour Not Transparent
{ "login": "Thelin90", "id": 19892351, "node_id": "MDQ6VXNlcjE5ODkyMzUx", "avatar_url": "https://avatars.githubusercontent.com/u/19892351?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Thelin90", "html_url": "https://github.com/Thelin90", "followers_url": "https://api.github.com/users/Thelin90/followers", "following_url": "https://api.github.com/users/Thelin90/following{/other_user}", "gists_url": "https://api.github.com/users/Thelin90/gists{/gist_id}", "starred_url": "https://api.github.com/users/Thelin90/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Thelin90/subscriptions", "organizations_url": "https://api.github.com/users/Thelin90/orgs", "repos_url": "https://api.github.com/users/Thelin90/repos", "events_url": "https://api.github.com/users/Thelin90/events{/privacy}", "received_events_url": "https://api.github.com/users/Thelin90/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": 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
null
[]
null
0
2022-11-15T23:08:02
2022-11-22T03:19:09
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 **Problem** * When adding `tabs` the background colour of the tab, does not match the background colour. <img width="213" alt="image" src="https://user-images.githubusercontent.com/19892351/202043415-bfb4db98-cc5e-4390-b3b6-8e307994416e.png"> <img width="119" alt="image" src="https://user-images.githubusercontent.com/19892351/202043465-f2a88709-9acf-47be-a83a-d4beb0ce5b07.png"> Is there a way to set this? ### Reproducible Code Example ```Python def execute() -> None: tab_titles = ["EPS", "PEG"] tabs = st.tabs(tab_titles) with tabs[0]: eps() with tabs[1]: peg() ``` How I set the background image: ```python def add_bg_from_local(image_file): with open(image_file, "rb") as image_file: encoded_string = base64.b64encode(image_file.read()) st.markdown( f""" <style> .stApp {{ background-image: url(data:image/{"png"};base64,{encoded_string.decode()}); background-size: cover }} </style> """, unsafe_allow_html=True ) ``` And I call this for each tab function. ### 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 Python 3.9.2 Streamlit 1.14.1 ### 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/5707/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/5707/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5706
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5706/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5706/comments
https://api.github.com/repos/streamlit/streamlit/issues/5706/events
https://github.com/streamlit/streamlit/issues/5706
1,449,829,533
I_kwDODCoeTs5WaqSd
5,706
file_uploader doesn't open a file selection dialog in Chrome
{ "login": "alvaropp", "id": 4785303, "node_id": "MDQ6VXNlcjQ3ODUzMDM=", "avatar_url": "https://avatars.githubusercontent.com/u/4785303?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvaropp", "html_url": "https://github.com/alvaropp", "followers_url": "https://api.github.com/users/alvaropp/followers", "following_url": "https://api.github.com/users/alvaropp/following{/other_user}", "gists_url": "https://api.github.com/users/alvaropp/gists{/gist_id}", "starred_url": "https://api.github.com/users/alvaropp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alvaropp/subscriptions", "organizations_url": "https://api.github.com/users/alvaropp/orgs", "repos_url": "https://api.github.com/users/alvaropp/repos", "events_url": "https://api.github.com/users/alvaropp/events{/privacy}", "received_events_url": "https://api.github.com/users/alvaropp/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": 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": 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" } ]
closed
false
null
[]
null
5
2022-11-15T13:58:47
2023-01-03T17:56:11
2022-11-17T08:27:31
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've got a minimal snippet with a `file_uploader` that doesn't do anything when you click on the "Browse files button" in Chrome. It works fine in Safari. Drag & dropping a file works fine on both browsers. There aren't any errors/warnings in Chrome's console. ### Reproducible Code Example ```Python import streamlit as st file = st.file_uploader( label="Test", type=["csv"], ) ``` ### Steps To Reproduce 1. Click on "Browse files". ### Expected Behavior Open a file selection dialog. ### Current Behavior Nothing happens when you click on "Browse files" in Chrome. It does work on Safari. ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.1 - Python version: 3.10.6 - Operating System: Mac OS 12.6 - Browser: Chrome 107.0.5304.110 (Official Build) (arm64) - Virtual environment: tried both conda and pip envs. ### Additional Information Haven't worked on streamlit before but I would be willing to submit a PR if it's within my capabilities. ### 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/5706/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/5706/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5705
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5705/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5705/comments
https://api.github.com/repos/streamlit/streamlit/issues/5705/events
https://github.com/streamlit/streamlit/pull/5705
1,449,686,470
PR_kwDODCoeTs5C7Jq-
5,705
Add label_visibility option for st.checkbox
{ "login": "kajarenc", "id": 6664805, "node_id": "MDQ6VXNlcjY2NjQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kajarenc", "html_url": "https://github.com/kajarenc", "followers_url": "https://api.github.com/users/kajarenc/followers", "following_url": "https://api.github.com/users/kajarenc/following{/other_user}", "gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}", "starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions", "organizations_url": "https://api.github.com/users/kajarenc/orgs", "repos_url": "https://api.github.com/users/kajarenc/repos", "events_url": "https://api.github.com/users/kajarenc/events{/privacy}", "received_events_url": "https://api.github.com/users/kajarenc/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
0
2022-11-15T12:13:21
2022-11-17T15:21:50
2022-11-17T15:21:49
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 Add the `label_visibility` keyword-only parameter to `st.checkbox` widget, to be consistent with other widgets. - What kind of change does this PR introduce? - [X] Bugfix - [X] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes Please note that unlike other widgets `st.checkbox` doesn't use `WidgetLabel` component for displaying widgets. That's why we have a bit different implementation for this case on the frontend side. Backend changes are identical to other widgets. - [ ] This is a breaking API change - [X] This is a visible (user-facing) change **Visible:** <img width="900" alt="Screen Shot 2022-11-16 at 18 57 51" src="https://user-images.githubusercontent.com/6664805/202216851-92c86fd7-0047-4b9e-8f33-d4be3ec561d8.png"> **Hidden:** <img width="940" alt="Screen Shot 2022-11-16 at 18 58 52" src="https://user-images.githubusercontent.com/6664805/202216904-fda16796-d2ba-4085-a989-d90b1c6c8c68.png"> **Collapsed:** <img width="930" alt="Screen Shot 2022-11-16 at 19 00 11" src="https://user-images.githubusercontent.com/6664805/202217029-a3f5b050-24e6-40b1-b471-5a49260be0f3.png"> ## πŸ§ͺ Testing Done - [ ] Screenshots included - [X] Added/Updated unit tests - [X] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #5403 --- **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/5705/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/5705/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5705", "html_url": "https://github.com/streamlit/streamlit/pull/5705", "diff_url": "https://github.com/streamlit/streamlit/pull/5705.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5705.patch", "merged_at": "2022-11-17T15:21:49" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5704
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5704/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5704/comments
https://api.github.com/repos/streamlit/streamlit/issues/5704/events
https://github.com/streamlit/streamlit/pull/5704
1,448,917,430
PR_kwDODCoeTs5C4laz
5,704
Add all vendored code to `make notices`
{ "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-14T23:22:23
2022-11-16T00:47:18
2022-11-16T00:47:15
COLLABORATOR
null
- Adds `bokeh`, `viz`, `twemoji`, `Segment`, `react-bootstrap`, and `IPython` to our NOTICES file - (Each new LICENSE file was downloaded directly from its project's Github repo) - Moves the `modified_sys_path` class, which was copied out of IPython, into a new `streamlit.vendor` package, to make it easier to find vendored Python code - Minor update to `append_license.sh` to fix some "infer name" logic This should satisfy the requirements we have with the Snowflake legal team.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5704/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/5704/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5704", "html_url": "https://github.com/streamlit/streamlit/pull/5704", "diff_url": "https://github.com/streamlit/streamlit/pull/5704.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5704.patch", "merged_at": "2022-11-16T00:47:15" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5703
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5703/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5703/comments
https://api.github.com/repos/streamlit/streamlit/issues/5703/events
https://github.com/streamlit/streamlit/pull/5703
1,448,719,167
PR_kwDODCoeTs5C35sw
5,703
Surround labels in quotes
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-14T20:40:57
2022-11-14T21:26:32
2022-11-14T21:26:29
COLLABORATOR
null
YAML does not allow colons, so wrapped the labels in quotes 🀦.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5703/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/5703/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5703", "html_url": "https://github.com/streamlit/streamlit/pull/5703", "diff_url": "https://github.com/streamlit/streamlit/pull/5703.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5703.patch", "merged_at": "2022-11-14T21:26:29" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5702
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5702/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5702/comments
https://api.github.com/repos/streamlit/streamlit/issues/5702/events
https://github.com/streamlit/streamlit/pull/5702
1,448,658,929
PR_kwDODCoeTs5C3sch
5,702
Update issue labeling scheme to adopt new standards
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-14T20:02:19
2022-11-14T20:32:57
2022-11-14T20:32:53
COLLABORATOR
null
Update the auto-labeling of our github issues. Specifically: * bug -> type:bug * needs triage -> status:needs-triage * enhancement -> type:enhancement * enhancements will not have the needs-triage as upvoting will encourage attention.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5702/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/5702/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5702", "html_url": "https://github.com/streamlit/streamlit/pull/5702", "diff_url": "https://github.com/streamlit/streamlit/pull/5702.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5702.patch", "merged_at": "2022-11-14T20:32:53" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5701
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5701/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5701/comments
https://api.github.com/repos/streamlit/streamlit/issues/5701/events
https://github.com/streamlit/streamlit/pull/5701
1,448,617,776
PR_kwDODCoeTs5C3jn1
5,701
Turn off theme for now
{ "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
1
2022-11-14T19:26:15
2022-11-16T18:45:20
2022-11-16T18:45:20
COLLABORATOR
null
Turn off altair theme for now for a silent release.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5701/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/5701/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5701", "html_url": "https://github.com/streamlit/streamlit/pull/5701", "diff_url": "https://github.com/streamlit/streamlit/pull/5701.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5701.patch", "merged_at": "2022-11-16T18:45:20" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5700
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5700/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5700/comments
https://api.github.com/repos/streamlit/streamlit/issues/5700/events
https://github.com/streamlit/streamlit/pull/5700
1,448,447,502
PR_kwDODCoeTs5C2-7B
5,700
Update Exception Layout to avoid overflow
{ "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-11-14T17:17:05
2022-12-07T21:24:21
2022-12-07T18:36:32
COLLABORATOR
null
## πŸ“š Context - What kind of change does this PR introduce? - [x] Bugfix ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ **Revised:** _Insert screenshot of your updated UI/code here_ **Current:** _Insert screenshot of existing UI/code here_ ## πŸ§ͺ Testing Done - [x] Screenshots included - [x] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes https://github.com/streamlit/streamlit/issues/5699 --- **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/5700/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/5700/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5700", "html_url": "https://github.com/streamlit/streamlit/pull/5700", "diff_url": "https://github.com/streamlit/streamlit/pull/5700.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5700.patch", "merged_at": "2022-12-07T18:36:31" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5699
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5699/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5699/comments
https://api.github.com/repos/streamlit/streamlit/issues/5699/events
https://github.com/streamlit/streamlit/issues/5699
1,448,446,237
I_kwDODCoeTs5WVYkd
5,699
Error Stack Trace overflows container
{ "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": 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": 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
0
2022-11-14T17:16:13
2022-12-07T18:36:33
2022-12-07T18:36:33
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 An example behavior is an UnhashableTypeError causes the stack trace to overflow the container ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior ![67ca9c06-eeee-4a4e-8357-59980b02b409](https://user-images.githubusercontent.com/69432/201723770-11892b1e-f9e6-44c4-93b8-e864f66c2f74.png) ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: - Operating System: - Browser: - Virtual environment: ### 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/5699/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/5699/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5698
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5698/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5698/comments
https://api.github.com/repos/streamlit/streamlit/issues/5698/events
https://github.com/streamlit/streamlit/pull/5698
1,448,355,252
PR_kwDODCoeTs5C2rJ7
5,698
Fix docstring line wrap
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-14T16:15:44
2022-11-14T17:12:42
2022-11-14T17:12:42
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 Fix the line wrap in the docs [here](https://docs.streamlit.io/library/api-reference/charts/st.map): <img width="412" alt="CleanShot 2022-11-14 at 17 14 44@2x" src="https://user-images.githubusercontent.com/5103165/201709971-413fd873-321c-447a-b671-1a39457855b7.png"> - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: Dosctring ## 🧠 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/5698/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/5698/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5698", "html_url": "https://github.com/streamlit/streamlit/pull/5698", "diff_url": "https://github.com/streamlit/streamlit/pull/5698.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5698.patch", "merged_at": "2022-11-14T17:12:42" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5697
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5697/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5697/comments
https://api.github.com/repos/streamlit/streamlit/issues/5697/events
https://github.com/streamlit/streamlit/pull/5697
1,448,180,658
PR_kwDODCoeTs5C2Fc1
5,697
[WIP]download button disable rerun on download_button click
{ "login": "kajarenc", "id": 6664805, "node_id": "MDQ6VXNlcjY2NjQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kajarenc", "html_url": "https://github.com/kajarenc", "followers_url": "https://api.github.com/users/kajarenc/followers", "following_url": "https://api.github.com/users/kajarenc/following{/other_user}", "gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}", "starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions", "organizations_url": "https://api.github.com/users/kajarenc/orgs", "repos_url": "https://api.github.com/users/kajarenc/repos", "events_url": "https://api.github.com/users/kajarenc/events{/privacy}", "received_events_url": "https://api.github.com/users/kajarenc/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 } ]
closed
false
null
[]
null
1
2022-11-14T14:32:18
2022-12-09T03:55:09
2022-12-09T03:55:09
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 _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/5697/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/5697/timeline
null
null
true
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5697", "html_url": "https://github.com/streamlit/streamlit/pull/5697", "diff_url": "https://github.com/streamlit/streamlit/pull/5697.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5697.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5696
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5696/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5696/comments
https://api.github.com/repos/streamlit/streamlit/issues/5696/events
https://github.com/streamlit/streamlit/pull/5696
1,446,658,495
PR_kwDODCoeTs5Cw_RA
5,696
Implement the MemorySessionStorage class
{ "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 }
[]
closed
false
null
[]
null
1
2022-11-13T00:12:13
2022-11-16T02:59:30
2022-11-16T02:28:15
COLLABORATOR
null
## πŸ“š Context This PR implements `MemorySessionStorage`, which is our first concrete implementation of the `SessionStorage` protocol and under the hood is really just a thin wrapper around `cachetools.TTLCache`. For now, we make it so that an instance of this class holds at most 128 disconnected sessions for at most 5 minutes. This is reasonable while we're only trying to solve the transient disconnect issue (the numbers are actually quite generous for solving this problem), but we leave the `maxsize` and `ttl` parameters configurable in case we later want to save more sessions for a longer period of time. We don't actually use `MemorySessionStorage` yet, that'll be done in a subsequent 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/5696/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/5696/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5696", "html_url": "https://github.com/streamlit/streamlit/pull/5696", "diff_url": "https://github.com/streamlit/streamlit/pull/5696.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5696.patch", "merged_at": "2022-11-16T02:28:15" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5695
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5695/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5695/comments
https://api.github.com/repos/streamlit/streamlit/issues/5695/events
https://github.com/streamlit/streamlit/pull/5695
1,446,080,338
PR_kwDODCoeTs5CvDtX
5,695
Cached media (audio+video) replay
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-11T22:59:40
2022-11-14T19:22:42
2022-11-14T19:22:36
COLLABORATOR
null
## πŸ“š Context Element replay, for audio and video. - What kind of change does this PR introduce? - [ ] Bugfix - [x] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - Save audio/video data in cache - Works almost exactly the same as image replay - [ ] This is a breaking API change - [x] This is a visible (user-facing) change ## πŸ§ͺ Testing Done - [ ] Screenshots included - [ ] Added/Updated unit tests - [x] Added/Updated e2e tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5695/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/5695/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5695", "html_url": "https://github.com/streamlit/streamlit/pull/5695", "diff_url": "https://github.com/streamlit/streamlit/pull/5695.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5695.patch", "merged_at": "2022-11-14T19:22:36" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5694
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5694/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5694/comments
https://api.github.com/repos/streamlit/streamlit/issues/5694/events
https://github.com/streamlit/streamlit/issues/5694
1,446,010,610
I_kwDODCoeTs5WMF7y
5,694
st.dataframe with use_container_width=True inside an expander - full-screen arrows get clipped
{ "login": "CHerSun", "id": 14203878, "node_id": "MDQ6VXNlcjE0MjAzODc4", "avatar_url": "https://avatars.githubusercontent.com/u/14203878?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CHerSun", "html_url": "https://github.com/CHerSun", "followers_url": "https://api.github.com/users/CHerSun/followers", "following_url": "https://api.github.com/users/CHerSun/following{/other_user}", "gists_url": "https://api.github.com/users/CHerSun/gists{/gist_id}", "starred_url": "https://api.github.com/users/CHerSun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CHerSun/subscriptions", "organizations_url": "https://api.github.com/users/CHerSun/orgs", "repos_url": "https://api.github.com/users/CHerSun/repos", "events_url": "https://api.github.com/users/CHerSun/events{/privacy}", "received_events_url": "https://api.github.com/users/CHerSun/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": 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": 3230105890, "node_id": "MDU6TGFiZWwzMjMwMTA1ODkw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2", "name": "priority:P2", "color": "ff4b4b", "default": false, "description": "" } ]
closed
false
null
[]
null
3
2022-11-11T21:15:43
2023-02-08T22:03:22
2023-02-08T22:03:22
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-5694) st.dataframe with use_container_width=True, if placed inside expander - arrows to go to full-screen view get clipped by expander, making it nearly impossible to click on those. ### Reproducible Code Example ```Python import streamlit as st df = pd.DataFrame() with st.expander("Test"): st.dataframe(df, use_container_width=True) ``` ### Steps To Reproduce _No response_ ### Expected Behavior Full-screen arrows should be visible/clickable still ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: 3.10.8 - Operating System: Windows 10 - Browser: Firefox - Virtual environment: 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/5694/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/5694/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5693
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5693/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5693/comments
https://api.github.com/repos/streamlit/streamlit/issues/5693/events
https://github.com/streamlit/streamlit/pull/5693
1,445,892,946
PR_kwDODCoeTs5Cua27
5,693
Release 1.14.1
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-11T19:03:14
2022-11-11T21:33:12
2022-11-11T21:33:12
COLLABORATOR
null
null
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5693/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/5693/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5693", "html_url": "https://github.com/streamlit/streamlit/pull/5693", "diff_url": "https://github.com/streamlit/streamlit/pull/5693.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5693.patch", "merged_at": "2022-11-11T21:33:11" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5692
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5692/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5692/comments
https://api.github.com/repos/streamlit/streamlit/issues/5692/events
https://github.com/streamlit/streamlit/issues/5692
1,445,752,423
I_kwDODCoeTs5WLG5n
5,692
ignore a file inside `/pages` directory
{ "login": "nkilm", "id": 79012023, "node_id": "MDQ6VXNlcjc5MDEyMDIz", "avatar_url": "https://avatars.githubusercontent.com/u/79012023?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nkilm", "html_url": "https://github.com/nkilm", "followers_url": "https://api.github.com/users/nkilm/followers", "following_url": "https://api.github.com/users/nkilm/following{/other_user}", "gists_url": "https://api.github.com/users/nkilm/gists{/gist_id}", "starred_url": "https://api.github.com/users/nkilm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nkilm/subscriptions", "organizations_url": "https://api.github.com/users/nkilm/orgs", "repos_url": "https://api.github.com/users/nkilm/repos", "events_url": "https://api.github.com/users/nkilm/events{/privacy}", "received_events_url": "https://api.github.com/users/nkilm/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
0
2022-11-11T16:56:07
2022-11-14T18:12:46
null
NONE
null
### Problem At present, every file inside `/pages` is rendered directly onto the webpage. I want to add some `.py` helper file which will contain all frequently used functions. But **it should not be shown on the webpage.** Alter way would be to define the `.py` helper file outside the `/pages` and use relative import, which would make the problem complex and reduce readbility. ### Solution **Preferred solution:** Add special naming for all those files which are to be hidden. E.g, **Files starting with underscore like `_helper.py` will not be rendered.** ### Additional context Screenshot of webpage, that file should not get rendered. ![image](https://user-images.githubusercontent.com/79012023/201390174-13f639e1-2936-4bb2-aae1-d6f090e8a00d.png) Directory Tree ![image](https://user-images.githubusercontent.com/79012023/201390540-309ca58a-5454-4ce1-9cf1-a46176dbc061.png) --- 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/5692/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/5692/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5691
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5691/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5691/comments
https://api.github.com/repos/streamlit/streamlit/issues/5691/events
https://github.com/streamlit/streamlit/pull/5691
1,445,590,716
PR_kwDODCoeTs5CtZ3K
5,691
Static files serving
{ "login": "kajarenc", "id": 6664805, "node_id": "MDQ6VXNlcjY2NjQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kajarenc", "html_url": "https://github.com/kajarenc", "followers_url": "https://api.github.com/users/kajarenc/followers", "following_url": "https://api.github.com/users/kajarenc/following{/other_user}", "gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}", "starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions", "organizations_url": "https://api.github.com/users/kajarenc/orgs", "repos_url": "https://api.github.com/users/kajarenc/repos", "events_url": "https://api.github.com/users/kajarenc/events{/privacy}", "received_events_url": "https://api.github.com/users/kajarenc/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-11T14:58:00
2023-02-02T13:29:19
2023-02-02T13:27:59
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 Static file seving disabled by default. If enabled (via ```toml [server] enableStaticServing = true ``` ) should serve static files from `main_script_folder/static` folder. Static files served under url: `app_url/app/static/file_name` _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 - [ ] 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/5691/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/5691/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5691", "html_url": "https://github.com/streamlit/streamlit/pull/5691", "diff_url": "https://github.com/streamlit/streamlit/pull/5691.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5691.patch", "merged_at": "2023-02-02T13:27:59" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5690
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5690/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5690/comments
https://api.github.com/repos/streamlit/streamlit/issues/5690/events
https://github.com/streamlit/streamlit/issues/5690
1,445,172,663
I_kwDODCoeTs5WI5W3
5,690
Update components via session_state
{ "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": 1846373998, "node_id": "MDU6TGFiZWwxODQ2MzczOTk4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:state", "name": "feature:state", "color": "C5DEF5", "default": false, "description": "" }, { "id": 1964271488, "node_id": "MDU6TGFiZWwxOTY0MjcxNDg4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:widgets", "name": "area:widgets", "color": "C2E0C6", "default": false, "description": "" } ]
open
false
null
[]
null
6
2022-11-11T09:11:46
2023-01-12T14:36:53
null
NONE
null
### Problem IT seems that the overall code style is to provide a default value to the widget or component. Then, after the first run, the value can be updated via the relevant key in the session_state. Ie. I update` st.session_state["widget_key"]` via a callback. Then the widget will show the updated value This works with widgets. However, it is not clear how to achieve this with components. Components dont change the value, they will be out of sync with the session state. I looked around none of the community components will upate; none of them is able to interact with other widgets via callbacks/ session_State. One widget solved this by having an explicit `value` parameter to update; this works but might not be the "streamlitty" way of doing things. ### Solution Provide a way to pull the new stession_state into the react state upon re-rendering. If this exists, provide documentation or tutorials for this, as I did not manage to get this to work and it seems nobody else did (At least I did not find any example for this). --- 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/5690/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/5690/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5689
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5689/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5689/comments
https://api.github.com/repos/streamlit/streamlit/issues/5689/events
https://github.com/streamlit/streamlit/issues/5689
1,445,171,695
I_kwDODCoeTs5WI5Hv
5,689
st.session_state is not preserved during page switch (with workaround)
{ "login": "Nemecsek", "id": 25978536, "node_id": "MDQ6VXNlcjI1OTc4NTM2", "avatar_url": "https://avatars.githubusercontent.com/u/25978536?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nemecsek", "html_url": "https://github.com/Nemecsek", "followers_url": "https://api.github.com/users/Nemecsek/followers", "following_url": "https://api.github.com/users/Nemecsek/following{/other_user}", "gists_url": "https://api.github.com/users/Nemecsek/gists{/gist_id}", "starred_url": "https://api.github.com/users/Nemecsek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Nemecsek/subscriptions", "organizations_url": "https://api.github.com/users/Nemecsek/orgs", "repos_url": "https://api.github.com/users/Nemecsek/repos", "events_url": "https://api.github.com/users/Nemecsek/events{/privacy}", "received_events_url": "https://api.github.com/users/Nemecsek/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": 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": "" } ]
closed
false
null
[]
null
3
2022-11-11T09:10:57
2022-11-21T08:43:49
2022-11-21T08:43: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 In a multipage app _sometimes_ `st.session_state` is lost. Working on a test case I see that the same happens in a single page app that uses different page templates. ### Reproducible Code Example ```Python import streamlit as st FIX_BUG=False # <======================= change here if "widget_option" not in st.session_state: st.session_state["widget_option"] = "option1" if FIX_BUG: for k in st.session_state.keys(): st.session_state[k] = st.session_state[k] print("app refreshed") # app is refreshed at every click st.subheader("st.session_state:") st.write(st.session_state) chosen_page = st.radio("Choose a page:", ["PageA", "PageB", "PageC"]) if chosen_page == "PageA": st.header("This is PageA") st.selectbox("Choose an option:", ["option1", "option2", "option3", "option4"], key="widget_option") if chosen_page == "PageB": st.header("This is PageB") st.write("We do nothing here") if chosen_page == "PageC": st.header("This is PageC") st.write("We do nothing here") ``` ### Steps To Reproduce On the top you read `st.session_state`. 1. Leave `FIX_BUG=False` 2. On `PageA` choose any option but the default one "option1". 3. Click on `PageB`, `PageC` and again on `PageA`. You see that the content of `st.session_state` changes. 4. Clicking on `PageA` again the session status is reset and the option is "option1" again. 5. Change `FIX_BUG=True` 6. Click on the pages: the state is now preserved. ### Expected Behavior Already explained. The bug is fixed by copying each `st.session_state` variable on itself: I assume doing so we send them again to the Javascript frontend that will act accordingly. ### Current Behavior Already explained. ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: 3.8.10 - Operating System: Ubuntu 20.04 - Browser: Firefox 106.2, Brave 1.16.76 ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR! --- 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/5689/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/5689/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5688
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5688/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5688/comments
https://api.github.com/repos/streamlit/streamlit/issues/5688/events
https://github.com/streamlit/streamlit/issues/5688
1,445,169,386
I_kwDODCoeTs5WI4jq
5,688
App https://app-avtools-klima-dev.azurewebsites.net/ is not working.
{ "login": "bergbj", "id": 117914370, "node_id": "U_kgDOBwc7Ag", "avatar_url": "https://avatars.githubusercontent.com/u/117914370?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bergbj", "html_url": "https://github.com/bergbj", "followers_url": "https://api.github.com/users/bergbj/followers", "following_url": "https://api.github.com/users/bergbj/following{/other_user}", "gists_url": "https://api.github.com/users/bergbj/gists{/gist_id}", "starred_url": "https://api.github.com/users/bergbj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bergbj/subscriptions", "organizations_url": "https://api.github.com/users/bergbj/orgs", "repos_url": "https://api.github.com/users/bergbj/repos", "events_url": "https://api.github.com/users/bergbj/events{/privacy}", "received_events_url": "https://api.github.com/users/bergbj/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" } ]
closed
false
null
[]
null
1
2022-11-11T09:09:04
2022-11-11T18:03:45
2022-11-11T18:03:44
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 app https://app-avtools-klima-dev.azurewebsites.net/ is not working. Logging into the app it only states "Please wait", and nothing happens. It is the same for every user and in different browsers. ![image](https://user-images.githubusercontent.com/117914370/201306033-d5b50b5b-9de0-4afd-853d-ae2111693a78.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/5688/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/5688/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5687
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5687/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5687/comments
https://api.github.com/repos/streamlit/streamlit/issues/5687/events
https://github.com/streamlit/streamlit/pull/5687
1,444,791,182
PR_kwDODCoeTs5Cqwr-
5,687
Add and remove libraries for consistency
{ "login": "tyler-simons", "id": 39609292, "node_id": "MDQ6VXNlcjM5NjA5Mjky", "avatar_url": "https://avatars.githubusercontent.com/u/39609292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tyler-simons", "html_url": "https://github.com/tyler-simons", "followers_url": "https://api.github.com/users/tyler-simons/followers", "following_url": "https://api.github.com/users/tyler-simons/following{/other_user}", "gists_url": "https://api.github.com/users/tyler-simons/gists{/gist_id}", "starred_url": "https://api.github.com/users/tyler-simons/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tyler-simons/subscriptions", "organizations_url": "https://api.github.com/users/tyler-simons/orgs", "repos_url": "https://api.github.com/users/tyler-simons/repos", "events_url": "https://api.github.com/users/tyler-simons/events{/privacy}", "received_events_url": "https://api.github.com/users/tyler-simons/received_events", "type": "User", "site_admin": false }
[ { "id": 1634956291, "node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs", "name": "type:docs", "color": "0052CC", "default": false, "description": "Requests for changes to docs (will be rerouted to docs repo)" } ]
closed
false
null
[]
null
0
2022-11-11T01:26:41
2022-11-11T19:10:58
2022-11-11T19:10:58
CONTRIBUTOR
null
## πŸ“š Context Currently, the package imports for the **Example** sections for the charts are inconsistent. Some call `import streamlit as st` such as [st.plotly_chart](https://docs.streamlit.io/library/api-reference/charts/st.plotly_chart) and [st.bokeh_chart](https://docs.streamlit.io/library/api-reference/charts/st.bokeh_chart) while all others do not. Some call `import numpy as np` such as [st.pyplot](https://docs.streamlit.io/library/api-reference/charts/st.pyplot) while many do not. The standard for us seems to be we do not preface every call with `import streamlit as st` - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes - Add pydeck import for st.pydeck_chart - Add numpy and pandas imports for st.dataframe, st.table, st.line_chart, st.area_chart, st.bar_chart, st.deck_gl_json_chart - Remove streamlit imports from st.plotly_chart, st.graphviz_chart, - Change `df` to `chart_data` for st.altair_chart and st.vega_lite_chart to be consistent with st.line_chart. - Make random data consistent with st.line_chart for st.altair_chart - [ ] This is a breaking API change - [x] This is a visible (user-facing) change
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5687/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5687/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5687", "html_url": "https://github.com/streamlit/streamlit/pull/5687", "diff_url": "https://github.com/streamlit/streamlit/pull/5687.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5687.patch", "merged_at": "2022-11-11T19:10:58" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5686
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5686/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5686/comments
https://api.github.com/repos/streamlit/streamlit/issues/5686/events
https://github.com/streamlit/streamlit/issues/5686
1,444,672,557
I_kwDODCoeTs5WG_Qt
5,686
Widgets are not consistent when displaying decimal separator
{ "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": 1964271488, "node_id": "MDU6TGFiZWwxOTY0MjcxNDg4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:widgets", "name": "area:widgets", "color": "C2E0C6", "default": false, "description": "" }, { "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-11-10T22:52:36
2022-11-11T07:40:28
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 System Locale: Germany ![image](https://user-images.githubusercontent.com/25638902/201221711-743d1da7-2c68-467d-a09a-ef50dffe3804.png) (where comma is the decimal separator) ![image](https://user-images.githubusercontent.com/25638902/201221639-34aebc65-098f-478f-92ab-a74bbe74fe56.png) The decimal separator shown by streamlit.slider and streamlit.number_input are different. ### Reproducible Code Example ```Python import streamlit streamlit.slider("Select a range of values", 0.0, 100.0, (25.0, 75.0)) streamlit.number_input("Speed (km/h)", min_value=0.1, step=0.1) ``` ### Steps To Reproduce _No response_ ### Expected Behavior Same decimal separator (preferably the one used in the system) ### Current Behavior _No response_ ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: 3.10 - Operating System: Windows 10, Android 10 - 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/5686/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/5686/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5685
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5685/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5685/comments
https://api.github.com/repos/streamlit/streamlit/issues/5685/events
https://github.com/streamlit/streamlit/issues/5685
1,444,158,633
I_kwDODCoeTs5WFByp
5,685
Change the placement of the help tooltip
{ "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": 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": "" } ]
closed
false
null
[]
null
1
2022-11-10T15:59:13
2022-11-10T17:39:15
2022-11-10T17:39:15
NONE
null
### Problem I know this sounds extremely nitpicky, but it's been bugging me for a while. The label of an input box is on the left, the help tooltip on the right. This works nicely for narrow boxes, but when the input takes the whole screen, most people do not notice the help being there. ### Solution **MVP:** Provide a widget option to display the help tooltip next to the label. ### Additional context This is what I am talking about: most people will read the label to figure out what the box is for, but few will look all the way over to the right to realize there is help available. ![image](https://user-images.githubusercontent.com/19314272/201143543-93398838-4ab2-4466-93d5-092660fc2fb1.png) --- 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/5685/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/5685/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5684
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5684/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5684/comments
https://api.github.com/repos/streamlit/streamlit/issues/5684/events
https://github.com/streamlit/streamlit/issues/5684
1,443,817,992
I_kwDODCoeTs5WDuoI
5,684
Cant enter app
{ "login": "bergbj", "id": 117914370, "node_id": "U_kgDOBwc7Ag", "avatar_url": "https://avatars.githubusercontent.com/u/117914370?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bergbj", "html_url": "https://github.com/bergbj", "followers_url": "https://api.github.com/users/bergbj/followers", "following_url": "https://api.github.com/users/bergbj/following{/other_user}", "gists_url": "https://api.github.com/users/bergbj/gists{/gist_id}", "starred_url": "https://api.github.com/users/bergbj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bergbj/subscriptions", "organizations_url": "https://api.github.com/users/bergbj/orgs", "repos_url": "https://api.github.com/users/bergbj/repos", "events_url": "https://api.github.com/users/bergbj/events{/privacy}", "received_events_url": "https://api.github.com/users/bergbj/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-11-10T12:26:11
2022-11-10T17:12:32
2022-11-10T17:12:24
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 app is not starting up. Only "please wait". Same for different users. ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior Cant do anything. ### 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/5684/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/5684/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5683
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5683/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5683/comments
https://api.github.com/repos/streamlit/streamlit/issues/5683/events
https://github.com/streamlit/streamlit/issues/5683
1,443,450,811
I_kwDODCoeTs5WCU-7
5,683
Pytest-friendly Test API
{ "login": "leycec", "id": 217028, "node_id": "MDQ6VXNlcjIxNzAyOA==", "avatar_url": "https://avatars.githubusercontent.com/u/217028?v=4", "gravatar_id": "", "url": "https://api.github.com/users/leycec", "html_url": "https://github.com/leycec", "followers_url": "https://api.github.com/users/leycec/followers", "following_url": "https://api.github.com/users/leycec/following{/other_user}", "gists_url": "https://api.github.com/users/leycec/gists{/gist_id}", "starred_url": "https://api.github.com/users/leycec/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/leycec/subscriptions", "organizations_url": "https://api.github.com/users/leycec/orgs", "repos_url": "https://api.github.com/users/leycec/repos", "events_url": "https://api.github.com/users/leycec/events{/privacy}", "received_events_url": "https://api.github.com/users/leycec/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": 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" }, { "id": 4775977579, "node_id": "LA_kwDODCoeTs8AAAABHKuiaw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:debugging", "name": "area:debugging", "color": "C2E0C6", "default": false, "description": "" } ]
open
false
{ "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 }
[ { "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 } ]
null
3
2022-11-10T08:15:57
2022-11-15T17:00:10
null
NONE
null
Streamlit is phenomenal. Everyone knows this. This is why [my beautiful science wife](https://www.researchgate.net/profile/Alexis-Pietak) <sup>:heart_eyes_cat: </sup> and I are building out our next [open-source multiphysics bioelectricity simulator](https://github.com/betsee/betse) in Streamlit. Streamlit: *yup, it even does bioelectricity.* ## Streamlit Testing: A Chink in the Armour But all is not quite so phenomenal on the testing front. Sadly, Streamlit currently offers *no* official means of testing Streamlit apps from a `pytest` test suite. Technically, there does exist: * **A [third-party `streamlit-mock` package](https://github.com/acschofield/streamlit_mock).** Of course, this package is effectively unmaintained. While we applaud the one lone GitHub user brave enough to star `streamlit-mock`, we are not that user. * **Browser-based automation ala Cyprus and Selenium.** Of course, then *we* would have to develop, debug, and maintain non-trivial end-to-end WebDriver tests renowned for [superficially behaving non-deterministically](https://salmonmode.github.io/2020/05/11/is-selenium-flaky.html) in perpetuity. Grant funding only extends so far. It doesn't extend that far. Which is probably good, because we value our sanity and marital stability. ## streamlit-mock: Visions of a Better Future Nobody should use `streamlit-mock`, because nobody should use unmaintained things. But everybody should be *inspired* by `streamlit-mock` to create something similar that actually works and is well-maintained, because the core conceits behind `streamlit-mock` are sound. To [quote their `README.md`](https://github.com/acschofield/streamlit_mock/blob/main/README.md): > Our simple streamlit application calling a REST API backend grew over time, became not so simple and needed a test suite. We wrote some Selenium tests, but these are tricky to get right and run relatively slowly. This package "mocks" most streamlit class to allow "pytest" to be used for testing. > Goals: > * **Allow tests to be written using pytest** > * **Tests should run quickly** so that multiple edge cases and variants can be tested > * **Tests should be concise and easy to write** > Non-Goals: > * Testing streamlit itself (the package removes all dependnecies on the real streamlitk) > * Testing that the app uses Streamlit correctly (the package fakes input and records outputs) > * To be as complete as an end-to-end Selenium test (Streamlit/web server are out of the loop) Goals seem reasonable. Non-goals seem reasonable, too. We applaud these reasonable things. ## What Do You Want Us to Do About Your Problems, Bro? **Okay.** Let's get down to brass data science tacks. It'd be phenomenal if Streamlit itself offered an official `pytest`-friendly test API – lightly inspired by `streamlit_mock` but actually well-maintained and working. An official `github.com/streamlit/pytest-streamlit` plugin trivially enabling Streamlit apps to be tested under `pytest` would be *especially* phenomenal. `pytest-streamlit` would hypothetically provide support – presumably in the form of one or more `pytest` fixtures – for programmatically running *any* arbitrary Streamlit app as an integration test under a Streamlit mock API. Indeed, we see that [Streamlit itself tests itself with a `pytest` test suite](https://github.com/streamlit/streamlit/blob/develop/lib/tests/streamlit/runtime/scriptrunner/script_runner_test.py). This sorta suggests that the requisite functionality for testing downstream Streamlit apps with `pytest` already exists... *within Streamlit itself*! Shock twist is shocking. :open_mouth: Indeed, we see that [the existing `streamlit/lib/tests/streamlit/runtime/scriptrunner/script_runner_test.py` integration test](https://github.com/streamlit/streamlit/blob/develop/lib/tests/streamlit/runtime/scriptrunner/script_runner_test.py) appears to already be doing most – maybe even all – of the heavy lifting we'd expect from an official `github.com/streamlit/pytest-streamlit` plugin. Copy-and-pasting the deeply nested functionality of `script_runner_test.py` into our own `pytest` test suite justifiably frightens us, however. If something resembling that could be published as a stand-alone API for reuse by the general public, we will happily dance with our Maine Coon cats on the frozen lake outside our cottage in a TikTok video generally regarded as deplorable. ## What We Used to Do No Longer Works, Which Is Sad Previously, we used to exercise our entire Streamlit app with a trivial integration test in our `pytest` test suite resembling: ```python def test_app_lifecycle(capsys) -> None: ''' Integration test exercising the **maximally trivial app lifecycle** (i.e., workflow spinning up, running, and then immediately shutting down this app). Parameters ---------- capsys Builtin fixture object permitting pytest-specific capturing (i.e., hiding) of both standard output and error to be temporarily disabled. ''' # Temporarily disable pytest-specific capturing (i.e., hiding) of both # standard output and error for the duration of this integration test. Why? # Because this test often takes an excessive amount of time and can, # moreover, fail to halt in various edge cases outside our control. # Capturing output unhelpfully obscures these concerns during local testing. with capsys.disabled(): # Defer test-specific imports. # # Note that: # * Importing "hot_bioelectricity_app.main" has the beneficial side # effect of running this Streamlit-based web app to completion. # * Attempting to run this app via the "streamlit run" subcommand does # *NOT* halt as expected, as that subcommand understandably runs the # passed app indefinitely. from hot_bioelectricity_app import main # Immediately return after doing so. return ``` Tragically, that test now fails with a non-human-readable CPython error resembling: ``` test/a90_func/lifecycle/test_lifecycle.py::test_app_lifecycle 2022-11-10 03:15:48.662 Warning: to view this Streamlit app on a browser, run it with the following command: streamlit run /usr/lib/python3.10/site-packages/pytest/__main__.py [ARGUMENTS] Fatal Python error: Illegal instruction Current thread 0x00007f3733aca740 (most recent call first): File "/usr/lib/python3.10/site-packages/pyarrow/pandas_compat.py", line 590 in convert_column File "/usr/lib/python3.10/site-packages/pyarrow/pandas_compat.py", line 609 in <listcomp> File "/usr/lib/python3.10/site-packages/pyarrow/pandas_compat.py", line 609 in dataframe_to_arrays File "/usr/lib/python3.10/site-packages/streamlit/type_util.py", line 634 in data_frame_to_bytes File "/usr/lib/python3.10/site-packages/streamlit/elements/arrow.py", line 399 in _marshall_display_values File "/usr/lib/python3.10/site-packages/streamlit/elements/arrow.py", line 215 in _marshall_styler File "/usr/lib/python3.10/site-packages/streamlit/elements/arrow.py", line 174 in marshall File "/usr/lib/python3.10/site-packages/streamlit/elements/arrow.py", line 110 in _arrow_dataframe File "/usr/lib/python3.10/site-packages/streamlit/runtime/metrics_util.py", line 311 in wrapped_func File "/usr/lib/python3.10/site-packages/streamlit/elements/dataframe_selector.py", line 105 in dataframe File "/usr/lib/python3.10/site-packages/streamlit/runtime/metrics_util.py", line 311 in wrapped_func File "/home/leycec/py/calculion/calculion/main.py", line 460 in main File "/home/leycec/py/calculion/calculion/main.py", line 489 in <module> File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 883 in exec_module File "<frozen importlib._bootstrap>", line 688 in _load_unlocked File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1027 in _find_and_load File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1078 in _handle_fromlist File "/home/leycec/py/calculion/calculion_test/a90_func/lifecycle/test_lifecycle.py", line 57 in test_app_lifecycle File "/usr/lib/python3.10/site-packages/_pytest/python.py", line 192 in pytest_pyfunc_call File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.10/site-packages/_pytest/python.py", line 1761 in runtest File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 166 in pytest_runtest_call File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 259 in <lambda> File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 338 in from_call File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 258 in call_runtest_hook File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 219 in call_and_report File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 130 in runtestprotocol File "/usr/lib/python3.10/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 347 in pytest_runtestloop File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 322 in _main File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 268 in wrap_session File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 164 in main File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 187 in console_main File "/usr/lib/python3.10/site-packages/pytest/__main__.py", line 5 in <module> File "/usr/lib/python3.10/site-packages/coverage/execfile.py", line 199 in run File "/usr/lib/python3.10/site-packages/coverage/cmdline.py", line 830 in do_run File "/usr/lib/python3.10/site-packages/coverage/cmdline.py", line 659 in command_line File "/usr/lib/python3.10/site-packages/coverage/cmdline.py", line 943 in main File "/usr/lib/python3.10/site-packages/coverage/__main__.py", line 8 in <module> File "/usr/lib/python3.10/runpy.py", line 86 in _run_code File "/usr/lib/python3.10/runpy.py", line 196 in _run_module_as_main Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg._cythonized_array_utils, scipy.linalg._flinalg, scipy.linalg._solve_toeplitz, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_lapack, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy._lib.messagestream, scipy.optimize._trlib._trlib, numpy.linalg.lapack_lite, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.spatial._ckdtree, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, scipy.optimize._direct, gmpy2.gmpy2, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.tslib, pandas._libs.lib, pandas._libs.hashing, pyarrow.lib, pyarrow._hdfsio, pandas._libs.ops, numexpr.interpreter, pyarrow._compute, bottleneck.move, bottleneck.nonreduce, bottleneck.nonreduce_axis, bottleneck.reduce, pandas._libs.arrays, pandas._libs.index, pandas._libs.join, pandas._libs.sparse, pandas._libs.reduction, pandas._libs.indexing, pandas._libs.internals, pandas._libs.writers, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.tslibs.strptime, pandas._libs.groupby, pandas._libs.testing, pandas._libs.parsers, pandas._libs.json, PIL._imaging, _brotli, simplejson._speedups, google.protobuf.pyext._message, _testcapi, markupsafe._speedups, matplotlib._c_internal_utils, matplotlib._path, kiwisolver._cext, matplotlib._image, regex._regex, pvectorc (total: 132) ./pytest: line 185: 19640 Illegal instruction "${PYTHON_ARGS[@]}" -m coverage run -m "${PYTEST_ARGS[@]}" . ``` Needless to say, we no longer run that test. Thanks for all the escalating UIX brilliance, Streamlit devs! You make the data science world go round. :earth_americas: --- 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/5683/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/5683/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5682
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5682/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5682/comments
https://api.github.com/repos/streamlit/streamlit/issues/5682/events
https://github.com/streamlit/streamlit/issues/5682
1,443,198,054
I_kwDODCoeTs5WBXRm
5,682
`Race condition` when using `experimental_get_query_params` and inputs
{ "login": "ldmtwo", "id": 7573669, "node_id": "MDQ6VXNlcjc1NzM2Njk=", "avatar_url": "https://avatars.githubusercontent.com/u/7573669?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ldmtwo", "html_url": "https://github.com/ldmtwo", "followers_url": "https://api.github.com/users/ldmtwo/followers", "following_url": "https://api.github.com/users/ldmtwo/following{/other_user}", "gists_url": "https://api.github.com/users/ldmtwo/gists{/gist_id}", "starred_url": "https://api.github.com/users/ldmtwo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ldmtwo/subscriptions", "organizations_url": "https://api.github.com/users/ldmtwo/orgs", "repos_url": "https://api.github.com/users/ldmtwo/repos", "events_url": "https://api.github.com/users/ldmtwo/events{/privacy}", "received_events_url": "https://api.github.com/users/ldmtwo/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": 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": 2282122192, "node_id": "MDU6TGFiZWwyMjgyMTIyMTky", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:experimental", "name": "area:experimental", "color": "C2E0C6", "default": false, "description": "Related to experimental features" }, { "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-10T03:52:01
2022-12-07T00:01:05
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 # A race case happens when: 1. experimental_get_query_params() - This provides KW variables from localhost:8501/?face=details 2. Either `options` is ordered so that `options[0]==face and index=0` or `index=options.index(face)` 3. Given face="details", calling st.selectbox('Face Name', options, index, key='face') returns face_name. 4. Finally, experimental_set_query_params(face=face_name) - This modifies the variable shown in localhost:8501/?face=grid **When the selection changes,** the code is reran and the default (line 2) changes, which triggers another refresh. The observable issue is that line 3 will refresh the page and the selection will be lost. **Why is it a race condition?** It doesn't happen every time. With nothing to slow the code, it often retains the value. If I add 100-200ms from 1-2 print messages, it fails ~50% of the time. **Issue**: The code expects to sync the URL key-value pairs with streamlit inputs. The issue is caused by changing `options` or `index` to set the current value after the page reloads. **Recommendation**: The input variable `index` should not be part of the objects state definition. Alternately, provide a way to dynamically set UI values or better control the flow. My application involves stepping through data that is effectively an infinite graph. I use it for search and recommendation. Since my app is now a collection of demos (datasets) and HTML+CSS interfaces (faces), with variables for clicked item, query, demo, and face. This URL lead interface is important to allow various apps to connect by sending the user around. I also have embedded submit forms. It all ties together with the KW args in the URL defining the initial state. ### Reproducible Code Example ```Python def get_variable(params, title='Face', key='face', options=[]): #params = st.experimental_get_query_params() face_name = params.get(key,'') # print(f'\n[get_variable] {key}={face_name}') face_name = face_name[0] if isinstance(face_name,list) and len(face_name)>0 else face_name face_idx = 0 # face_idx = dict(zip(options, range(len(options)))).get(face_name, 0) # options = sorted(options, key=lambda x: -int(x==face_name)) selection = st.sidebar.selectbox(title, options, index=face_idx, key=f'var_{key}') # print(f'[get_variable] selection={selection}') return selection ``` ### Steps To Reproduce above ### 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/5682/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/5682/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5681
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5681/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5681/comments
https://api.github.com/repos/streamlit/streamlit/issues/5681/events
https://github.com/streamlit/streamlit/pull/5681
1,443,101,024
PR_kwDODCoeTs5ClBOy
5,681
Plotly Customization
{ "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
1
2022-11-10T01:56:07
2022-11-16T19:27:22
2022-11-16T19:27:21
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 Right now, the current implementation of st.plotly_chart(...,theme="streamlit") doesn't allow overriding properties within a graph; it will always applies streamlit theme to that graph. As a result, it's not very usable for a developer who wants to override the colors or other such specific things but also get Streamlit's layout changes. As a result, this PR is for that. This is mainly refactoring and allowing theme="streamlit" to be the default. We are using Plotly's inbuilt theme object and then passing that to the frontend because we want to swap the colors when the settings are swapped from light to dark and the backend has no knowledge of that. Demo app: https://streamlit-feature-demos-plotlystreamlitstreamlit-app-jjumlv.streamlit.app _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [x] Bugfix - [x] Feature - [X] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - Remove Most of the overriding frontend code - Add in Plotly's built in theme - Add in some hard coded temporary colors on the backend - Add frontend code to replace those hard coded temporary colors - _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_ ![Screen Shot 2022-11-11 at 12 05 49 PM](https://user-images.githubusercontent.com/16749069/201423448-6df2a498-ed2f-40a0-bab9-f6585a72db39.png) **Current:** ![Screen Shot 2022-11-11 at 12 05 51 PM](https://user-images.githubusercontent.com/16749069/201423353-98f96df7-4697-4358-9a84-d0c19ebd197b.png) _Insert screenshot of existing UI/code here_ ## πŸ§ͺ 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/5681/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/5681/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5681", "html_url": "https://github.com/streamlit/streamlit/pull/5681", "diff_url": "https://github.com/streamlit/streamlit/pull/5681.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5681.patch", "merged_at": "2022-11-16T19:27:21" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5680
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5680/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5680/comments
https://api.github.com/repos/streamlit/streamlit/issues/5680/events
https://github.com/streamlit/streamlit/pull/5680
1,442,977,184
PR_kwDODCoeTs5CklS2
5,680
Use specialized assertion functions
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-10T00:10:38
2022-11-13T17:50:57
2022-11-13T17:50: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 I was working on the tests for `st.map` and saw that the `assertTrue` function was used there. This makes the error message not very helpful. Here is the difference: ```diff -E AssertionError: False is not true +E AssertionError: 'Map data must contain a column named' not found in 'Invalid exception' ``` Hopefully we'll start using [plain assert-statements](https://docs.pytest.org/en/7.1.x/how-to/assert.html#assert) instead of `self.assert*` functions someday, and then similar problems won't happen. _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/5680/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/5680/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5680", "html_url": "https://github.com/streamlit/streamlit/pull/5680", "diff_url": "https://github.com/streamlit/streamlit/pull/5680.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5680.patch", "merged_at": "2022-11-13T17:50:52" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5679
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5679/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5679/comments
https://api.github.com/repos/streamlit/streamlit/issues/5679/events
https://github.com/streamlit/streamlit/pull/5679
1,442,854,758
PR_kwDODCoeTs5CkJeZ
5,679
Display existing column names in st.map exception
{ "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 }
[]
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
2
2022-11-09T22:33:21
2022-11-17T20:13:11
2022-11-17T12:24:59
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 Thanks @sfc-gh-kbregula for noticing this, I talked to @jrieke and we can just use capital letters column names for `st.map`, this PR does it additionally to your improved error message. Below is @sfc-gh-kbregula original message: I started using our newest Snowpark integration and wrote the code below. ```python df = snowpark_session.sql(""" SELECT * FROM ( VALUES (1, 10), (2, 20), (3, 30), (4, 40) ) AS V1(lat, lot) """) st.map(df) ``` It turned out that the code above doesn't work because Snowpark returns all columns as uppercase. From the exception message, this was not easily discoverable, so I am adding the column names to make the message more user-friendly and actionable. After merging this change, running the above code will result in the message below. ``` Map data must contain a column named 'latitude' or 'lat'. Existing columns: 'LAT', 'LAT' ``` Another issue is whether we should check column names ignoring case, but this will probably need some discussion, so I'm not changing it yet. _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 - [ ] 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/5679/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/5679/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5679", "html_url": "https://github.com/streamlit/streamlit/pull/5679", "diff_url": "https://github.com/streamlit/streamlit/pull/5679.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5679.patch", "merged_at": "2022-11-17T12:24:59" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5678
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5678/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5678/comments
https://api.github.com/repos/streamlit/streamlit/issues/5678/events
https://github.com/streamlit/streamlit/issues/5678
1,442,745,094
I_kwDODCoeTs5V_osG
5,678
Unify the distance between label and help for different widgets
{ "login": "PlatonB", "id": 25541767, "node_id": "MDQ6VXNlcjI1NTQxNzY3", "avatar_url": "https://avatars.githubusercontent.com/u/25541767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PlatonB", "html_url": "https://github.com/PlatonB", "followers_url": "https://api.github.com/users/PlatonB/followers", "following_url": "https://api.github.com/users/PlatonB/following{/other_user}", "gists_url": "https://api.github.com/users/PlatonB/gists{/gist_id}", "starred_url": "https://api.github.com/users/PlatonB/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PlatonB/subscriptions", "organizations_url": "https://api.github.com/users/PlatonB/orgs", "repos_url": "https://api.github.com/users/PlatonB/repos", "events_url": "https://api.github.com/users/PlatonB/events{/privacy}", "received_events_url": "https://api.github.com/users/PlatonB/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": "" } ]
open
false
null
[]
null
1
2022-11-09T21:05:58
2022-11-21T11:36:19
null
NONE
null
As an example, for `st.radio` this distance is minimal. But in `st.text_input` `help` is at the right edge of the canvas. ![Streamlit_help_distance](https://user-images.githubusercontent.com/25541767/200937693-0c269274-f2fa-4f95-b371-0845243a887a.png) To find each `help`, the user needs to move his eyes around, which is inconvenient. I suggest for **all widgets** either to pin `help` to `label`, or to align the location of `help` on the entire canvas level. In the second variant, perhaps it would be a good idea to place `help` column slightly more right than the longest `label`. --- 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/5678/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/5678/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5677
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5677/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5677/comments
https://api.github.com/repos/streamlit/streamlit/issues/5677/events
https://github.com/streamlit/streamlit/issues/5677
1,442,725,079
I_kwDODCoeTs5V_jzX
5,677
`experimental_allow_widgets=True` doesn't work in nested `@st.experimental_singleton`
{ "login": "kajarenc", "id": 6664805, "node_id": "MDQ6VXNlcjY2NjQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kajarenc", "html_url": "https://github.com/kajarenc", "followers_url": "https://api.github.com/users/kajarenc/followers", "following_url": "https://api.github.com/users/kajarenc/following{/other_user}", "gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}", "starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions", "organizations_url": "https://api.github.com/users/kajarenc/orgs", "repos_url": "https://api.github.com/users/kajarenc/repos", "events_url": "https://api.github.com/users/kajarenc/events{/privacy}", "received_events_url": "https://api.github.com/users/kajarenc/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": 1607719438, "node_id": "MDU6TGFiZWwxNjA3NzE5NDM4", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache", "name": "feature:cache", "color": "C5DEF5", "default": false, "description": "Related to st.cache, st.experimental_singleton, st.experimental_memo" }, { "id": 2282122192, "node_id": "MDU6TGFiZWwyMjgyMTIyMTky", "url": "https://api.github.com/repos/streamlit/streamlit/labels/area:experimental", "name": "area:experimental", "color": "C2E0C6", "default": false, "description": "Related to experimental features" }, { "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": "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 }
[ { "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 } ]
null
0
2022-11-09T20:46:57
2022-11-22T21:37:20
2022-11-22T21:37:20
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 Error happens when I try to call function decorated with `@st.experimental_singleton(experimental_allow_widgets=True)` decorator in another function decorated with `@st.experimental_singleton` (or even with `@st.experimental_singleton(experimental_allow_widgets=True)` Traceback: ```python Traceback (most recent call last): File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/cache_utils.py", line 339, in get_or_create_cached_value result = cache.read_result(value_key) File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/singleton_decorator.py", line 302, in read_result raise CacheKeyNotFoundError() streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/cache_utils.py", line 339, in get_or_create_cached_value result = cache.read_result(value_key) File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/singleton_decorator.py", line 302, in read_result raise CacheKeyNotFoundError() streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/scriptrunner/script_runner.py", line 564, in _run_script exec(code, module.__dict__) File "/Users/kjavadyan/streamlit/streamlit/tmp.py", line 15, in <module> st.write(baz(10)) File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/cache_utils.py", line 387, in wrapper return get_or_create_cached_value() File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/cache_utils.py", line 360, in get_or_create_cached_value return_value = func(*args, **kwargs) File "/Users/kjavadyan/streamlit/streamlit/tmp.py", line 12, in baz return foo() + y File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/cache_utils.py", line 387, in wrapper return get_or_create_cached_value() File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/cache_utils.py", line 360, in get_or_create_cached_value return_value = func(*args, **kwargs) File "/Users/kjavadyan/streamlit/streamlit/tmp.py", line 6, in foo x = st.number_input("AAAA", 1, 100, 12) File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/metrics_util.py", line 311, in wrapped_func result = non_optional_func(*args, **kwargs) File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/elements/number_input.py", line 150, in number_input return self._number_input( File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/elements/number_input.py", line 345, in _number_input self.dg._enqueue("number_input", number_input_proto) File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/delta_generator.py", line 556, in _enqueue caching.save_element_message( File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/__init__.py", line 54, in save_element_message SINGLETON_MESSAGE_CALL_STACK.save_element_message( File "/Users/kjavadyan/streamlit/streamlit/lib/streamlit/runtime/caching/cache_utils.py", line 595, in save_element_message raise AttributeError ``` ### Reproducible Code Example ```python import streamlit as st @st.experimental_singleton(experimental_allow_widgets=True) def foo(): x = st.number_input("AAAA", 1, 100, 12) return x ** 2 @st.experimental_singleton(experimental_allow_widgets=True) def baz(y): return foo() + y st.write(baz(10)) ``` ### 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/5677/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/5677/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5676
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5676/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5676/comments
https://api.github.com/repos/streamlit/streamlit/issues/5676/events
https://github.com/streamlit/streamlit/pull/5676
1,442,649,335
PR_kwDODCoeTs5CjcTp
5,676
Remove trailing whitespaces
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-09T19:43:11
2022-11-09T23:28:08
2022-11-09T23:27: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 Follow up: https://github.com/streamlit/streamlit/pull/5663/files This PR deleted leading whitespaces, but did not prevent them from being added again. This PR adds a pre-commit hook so that this problem is detected and fixed automatically. _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/5676/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/5676/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5676", "html_url": "https://github.com/streamlit/streamlit/pull/5676", "diff_url": "https://github.com/streamlit/streamlit/pull/5676.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5676.patch", "merged_at": "2022-11-09T23:27:56" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5675
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5675/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5675/comments
https://api.github.com/repos/streamlit/streamlit/issues/5675/events
https://github.com/streamlit/streamlit/pull/5675
1,442,619,839
PR_kwDODCoeTs5CjV-B
5,675
Image replay in cached functions
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-09T19:17:45
2022-11-11T20:43:02
2022-11-11T20:42:56
COLLABORATOR
null
## πŸ“š Context Replay of media elements, part 1: images - What kind of change does this PR introduce? - [ ] Bugfix - [x] Feature - [ ] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - Store image data in cache - Use stored image data to add image to MediaFileManager when replaying element - [ ] This is a breaking API change - [x] This is a visible (user-facing) change ## πŸ§ͺ Testing Done - [ ] Screenshots included - [x] Added/Updated unit tests - [x] Added/Updated e2e tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5675/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/5675/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5675", "html_url": "https://github.com/streamlit/streamlit/pull/5675", "diff_url": "https://github.com/streamlit/streamlit/pull/5675.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5675.patch", "merged_at": "2022-11-11T20:42:56" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5674
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5674/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5674/comments
https://api.github.com/repos/streamlit/streamlit/issues/5674/events
https://github.com/streamlit/streamlit/issues/5674
1,442,590,543
I_kwDODCoeTs5V_C9P
5,674
SVG image from e2e tests does not render in Firefox
{ "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": 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": 1516285329, "node_id": "MDU6TGFiZWwxNTE2Mjg1MzI5", "url": "https://api.github.com/repos/streamlit/streamlit/labels/good%20first%20issue", "name": "good first issue", "color": "FEF2C0", "default": true, "description": "Good for newcomers" }, { "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": 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": 4331012839, "node_id": "LA_kwDODCoeTs8AAAABAiYC5w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.image", "name": "feature:st.image", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
10
2022-11-09T18:54:43
2023-01-28T12:05:27
null
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 The `st.image` cypress test renders an svg with a github avatar. The avatar appears as expected in chromium, but does not appear in firefox 100. ### Reproducible Code Example ```Python import streamlit as st st.image( """<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100"> <clipPath id="clipCircle"> <circle r="25" cx="25" cy="25"/> </clipPath> <image href="https://avatars.githubusercontent.com/karriebear" width="50" height="50" clip-path="url(#clipCircle)"/> </svg> """ ) ``` ### Steps To Reproduce _No response_ ### Expected Behavior Avatar renders in all supported browsers ### Current Behavior Avatar renders in Chromium, but not Firefox ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Operating System: Fedora 34 - Browser: Firefox 100.0.2 - Virtual environment: Pipenv ### 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/5674/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/5674/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5673
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5673/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5673/comments
https://api.github.com/repos/streamlit/streamlit/issues/5673/events
https://github.com/streamlit/streamlit/issues/5673
1,442,232,140
I_kwDODCoeTs5V9rdM
5,673
Improve website metadata
{ "login": "RubenVanEldik", "id": 25854734, "node_id": "MDQ6VXNlcjI1ODU0NzM0", "avatar_url": "https://avatars.githubusercontent.com/u/25854734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RubenVanEldik", "html_url": "https://github.com/RubenVanEldik", "followers_url": "https://api.github.com/users/RubenVanEldik/followers", "following_url": "https://api.github.com/users/RubenVanEldik/following{/other_user}", "gists_url": "https://api.github.com/users/RubenVanEldik/gists{/gist_id}", "starred_url": "https://api.github.com/users/RubenVanEldik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RubenVanEldik/subscriptions", "organizations_url": "https://api.github.com/users/RubenVanEldik/orgs", "repos_url": "https://api.github.com/users/RubenVanEldik/repos", "events_url": "https://api.github.com/users/RubenVanEldik/events{/privacy}", "received_events_url": "https://api.github.com/users/RubenVanEldik/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": 4647326216, "node_id": "LA_kwDODCoeTs8AAAABFQCSCA", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:config", "name": "feature:config", "color": "C5DEF5", "default": false, "description": "Related to config settings" } ]
open
false
null
[]
null
0
2022-11-09T14:44:59
2022-11-15T17:00:11
null
CONTRIBUTOR
null
### Problem Streamlit apps are becoming more and more fully fledged web applications. However, the basic website metadata functionalities are still suboptimal, this causes the app to look kind of weird when shared online. ### Solution I would appreciate it if we could specify more [web app manifest](https://developer.mozilla.org/en-US/docs/Web/Manifest) parameters via `streamlit.config.yaml`, so the webpage looks better in search engine results and when shared: - name - short_name - description - author - language - display (default should be standalone) - icons (ideally just a path to an image and Streamlit will convert it to the different required icon formats/sizes) - theme_color (default should be theme.primaryColor) - background_color (default should be theme.backgroundColor) Personally, I really like how the Nuxt.js PWA module does this, for inspiration see https://pwa.nuxtjs.org/meta. This could possibly be added to `streamlit/config.yaml` like this: ``` [server] runOnSave = true [theme] base = "light" primaryColor = "#dc2626" [metadata] name = "My super long app name" short_name = "Short app name" display = "standalone" icon = "./icon.png" ``` --- 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/5673/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/5673/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5672
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5672/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5672/comments
https://api.github.com/repos/streamlit/streamlit/issues/5672/events
https://github.com/streamlit/streamlit/pull/5672
1,442,171,025
PR_kwDODCoeTs5Ch05t
5,672
Add support for colored text in st.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": 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": "" }, { "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
8
2022-11-09T14:07:18
2022-11-28T12:12:49
2022-11-28T12:12:48
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 adds support for colored text in ```st.markdown```, so the code ```st.markdown("""This is [red]important![/red]""")``` will produce ![image](https://user-images.githubusercontent.com/78742618/200851393-bfc86794-89a1-402e-a468-5b96702e6130.png) - 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:** _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/5672/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/5672/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5672", "html_url": "https://github.com/streamlit/streamlit/pull/5672", "diff_url": "https://github.com/streamlit/streamlit/pull/5672.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5672.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5671
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5671/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5671/comments
https://api.github.com/repos/streamlit/streamlit/issues/5671/events
https://github.com/streamlit/streamlit/pull/5671
1,442,067,430
PR_kwDODCoeTs5CheXC
5,671
Docs: Update docstring for `sample_rate` st.audio parameter
{ "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": 1634956291, "node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs", "name": "type:docs", "color": "0052CC", "default": false, "description": "Requests for changes to docs (will be rerouted to docs repo)" } ]
closed
false
null
[]
null
0
2022-11-09T13:06:42
2022-11-16T10:01:43
2022-11-11T19:12:13
MEMBER
null
## πŸ“š Context #5554 added an optional keyword-only `sample_rate` parameter to st.audio, that should be used only in case when data is NumPy array. The docstring could be improved with a simple example demonstrating the usage of `sample_rate`. - What kind of change does this PR introduce? - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes - Adds a simple example demonstrating the usage of `sample_rate` in the `st.audio` docstring - Fixes reStructuredText inline code bugs in the docstring - Updated the associated [embedded app](https://doc-audio.streamlit.app/) to include the new example in the docs repo via https://github.com/streamlit/docs/pull/522 - [x] This is a visible (user-facing) change
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5671/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/5671/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5671", "html_url": "https://github.com/streamlit/streamlit/pull/5671", "diff_url": "https://github.com/streamlit/streamlit/pull/5671.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5671.patch", "merged_at": "2022-11-11T19:12:13" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5670
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5670/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5670/comments
https://api.github.com/repos/streamlit/streamlit/issues/5670/events
https://github.com/streamlit/streamlit/pull/5670
1,442,006,697
PR_kwDODCoeTs5ChRPy
5,670
Docs: Add docstrings for `experimental_allow_widgets`
{ "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": 1634956291, "node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs", "name": "type:docs", "color": "0052CC", "default": false, "description": "Requests for changes to docs (will be rerouted to docs repo)" } ]
closed
false
null
[]
null
0
2022-11-09T12:26:03
2022-11-16T10:03:47
2022-11-11T19:12:34
MEMBER
null
## πŸ“š Context #5298 added a new boolean `experimental_allow_widgets` parameter to the experimental cache primitives. This parameter is undocumented. - What kind of change does this PR introduce? - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes - Adds documentation for `experimental_allow_widgets` in the experimental cache primitives docstrings. - [x] This is a visible (user-facing) change
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5670/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/5670/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5670", "html_url": "https://github.com/streamlit/streamlit/pull/5670", "diff_url": "https://github.com/streamlit/streamlit/pull/5670.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5670.patch", "merged_at": "2022-11-11T19:12:34" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5669
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5669/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5669/comments
https://api.github.com/repos/streamlit/streamlit/issues/5669/events
https://github.com/streamlit/streamlit/pull/5669
1,441,929,520
PR_kwDODCoeTs5ChAlA
5,669
Remove `st.write` from `CachedStFunctionWarning`
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-09T11:33:18
2022-11-11T19:12:24
2022-11-11T19:12:24
MEMBER
null
## πŸ“š Context All three caching primitives now allow `st.write()` to be included/replayed in the cached function. Currently when a `CachedStFunctionWarning` is raised, the message includes a mention of `st.write()`. Note: no warning is raised when `st.write()` is used in a cache-decorated function: ```python import streamlit as st @st.cache def foo(): st.write("bar") foo() # CachedStFunctionWarning is not raised ``` - What kind of change does this PR introduce? - [x] Bugfix ## 🧠 Description of Changes Removes the mention of `st.write()` from `CachedStFunctionWarning` - [x] This is a visible (user-facing) change **Revised:** ```python import streamlit as st @st.experimental_memo def foo(): st.image("https://www.streamlit.io/images/brand/streamlit-mark-color.png") foo() # Warning doesn't include st.write() ``` <details><summary>Toggle to view screenshot</summary> ![image](https://user-images.githubusercontent.com/20672874/200818834-50d33ec7-50cd-49ec-92db-acb03411257e.png) </details> **Current:** ```python import streamlit as st @st.experimental_memo def foo(): st.image("https://www.streamlit.io/images/brand/streamlit-mark-color.png") foo() # Incorrectly includes st.write() in the warning ``` <details><summary>Toggle to view screenshot</summary> ![image](https://user-images.githubusercontent.com/20672874/200819161-4418c9a1-c5ba-45c2-bbcf-efb6e7186d01.png) </details> ## πŸ§ͺ Testing Done - [x] Screenshots included
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5669/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/5669/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5669", "html_url": "https://github.com/streamlit/streamlit/pull/5669", "diff_url": "https://github.com/streamlit/streamlit/pull/5669.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5669.patch", "merged_at": "2022-11-11T19:12:24" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5668
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5668/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5668/comments
https://api.github.com/repos/streamlit/streamlit/issues/5668/events
https://github.com/streamlit/streamlit/pull/5668
1,441,786,897
PR_kwDODCoeTs5Cghna
5,668
Docs: Add docs for label markdown feature
{ "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": 1634956291, "node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx", "url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs", "name": "type:docs", "color": "0052CC", "default": false, "description": "Requests for changes to docs (will be rerouted to docs repo)" } ]
closed
false
null
[]
null
0
2022-11-09T09:59:41
2022-11-16T10:05:30
2022-11-11T19:11:38
MEMBER
null
## πŸ“š Context #5651 added support for the use of limited markdown in labels for button/download button, widgets, expander, and tabs. The docstrings for the affected elements needs to be updated to reflect limited markdown support in the label parameter. - What kind of change does this PR introduce? - [x] Other, please describe: Doc improvement request ## 🧠 Description of Changes - Updates the `label` parameter docstring of button/download button to include: > The label can optionally contain Markdown and supports the following elements: Bold, Italics, Strikethroughs, and Emojis. - Updates the `label` parameter docstring of widgets, expander, and tabs to include: > The label can optionally contain Markdown and supports the following elements: Bold, Italics, Strikethroughs, Inline Code, Emojis, and Links. - [x] This is a visible (user-facing) change **Revised:** ![image](https://user-images.githubusercontent.com/20672874/200799883-7d94c022-ea17-4278-bdd3-3aaa51c2bc33.png) **Current:** ![image](https://user-images.githubusercontent.com/20672874/200799967-1ab50241-ada9-4d82-9fa5-2c756836e130.png) ## πŸ§ͺ Testing Done - [x] Screenshots included
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5668/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/5668/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5668", "html_url": "https://github.com/streamlit/streamlit/pull/5668", "diff_url": "https://github.com/streamlit/streamlit/pull/5668.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5668.patch", "merged_at": "2022-11-11T19:11:38" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5667
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5667/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5667/comments
https://api.github.com/repos/streamlit/streamlit/issues/5667/events
https://github.com/streamlit/streamlit/issues/5667
1,441,716,342
I_kwDODCoeTs5V7th2
5,667
Not enough free pages remaining for a Mindee template where it should have unlimited pages
{ "login": "EmmaBelleut1", "id": 117814055, "node_id": "U_kgDOBwWzJw", "avatar_url": "https://avatars.githubusercontent.com/u/117814055?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EmmaBelleut1", "html_url": "https://github.com/EmmaBelleut1", "followers_url": "https://api.github.com/users/EmmaBelleut1/followers", "following_url": "https://api.github.com/users/EmmaBelleut1/following{/other_user}", "gists_url": "https://api.github.com/users/EmmaBelleut1/gists{/gist_id}", "starred_url": "https://api.github.com/users/EmmaBelleut1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/EmmaBelleut1/subscriptions", "organizations_url": "https://api.github.com/users/EmmaBelleut1/orgs", "repos_url": "https://api.github.com/users/EmmaBelleut1/repos", "events_url": "https://api.github.com/users/EmmaBelleut1/events{/privacy}", "received_events_url": "https://api.github.com/users/EmmaBelleut1/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
1
2022-11-09T09:13:57
2022-11-09T22:04:23
2022-11-09T22:04: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 have a mindee unlimited account, Papernest-org, but I can't process files, they told there is no pages remaining, where as this is an unlimited account. It doesn't work on any template. I tried on unlimited templates such as ES Invoices Elec - Endesa, ES Invoices Elec - Iberdrola, ES Invoices Elec - Fenie, ES Invoices Elec - Holaluz, ES Invoices Elec - Energia XXI ![image](https://user-images.githubusercontent.com/117814055/200789601-61c7adad-9bf8-4961-9b54-9ae5149d42b5.png) ### Reproducible Code Example _No response_ ### Steps To Reproduce _No response_ ### Expected Behavior Processing files ### Current Behavior No processing files ### 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/5667/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/5667/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5666
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5666/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5666/comments
https://api.github.com/repos/streamlit/streamlit/issues/5666/events
https://github.com/streamlit/streamlit/issues/5666
1,441,171,450
I_kwDODCoeTs5V5of6
5,666
Deploy app with Google App Engine no longer works with 1.14.0
{ "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 }
[]
closed
false
null
[]
null
4
2022-11-09T01:10:17
2022-12-13T09:42:02
2022-11-09T22:22:59
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 tried to deploy an app with this new version in Google App Engine with no luck. The app page only showed β€œPlease wait…”. @vdonato managed to track down the root-cause of the issue, which is that one of my recent changes made things so that the web client always does a healthcheck on the server before trying to establish its websocket connection. Previously, it just attempted to establish the websocket connection without knowing whether the server is healthy. @vdonato is fairly certain that /healthz has actually always been broken in Cloud Run / App Engine (due to the endpoint name being reserved), but it previously wasn’t an obvious issue because it only got pinged if the client lost its websocket connection. At that point, you’d see the same behavior that you’re running into now since the /healthz checks are guaranteed to fail, but it’d only be mildly annoying because a page refresh would fix it. ### 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: 1.14.0 ### 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/5666/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/streamlit/streamlit/issues/5666/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5665
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5665/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5665/comments
https://api.github.com/repos/streamlit/streamlit/issues/5665/events
https://github.com/streamlit/streamlit/pull/5665
1,441,122,502
PR_kwDODCoeTs5CeQ8v
5,665
Add new MockSessionManager class for testing
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-09T00:23:39
2022-11-09T21:04:02
2022-11-09T21:03:54
COLLABORATOR
null
## πŸ“š Context Our runtime tests (in this feature branch) currently rely on the `WebsocketSessionManager` implementation, which isn't ideal because we'd rather not have the runtime tests rely on a real/concrete `SessionManager` implementation. This PR changes this so that a new, minimal `MockSessionManager` (which for now looks more or less exactly like `WebsocketSessionManager`, but only because we haven't actually changed the behavior of `WebsocketSessionManager` yet) is used in runtime tests instead. - What kind of change does this PR introduce? - [x] Other, please describe: testing improvements ## πŸ§ͺ Testing Done - [x] Added/Updated unit tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5665/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/5665/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5665", "html_url": "https://github.com/streamlit/streamlit/pull/5665", "diff_url": "https://github.com/streamlit/streamlit/pull/5665.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5665.patch", "merged_at": "2022-11-09T21:03:54" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5664
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5664/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5664/comments
https://api.github.com/repos/streamlit/streamlit/issues/5664/events
https://github.com/streamlit/streamlit/pull/5664
1,440,981,849
PR_kwDODCoeTs5CdxvL
5,664
Audit frontend licenses
{ "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-08T22:12:38
2022-11-14T22:51:10
2022-11-14T22:51:07
COLLABORATOR
null
- `audit_frontend_licenses.py` is a script that examines the license types for all our frontend production dependencies, and exits with an error if any dependency uses an unacceptable license (for example, the GPL license). - This script is run automatically in our `js-tests` CI job, which means CI will fail if we accidentally bring a package with an incompatible license into the codebase. Before merging this PR, we need to have legal sign off on it.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5664/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/5664/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5664", "html_url": "https://github.com/streamlit/streamlit/pull/5664", "diff_url": "https://github.com/streamlit/streamlit/pull/5664.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5664.patch", "merged_at": "2022-11-14T22:51:07" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5663
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5663/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5663/comments
https://api.github.com/repos/streamlit/streamlit/issues/5663/events
https://github.com/streamlit/streamlit/pull/5663
1,440,867,692
PR_kwDODCoeTs5CdY_Z
5,663
Fix bash warnings in CI
{ "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
{ "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 }
[ { "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 } ]
null
0
2022-11-08T20:34:54
2022-11-09T18:04:22
2022-11-09T18:04:19
COLLABORATOR
null
Remove the `-i` ("interactive") option from our bash invocations in CI jobs. This fixes the "bash: cannot set terminal process group: Inappropriate ioctl for device" warning printed in all of our workflow jobs. (The PR also trims whitespace at the end of lines in our CI yaml files.)
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5663/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/5663/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5663", "html_url": "https://github.com/streamlit/streamlit/pull/5663", "diff_url": "https://github.com/streamlit/streamlit/pull/5663.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5663.patch", "merged_at": "2022-11-09T18:04:19" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5662
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5662/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5662/comments
https://api.github.com/repos/streamlit/streamlit/issues/5662/events
https://github.com/streamlit/streamlit/pull/5662
1,440,646,144
PR_kwDODCoeTs5CcprZ
5,662
Add mypy fixes
{ "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-08T17:49:52
2022-11-08T20:04:39
2022-11-08T20:04:38
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 mypy is failing _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [x] Other, please describe: ## 🧠 Description of Changes remove unnecessary mypy ignores and add ints for metric.py
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5662/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/5662/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5662", "html_url": "https://github.com/streamlit/streamlit/pull/5662", "diff_url": "https://github.com/streamlit/streamlit/pull/5662.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5662.patch", "merged_at": "2022-11-08T20:04:38" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5661
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5661/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5661/comments
https://api.github.com/repos/streamlit/streamlit/issues/5661/events
https://github.com/streamlit/streamlit/issues/5661
1,440,594,472
I_kwDODCoeTs5V3boo
5,661
camera_input repeatedly reopens webcam as window width changes (in wide layout)
{ "login": "kcarnold", "id": 21072, "node_id": "MDQ6VXNlcjIxMDcy", "avatar_url": "https://avatars.githubusercontent.com/u/21072?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kcarnold", "html_url": "https://github.com/kcarnold", "followers_url": "https://api.github.com/users/kcarnold/followers", "following_url": "https://api.github.com/users/kcarnold/following{/other_user}", "gists_url": "https://api.github.com/users/kcarnold/gists{/gist_id}", "starred_url": "https://api.github.com/users/kcarnold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kcarnold/subscriptions", "organizations_url": "https://api.github.com/users/kcarnold/orgs", "repos_url": "https://api.github.com/users/kcarnold/repos", "events_url": "https://api.github.com/users/kcarnold/events{/privacy}", "received_events_url": "https://api.github.com/users/kcarnold/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": 4366692428, "node_id": "LA_kwDODCoeTs8AAAABBEZwTA", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.camera_input", "name": "feature:st.camera_input", "color": "C5DEF5", "default": false, "description": "" } ]
closed
false
null
[]
null
3
2022-11-08T17:13:40
2022-12-02T16:10:40
2022-12-02T16:10:40
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 set up a wide-layout Streamlit app with two columns, and put a `st.camera_input` in the left column. The positioning was such that when the camera preview appeared it expanded the height enough that a scrollbar appeared. That changed the width of the page (and thus the column containing the camera widget, which (presumably because of the behavior mentioned in https://github.com/streamlit/streamlit/issues/4320) caused the `camera_input` widget to close and reopen the webcam input, hiding the preview in the process. Repeat. This initially appeared as a rapidly jittering page, then as `camera_input` not working at all, and now (as I write this) my MacBook Pro's camera LED is cycling on and off, half an hour or more after closing the Streamlit app and browser that caused this problem. This part is a bug in macOS 12.6.1, which must have some queue of media requests that has way too big a bound, and a bug in Firefox that allows a webpage to spam this queue. However, even if the macOS and Firefox bugs are fixed, this issue could still result in jitter or unstable image sizes in camera previews in Streamlit. Using a consistent and predictable capture canvas size, as requested in https://github.com/streamlit/streamlit/issues/4320, would readily fix this issue also. ### Reproducible Code Example https://issues.streamlit.app/?issue=gh-5661 ### Steps To Reproduce ```import streamlit as st from PIL import Image st.set_page_config(layout="wide") col1, col2 = st.columns(2) with col1: img_file_buffer = st.camera_input("Take a picture") if img_file_buffer is not None: im = Image.open(img_file_buffer) st.write(f"{im.width} x {im.height}") with col2: height = st.number_input("height", value=200, step=10) st.write(f'<div style="border: 5px solid red; height: {height}px">Adjust me</div>', unsafe_allow_html=True) ``` 1. Take a photo. Notice that the size is a nonstandard size, like (for me) 773 x 579. This is the other (and more fundamental) bug, https://github.com/streamlit/streamlit/issues/4320. (But the default should be a standard, useful size.) 2. Clear the photo. 3. Adjust the right-side height until a scroll bar appears. Notice that the camera input restarts. This isn't too bothersome, but... 4. Resize your browser window horizontally, just for a short time. Don't do this for too long or your webcam won't work for a while. ### 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: 1.13 - Python version: 3.10.6 - Operating System: macOS 12.6.1 - Browser: Firefox 106.0.5 - Virtual environment: n/a ### 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/5661/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/5661/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5660
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5660/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5660/comments
https://api.github.com/repos/streamlit/streamlit/issues/5660/events
https://github.com/streamlit/streamlit/pull/5660
1,440,536,763
PR_kwDODCoeTs5CcSAf
5,660
Add info about voting on features
{ "login": "carolinedlu", "id": 42614552, "node_id": "MDQ6VXNlcjQyNjE0NTUy", "avatar_url": "https://avatars.githubusercontent.com/u/42614552?v=4", "gravatar_id": "", "url": "https://api.github.com/users/carolinedlu", "html_url": "https://github.com/carolinedlu", "followers_url": "https://api.github.com/users/carolinedlu/followers", "following_url": "https://api.github.com/users/carolinedlu/following{/other_user}", "gists_url": "https://api.github.com/users/carolinedlu/gists{/gist_id}", "starred_url": "https://api.github.com/users/carolinedlu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/carolinedlu/subscriptions", "organizations_url": "https://api.github.com/users/carolinedlu/orgs", "repos_url": "https://api.github.com/users/carolinedlu/repos", "events_url": "https://api.github.com/users/carolinedlu/events{/privacy}", "received_events_url": "https://api.github.com/users/carolinedlu/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
1
2022-11-08T16:37:57
2022-11-14T21:13:38
2022-11-14T21:13:34
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 _Please describe the project or issue background here_ - What kind of change does this PR introduce? - [ ] Bugfix - [ ] Feature - [ ] Refactoring - [X ] Other, please describe: Change to template for feature enhancement requests ## 🧠 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/5660/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/5660/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5660", "html_url": "https://github.com/streamlit/streamlit/pull/5660", "diff_url": "https://github.com/streamlit/streamlit/pull/5660.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5660.patch", "merged_at": "2022-11-14T21:13:34" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5659
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5659/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5659/comments
https://api.github.com/repos/streamlit/streamlit/issues/5659/events
https://github.com/streamlit/streamlit/issues/5659
1,440,432,328
I_kwDODCoeTs5V20DI
5,659
Password fields don't update on tab when using 1password browser extension
{ "login": "blackary", "id": 4040678, "node_id": "MDQ6VXNlcjQwNDA2Nzg=", "avatar_url": "https://avatars.githubusercontent.com/u/4040678?v=4", "gravatar_id": "", "url": "https://api.github.com/users/blackary", "html_url": "https://github.com/blackary", "followers_url": "https://api.github.com/users/blackary/followers", "following_url": "https://api.github.com/users/blackary/following{/other_user}", "gists_url": "https://api.github.com/users/blackary/gists{/gist_id}", "starred_url": "https://api.github.com/users/blackary/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/blackary/subscriptions", "organizations_url": "https://api.github.com/users/blackary/orgs", "repos_url": "https://api.github.com/users/blackary/repos", "events_url": "https://api.github.com/users/blackary/events{/privacy}", "received_events_url": "https://api.github.com/users/blackary/received_events", "type": "User", "site_admin": false }
[ { "id": 3904167520, "node_id": "LA_kwDODCoeTs7otN5g", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.text_input", "name": "feature:st.text_input", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
0
2022-11-08T15:34:27
2022-11-08T19:22:06
null
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 There's some strange interaction between the 1password browser extension and the password field. I'm not at all confident this is a streamlit issue, but wanted to make note of it in case there's an apparent fix on the streamlit side. When adding a password field and using tab to navigate around a form, the password value entered does not get returned back to the app when using the 1password browser extension. If the extension is disabled, it works as expected. I did check the value of the input using `document.getElementsByTagName("input")[0].value` and it had the value as expected. ### Reproducible Code Example ```Python import streamlit as st pwd = st.text_input("Password", type="password") if st.button("Submit"): st.write("Password:", pwd) ``` ### Steps To Reproduce 1. Enable the 1password browser extension 1. Click on password input 1. Type some text 1. Hit tab to go to button 1. Hit enter to submit ### Expected Behavior Print the password entered ### Current Behavior Prints `password: ` as if a password had not been entered Note that the input borders remain red as if they haven't been submitted. ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: 3.10.3 - Operating System: OSX - Browser: Chrome 107.0.5304.87 - Virtual environment: pip + venv ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR! --- 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/5659/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/5659/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5658
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5658/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5658/comments
https://api.github.com/repos/streamlit/streamlit/issues/5658/events
https://github.com/streamlit/streamlit/pull/5658
1,439,195,442
PR_kwDODCoeTs5CXtAP
5,658
"Validate NOTICES" CI check
{ "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-08T00:15:55
2022-11-09T18:03:39
2022-11-09T18:03:36
COLLABORATOR
null
Adds a "Validate NOTICES" step to the jstests Github CI workflow. If `make notices` results in the NOTICES file changing, then the workflow fails (and tells the developer to commit the results of `make notices`). Additional bits: - fixes `make notices` to include the proper vendored frontend LICENSE files. - `make notices` skips the platform check, which allows the Linux CI runner to output NOTICES for Mac-specific dependencies - `append_licenses.sh` exits with an error if its FILE argument does not exist - fixes the line endings (CRLF -> LF) for our font license files Here's what happens when NOTICES is not up to date: ![Screen Shot 2022-11-08 at 12 23 13 PM](https://user-images.githubusercontent.com/709022/200668456-abb20181-bce9-4cbd-959d-bf0e6f781af1.png)
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5658/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/5658/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5658", "html_url": "https://github.com/streamlit/streamlit/pull/5658", "diff_url": "https://github.com/streamlit/streamlit/pull/5658.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5658.patch", "merged_at": "2022-11-09T18:03:36" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5657
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5657/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5657/comments
https://api.github.com/repos/streamlit/streamlit/issues/5657/events
https://github.com/streamlit/streamlit/pull/5657
1,438,216,913
PR_kwDODCoeTs5CUZnC
5,657
Fix unevaluated dataframe exception formatting
{ "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 }
[]
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
0
2022-11-07T11:39:10
2022-11-07T13:47:17
2022-11-07T13:47:17
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_ Currently `\n` are displayed when Streamlit throws `UnevaluatedDataFrameError` this PR fixes formatting for this exception, so `\n` are not visible and work properly. - 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:** _Insert screenshot of your updated UI/code here_ **Before:** ![image](https://user-images.githubusercontent.com/78742618/200301034-e9f711d8-083c-4074-9e91-fdfbad290d2c.png) **Current:** _Insert screenshot of existing UI/code here_ **This PR introduces:** ![image](https://user-images.githubusercontent.com/78742618/200301197-eecfd140-c817-4385-a859-d5e1aee6c440.png) ## πŸ§ͺ Testing Done - [x] 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/5657/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/5657/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5657", "html_url": "https://github.com/streamlit/streamlit/pull/5657", "diff_url": "https://github.com/streamlit/streamlit/pull/5657.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5657.patch", "merged_at": "2022-11-07T13:47:17" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5656
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5656/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5656/comments
https://api.github.com/repos/streamlit/streamlit/issues/5656/events
https://github.com/streamlit/streamlit/issues/5656
1,437,316,142
I_kwDODCoeTs5Vq7Qu
5,656
Set config of pages in streamlit/config.yaml
{ "login": "RubenVanEldik", "id": 25854734, "node_id": "MDQ6VXNlcjI1ODU0NzM0", "avatar_url": "https://avatars.githubusercontent.com/u/25854734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RubenVanEldik", "html_url": "https://github.com/RubenVanEldik", "followers_url": "https://api.github.com/users/RubenVanEldik/followers", "following_url": "https://api.github.com/users/RubenVanEldik/following{/other_user}", "gists_url": "https://api.github.com/users/RubenVanEldik/gists{/gist_id}", "starred_url": "https://api.github.com/users/RubenVanEldik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RubenVanEldik/subscriptions", "organizations_url": "https://api.github.com/users/RubenVanEldik/orgs", "repos_url": "https://api.github.com/users/RubenVanEldik/repos", "events_url": "https://api.github.com/users/RubenVanEldik/events{/privacy}", "received_events_url": "https://api.github.com/users/RubenVanEldik/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": "" }, { "id": 4647326216, "node_id": "LA_kwDODCoeTs8AAAABFQCSCA", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:config", "name": "feature:config", "color": "C5DEF5", "default": false, "description": "Related to config settings" } ]
open
false
null
[]
null
2
2022-11-06T07:34:01
2022-11-15T17:00:11
null
CONTRIBUTOR
null
### Problem I absolutely adore the new pages' functionality, but having all the config information in the filename is a bit messy. It's also now quite hard to start a Streamlit server with an emoji, since most non-mobile keyboards don't have emoji's on them. Finally, and this is just personal, I really don't like filenames that look like this `1_πŸ”—_Preprocessing.py`. πŸ™ƒ ### Solution I think it would be awesome if we could manually set the config of all pages in `streamlit/config.toml` or in `streamlit.pages.toml`. This would also allow for some more configs, like page names that are different from the file name, etc. The great thing about this feature would be that its completely for Streamlit users. You don't have to add it to the TOML file because if you don't add it, the current rules apply. Finally, it would allow for extra functionality in the future, like adding a disabled option, so you can remove a page without removing it from the /pages directory. ### Additional context I think `streamlit/config.toml` could look something like this: ``` [server] runOnSave = true [theme] base = "light" [pages] ["main.py"] name = "My main page" emoji = 🌀️ order = 1 ["subpage1.py"] name = "A page" emoji = 🌀️ order = 2 ["subpage2.py"] name = "This is a currently disabled page" emoji = 🌀️ order = 3 disabled = true ``` --- 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/5656/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/5656/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5655
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5655/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5655/comments
https://api.github.com/repos/streamlit/streamlit/issues/5655/events
https://github.com/streamlit/streamlit/issues/5655
1,437,303,173
I_kwDODCoeTs5Vq4GF
5,655
ValueError: signal only works in main thread of the main interpreter
{ "login": "kinshusharma0412", "id": 73776157, "node_id": "MDQ6VXNlcjczNzc2MTU3", "avatar_url": "https://avatars.githubusercontent.com/u/73776157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kinshusharma0412", "html_url": "https://github.com/kinshusharma0412", "followers_url": "https://api.github.com/users/kinshusharma0412/followers", "following_url": "https://api.github.com/users/kinshusharma0412/following{/other_user}", "gists_url": "https://api.github.com/users/kinshusharma0412/gists{/gist_id}", "starred_url": "https://api.github.com/users/kinshusharma0412/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kinshusharma0412/subscriptions", "organizations_url": "https://api.github.com/users/kinshusharma0412/orgs", "repos_url": "https://api.github.com/users/kinshusharma0412/repos", "events_url": "https://api.github.com/users/kinshusharma0412/events{/privacy}", "received_events_url": "https://api.github.com/users/kinshusharma0412/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
1
2022-11-06T06:29:41
2022-12-30T03:37:12
2022-11-29T01:57:18
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 File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script exec(code, module.__dict__) File "/app/soojh/testing.py", line 13, in <module> app.run() File "/app/soojh/pyrogram/methods/utilities/run.py", line 86, in run run(idle()) File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/app/soojh/pyrogram/methods/utilities/idle.py", line 83, in idle signal_fn(s, signal_handler) File "/usr/local/lib/python3.9/signal.py", line 56, in signal handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler)) ### Reproducible Code Example ```Python from pyrogram import Client, filters from pyrogram.types import Message app = Client("my client account") @app.on_message(filters.regex("Hi")) async def pdf_photo(client:Client,message:Message): await app.send_message("me","πŸ‘‹ Hi!") app.run() ``` ### 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: on browser so I think newest one - Python version: 3.7, 3.8, 3.9, 3.10 All version try - Operating System: - Browser: chrome - Virtual environment: ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR! --- 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/5655/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/5655/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5654
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5654/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5654/comments
https://api.github.com/repos/streamlit/streamlit/issues/5654/events
https://github.com/streamlit/streamlit/issues/5654
1,437,239,019
I_kwDODCoeTs5Vqobr
5,654
st.pyplot -> st.pyplot_chart()
{ "login": "tylerjrichards", "id": 16867691, "node_id": "MDQ6VXNlcjE2ODY3Njkx", "avatar_url": "https://avatars.githubusercontent.com/u/16867691?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tylerjrichards", "html_url": "https://github.com/tylerjrichards", "followers_url": "https://api.github.com/users/tylerjrichards/followers", "following_url": "https://api.github.com/users/tylerjrichards/following{/other_user}", "gists_url": "https://api.github.com/users/tylerjrichards/gists{/gist_id}", "starred_url": "https://api.github.com/users/tylerjrichards/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tylerjrichards/subscriptions", "organizations_url": "https://api.github.com/users/tylerjrichards/orgs", "repos_url": "https://api.github.com/users/tylerjrichards/repos", "events_url": "https://api.github.com/users/tylerjrichards/events{/privacy}", "received_events_url": "https://api.github.com/users/tylerjrichards/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": 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": "" } ]
open
false
null
[]
null
1
2022-11-06T00:45:40
2022-11-15T17:00:12
null
COLLABORATOR
null
_(Note, you don't have to fill out every section here. They're just here for guidance. That said, nicely detailed feature requests are more likely to get eng attention sooner)_ ### Problem This is a super small change, but it is a little weird to me that we have st.altair_chart, st.plotly_chart, and then st.pyplot! I think we should have st.pyplot be st.pyplot_chart instead. I know @jrieke and @arnaudmiribel have thought about this as well. ### Solution **MVP:** What's the smallest possible solution that would get 80% of the problem out of the way? Add st.pyplot_chart as a function, make st.pyplot also work for at least a while. **Possible additions:** What are other things that could be added to the MVP over time to make it better? **Preferred solution:** If you don't like the MVP above, tell us why, and what you'd like done instead. ### Additional context Add any other context or screenshots about the feature request here. For example, did this FR come from https://discuss.streamlit.io or another site? Link the original source here! ### Voting for feature requests 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/5654/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/5654/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5653
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5653/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5653/comments
https://api.github.com/repos/streamlit/streamlit/issues/5653/events
https://github.com/streamlit/streamlit/pull/5653
1,437,161,318
PR_kwDODCoeTs5CRC_K
5,653
Add a config option to hide the hamburger menu
{ "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": 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
6
2022-11-05T19:31:35
2022-12-31T00:04:06
2022-12-31T00:04:06
COLLABORATOR
null
NOTE: This shouldn't be merged until product has a chance to play around with it. ## πŸ“š Context This PR adds a new config option `ui.hideHamburgerMenu` that, as its name suggests, removes the hamburger menu at the top right of the screen. Note that a mini product spec was technically supposed to have been written before actually working on the code for this, but given that we already have a `ui` config option section used for toggling these kinds of UI elements and the change itself is pretty trivial, I figured it wouldn't be too terrible of a crime to skip some process since existing ways of toggling UI elements constrain the number of reasonable ways we can implement this πŸ™‚ - What kind of change does this PR introduce? - [x] Feature ## 🧠 Description of Changes - [x] This is a visible (user-facing) change ## πŸ§ͺ Testing Done - [x] Added/Updated unit tests ## 🌐 References Partially resolves #5141 Closes #395
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5653/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/5653/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5653", "html_url": "https://github.com/streamlit/streamlit/pull/5653", "diff_url": "https://github.com/streamlit/streamlit/pull/5653.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5653.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5652
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5652/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5652/comments
https://api.github.com/repos/streamlit/streamlit/issues/5652/events
https://github.com/streamlit/streamlit/pull/5652
1,436,733,932
PR_kwDODCoeTs5CPqZ0
5,652
Add repo_meta.yaml
{ "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 }
[]
closed
false
null
[]
null
1
2022-11-04T23:48:12
2022-11-09T22:21:17
2022-11-09T22:21:09
COLLABORATOR
null
## πŸ“š Context Repos within the broader Snowflake org are having `repo_meta.yaml` files added to them to add metadata to them that's useful for security. We technically haven't been asked to do this yet, but there's no harm in doing this early. - What kind of change does this PR introduce? - [x] Other, please describe: security things
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5652/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/5652/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5652", "html_url": "https://github.com/streamlit/streamlit/pull/5652", "diff_url": "https://github.com/streamlit/streamlit/pull/5652.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5652.patch", "merged_at": "2022-11-09T22:21:09" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5651
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5651/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5651/comments
https://api.github.com/repos/streamlit/streamlit/issues/5651/events
https://github.com/streamlit/streamlit/pull/5651
1,436,517,926
PR_kwDODCoeTs5CO8jt
5,651
Feature: Label Markdown
{ "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
1
2022-11-04T19:03:20
2022-11-09T05:51:47
2022-11-09T05:51:43
COLLABORATOR
null
## πŸ“š Context Provide the ability to use limited markdown in labels for the following: - **Button/Download Button**: Bold, Italics, Strikethrough & Emojis - **Widgets, Expander & Tabs**: Bold, Italics, Strikethrough, Emojis, Links & Code ## 🧠 Description of Changes - Extended `StreamlitMarkdown` with props for `isButton` & `isLabel` - Incorporated `StreamlitMarkdown` into applicable components - [x] This is a visible (user-facing) change <img src="https://user-images.githubusercontent.com/63436329/200054682-49b11804-e04b-4d52-a2d0-ac8fbd9a201c.png" width=400 /> ## πŸ§ͺ Testing Done - [x] Screenshots included - [x] Added/Updated unit tests - [x] 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/5651/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5651/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5651", "html_url": "https://github.com/streamlit/streamlit/pull/5651", "diff_url": "https://github.com/streamlit/streamlit/pull/5651.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5651.patch", "merged_at": "2022-11-09T05:51:43" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5650
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5650/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5650/comments
https://api.github.com/repos/streamlit/streamlit/issues/5650/events
https://github.com/streamlit/streamlit/issues/5650
1,436,448,381
I_kwDODCoeTs5VnnZ9
5,650
Alignment property for st.markdown, st.title etc
{ "login": "nkilm", "id": 79012023, "node_id": "MDQ6VXNlcjc5MDEyMDIz", "avatar_url": "https://avatars.githubusercontent.com/u/79012023?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nkilm", "html_url": "https://github.com/nkilm", "followers_url": "https://api.github.com/users/nkilm/followers", "following_url": "https://api.github.com/users/nkilm/following{/other_user}", "gists_url": "https://api.github.com/users/nkilm/gists{/gist_id}", "starred_url": "https://api.github.com/users/nkilm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nkilm/subscriptions", "organizations_url": "https://api.github.com/users/nkilm/orgs", "repos_url": "https://api.github.com/users/nkilm/repos", "events_url": "https://api.github.com/users/nkilm/events{/privacy}", "received_events_url": "https://api.github.com/users/nkilm/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
2
2022-11-04T17:59:50
2022-11-27T17:26:34
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 In `st.markdown` text can be centered using basic CSS along with option `unsafe_allow_html=True`. `center` tag can also be used but we lose the properties of markdown. E.g, if `world` is used along with center tag, it is rendered directly, similarly if we dont use center tag it'll render properly. Selecting the markdown render type would be of great help! ### Reproducible Code Example [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5650) ```Python import streamlit as st st.title("With center tag") st.markdown("""<center> Hello `World!`</center>""", unsafe_allow_html=True) st.title("Without center tag") st.markdown("""Hello `World!`""") ``` ### Steps To Reproduce Run normally using starting command of streamlit ```bash streamlit run app.py ``` ### Expected Behavior Expected behavior would be `st.markdown` should render both the properties of `html` and `markdown`. ### Current Behavior ![image](https://user-images.githubusercontent.com/79012023/200043759-74ad89a5-6689-4c3e-8bbf-aa9f955fba65.png) html is rendered but markdown is not rendered. ### Is this a regression? - [ ] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: 3.10.7 - Operating System: Windows 10 - Browser: Chrome - Virtual environment: virtualenv ### Additional Information _No response_ ### Are you willing to submit a PR? - [ ] Yes, I am willing to submit a PR! --- 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/5650/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/5650/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5649
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5649/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5649/comments
https://api.github.com/repos/streamlit/streamlit/issues/5649/events
https://github.com/streamlit/streamlit/issues/5649
1,435,587,457
I_kwDODCoeTs5VkVOB
5,649
Multipage app keep reloading when switching between pages
{ "login": "AlgolabFinance", "id": 85863661, "node_id": "MDQ6VXNlcjg1ODYzNjYx", "avatar_url": "https://avatars.githubusercontent.com/u/85863661?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AlgolabFinance", "html_url": "https://github.com/AlgolabFinance", "followers_url": "https://api.github.com/users/AlgolabFinance/followers", "following_url": "https://api.github.com/users/AlgolabFinance/following{/other_user}", "gists_url": "https://api.github.com/users/AlgolabFinance/gists{/gist_id}", "starred_url": "https://api.github.com/users/AlgolabFinance/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlgolabFinance/subscriptions", "organizations_url": "https://api.github.com/users/AlgolabFinance/orgs", "repos_url": "https://api.github.com/users/AlgolabFinance/repos", "events_url": "https://api.github.com/users/AlgolabFinance/events{/privacy}", "received_events_url": "https://api.github.com/users/AlgolabFinance/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" } ]
closed
false
null
[]
null
2
2022-11-04T05:45:20
2022-11-08T11:53:52
2022-11-08T11:53:51
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 Multipage app keep reloading when switching between pages ### 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: 1.10.0 - 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/5649/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/5649/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5648
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5648/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5648/comments
https://api.github.com/repos/streamlit/streamlit/issues/5648/events
https://github.com/streamlit/streamlit/pull/5648
1,435,391,584
PR_kwDODCoeTs5CLNIH
5,648
Replace assertEquals->assertEqual to silence deprecation warnings
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-04T00:11:36
2022-11-04T18:18:06
2022-11-04T18:18:03
COLLABORATOR
null
## πŸ“š Context I started noticing some deprecation warnings for using `self.assertEquals` in unit tests. This PR just changes those calls to `self.assertEqual`. - What kind of change does this PR introduce? - [x] Refactoring - [x] Other, please describe: deprecation tweaks ## πŸ§ͺ Testing Done - [x] Added/Updated unit tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5648/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/5648/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5648", "html_url": "https://github.com/streamlit/streamlit/pull/5648", "diff_url": "https://github.com/streamlit/streamlit/pull/5648.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5648.patch", "merged_at": "2022-11-04T18:18:03" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5647
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5647/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5647/comments
https://api.github.com/repos/streamlit/streamlit/issues/5647/events
https://github.com/streamlit/streamlit/issues/5647
1,435,381,553
I_kwDODCoeTs5Vji8x
5,647
Let st.line_chart and st.bar_chart accept Series/array objects!
{ "login": "tylerjrichards", "id": 16867691, "node_id": "MDQ6VXNlcjE2ODY3Njkx", "avatar_url": "https://avatars.githubusercontent.com/u/16867691?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tylerjrichards", "html_url": "https://github.com/tylerjrichards", "followers_url": "https://api.github.com/users/tylerjrichards/followers", "following_url": "https://api.github.com/users/tylerjrichards/following{/other_user}", "gists_url": "https://api.github.com/users/tylerjrichards/gists{/gist_id}", "starred_url": "https://api.github.com/users/tylerjrichards/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tylerjrichards/subscriptions", "organizations_url": "https://api.github.com/users/tylerjrichards/orgs", "repos_url": "https://api.github.com/users/tylerjrichards/repos", "events_url": "https://api.github.com/users/tylerjrichards/events{/privacy}", "received_events_url": "https://api.github.com/users/tylerjrichards/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": 3904048944, "node_id": "LA_kwDODCoeTs7osw8w", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.line_chart", "name": "feature:st.line_chart", "color": "C5DEF5", "default": false, "description": "" }, { "id": 3904049325, "node_id": "LA_kwDODCoeTs7osxCt", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.bar_chart", "name": "feature:st.bar_chart", "color": "C5DEF5", "default": false, "description": "" }, { "id": 4647798379, "node_id": "LA_kwDODCoeTs8AAAABFQfGaw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.text_area", "name": "feature:st.text_area", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
0
2022-11-03T23:52:21
2022-11-15T17:00:13
null
COLLABORATOR
null
### Problem I have loved using st.line_chart and st.bar_chart, especially with their new look and the ability to specify x and y parameters. Often, I want to use the x and y parameter together and forget the data parameter entirely, which I can do in plotly+altair+seaborn normally. ### Solution Let x and y parameters accept pd.Series values, or numpy arrays. Or give better errors when people provide series or numpy values, instead of the error you currently get `ValueError: The truth value of a Series is ambiguous.`. So I would love to be able to run: ``` import pandas as pd import streamlit as st df_test = pd.read_csv("test.csv") st.line_chart(x=df_test["return_flag"], y=df_test["sum_base_price"]) ``` and have it work just fine. **MVP:** What's the smallest possible solution that would get 80% of the problem out of the way? MVP would be to have Streamlit interpret y=df_test['sum_base_price'] as data=df_test, y='sum_base_price', but this wouldn't work on actual arrays. Would be better to just support arrays. **Possible additions:** What are other things that could be added to the MVP over time to make it better? **Preferred solution:** If you don't like the MVP above, tell us why, and what you'd like done instead. ### Additional context Add any other context or screenshots about the feature request here. For example, did this FR come from https://discuss.streamlit.io or another site? Link the original source here! --- 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/5647/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/streamlit/streamlit/issues/5647/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5646
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5646/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5646/comments
https://api.github.com/repos/streamlit/streamlit/issues/5646/events
https://github.com/streamlit/streamlit/issues/5646
1,435,343,869
I_kwDODCoeTs5VjZv9
5,646
Country Emoji's in Streamlit's Title
{ "login": "Adesoji1", "id": 20457308, "node_id": "MDQ6VXNlcjIwNDU3MzA4", "avatar_url": "https://avatars.githubusercontent.com/u/20457308?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Adesoji1", "html_url": "https://github.com/Adesoji1", "followers_url": "https://api.github.com/users/Adesoji1/followers", "following_url": "https://api.github.com/users/Adesoji1/following{/other_user}", "gists_url": "https://api.github.com/users/Adesoji1/gists{/gist_id}", "starred_url": "https://api.github.com/users/Adesoji1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Adesoji1/subscriptions", "organizations_url": "https://api.github.com/users/Adesoji1/orgs", "repos_url": "https://api.github.com/users/Adesoji1/repos", "events_url": "https://api.github.com/users/Adesoji1/events{/privacy}", "received_events_url": "https://api.github.com/users/Adesoji1/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" } ]
closed
false
null
[]
null
2
2022-11-03T22:52:12
2022-11-05T20:02:31
2022-11-05T17:59:35
NONE
null
How can we add Country Flags snippets using St.Country ### I was looking for a way to introduce my country flag in the streamlit title section so i thought of informing streamlit to see how flag icons can be generated using a streamlit function. i hope this makes sense. Ex. I'm always frustrated when i am trying to introduce my country in a title without writing it in words ### Solution A function called st.Country and it shows the picture of a flag of your country based on the st.country.Nigeria for example.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5646/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/5646/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5645
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5645/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5645/comments
https://api.github.com/repos/streamlit/streamlit/issues/5645/events
https://github.com/streamlit/streamlit/pull/5645
1,435,143,007
PR_kwDODCoeTs5CKYiP
5,645
Fix Plotly Charts when exiting out of fullscreen
{ "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-03T19:11:05
2022-11-03T21:49:42
2022-11-03T21:49:42
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 a regression. https://github.com/streamlit/streamlit/issues/5644 _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 - Adds an else clause when fullscreen is not true and resets the height and width - _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_ https://user-images.githubusercontent.com/16749069/199812855-78b64b2e-4454-4016-aa61-e638345c9948.mov **Current:** https://user-images.githubusercontent.com/16749069/199812834-2d99aa98-8b1f-4417-a605-f7796142aedc.mov _Insert screenshot of existing UI/code here_ ## πŸ§ͺ Testing Done - [ ] Screenshots included - [x] Added/Updated unit tests - [ ] Added/Updated e2e tests ## 🌐 References _Does this depend on other work, documents, or tickets?_ - **Issue**: Closes #5644 --- **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/5645/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/5645/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5645", "html_url": "https://github.com/streamlit/streamlit/pull/5645", "diff_url": "https://github.com/streamlit/streamlit/pull/5645.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5645.patch", "merged_at": "2022-11-03T21:49:42" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5644
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5644/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5644/comments
https://api.github.com/repos/streamlit/streamlit/issues/5644/events
https://github.com/streamlit/streamlit/issues/5644
1,435,029,865
I_kwDODCoeTs5ViNFp
5,644
Plotly Full Screen causes issues
{ "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": 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": "" } ]
closed
false
null
[]
null
0
2022-11-03T17:29:53
2022-11-04T19:02:39
2022-11-03T21:49:43
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 When you full screen a plotly chart and unfullscreen it, it should retain the size correctly. ### Reproducible Code Example ```Python import streamlit as st import plotly.graph_objects as go fig = go.Figure(data=[go.Scatter( x=[1, 2, 3, 4], y=[10, 11, 12, 13], mode='markers', marker=dict( color=['rgb(93, 164, 214)', 'rgb(255, 144, 14)', 'rgb(44, 160, 101)', 'rgb(255, 65, 54)'], opacity=[1, 0.8, 0.6, 0.4], size=[40, 60, 80, 100], ) )]) st.plotly_chart(fig) ``` ### Steps To Reproduce 1. Click Full Screen 2. Exit out of full screen ### Expected Behavior Should retain its size ### Current Behavior Gets weird layout problems https://user-images.githubusercontent.com/16749069/199793202-1341f80b-028f-4228-9bc9-c4779f6eef38.mov ### Is this a regression? - [X] Yes, this used to work in a previous version. ### Debug info - Streamlit version: 1.14.0 - Python version: 3.10.4 - Operating System: Mac - Browser: Chrome - Virtual environment: pipenv ### 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/5644/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/5644/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5643
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5643/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5643/comments
https://api.github.com/repos/streamlit/streamlit/issues/5643/events
https://github.com/streamlit/streamlit/issues/5643
1,434,316,569
I_kwDODCoeTs5Vfe8Z
5,643
Support a video codec that is LGPL licensed for encoding
{ "login": "mathisc", "id": 7017525, "node_id": "MDQ6VXNlcjcwMTc1MjU=", "avatar_url": "https://avatars.githubusercontent.com/u/7017525?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mathisc", "html_url": "https://github.com/mathisc", "followers_url": "https://api.github.com/users/mathisc/followers", "following_url": "https://api.github.com/users/mathisc/following{/other_user}", "gists_url": "https://api.github.com/users/mathisc/gists{/gist_id}", "starred_url": "https://api.github.com/users/mathisc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mathisc/subscriptions", "organizations_url": "https://api.github.com/users/mathisc/orgs", "repos_url": "https://api.github.com/users/mathisc/repos", "events_url": "https://api.github.com/users/mathisc/events{/privacy}", "received_events_url": "https://api.github.com/users/mathisc/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": 4331022343, "node_id": "LA_kwDODCoeTs8AAAABAiYoBw", "url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.video", "name": "feature:st.video", "color": "C5DEF5", "default": false, "description": "" } ]
open
false
null
[]
null
1
2022-11-03T09:01:02
2022-11-15T17:00:14
null
NONE
null
### Problem I am trying to generate (encode) a video "on the go" using opencv and display (decode) it in streamlit. It feels like streamlit only supports X264 decoding. However, the pip distributed version of opencv does not support X264 encoding because X264 encoding is not LGPL licensed. Having the support of a video format for which encoding is LGPL licensed would really help with generating dynamic videos in streamlit. ### Currently available workarounds are : * Use a "self-compiled" version of opencv with x264 encoding activated * Transcode the output video from opencv into x264 format that is suitable with streamlit usage (as indicated here: https://discuss.streamlit.io/t/processing-video-with-opencv-and-write-it-to-disk-to-display-in-st-video/28891/2) . This means an additional (and time consuming) transcoding operation plus the need of having ffmpeg installed on your system. Thanks a lot ### Voting for feature requests 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/5643/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/5643/timeline
null
null
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5642
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5642/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5642/comments
https://api.github.com/repos/streamlit/streamlit/issues/5642/events
https://github.com/streamlit/streamlit/pull/5642
1,433,944,872
PR_kwDODCoeTs5CGXWg
5,642
Temporarily have /st-allowed-message-origins double as a healthcheck
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-03T00:21:54
2022-11-09T01:10:56
2022-11-04T00:36:49
COLLABORATOR
null
Fixes #5666 ## πŸ“š Context Version 1.14.0 introduced a regression in Google App Engine and Google Cloud Run that turned out to be due to the fact that the `/healthz` endpoint name is reserved by Google in those envs. The fact that our `/healthz` endpoint conflicted with the reserved name was likely always an issue, but it rarely appeared in practice because the client previously only did a healthcheck if its websocket connection got dropped. #5568 changed this so that we now ping the server before attempting to establish a websocket connection, which exposed the endpoint name conflict issue in an unavoidable way. For now, we fix this by having `/st-allowed-message-origins` double as a healthcheck endpoint as well. This is slightly semantically messier but overall isn't a terrible solution. In the long run (about 2-3 months from now), we'll be prefixing all of our internal endpoints as done in #5534, at which point we'll be able to return to having dedicated endpoint responsibilities. Note that the server still exposes the `/healthz` endpoint, so any external services that rely on it (in particular, Streamlit Community Cloud) will be unaffected by this change. - What kind of change does this PR introduce? - [x] Bugfix ## 🧠 Description of Changes - [x] This is a visible (user-facing) change ## πŸ§ͺ Testing Done - [x] Added/Updated unit tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5642/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/5642/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5642", "html_url": "https://github.com/streamlit/streamlit/pull/5642", "diff_url": "https://github.com/streamlit/streamlit/pull/5642.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5642.patch", "merged_at": "2022-11-04T00:36:49" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5641
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5641/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5641/comments
https://api.github.com/repos/streamlit/streamlit/issues/5641/events
https://github.com/streamlit/streamlit/issues/5641
1,433,808,037
I_kwDODCoeTs5Vdiyl
5,641
Fix issue in baseweb so you can select all in a st.selectbox
{ "login": "sfc-gh-akelly", "id": 105452656, "node_id": "U_kgDOBkkUcA", "avatar_url": "https://avatars.githubusercontent.com/u/105452656?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-akelly", "html_url": "https://github.com/sfc-gh-akelly", "followers_url": "https://api.github.com/users/sfc-gh-akelly/followers", "following_url": "https://api.github.com/users/sfc-gh-akelly/following{/other_user}", "gists_url": "https://api.github.com/users/sfc-gh-akelly/gists{/gist_id}", "starred_url": "https://api.github.com/users/sfc-gh-akelly/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sfc-gh-akelly/subscriptions", "organizations_url": "https://api.github.com/users/sfc-gh-akelly/orgs", "repos_url": "https://api.github.com/users/sfc-gh-akelly/repos", "events_url": "https://api.github.com/users/sfc-gh-akelly/events{/privacy}", "received_events_url": "https://api.github.com/users/sfc-gh-akelly/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": "" } ]
closed
false
null
[]
null
2
2022-11-02T21:27:25
2022-12-30T03:37:12
2022-11-03T02:19:58
NONE
null
### Problem If you make an st.selectbox that passes in a list and select an item and then want to change you, you need to first delete your current selection. The natural thing that I want to do is to do a Cmd+A (I'm on a Mac) to select all text and then delete. Something is broken in the baseweb component here because if you delete one character you can then use Cmd+A select all, but not before that.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5641/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/5641/timeline
null
completed
null
null
false
https://api.github.com/repos/streamlit/streamlit/issues/5640
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5640/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5640/comments
https://api.github.com/repos/streamlit/streamlit/issues/5640/events
https://github.com/streamlit/streamlit/pull/5640
1,433,788,499
PR_kwDODCoeTs5CF1vu
5,640
Parameterize the pyplot "clear_figure" tests
{ "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-02T21:06:21
2022-11-03T15:18:27
2022-11-03T15:18:23
COLLABORATOR
null
In `st.pyplot`, the logic for clearing the "global" pyplot figure is different from the logic for clearing a specified pyplot figure. This PR makes the distinction clearer in our tests.
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5640/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/5640/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5640", "html_url": "https://github.com/streamlit/streamlit/pull/5640", "diff_url": "https://github.com/streamlit/streamlit/pull/5640.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5640.patch", "merged_at": "2022-11-03T15:18:23" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5639
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5639/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5639/comments
https://api.github.com/repos/streamlit/streamlit/issues/5639/events
https://github.com/streamlit/streamlit/pull/5639
1,433,552,238
PR_kwDODCoeTs5CFCll
5,639
[WIP] Add two-step process for download data, should fix issue #5586
{ "login": "kajarenc", "id": 6664805, "node_id": "MDQ6VXNlcjY2NjQ4MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kajarenc", "html_url": "https://github.com/kajarenc", "followers_url": "https://api.github.com/users/kajarenc/followers", "following_url": "https://api.github.com/users/kajarenc/following{/other_user}", "gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}", "starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions", "organizations_url": "https://api.github.com/users/kajarenc/orgs", "repos_url": "https://api.github.com/users/kajarenc/repos", "events_url": "https://api.github.com/users/kajarenc/events{/privacy}", "received_events_url": "https://api.github.com/users/kajarenc/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 } ]
closed
false
null
[]
null
4
2022-11-02T17:51:00
2022-12-23T05:05:51
2022-12-23T05:05:51
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 _Please describe the project or issue background here_ https://www.notion.so/streamlit/st-download_button-rework-tech-spec-7133431fef2a4ea1b9aa2f018c19319a - What kind of change does this PR introduce? - [ ] Bugfix - [X] Feature - [X] Refactoring - [ ] Other, please describe: ## 🧠 Description of Changes - _Add bullet points summarizing your changes here_ - [X] 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 [#4322](https://github.com/streamlit/streamlit/issues/4322), [#5053](https://github.com/streamlit/streamlit/issues/5053) , [#5586 ](https://github.com/streamlit/streamlit/issues/5586) --- **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/5639/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/5639/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5639", "html_url": "https://github.com/streamlit/streamlit/pull/5639", "diff_url": "https://github.com/streamlit/streamlit/pull/5639.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5639.patch", "merged_at": null }
true
https://api.github.com/repos/streamlit/streamlit/issues/5638
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5638/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5638/comments
https://api.github.com/repos/streamlit/streamlit/issues/5638/events
https://github.com/streamlit/streamlit/pull/5638
1,433,508,056
PR_kwDODCoeTs5CE5FP
5,638
Add in reusability and new primitives for theme and graphs
{ "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
2
2022-11-02T17:15:16
2022-11-08T21:15:17
2022-11-08T21:15:16
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 We have altair/vegalite and plotly with the `theme` parameter. However, they use different colors and should use the same colors since they're supposed to represent a similar theme. _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 - Create spacing primitives for theme - create util functions for both altair and plotly to use - _Add bullet points summarizing your changes here_ - [ ] This is a breaking API change - [x] This is a visible (user-facing) change ## πŸ§ͺ Testing Done - [ ] 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/5638/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/5638/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5638", "html_url": "https://github.com/streamlit/streamlit/pull/5638", "diff_url": "https://github.com/streamlit/streamlit/pull/5638.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5638.patch", "merged_at": "2022-11-08T21:15:16" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5637
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5637/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5637/comments
https://api.github.com/repos/streamlit/streamlit/issues/5637/events
https://github.com/streamlit/streamlit/pull/5637
1,432,271,950
PR_kwDODCoeTs5CAvQN
5,637
Open streamlit.io in a new tab when the link is clicked
{ "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 }
[]
closed
false
null
[]
null
0
2022-11-02T00:13:55
2022-11-02T05:38:18
2022-11-02T05:38:15
COLLABORATOR
null
## 🧠 Description of Changes - [x] This is a visible (user-facing) change ## πŸ§ͺ Testing Done - [x] Added/Updated unit tests
{ "url": "https://api.github.com/repos/streamlit/streamlit/issues/5637/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/5637/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5637", "html_url": "https://github.com/streamlit/streamlit/pull/5637", "diff_url": "https://github.com/streamlit/streamlit/pull/5637.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5637.patch", "merged_at": "2022-11-02T05:38:15" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5636
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5636/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5636/comments
https://api.github.com/repos/streamlit/streamlit/issues/5636/events
https://github.com/streamlit/streamlit/pull/5636
1,432,111,867
PR_kwDODCoeTs5CAMmv
5,636
Fix: CI Check for no empty runners
{ "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-01T21:16:42
2022-11-01T22:21:19
2022-11-01T22:21:14
COLLABORATOR
null
## πŸ“š Context The formula to calculate relatively equal division of spec files across runners doesn't always work as expected. Ex: 129 spec files in Amanda's PR puts 7 files in each runner, only requiring 19 runners - the 2 leftover runners then run ALL specs and as you can imagine that is painfully slow. This PR adds a check to ensure no runners run every spec file. - What kind of change does this PR introduce? - [x] Other, please describe: CI Cypress 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/5636/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/5636/timeline
null
null
false
{ "url": "https://api.github.com/repos/streamlit/streamlit/pulls/5636", "html_url": "https://github.com/streamlit/streamlit/pull/5636", "diff_url": "https://github.com/streamlit/streamlit/pull/5636.diff", "patch_url": "https://github.com/streamlit/streamlit/pull/5636.patch", "merged_at": "2022-11-01T22:21:14" }
true
https://api.github.com/repos/streamlit/streamlit/issues/5635
https://api.github.com/repos/streamlit/streamlit
https://api.github.com/repos/streamlit/streamlit/issues/5635/labels{/name}
https://api.github.com/repos/streamlit/streamlit/issues/5635/comments
https://api.github.com/repos/streamlit/streamlit/issues/5635/events
https://github.com/streamlit/streamlit/issues/5635
1,431,133,525
I_kwDODCoeTs5VTV1V
5,635
Module IV curve: Module stage forced to HV_TAB_ATTACHED although set to GLUED
{ "login": "pbokan", "id": 23636659, "node_id": "MDQ6VXNlcjIzNjM2NjU5", "avatar_url": "https://avatars.githubusercontent.com/u/23636659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pbokan", "html_url": "https://github.com/pbokan", "followers_url": "https://api.github.com/users/pbokan/followers", "following_url": "https://api.github.com/users/pbokan/following{/other_user}", "gists_url": "https://api.github.com/users/pbokan/gists{/gist_id}", "starred_url": "https://api.github.com/users/pbokan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pbokan/subscriptions", "organizations_url": "https://api.github.com/users/pbokan/orgs", "repos_url": "https://api.github.com/users/pbokan/repos", "events_url": "https://api.github.com/users/pbokan/events{/privacy}", "received_events_url": "https://api.github.com/users/pbokan/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-01T09:31:58
2022-12-30T03:37:11
2022-11-01T12:59:06
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, We uploaded a module IV curve to the database for the module that is at the stage GLUED. The log file says: Changing to approriate stage: HV_TAB_ATTACHED (from GLUED) However, I believe this should stay "GLUED". Can you please enable it or let me know why you preferred to have it set like this? Thanks, Petar ### 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/5635/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/5635/timeline
null
completed
null
null
false