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/5935 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5935/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5935/comments | https://api.github.com/repos/streamlit/streamlit/issues/5935/events | https://github.com/streamlit/streamlit/issues/5935 | 1,527,271,099 | I_kwDODCoeTs5bCE67 | 5,935 | has bug | {
"login": "Gaurav2ds",
"id": 110013202,
"node_id": "U_kgDOBo6rEg",
"avatar_url": "https://avatars.githubusercontent.com/u/110013202?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gaurav2ds",
"html_url": "https://github.com/Gaurav2ds",
"followers_url": "https://api.github.com/users/Gaurav2ds/followers",
"following_url": "https://api.github.com/users/Gaurav2ds/following{/other_user}",
"gists_url": "https://api.github.com/users/Gaurav2ds/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Gaurav2ds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gaurav2ds/subscriptions",
"organizations_url": "https://api.github.com/users/Gaurav2ds/orgs",
"repos_url": "https://api.github.com/users/Gaurav2ds/repos",
"events_url": "https://api.github.com/users/Gaurav2ds/events{/privacy}",
"received_events_url": "https://api.github.com/users/Gaurav2ds/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": 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 | 1 | 2023-01-10T12:01:53 | 2023-01-10T18:52:34 | 2023-01-10T18:52:05 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
hello
### Reproducible Code Example
_No response_
### Steps To Reproduce
_No response_
### Expected Behavior
_No response_
### Current Behavior
_No response_
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5935/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/5935/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5934 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5934/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5934/comments | https://api.github.com/repos/streamlit/streamlit/issues/5934/events | https://github.com/streamlit/streamlit/issues/5934 | 1,526,554,812 | I_kwDODCoeTs5a_WC8 | 5,934 | Caching compatibility issue when loading geojson files with newest version of geopandas | {
"login": "robo-sq",
"id": 31593127,
"node_id": "MDQ6VXNlcjMxNTkzMTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/31593127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/robo-sq",
"html_url": "https://github.com/robo-sq",
"followers_url": "https://api.github.com/users/robo-sq/followers",
"following_url": "https://api.github.com/users/robo-sq/following{/other_user}",
"gists_url": "https://api.github.com/users/robo-sq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/robo-sq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/robo-sq/subscriptions",
"organizations_url": "https://api.github.com/users/robo-sq/orgs",
"repos_url": "https://api.github.com/users/robo-sq/repos",
"events_url": "https://api.github.com/users/robo-sq/events{/privacy}",
"received_events_url": "https://api.github.com/users/robo-sq/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": 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 | 3 | 2023-01-10T00:31:58 | 2023-01-23T22:51:05 | 2023-01-23T22:50: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
CachedObjectMutationWarning always occurs when loading a geojson file with geopandas version 0.12.2. The error did not occur with geopandas version 0.12.0.
### Reproducible Code Example
```Python
@st.cache(show_spinner=False)
def load_data():
"""
Load GeoJSON data for selected geography.
:return: geo-dataframe
"""
df_places = gpd.read_file('cb_2018_us_state_5m.geojson')
return df_places
```
### Steps To Reproduce
1. Sample data file can be downloaded here: https://www.census.gov/geographies/mapping-files/time-series/geo/carto-boundary-file.html
2. Run above code snippet with geopandas version 0.12.0. There is no caching issue.
3. Run above snippet with geopandas version 0.12.2. CachedObjectMutationWarning occurs.
### Expected Behavior
_No response_
### Current Behavior
CachedObjectMutationWarning
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.14.0
- Python version: 3.8
- Operating System: Windows
- Browser: Chrome
- Virtual environment: pipenv
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5934/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/5934/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5933 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5933/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5933/comments | https://api.github.com/repos/streamlit/streamlit/issues/5933/events | https://github.com/streamlit/streamlit/pull/5933 | 1,526,199,479 | PR_kwDODCoeTs5HAlWS | 5,933 | Widget overflow fixes | {
"login": "sfc-gh-jgarcia",
"id": 103376966,
"node_id": "U_kgDOBiloRg",
"avatar_url": "https://avatars.githubusercontent.com/u/103376966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-jgarcia",
"html_url": "https://github.com/sfc-gh-jgarcia",
"followers_url": "https://api.github.com/users/sfc-gh-jgarcia/followers",
"following_url": "https://api.github.com/users/sfc-gh-jgarcia/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-jgarcia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-jgarcia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-jgarcia/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-jgarcia/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-jgarcia/repos",
"events_url": "https://api.github.com/users/sfc-gh-jgarcia/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-jgarcia/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 | 2023-01-09T19:37:33 | 2023-01-11T16:50:51 | 2023-01-11T16:50:51 | CONTRIBUTOR | null | ## π Context
This PR fixes a handful of small issues with widget overflows, especially in small sizes, all of them reported by @jrieke
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
### st.multiselect wraps weirdly when small
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
![Screenshot 2023-01-03 at 2 19 09 PM](https://user-images.githubusercontent.com/103376966/211392777-1fc7f081-c037-438a-86eb-fa9311987d08.png)
**Current:**
![Screenshot 2023-01-03 at 2 18 54 PM](https://user-images.githubusercontent.com/103376966/211392738-36b2992a-dbe2-4368-969a-bca86fe5dec8.png)
### st.metric gets cut off but should ellipsize
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
![Screenshot 2023-01-03 at 2 47 21 PM](https://user-images.githubusercontent.com/103376966/211392887-bd440d4e-add7-4a9e-872f-ccca8c695d14.png)
**Current:**
![Screenshot 2023-01-03 at 2 47 09 PM](https://user-images.githubusercontent.com/103376966/211392848-1255eb6e-4ae8-49cf-b196-c29deb159a84.png)
### st.metric gets cut off but should ellipsize
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
https://user-images.githubusercontent.com/103376966/211392985-453547f7-20f6-4e01-8d41-ef06f82e1a88.mp4
**Current:**
https://user-images.githubusercontent.com/103376966/211393015-faa47dde-477a-46de-8036-7bcb15674e41.mp4
## π§ͺ Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [x] Added/Updated e2e tests
## π References
* https://www.notion.so/streamlit/st-multiselect-wraps-weirdly-when-small-2f982b954fa64b87a9a672aec1c4574f
* https://www.notion.so/streamlit/st-metric-gets-cut-off-but-should-ellipsize-12770fed333d4b6dab10d857827b1367
* https://www.notion.so/streamlit/Tab-bar-scrolls-vertically-92814ee6dde243b3ad2b78879bf2e9a7
---
**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/5933/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/5933/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5933",
"html_url": "https://github.com/streamlit/streamlit/pull/5933",
"diff_url": "https://github.com/streamlit/streamlit/pull/5933.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5933.patch",
"merged_at": "2023-01-11T16:50:51"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5932 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5932/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5932/comments | https://api.github.com/repos/streamlit/streamlit/issues/5932/events | https://github.com/streamlit/streamlit/issues/5932 | 1,526,175,145 | I_kwDODCoeTs5a95Wp | 5,932 | Argument for st.multiselect to retain search string after selecting a matching option | {
"login": "KeeonTabrizi",
"id": 3408390,
"node_id": "MDQ6VXNlcjM0MDgzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3408390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KeeonTabrizi",
"html_url": "https://github.com/KeeonTabrizi",
"followers_url": "https://api.github.com/users/KeeonTabrizi/followers",
"following_url": "https://api.github.com/users/KeeonTabrizi/following{/other_user}",
"gists_url": "https://api.github.com/users/KeeonTabrizi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/KeeonTabrizi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KeeonTabrizi/subscriptions",
"organizations_url": "https://api.github.com/users/KeeonTabrizi/orgs",
"repos_url": "https://api.github.com/users/KeeonTabrizi/repos",
"events_url": "https://api.github.com/users/KeeonTabrizi/events{/privacy}",
"received_events_url": "https://api.github.com/users/KeeonTabrizi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 4139233284,
"node_id": "LA_kwDODCoeTs72t7AE",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.multiselect",
"name": "feature:st.multiselect",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2023-01-09T19:22:23 | 2023-01-18T22:28:49 | null | NONE | null | ### Problem
I believe as of streamlit 1.14+ st.multiselect keeps the menu of available options open after selecting one. Previously, the menu of options would disappear and you would have top open it each time you wanted to add an option to the multiselect.
Another existing feature of the multiselect is the ability to filter the options by typing in text into the input box and then making a selection. In this situation, everything works and the multiselect options remain selected but the search query is cleared after each option is selected.
#### Use-case
Imagine you have a dropdown of strings that are of the form `Zipcode (Primary City)`. Let's say there are many entries and I want to make selections for a subset of these Boston zipcodes, so I start typing in `Bos..` into the search. To keep searching and selecting the options I'm interested in I have to repeat the search many times.
```
...
02110 (Boston)
02118 (Boston)
02126 (Boston)
02109 (Boston)
02113 (Boston)
...
```
### Solution
An addition argument to retain the the search query e.g. `keep_search_query_after_selection=True` into st.multiselect.
---
**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/5932/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/5932/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5931 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5931/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5931/comments | https://api.github.com/repos/streamlit/streamlit/issues/5931/events | https://github.com/streamlit/streamlit/issues/5931 | 1,525,847,490 | I_kwDODCoeTs5a8pXC | 5,931 | When trying to use (currently unsupported) :color[] markdown in buttons, the text between brackets isn't rendered at all | {
"login": "jorenverspeurt",
"id": 2463855,
"node_id": "MDQ6VXNlcjI0NjM4NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2463855?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorenverspeurt",
"html_url": "https://github.com/jorenverspeurt",
"followers_url": "https://api.github.com/users/jorenverspeurt/followers",
"following_url": "https://api.github.com/users/jorenverspeurt/following{/other_user}",
"gists_url": "https://api.github.com/users/jorenverspeurt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jorenverspeurt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorenverspeurt/subscriptions",
"organizations_url": "https://api.github.com/users/jorenverspeurt/orgs",
"repos_url": "https://api.github.com/users/jorenverspeurt/repos",
"events_url": "https://api.github.com/users/jorenverspeurt/events{/privacy}",
"received_events_url": "https://api.github.com/users/jorenverspeurt/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": ""
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | closed | false | null | [] | null | 2 | 2023-01-09T15:45:55 | 2023-01-20T14:58:26 | 2023-01-20T14:58: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
I read in the release notes that as of v1.16.0, components that accept markdown strings should also support colored text with the `:color[...]` syntax. For buttons, markdown support works for bold, cursive and some other functionality as noted in the docs, not colors (why not?). When actually trying to use the `:color[...]` syntax though, the part between brackets just does not get rendered at all. I would've expected it to either be colored or just show up literally as passed in the string.
### Reproducible Code Example
```Python
import streamlit as st
st.button(':red[Test]')
```
### Steps To Reproduce
1. Use `:color[...]` markdown syntax in a button label.
2. Run app.
3. See that text between color brackets does not get rendered.
### Expected Behavior
See colored text in button labels or see the text exactly as passed in the string.
### Current Behavior
Text that uses markdown color syntax is not rendered.
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.10
- Operating System: macOS
- Browser: Chrome
- Virtual environment: /
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5931/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/5931/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5930 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5930/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5930/comments | https://api.github.com/repos/streamlit/streamlit/issues/5930/events | https://github.com/streamlit/streamlit/issues/5930 | 1,525,809,469 | I_kwDODCoeTs5a8gE9 | 5,930 | Protobuf version specification prevents Python 3.11 compatibility | {
"login": "brouberol",
"id": 480131,
"node_id": "MDQ6VXNlcjQ4MDEzMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/480131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brouberol",
"html_url": "https://github.com/brouberol",
"followers_url": "https://api.github.com/users/brouberol/followers",
"following_url": "https://api.github.com/users/brouberol/following{/other_user}",
"gists_url": "https://api.github.com/users/brouberol/gists{/gist_id}",
"starred_url": "https://api.github.com/users/brouberol/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brouberol/subscriptions",
"organizations_url": "https://api.github.com/users/brouberol/orgs",
"repos_url": "https://api.github.com/users/brouberol/repos",
"events_url": "https://api.github.com/users/brouberol/events{/privacy}",
"received_events_url": "https://api.github.com/users/brouberol/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": 2026998410,
"node_id": "MDU6TGFiZWwyMDI2OTk4NDEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:dependencies",
"name": "area:dependencies",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 3761992489,
"node_id": "LA_kwDODCoeTs7gO3Mp",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:duplicate",
"name": "status:duplicate",
"color": "FEF2C0",
"default": false,
"description": "This issue is a duplicate"
}
] | closed | false | null | [] | null | 1 | 2023-01-09T15:23:29 | 2023-01-09T21:31:37 | 2023-01-09T21:31:02 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
The latest available `streamlit` versions defines the following `protobuf` version spec: `"protobuf<4,>=3.12"`, which clashes with the one [defined in `grpcio-tools`](https://github.com/grpc/grpc/blob/master/tools/distrib/python/grpcio_tools/setup.py#L293): `'protobuf>=4.21.6,<5.0dev'`.
Because only the most recent `grpcio-tools` releases have brough support for Python 3.11, that `protobuf` pinning prevents `streamlit` from being installable in Python 3.11 projects.
Are there incompatibilities between `streamlit` and `protobuf 4.x`? If not, would it be possible to relax the `protobuf` version bracket, by extending it to `protobuf <5`?
Thank you for your time!
### 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: https://github.com/streamlit/streamlit/commit/984c80d79ed185df0120d3ff302b10abe5cc3ef5
- Python version: 3.11
- Operating System: macOS Darwin 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 arm64 # M1
- Browser: Firefox
- 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/5930/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/5930/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5929 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5929/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5929/comments | https://api.github.com/repos/streamlit/streamlit/issues/5929/events | https://github.com/streamlit/streamlit/issues/5929 | 1,525,172,667 | I_kwDODCoeTs5a6Em7 | 5,929 | Connection Error | {
"login": "Aidiliu92",
"id": 122263614,
"node_id": "U_kgDOB0mYPg",
"avatar_url": "https://avatars.githubusercontent.com/u/122263614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aidiliu92",
"html_url": "https://github.com/Aidiliu92",
"followers_url": "https://api.github.com/users/Aidiliu92/followers",
"following_url": "https://api.github.com/users/Aidiliu92/following{/other_user}",
"gists_url": "https://api.github.com/users/Aidiliu92/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Aidiliu92/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Aidiliu92/subscriptions",
"organizations_url": "https://api.github.com/users/Aidiliu92/orgs",
"repos_url": "https://api.github.com/users/Aidiliu92/repos",
"events_url": "https://api.github.com/users/Aidiliu92/events{/privacy}",
"received_events_url": "https://api.github.com/users/Aidiliu92/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4771944522,
"node_id": "LA_kwDODCoeTs8AAAABHG4YSg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:redirect-forum",
"name": "status:redirect-forum",
"color": "FEF2C0",
"default": false,
"description": "This question belongs in the forum"
},
{
"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 | 2023-01-09T08:55:59 | 2023-01-09T21:34:06 | 2023-01-09T21:33: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
Connection failed with status 404, and response "<head><meta http-equiv="Refresh" content="0; URL=https://share.streamlit.io/error"></head>".
### 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/5929/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/5929/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5928 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5928/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5928/comments | https://api.github.com/repos/streamlit/streamlit/issues/5928/events | https://github.com/streamlit/streamlit/pull/5928 | 1,524,764,742 | PR_kwDODCoeTs5G7p1q | 5,928 | Upgrade Cypress tests to 8 core GH Action Runners | {
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2023-01-09T00:59:10 | 2023-01-25T16:18:29 | 2023-01-25T16:18:25 | COLLABORATOR | null | ## π Context
Our Cypress Tests are slow! Let's speed them up.
- What kind of change does this PR introduce?
- [x] Other, please describe:
## π§ Description of Changes
- Mimicking CircleCI's X-Large instance class. we are starting with 8-cores 32 gb of ram
---
**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/5928/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/5928/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5928",
"html_url": "https://github.com/streamlit/streamlit/pull/5928",
"diff_url": "https://github.com/streamlit/streamlit/pull/5928.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5928.patch",
"merged_at": "2023-01-25T16:18:25"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5927 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5927/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5927/comments | https://api.github.com/repos/streamlit/streamlit/issues/5927/events | https://github.com/streamlit/streamlit/issues/5927 | 1,523,605,835 | I_kwDODCoeTs5a0GFL | 5,927 | Unsupported operation error when adding rows to st.line_chart while specifying x & y | {
"login": "michaelgroeger",
"id": 56541905,
"node_id": "MDQ6VXNlcjU2NTQxOTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/56541905?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelgroeger",
"html_url": "https://github.com/michaelgroeger",
"followers_url": "https://api.github.com/users/michaelgroeger/followers",
"following_url": "https://api.github.com/users/michaelgroeger/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelgroeger/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michaelgroeger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelgroeger/subscriptions",
"organizations_url": "https://api.github.com/users/michaelgroeger/orgs",
"repos_url": "https://api.github.com/users/michaelgroeger/repos",
"events_url": "https://api.github.com/users/michaelgroeger/events{/privacy}",
"received_events_url": "https://api.github.com/users/michaelgroeger/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1964044893,
"node_id": "MDU6TGFiZWwxOTY0MDQ0ODkz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:charts",
"name": "feature:charts",
"color": "C5DEF5",
"default": false,
"description": "Related to charting functionality"
},
{
"id": 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"
}
] | open | false | null | [] | null | 1 | 2023-01-07T08:22:37 | 2023-01-20T17:14:11 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5927)
I want to update a line chart by adding rows. This works as long as I don't specify x & y in st.line_chart(...). But as soon as I add those parameters I get the following error:
```
Unsupported operation. The data passed into `add_rows()` must have the same data signature as the original data.
In this case, `add_rows()` received `["int64","unicode","float64"]` but was expecting `["int64","float64"]`.
```
### Reproducible Code Example
```Python
import streamlit as st
import pandas as pd
import time
df = pd.DataFrame({"steps":[0,1,2,3],"values": [4,2,1.4,0.9]})
my_chart = st.line_chart(df, x="steps", y="values")
df_new = pd.DataFrame({"steps":[4,5,6],"values": [0.5,0.3,0.5]})
time.sleep(3)
my_chart.add_rows(df_new)
```
### Steps To Reproduce
1. Run Streamlitapp
2. Wait code to be executed after time.sleep(3) and inspect error in app.
### Expected Behavior
The chart should be updated using this data:
steps values
0 4.0
1 2.0
2 1.4
3 0.9
4 0.5
5 0.3
6 0.5
### Current Behavior
In the App:
```
Unsupported operation. The data passed into add_rows() must have the same data signature as the original data.
In this case, add_rows() received ["int64","unicode","float64"] but was expecting ["int64","float64"].
```
No error in the Terminal.
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.10.8
- Using Conda
- OS version: MacOS 12.5.1
- Browser version: Chrome - Version 108.0.5359.124 (Official Build) (x86_64)
### Additional Information
Already posted here:
[Forum](https://discuss.streamlit.io/t/unsupported-operation-error-when-adding-rows-to-st-line-chart-while-specifying-x-y/35721/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/5927/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/5927/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5926 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5926/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5926/comments | https://api.github.com/repos/streamlit/streamlit/issues/5926/events | https://github.com/streamlit/streamlit/issues/5926 | 1,523,247,113 | I_kwDODCoeTs5ayugJ | 5,926 | Inserting css should not take vertical space | {
"login": "jrieke",
"id": 5103165,
"node_id": "MDQ6VXNlcjUxMDMxNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5103165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrieke",
"html_url": "https://github.com/jrieke",
"followers_url": "https://api.github.com/users/jrieke/followers",
"following_url": "https://api.github.com/users/jrieke/following{/other_user}",
"gists_url": "https://api.github.com/users/jrieke/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jrieke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrieke/subscriptions",
"organizations_url": "https://api.github.com/users/jrieke/orgs",
"repos_url": "https://api.github.com/users/jrieke/repos",
"events_url": "https://api.github.com/users/jrieke/events{/privacy}",
"received_events_url": "https://api.github.com/users/jrieke/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | open | false | null | [] | null | 0 | 2023-01-06T22:16:06 | 2023-01-06T22:18:58 | null | COLLABORATOR | null | ### Problem
If you insert CSS via `st.markdown(..., unsafe_allow_html=True)`, it always takes a bit of vertical space. Ideally, we would not have that. But many people currently rely on that vertical space to add space to their app via empty `st.write`s.
Reported by @arnaudmiribel
---
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/5926/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/5926/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5925 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5925/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5925/comments | https://api.github.com/repos/streamlit/streamlit/issues/5925/events | https://github.com/streamlit/streamlit/pull/5925 | 1,523,237,018 | PR_kwDODCoeTs5G2r4_ | 5,925 | remove everything but the label from consideration when computing widget IDs | {
"login": "sfc-gh-rpalmer",
"id": 119367037,
"node_id": "U_kgDOBx1lfQ",
"avatar_url": "https://avatars.githubusercontent.com/u/119367037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-rpalmer",
"html_url": "https://github.com/sfc-gh-rpalmer",
"followers_url": "https://api.github.com/users/sfc-gh-rpalmer/followers",
"following_url": "https://api.github.com/users/sfc-gh-rpalmer/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-rpalmer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-rpalmer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-rpalmer/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-rpalmer/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-rpalmer/repos",
"events_url": "https://api.github.com/users/sfc-gh-rpalmer/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-rpalmer/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2023-01-06T22:05:50 | 2023-01-18T18:38:34 | 2023-01-18T18:38:33 | 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
-->
This defect needs some discussion. This PR is one possible solution. We probably need some guidance from Product to determine if this is the direction we want to go.
## π Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [x] This is a breaking API change
- [ ] This is a visible (user-facing) change
Widgets IDs are determined by hashing the type of the widget together with an instance of the widgetβs protobuf class. The protobuf instance includes the label, default value, and other parameters provided to the widget when constructed.
When the script is run the first time, all widgets IDs are created and sent to the Streamlit interface.
When the user interacts with the Streamlit interface and causes the script to be re-run, widgets names are determined using this same scheme.
If all parameters passed to create these widgets evaluate to a consistent set of values then the widget ID created will be the same.
Updates from the UI can then be mapped onto the associated widgets by their computed widget ID.
However, if the set of values used to construct the widget varies when the script is re-run, a new widget is created and the previous widget is replaced.
The result of which being that the user observes that their input is lost.
Previous examples that exercise this behavior also have a feedback loop introduced by setting and getting the query parameters. A simpler example that demonstrates this issue is as follows:
```python
import streamlit as st
if 'counter' not in st.session_state:
st.session_state.counter = 1
else:
st.session_state.counter = st.session_state.counter + 1
text = st.text_input("Your text:", value=st.session_state.counter)
text
```
Executing this example shows that regardless of what you try to change the text to in the text_input box, the user sees that it will always be set to the value of st.session_state.counter this is because every time the script is re-run a new widget is created to replace the previous widget as a result of the way widget IDs are computed.
The [documentation for st.text_input](https://docs.streamlit.io/library/api-reference/widgets/st.text_input) states the value parameter is βThe text value of this widget when it first renders. This will be cast to str internally.β It is possible that a customer could read this to mean that when a parameter is passed to value as part of a call to st.text_input that it will be ignored if this is not the first time that the script is run. In this case the behavior above is clearly a defect. Indeed this appears to be the behavior as long as the expression passed to value always evaluates to the same thing. It works this way, though, because when we construct the name of the widget (using the evaluated value) we find that the widget already exists and we can then return the value set in the interface interaction.
While we have options available in terms of a fix the following seem like the most appropriate in the current circumstances:
1. Consider this behavior to be βby designβ and close as βwonβt fixβ. -- Not really a great option as we clearly have some confusing behavior.
2. Only use parameters that indicate a unique widget in generating the ID of the widget. This means we will have a single widget for each type of widget unless a specific key is provided. In this way the script may change the label, the default value, and whatever other parameters associated with the widget as desired by the scriptβs developer when the script is re-run without causing a new widget to be created. From our perspective, this is a small fix where we just remove the use of the protobuf instance from the process of creating a widgetβs unique ID. Customers who previously depended upon the label of a widget to uniquely identify that widget may now be shown the duplicate widget error. Similarly, customers who have previously used the default value, or other parameters passed to a given widget, to uniquely identify that widget will also be shown the duplicate widget error. Their fix is to introduce a unique key for each widget they create. This approach pushes the burden of tracking the widgets onto the script developer. -- This option seems like it goes too far. Most customers probably think that the label is unique.
3. At least one other popular declarative GUI framework [Dear ImGui](https://github.com/ocornut/imgui) solves this problem by requiring labels to be unique, meaning that a change in the label results in a new widget instance. They also introduce a scope stack so that a label need only be unique for a given point in the scope stack. In this way if you require two widgets to have the same label you can still make their IDs unique by introducing new scope. This change adopts the stance that the label is unique, meaning that a change in the label results in a new widget, similar to what is done in Dear ImGui. While we don't have the scoping mechanism that is present in Dear ImGui our customers can attach a key if needed to ensure that their widget has a unique ID. -- This option is my recommendation.
4. Reconsider what the semantics of a script re-run are given that our widgets all seem to have something similar in their documentation that implies that at least one of the parameters are ignored when the script is re-run. -- This option seems like it would require a lot of work and may be too high risk. It is included here for completeness.
## π§ͺ Testing Done
- [ x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5925/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/5925/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5925",
"html_url": "https://github.com/streamlit/streamlit/pull/5925",
"diff_url": "https://github.com/streamlit/streamlit/pull/5925.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5925.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5924 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5924/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5924/comments | https://api.github.com/repos/streamlit/streamlit/issues/5924/events | https://github.com/streamlit/streamlit/pull/5924 | 1,523,218,724 | PR_kwDODCoeTs5G2n-9 | 5,924 | singleton/memo deprecation - take 2 | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2023-01-06T21:49:41 | 2023-01-09T16:51:13 | 2023-01-09T16:51:10 | COLLABORATOR | null | Our deprecation requirements for singleton/memo changed slightly: we now use a custom deprecation message. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5924/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/5924/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5924",
"html_url": "https://github.com/streamlit/streamlit/pull/5924",
"diff_url": "https://github.com/streamlit/streamlit/pull/5924.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5924.patch",
"merged_at": "2023-01-09T16:51:10"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5923 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5923/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5923/comments | https://api.github.com/repos/streamlit/streamlit/issues/5923/events | https://github.com/streamlit/streamlit/pull/5923 | 1,522,943,316 | PR_kwDODCoeTs5G1s10 | 5,923 | Add all markdown elements to testing framework | {
"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 | 0 | 2023-01-06T17:56:46 | 2023-01-12T19:33:07 | 2023-01-12T19:33:07 | 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
Implement all markdown elements (st.markdown, st.code, st.latex, st.caption) classes to support them in our test framework
- 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
- [X] 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/5923/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/5923/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5923",
"html_url": "https://github.com/streamlit/streamlit/pull/5923",
"diff_url": "https://github.com/streamlit/streamlit/pull/5923.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5923.patch",
"merged_at": "2023-01-12T19:33:07"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5922 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5922/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5922/comments | https://api.github.com/repos/streamlit/streamlit/issues/5922/events | https://github.com/streamlit/streamlit/issues/5922 | 1,522,484,557 | I_kwDODCoeTs5av0VN | 5,922 | [Page refresh incorrectly] Option-menu component bug due to st.experimental_set_query_params | {
"login": "moonbug-car",
"id": 107146596,
"node_id": "U_kgDOBmLtZA",
"avatar_url": "https://avatars.githubusercontent.com/u/107146596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moonbug-car",
"html_url": "https://github.com/moonbug-car",
"followers_url": "https://api.github.com/users/moonbug-car/followers",
"following_url": "https://api.github.com/users/moonbug-car/following{/other_user}",
"gists_url": "https://api.github.com/users/moonbug-car/gists{/gist_id}",
"starred_url": "https://api.github.com/users/moonbug-car/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moonbug-car/subscriptions",
"organizations_url": "https://api.github.com/users/moonbug-car/orgs",
"repos_url": "https://api.github.com/users/moonbug-car/repos",
"events_url": "https://api.github.com/users/moonbug-car/events{/privacy}",
"received_events_url": "https://api.github.com/users/moonbug-car/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 | 2023-01-06T12:10:56 | 2023-01-09T21:36:05 | 2023-01-09T21:35:46 | 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 option menu UI refresh and back to the default after the st.experimental_set_query_params runs
I tried to use the session state to store the index but no luck. The value is correct just the UI is incorrect.
Here is the detail:
I have a menu inside the sidebar like this
[![](https://i.ibb.co/HTd7NTz/Screenshot-2023-01-06-at-11-58-38.png)]()
When I click the third option it supposed to become this, the third option will be highlighted
[![](https://i.ibb.co/fMGWT5T/Screenshot-2023-01-06-at-12-00-24.png)]()
but after the page runs the st.experimental_set_query_params
The UI of the option menu will refresh itself and become this
[![](https://i.ibb.co/HTd7NTz/Screenshot-2023-01-06-at-11-58-38.png)]()
even the third option is selected indeed (the value is correct just the UI is not correct)
[![](https://i.ibb.co/R0TD9Zc/Screenshot-2023-01-06-at-12-01-05.png)]()
### Reproducible Code Example
```Python
import streamlit as st
from streamlit_option_menu import option_menu
with st.sidebar:
a_menu = st.selectbox('A', ["1", "2", "3"])
if a_menu == "1":
with st.sidebar:
st.markdown("---")
b_menu_list = ["a", "b", "c"]
b_menu = option_menu(None, b_menu_list)
st.experimental_set_query_params(
a_menu=a_menu,
b_menu=b_menu
)
```
### Steps To Reproduce
1. Select an option in selectbox (a_menu)
2. Select an option in option_menu(b_menu)
### 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.16.0
- streamlit_option_menu: 0.3.2
- Python version: 3.10
- Operating System: Google Cloud Run
- Virtual environment: Google Cloud Run
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5922/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/5922/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5921 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5921/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5921/comments | https://api.github.com/repos/streamlit/streamlit/issues/5921/events | https://github.com/streamlit/streamlit/pull/5921 | 1,521,691,259 | PR_kwDODCoeTs5GxZo5 | 5,921 | Update Minor dependencies (and some majors/patches) - Part B | {
"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 | 3 | 2023-01-06T00:57:29 | 2023-01-11T23:05:38 | 2023-01-11T23:05:34 | COLLABORATOR | null | ## π Context
Updating & deduplicating some minor versions of core dependencies:
- What kind of change does this PR introduce?
- [x] Other - **dependency update/dedup**
## π§ Description of Changes
**Major Deps:**
(Updated due to their association with deck.gl)
- @loaders.gl/core to **3.2.12**
- @loaders.gl/csv to**3.2.12**
- @loaders.gl/gltf to **3.2.12**
- @loaders.gl/images to **3.2.12**
- @types/react-syntax-highlighter to **15.5.5** (Assoc. with react-syntax-highlighter )
**Minor Core Deps:**
- vega to **5.22.1**
- styletron-engine-atomic to **1.5.0**
- vega-lite to **5.6.0**
- deck.gl to **8.8.21**
- @deck.gl/core to **8.8.21**
- @deck.gl/json to **8.8.21**
- @luma.gl/engine to **8.5.18**
- @luma.gl/webgl to **8.5.18**
- @luma.gl/gltools to **8.5.18**
- react-syntax-highlighter to **15.5.0**
**Patches:**
- json5 to **2.2.3**
- immer to **9.0.17**
- dompurify to **2.4.3**
- immutable to **4.2.2**
---
**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/5921/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/5921/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5921",
"html_url": "https://github.com/streamlit/streamlit/pull/5921",
"diff_url": "https://github.com/streamlit/streamlit/pull/5921.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5921.patch",
"merged_at": "2023-01-11T23:05:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5920 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5920/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5920/comments | https://api.github.com/repos/streamlit/streamlit/issues/5920/events | https://github.com/streamlit/streamlit/pull/5920 | 1,521,670,634 | PR_kwDODCoeTs5GxVMC | 5,920 | `streamlit hello`: use new cache primitives | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2023-01-06T00:37:07 | 2023-01-06T01:10:05 | 2023-01-06T01:10:02 | COLLABORATOR | null | Update `streamlit hello` to use `@st.cache_data` instead of `@st.cache` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5920/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/5920/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5920",
"html_url": "https://github.com/streamlit/streamlit/pull/5920",
"diff_url": "https://github.com/streamlit/streamlit/pull/5920.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5920.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5919 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5919/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5919/comments | https://api.github.com/repos/streamlit/streamlit/issues/5919/events | https://github.com/streamlit/streamlit/pull/5919 | 1,521,637,586 | PR_kwDODCoeTs5GxOMd | 5,919 | Deprecate `st.cache` | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2023-01-05T23:58:25 | 2023-01-06T20:37:43 | 2023-01-06T20:37:41 | COLLABORATOR | null | Once this feature branch lands, `@st.cache` will be deprecated. This PR adds custom deprecation warnings for st.cache usage.
Because our `st.cache` deprecation warning depends on the return value of the decorated function, we can't show it at function declaration time; instead, we show it when the cached function is called. `caching.py` contains a hardcoded dict that maps common types to the new caching decorator (`@st.cache_data` or `@st.cache_resource`) that we recommend the user use in place of `@st.cache`.
This PR also updates `streamlit hello` to use `@st.cache_data` instead of `@st.cache`. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5919/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/5919/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5919",
"html_url": "https://github.com/streamlit/streamlit/pull/5919",
"diff_url": "https://github.com/streamlit/streamlit/pull/5919.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5919.patch",
"merged_at": "2023-01-06T20:37:41"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5918 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5918/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5918/comments | https://api.github.com/repos/streamlit/streamlit/issues/5918/events | https://github.com/streamlit/streamlit/pull/5918 | 1,521,634,930 | PR_kwDODCoeTs5GxNqQ | 5,918 | [WIP] Fix theme util typing in createEmotionTheme | {
"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": 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 | 2023-01-05T23:54:46 | 2023-01-28T13:26:24 | 2023-01-28T13:26:24 | COLLABORATOR | null | ## π Context
As a follow-up to minor devDeps update [PR](https://github.com/streamlit/streamlit/pull/5914#discussion_r1062153915), fixing the typing in `theme/utils.ts`
- What kind of change does this PR introduce?
- [x] Refactoring
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
---
**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/5918/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/5918/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5918",
"html_url": "https://github.com/streamlit/streamlit/pull/5918",
"diff_url": "https://github.com/streamlit/streamlit/pull/5918.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5918.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5917 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5917/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5917/comments | https://api.github.com/repos/streamlit/streamlit/issues/5917/events | https://github.com/streamlit/streamlit/pull/5917 | 1,521,451,953 | PR_kwDODCoeTs5Gwl25 | 5,917 | Convert widget replay test to test framework | {
"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 | 2023-01-05T21:29:42 | 2023-01-11T19:11:12 | 2023-01-11T19:11:12 | COLLABORATOR | null | Mostly brainless implementation of the required elements for one test conversion, which should help us understand future possible changes to the framework itself.
I still need to add some unit tests for the elements, to make sure I got value setting correct.
## π Context
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- [ ] 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
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5917/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/5917/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5917",
"html_url": "https://github.com/streamlit/streamlit/pull/5917",
"diff_url": "https://github.com/streamlit/streamlit/pull/5917.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5917.patch",
"merged_at": "2023-01-11T19:11:11"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5916 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5916/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5916/comments | https://api.github.com/repos/streamlit/streamlit/issues/5916/events | https://github.com/streamlit/streamlit/issues/5916 | 1,521,194,563 | I_kwDODCoeTs5aq5ZD | 5,916 | UnicodeEncodeError: 'utf-8' codec can't encode character '\ud800' in position 15: surrogates not allowed | {
"login": "AndrzejRPiotrowski",
"id": 1153056,
"node_id": "MDQ6VXNlcjExNTMwNTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1153056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndrzejRPiotrowski",
"html_url": "https://github.com/AndrzejRPiotrowski",
"followers_url": "https://api.github.com/users/AndrzejRPiotrowski/followers",
"following_url": "https://api.github.com/users/AndrzejRPiotrowski/following{/other_user}",
"gists_url": "https://api.github.com/users/AndrzejRPiotrowski/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AndrzejRPiotrowski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AndrzejRPiotrowski/subscriptions",
"organizations_url": "https://api.github.com/users/AndrzejRPiotrowski/orgs",
"repos_url": "https://api.github.com/users/AndrzejRPiotrowski/repos",
"events_url": "https://api.github.com/users/AndrzejRPiotrowski/events{/privacy}",
"received_events_url": "https://api.github.com/users/AndrzejRPiotrowski/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"
}
] | open | false | null | [] | null | 3 | 2023-01-05T18:29:26 | 2023-02-14T22:43: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
My app was working 2 months ago. After re-starting it it shows errors.
### Reproducible Code Example
```Python
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud800' in position 15: surrogates not allowed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
exec(code, module.__dict__)
File "app.py", line 128, in <module>
show_result('./sample/Caries_1.jpg')
File "app.py", line 83, in show_result
model = load_model()
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/caching.py", line 573, in wrapped_func
return get_or_create_cached_value()
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/caching.py", line 498, in get_or_create_cached_value
cache_key = _hash_func(func, hash_funcs)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/caching.py", line 624, in _hash_func
update_hash(
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 116, in update_hash
ch.update(hasher, val, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 639, in _to_bytes
h.update(self._code_to_bytes(code, context, func=obj))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 708, in _code_to_bytes
self.update(h, ref, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 639, in _to_bytes
h.update(self._code_to_bytes(code, context, func=obj))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 708, in _code_to_bytes
self.update(h, ref, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 639, in _to_bytes
h.update(self._code_to_bytes(code, context, func=obj))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 708, in _code_to_bytes
self.update(h, ref, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 639, in _to_bytes
h.update(self._code_to_bytes(code, context, func=obj))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 708, in _code_to_bytes
self.update(h, ref, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 639, in _to_bytes
h.update(self._code_to_bytes(code, context, func=obj))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 708, in _code_to_bytes
self.update(h, ref, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 456, in _to_bytes
self.update(h, item, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 450, in _to_bytes
self.update(h, item, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 450, in _to_bytes
self.update(h, item, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 393, in update
b = self.to_bytes(obj, context)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 382, in to_bytes
raise InternalHashError(e, obj)
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 368, in to_bytes
b = b"%s:%s" % (tname, self._to_bytes(obj, context))
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/legacy_caching/hashing.py", line 439, in _to_bytes
return obj.encode()
streamlit.legacy_caching.hashing.InternalHashError: 'utf-8' codec can't encode character '\ud800' in position 15: surrogates not allowed
While caching the body of `load_model()`, Streamlit encountered an
object of type `builtins.str`, 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.]
```
### 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?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5916/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/5916/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5915 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5915/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5915/comments | https://api.github.com/repos/streamlit/streamlit/issues/5915/events | https://github.com/streamlit/streamlit/issues/5915 | 1,520,966,191 | I_kwDODCoeTs5aqBov | 5,915 | Dasbord RDV | {
"login": "azizm16",
"id": 112389899,
"node_id": "U_kgDOBrLvCw",
"avatar_url": "https://avatars.githubusercontent.com/u/112389899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/azizm16",
"html_url": "https://github.com/azizm16",
"followers_url": "https://api.github.com/users/azizm16/followers",
"following_url": "https://api.github.com/users/azizm16/following{/other_user}",
"gists_url": "https://api.github.com/users/azizm16/gists{/gist_id}",
"starred_url": "https://api.github.com/users/azizm16/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/azizm16/subscriptions",
"organizations_url": "https://api.github.com/users/azizm16/orgs",
"repos_url": "https://api.github.com/users/azizm16/repos",
"events_url": "https://api.github.com/users/azizm16/events{/privacy}",
"received_events_url": "https://api.github.com/users/azizm16/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": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | closed | false | null | [] | null | 0 | 2023-01-05T15:51:21 | 2023-01-05T19:04:21 | 2023-01-05T19:04:21 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Application
### Reproducible Code Example
_No response_
### Steps To Reproduce
_No response_
### Expected Behavior
Application
### 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?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5915/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/5915/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5914 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5914/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5914/comments | https://api.github.com/repos/streamlit/streamlit/issues/5914/events | https://github.com/streamlit/streamlit/pull/5914 | 1,520,150,222 | PR_kwDODCoeTs5GsF9r | 5,914 | Update Minor devDependencies - Part B | {
"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 | 2023-01-05T06:13:57 | 2023-01-05T23:57:26 | 2023-01-05T23:57:22 | COLLABORATOR | null | ## π Context
Updating & deduplicating some minor versions of devDependencies.
- What kind of change does this PR introduce?
- [x] Other: **devDependency update/dedup**
## π§ Description of Changes
eslint-plugin-import to **2.26.0**
eslint-plugin-jsx-a11y to **6.6.1**
eslint-plugin-react to **7.31.11**
eslint-plugin-react-hooks to **4.6.0**
@typescript-eslint/eslint-plugin to **5.48.0**
@typescript-eslint/parser to **5.48.0**
prettier to **2.8.1**
typescript to **4.9.4**
---
**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/5914/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/5914/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5914",
"html_url": "https://github.com/streamlit/streamlit/pull/5914",
"diff_url": "https://github.com/streamlit/streamlit/pull/5914.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5914.patch",
"merged_at": "2023-01-05T23:57:22"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5913 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5913/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5913/comments | https://api.github.com/repos/streamlit/streamlit/issues/5913/events | https://github.com/streamlit/streamlit/pull/5913 | 1,519,944,220 | PR_kwDODCoeTs5GrX2k | 5,913 | Fix slider overlap values for ranges | {
"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 | {
"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 | 2023-01-05T02:37:31 | 2023-01-06T06:23:37 | 2023-01-06T06:23:36 | COLLABORATOR | null | ## π Context
We fixed sliders to adjust the label if it appears outside of the screen, but it fails for ranges where there are two thumb values. This change allows for us to adjust.
- What kind of change does this PR introduce?
- [x] Bugfix
## π§ Description of Changes
- [x] This is a visible (user-facing) change
**Revised:**
<img width="543" alt="image" src="https://user-images.githubusercontent.com/69432/210688867-52fa3059-fce1-4831-8ad0-930a0ec42a26.png">
**Current:**
<img width="493" alt="image" src="https://user-images.githubusercontent.com/69432/210688715-6dc464d0-79e3-4b83-bc11-13d5717d32c4.png">
## π§ͺ Testing Done
- [x] Screenshots included
- [x] Added/Updated e2e tests
## π References
- **Issue**: Closes https://github.com/streamlit/streamlit/issues/5898
---
**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/5913/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/5913/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5913",
"html_url": "https://github.com/streamlit/streamlit/pull/5913",
"diff_url": "https://github.com/streamlit/streamlit/pull/5913.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5913.patch",
"merged_at": "2023-01-06T06:23:36"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5912 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5912/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5912/comments | https://api.github.com/repos/streamlit/streamlit/issues/5912/events | https://github.com/streamlit/streamlit/pull/5912 | 1,519,927,498 | PR_kwDODCoeTs5GrUCa | 5,912 | Update Minor devDependencies - Part A | {
"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 | 2023-01-05T02:26:04 | 2023-01-05T05:56:06 | 2023-01-05T05:56:03 | COLLABORATOR | null | ## π Context
Updating & deduplicating some minor versions of devDependencies.
- What kind of change does this PR introduce?
- [x] Other: **devDependency update/dedup**
## π§ Description of Changes
**devDependencies:**
- @babel/core to **7.20.7**
- @emotion/jest to **11.10.5**
- axios-mock-adapter to **1.21.2**
- marked to **4.2.5**
- mock-socket to **9.1.5**
- start-server-and-test to **1.15.2**
- timezone-mock to **1.3.6**
- jest-canvas-mock to **2.4.0**
- jest-websocket-mock to **2.4.0**
- @types/dompurify to **2.4.0**
- @types/prismjs to **1.26.0**
**Resolutions:**
- browserslist to **4.21.4**
- nth-check to **2.1.1**
---
**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/5912/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/5912/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5912",
"html_url": "https://github.com/streamlit/streamlit/pull/5912",
"diff_url": "https://github.com/streamlit/streamlit/pull/5912.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5912.patch",
"merged_at": "2023-01-05T05:56:03"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5911 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5911/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5911/comments | https://api.github.com/repos/streamlit/streamlit/issues/5911/events | https://github.com/streamlit/streamlit/issues/5911 | 1,519,527,050 | I_kwDODCoeTs5akiSK | 5,911 | Display hyperlinks in st.dataframe | {
"login": "sheilabalu",
"id": 11136849,
"node_id": "MDQ6VXNlcjExMTM2ODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11136849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sheilabalu",
"html_url": "https://github.com/sheilabalu",
"followers_url": "https://api.github.com/users/sheilabalu/followers",
"following_url": "https://api.github.com/users/sheilabalu/following{/other_user}",
"gists_url": "https://api.github.com/users/sheilabalu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sheilabalu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sheilabalu/subscriptions",
"organizations_url": "https://api.github.com/users/sheilabalu/orgs",
"repos_url": "https://api.github.com/users/sheilabalu/repos",
"events_url": "https://api.github.com/users/sheilabalu/events{/privacy}",
"received_events_url": "https://api.github.com/users/sheilabalu/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 | 1 | 2023-01-04T20:21:58 | 2023-01-09T17:34:10 | 2023-01-09T17:34:09 | 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
I tried to use st.markdown() to make a hyperlink. This displays fine when using st.write(), but not using st.table() or st.dataframe.
### Solution
**MVP:** What's the smallest possible solution that would get 80% of the problem out of the way?
Allow hyperlinks in tables
**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/5911/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/5911/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5910 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5910/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5910/comments | https://api.github.com/repos/streamlit/streamlit/issues/5910/events | https://github.com/streamlit/streamlit/pull/5910 | 1,519,459,715 | PR_kwDODCoeTs5GpsZf | 5,910 | cache_data/resource: rearrange kwargs; remove `suppress_st_warning` | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-01-04T19:18:37 | 2023-01-04T20:35:59 | 2023-01-04T20:35:54 | COLLABORATOR | null | - Rearrange `cache_data` and `cache_resource` kwargs based on importance:
- `cache_data`: `ttl`, `max_entries`, `persist`, `show_spinner`, `experimental_allow_widgets`
- `cache_resource`: `ttl`, `max_entries`, `validate`, `show_spinner`, `experimental_allow_widgets`
- Remove `suppress_st_warnings` option from both decorators. We support almost all `st.foo` commands inside cached functions now, and we're ok always showing the warning for the few we don't support. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5910/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/5910/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5910",
"html_url": "https://github.com/streamlit/streamlit/pull/5910",
"diff_url": "https://github.com/streamlit/streamlit/pull/5910.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5910.patch",
"merged_at": "2023-01-04T20:35:54"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5909 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5909/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5909/comments | https://api.github.com/repos/streamlit/streamlit/issues/5909/events | https://github.com/streamlit/streamlit/pull/5909 | 1,519,286,293 | PR_kwDODCoeTs5GpGgW | 5,909 | Update Minor dependencies - Part A | {
"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 | 2023-01-04T16:48:19 | 2023-01-05T02:04:43 | 2023-01-05T02:04:39 | COLLABORATOR | null | ## π Context
Updating & deduplicating some minor versions of core dependencies:
- What kind of change does this PR introduce?
- [x] Other - **dependency update/dedup**
## π§ Description of Changes
- @emotion/is-prop-valid to **1.2.0**
- @emotion/react to **11.10.5**
- @emotion/serialize to **1.1.1**
- @emotion/styled to **11.10.5**
- baseui to **12.2.0**
- moment-timezone to **0.5.40**
- node-emoji to **1.11.0**
- react-device-detect to **2.2.2**
- plotly.js to **2.17.0**
- typed-signals to **2.5.0**
- immutable to **4.2.1**
- dompurify to **2.4.1**
- prismjs to **1.29.0**
- sass to **1.57.1**
- @glideapps/glide-data-grid to **5.2.1**
- @glideapps/glide-data-grid-cells to **5.2.1**
- @glideapps/glide-data-grid-source to **5.2.1**
---
**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/5909/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/5909/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5909",
"html_url": "https://github.com/streamlit/streamlit/pull/5909",
"diff_url": "https://github.com/streamlit/streamlit/pull/5909.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5909.patch",
"merged_at": "2023-01-05T02:04:39"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5908 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5908/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5908/comments | https://api.github.com/repos/streamlit/streamlit/issues/5908/events | https://github.com/streamlit/streamlit/issues/5908 | 1,518,133,652 | I_kwDODCoeTs5afOGU | 5,908 | Button or API for users to switch between themes without the Hamburger menu | {
"login": "lesser-panda",
"id": 40119257,
"node_id": "MDQ6VXNlcjQwMTE5MjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/40119257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lesser-panda",
"html_url": "https://github.com/lesser-panda",
"followers_url": "https://api.github.com/users/lesser-panda/followers",
"following_url": "https://api.github.com/users/lesser-panda/following{/other_user}",
"gists_url": "https://api.github.com/users/lesser-panda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lesser-panda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lesser-panda/subscriptions",
"organizations_url": "https://api.github.com/users/lesser-panda/orgs",
"repos_url": "https://api.github.com/users/lesser-panda/repos",
"events_url": "https://api.github.com/users/lesser-panda/events{/privacy}",
"received_events_url": "https://api.github.com/users/lesser-panda/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": 3904143846,
"node_id": "LA_kwDODCoeTs7otIHm",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:theming",
"name": "feature:theming",
"color": "C5DEF5",
"default": false,
"description": "Related to themes"
}
] | open | false | null | [] | null | 2 | 2023-01-04T00:59:01 | 2023-02-07T06:43:11 | null | NONE | null | ### Problem
As of now (version 1.15.2), for users to switch the theme, they have to go to the hamburger menu to access the setting. This is not very intuitive for the end users if they are not familiar with Streamlit. In addition, if I hide the hamburger menu in my app, the users won't be able to change the theme by themselves at all.
### Solution
It would be nice to have a button outside the hamburger menu for users to quickly switch between light mode and dark mode (or other themes if available).
Another solution would be to provide an API for switching between the themes, so the developers can implement the theme switcher by themselves if needed.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5908/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/5908/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5907 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5907/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5907/comments | https://api.github.com/repos/streamlit/streamlit/issues/5907/events | https://github.com/streamlit/streamlit/pull/5907 | 1,518,078,547 | PR_kwDODCoeTs5Gk8T1 | 5,907 | st.memo: `persist` can take True or False | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-01-03T23:57:29 | 2023-01-04T18:43:56 | 2023-01-04T18:43:53 | COLLABORATOR | null | True is an alias for "disk"; False is an alias for None
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5907/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/5907/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5907",
"html_url": "https://github.com/streamlit/streamlit/pull/5907",
"diff_url": "https://github.com/streamlit/streamlit/pull/5907.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5907.patch",
"merged_at": "2023-01-04T18:43:53"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5906 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5906/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5906/comments | https://api.github.com/repos/streamlit/streamlit/issues/5906/events | https://github.com/streamlit/streamlit/pull/5906 | 1,517,993,151 | PR_kwDODCoeTs5GkpLu | 5,906 | Use new annotations features in session state module | {
"login": "AnOctopus",
"id": 7356217,
"node_id": "MDQ6VXNlcjczNTYyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnOctopus",
"html_url": "https://github.com/AnOctopus",
"followers_url": "https://api.github.com/users/AnOctopus/followers",
"following_url": "https://api.github.com/users/AnOctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions",
"organizations_url": "https://api.github.com/users/AnOctopus/orgs",
"repos_url": "https://api.github.com/users/AnOctopus/repos",
"events_url": "https://api.github.com/users/AnOctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnOctopus/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-01-03T22:27:17 | 2023-01-03T23:33:26 | 2023-01-03T23:33:23 | COLLABORATOR | null | A few places can't be changed because they are top level type aliases that are evaluated and would break older python versions.
## π Context
Incremental work for using features enabled by the future annotations import.
- [ ] Bugfix
- [ ] Feature
- [x] Refactoring
- [ ] Other, please describe:
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5906/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/5906/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5906",
"html_url": "https://github.com/streamlit/streamlit/pull/5906",
"diff_url": "https://github.com/streamlit/streamlit/pull/5906.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5906.patch",
"merged_at": "2023-01-03T23:33:23"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5905 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5905/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5905/comments | https://api.github.com/repos/streamlit/streamlit/issues/5905/events | https://github.com/streamlit/streamlit/pull/5905 | 1,517,929,056 | PR_kwDODCoeTs5GkbKQ | 5,905 | Rename runtime session methods | {
"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 | 2023-01-03T21:19:59 | 2023-01-04T19:03:34 | 2023-01-04T19:03:31 | COLLABORATOR | null | With the new `SessionManager` abstraction now differentiating between closing a session and
disconnecting one, it'd be useful to have the corresponding `Runtime` methods reflect this.
This PR does this in a backwards compatible way by:
* Adding a new `disconnect_session` method that calls the corresponding `SessionManager` method.
* Having `close_session` work as it does today (calls `SessionManager.close_session`, which fully
shuts down the session).
Additionally, we add a new `connect_session` method to be used as the primary way that callers
create new sessions or reconnect to existing ones. `create_session` is now simply an alias for
`connect_session` that also logs a warning telling the caller to switch the method being used.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5905/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/5905/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5905",
"html_url": "https://github.com/streamlit/streamlit/pull/5905",
"diff_url": "https://github.com/streamlit/streamlit/pull/5905.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5905.patch",
"merged_at": "2023-01-04T19:03:31"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5904 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5904/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5904/comments | https://api.github.com/repos/streamlit/streamlit/issues/5904/events | https://github.com/streamlit/streamlit/pull/5904 | 1,517,857,869 | PR_kwDODCoeTs5GkLvj | 5,904 | Fix type issues for classes from Watchdog | {
"login": "AnOctopus",
"id": 7356217,
"node_id": "MDQ6VXNlcjczNTYyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnOctopus",
"html_url": "https://github.com/AnOctopus",
"followers_url": "https://api.github.com/users/AnOctopus/followers",
"following_url": "https://api.github.com/users/AnOctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions",
"organizations_url": "https://api.github.com/users/AnOctopus/orgs",
"repos_url": "https://api.github.com/users/AnOctopus/repos",
"events_url": "https://api.github.com/users/AnOctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnOctopus/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-01-03T20:03:34 | 2023-01-03T20:26:52 | 2023-01-03T20:26:48 | COLLABORATOR | null | The most recent watchdog release made its types visible to mypy, so they started being checked in our code, and it had issues with some dynamic property setting and use of fields to determine subtypes.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5904/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/5904/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5904",
"html_url": "https://github.com/streamlit/streamlit/pull/5904",
"diff_url": "https://github.com/streamlit/streamlit/pull/5904.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5904.patch",
"merged_at": "2023-01-03T20:26:48"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5903 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5903/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5903/comments | https://api.github.com/repos/streamlit/streamlit/issues/5903/events | https://github.com/streamlit/streamlit/pull/5903 | 1,517,784,297 | PR_kwDODCoeTs5Gj7_1 | 5,903 | Make specifying session related RuntimeConfig params optional | {
"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 | 2023-01-03T18:46:29 | 2023-01-04T01:49:39 | 2023-01-04T01:49:30 | COLLABORATOR | null | It's currently necessary to specify all fields in a `RuntimeConfig`, but this can be a bit cumbersome as
well as backwards incompatible for use cases where the Streamlit runtime is initialized by something
other than the Tornado server (as things work in the OS world).
This PR addresses this by
* Changing `RuntimeConfig` into a frozen dataclass
* Making `WebsocketSessionManager` and `MemorySessionStorage` the default fields for their
respective config options. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5903/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/5903/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5903",
"html_url": "https://github.com/streamlit/streamlit/pull/5903",
"diff_url": "https://github.com/streamlit/streamlit/pull/5903.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5903.patch",
"merged_at": "2023-01-04T01:49:30"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5902 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5902/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5902/comments | https://api.github.com/repos/streamlit/streamlit/issues/5902/events | https://github.com/streamlit/streamlit/issues/5902 | 1,517,698,304 | I_kwDODCoeTs5adj0A | 5,902 | plotly_chart using cached data on axis | {
"login": "liviameinhardt",
"id": 70647606,
"node_id": "MDQ6VXNlcjcwNjQ3NjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/70647606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liviameinhardt",
"html_url": "https://github.com/liviameinhardt",
"followers_url": "https://api.github.com/users/liviameinhardt/followers",
"following_url": "https://api.github.com/users/liviameinhardt/following{/other_user}",
"gists_url": "https://api.github.com/users/liviameinhardt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/liviameinhardt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liviameinhardt/subscriptions",
"organizations_url": "https://api.github.com/users/liviameinhardt/orgs",
"repos_url": "https://api.github.com/users/liviameinhardt/repos",
"events_url": "https://api.github.com/users/liviameinhardt/events{/privacy}",
"received_events_url": "https://api.github.com/users/liviameinhardt/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": 3230104487,
"node_id": "MDU6TGFiZWwzMjMwMTA0NDg3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P1",
"name": "priority:P1",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 3904044329,
"node_id": "LA_kwDODCoeTs7osv0p",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.plotly_chart",
"name": "feature:st.plotly_chart",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | {
"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
} | [
{
"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
}
] | null | 14 | 2023-01-03T17:20:37 | 2023-01-24T17:10:11 | 2023-01-24T01:37:58 | 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've described the error on [streamlit forum](https://discuss.streamlit.io/t/plotly-chart-displays-index-names-that-do-not-exists/35273).
The issue is that plotly_chart function appears to have a cached data problem, since the function plot names on the y-axis that are not in plotly figure (anymore). I tested this issue using either the plotly Figure object and the figure json. The json does not have this data saved (if you plot the figure on another page, i works as it should).
### Reproducible Code Example
```Python
I cannot provide my code here. The json I'm using is:
{
"data": [
{
"marker": {
"color": "#1D57A5"
},
"orientation": "h",
"showlegend": false,
"x": [
120.1380999999999,
106.06296666666667,
315.50575,
60.151150000000015,
1.4062199999999963,
93.94610000000003,
40.326899999999995,
-248.98569999999995,
-57.8537
],
"y": [
"axistitle1",
"axistitle2",
"axistitle3",
"axistitle4",
"axistitle5",
"axistitle6",
"axistitle7",
"axistitle8",
"axistitle9"
],
"type": "bar"
}
],
"layout": {
"template": {
"layout": {
"colorway": [
"#1D57A5",
"#00B5E2",
"#b8b6b6",
"#e30b0b",
"#141414",
" #fca605",
"#0ac200",
"#4285F4",
"#A6771E",
"#F4B400",
"#0F9D58",
"#185ABC",
"#B31412",
"#EA8600",
"#137333",
"#d2e3fc",
"#ceead6"
]
}
},
"yaxis": {
"categoryorder": "total ascending",
"tickfont": {
"size": 21
},
"mirror": true,
"ticks": "outside",
"showline": true
},
"xaxis": {
"tickfont": {
"size": 21
},
"title": {
"text": "X-axis"
},
"mirror": true,
"ticks": "outside",
"showline": true
},
"margin": {
"l": 300
},
"title": {
"text": "<b>X-Axis | 5Y</b><br><sup>Date Ref: date_ref</sup>",
"font": {
"size": 24
}
},
"font": {
"size": 20
},
"autosize": false,
"width": 2000,
"height": 1000,
"showlegend": true,
"paper_bgcolor": "#fafafa",
"plot_bgcolor": "#fafafa"
}
}
```
### Steps To Reproduce
_No response_
### Expected Behavior
![image](https://user-images.githubusercontent.com/70647606/210408223-3967207e-a6fc-4d57-9e31-156c2a0fd03f.png)
### Current Behavior
![image](https://user-images.githubusercontent.com/70647606/210408192-0ed10297-46d5-4cad-b80b-86f70011f30f.png)
### 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
https://discuss.streamlit.io/t/plotly-chart-displays-index-names-that-do-not-exists/35273
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5902/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/5902/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5901 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5901/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5901/comments | https://api.github.com/repos/streamlit/streamlit/issues/5901/events | https://github.com/streamlit/streamlit/pull/5901 | 1,516,225,849 | PR_kwDODCoeTs5GeuXH | 5,901 | Bump mheap/github-action-required-labels from 2.2.3 to 3.0.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 2026998410,
"node_id": "MDU6TGFiZWwyMDI2OTk4NDEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:dependencies",
"name": "area:dependencies",
"color": "C2E0C6",
"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": ""
},
{
"id": 4964875692,
"node_id": "LA_kwDODCoeTs8AAAABJ-39rA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/github_actions",
"name": "github_actions",
"color": "000000",
"default": false,
"description": "Pull requests that update GitHub Actions code"
}
] | closed | false | null | [] | null | 0 | 2023-01-02T10:08:47 | 2023-01-06T23:40:08 | 2023-01-06T23:40:04 | CONTRIBUTOR | null | Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 2.2.3 to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mheap/github-action-required-labels/releases">mheap/github-action-required-labels's releases</a>.</em></p>
<blockquote>
<h2>v3.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Switch to using <code>@βactions/core</code> by <a href="https://github.com/mheap"><code>@βmheap</code></a> in <a href="https://github-redirect.dependabot.com/mheap/github-action-required-labels/pull/44">mheap/github-action-required-labels#44</a></li>
<li>Custom messages by <a href="https://github.com/mheap"><code>@βmheap</code></a> in <a href="https://github-redirect.dependabot.com/mheap/github-action-required-labels/pull/46">mheap/github-action-required-labels#46</a></li>
<li>Bump json5 from 2.2.1 to 2.2.2 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a> in <a href="https://github-redirect.dependabot.com/mheap/github-action-required-labels/pull/45">mheap/github-action-required-labels#45</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/mheap/github-action-required-labels/compare/v2.2.3...v3.0.0">https://github.com/mheap/github-action-required-labels/compare/v2.2.3...v3.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/mheap/github-action-required-labels/commit/179af849240d834567e1a3d6dc781575eede757c"><code>179af84</code></a> Automatic compilation</li>
<li><a href="https://github.com/mheap/github-action-required-labels/commit/e49d4bee708a114e73d1dd790d354c109e0cfe12"><code>e49d4be</code></a> Bump json5 from 2.2.1 to 2.2.2</li>
<li><a href="https://github.com/mheap/github-action-required-labels/commit/6008ef38d7350168a91dab200a9d48ae21b42676"><code>6008ef3</code></a> Add ability to customise comment / error message</li>
<li><a href="https://github.com/mheap/github-action-required-labels/commit/43f0d746ccf0990f7dec9fb7f4322d55bce51ab0"><code>43f0d74</code></a> Bump README to v3</li>
<li><a href="https://github.com/mheap/github-action-required-labels/commit/6831eb28b639f195899c3c6422fc0ca08d84c2e0"><code>6831eb2</code></a> Move from actions-toolkit to <code>@βactions/core</code></li>
<li>See full diff in <a href="https://github.com/mheap/github-action-required-labels/compare/7b0461786d3bd0c6a8487e9b57814ba3e2c00227...179af849240d834567e1a3d6dc781575eede757c">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mheap/github-action-required-labels&package-manager=github_actions&previous-version=2.2.3&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details> | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5901/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/5901/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5901",
"html_url": "https://github.com/streamlit/streamlit/pull/5901",
"diff_url": "https://github.com/streamlit/streamlit/pull/5901.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5901.patch",
"merged_at": "2023-01-06T23:40:04"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5900 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5900/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5900/comments | https://api.github.com/repos/streamlit/streamlit/issues/5900/events | https://github.com/streamlit/streamlit/issues/5900 | 1,515,155,140 | I_kwDODCoeTs5aT27E | 5,900 | TreeView navigation for sidebar | {
"login": "BSalita",
"id": 1225749,
"node_id": "MDQ6VXNlcjEyMjU3NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1225749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BSalita",
"html_url": "https://github.com/BSalita",
"followers_url": "https://api.github.com/users/BSalita/followers",
"following_url": "https://api.github.com/users/BSalita/following{/other_user}",
"gists_url": "https://api.github.com/users/BSalita/gists{/gist_id}",
"starred_url": "https://api.github.com/users/BSalita/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BSalita/subscriptions",
"organizations_url": "https://api.github.com/users/BSalita/orgs",
"repos_url": "https://api.github.com/users/BSalita/repos",
"events_url": "https://api.github.com/users/BSalita/events{/privacy}",
"received_events_url": "https://api.github.com/users/BSalita/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": 4452125322,
"node_id": "LA_kwDODCoeTs8AAAABCV4Kig",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.sidebar",
"name": "feature:st.sidebar",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2022-12-31T16:28:51 | 2023-01-20T17:11:59 | 2023-01-20T17:11:59 | NONE | null | Streamlit documentation uses a treeview navigation component in the sidebar. Therefore, it's undeniably a useful component. However, it doesn't seem to be available in streamlit or third party. I do see something close in github, a checkbox treeview. Also, there's a menu navigation component but it's not in the sidebar and vertical. The component should be same as the documentation component -- expandable (+) and able to navigate to new pages.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5900/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/5900/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5899 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5899/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5899/comments | https://api.github.com/repos/streamlit/streamlit/issues/5899/events | https://github.com/streamlit/streamlit/issues/5899 | 1,515,063,142 | I_kwDODCoeTs5aTgdm | 5,899 | `st.download_button`: Create downloadable data only when button is clicked. | {
"login": "joostkremers",
"id": 191630,
"node_id": "MDQ6VXNlcjE5MTYzMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/191630?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joostkremers",
"html_url": "https://github.com/joostkremers",
"followers_url": "https://api.github.com/users/joostkremers/followers",
"following_url": "https://api.github.com/users/joostkremers/following{/other_user}",
"gists_url": "https://api.github.com/users/joostkremers/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joostkremers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joostkremers/subscriptions",
"organizations_url": "https://api.github.com/users/joostkremers/orgs",
"repos_url": "https://api.github.com/users/joostkremers/repos",
"events_url": "https://api.github.com/users/joostkremers/events{/privacy}",
"received_events_url": "https://api.github.com/users/joostkremers/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": 4333322200,
"node_id": "LA_kwDODCoeTs8AAAABAkk_2A",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.download_button",
"name": "feature:st.download_button",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 4 | 2022-12-31T08:36:57 | 2023-01-09T22:29:11 | 2023-01-09T21:27:09 | NONE | null | ### Problem
`st.download_button` has a parameter `data` for the data to be downloaded, but this requires the data to be generated when the button is defined. This is not very efficient if the user doesn't use the download button: the data is generated and held in memory, but it is never used.
I'm working on an app that generates a DataFrame (based on data uploaded by the user) and I want to offer the option to download this DataFrame as a CSV file. I expect that most of the time users won't download the file, though, they'll just look at the data in the app. In such cases, there's no need to generate the CSV data (and consume memory in the process).
### Solution
Conceptually the best way, I think, would be to allow the `data` parameter to be a function that generates the data to be written, and to call that function only if the download button is clicked.
### Additional context
Note that this issue is not the same as issue #4382, (although I guess it is somewhat related).
There is a workaround to this issue [in the forums](https://discuss.streamlit.io/t/download-button-data-parameter-issues/34767/20), but IMHO it's not ideal, because it requires the user to click two buttons: one to generate the file to be downloaded, and a second one to actually download it.
---
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/5899/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/5899/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5898 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5898/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5898/comments | https://api.github.com/repos/streamlit/streamlit/issues/5898/events | https://github.com/streamlit/streamlit/issues/5898 | 1,515,061,386 | I_kwDODCoeTs5aTgCK | 5,898 | Left-side label of select_slider widget overflows when in 'range' mode | {
"login": "marduk2",
"id": 12582729,
"node_id": "MDQ6VXNlcjEyNTgyNzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/12582729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marduk2",
"html_url": "https://github.com/marduk2",
"followers_url": "https://api.github.com/users/marduk2/followers",
"following_url": "https://api.github.com/users/marduk2/following{/other_user}",
"gists_url": "https://api.github.com/users/marduk2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marduk2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marduk2/subscriptions",
"organizations_url": "https://api.github.com/users/marduk2/orgs",
"repos_url": "https://api.github.com/users/marduk2/repos",
"events_url": "https://api.github.com/users/marduk2/events{/privacy}",
"received_events_url": "https://api.github.com/users/marduk2/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 3904102332,
"node_id": "LA_kwDODCoeTs7os9-8",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.slider",
"name": "feature:st.slider",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 4089930576,
"node_id": "LA_kwDODCoeTs7zx2NQ",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.select_slider",
"name": "feature:st.select_slider",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | {
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2022-12-31T08:30:05 | 2023-01-06T06:23:37 | 2023-01-06T06:23:37 | 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 left-side label of select_slider widget overflows when in 'range' mode. Right-side label seems to work correctly.
### Reproducible Code Example
```Python
import streamlit as st
st.title("The left-side label of select_slider widget overflows when in 'range' mode")
with st.expander('Settings'):
first_value,last_value = st.select_slider(
label='Range select_slider (notice that left-side label overflows)',
options=['Maradona','Ronaldo','Pele','Messi'],
value=['Maradona','Pele']
)
single_value = st.select_slider(
label='Normal select_slider (notice that left-side label works correctly, i.e. does not overflow)',
options=['Maradona','Ronaldo','Pele','Messi'],
value='Maradona'
)
```
### Steps To Reproduce
1. Run the example app.
2. Notice that the left-side label of the select_slider overflows when in 'range' mode, but works correctly when in normal mode.
### Expected Behavior
Left-side label of select_slider widget should not overflow beyond widget under any circumstance.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.10
- Operating System: macOS
- Browser: Brave
- Virtual environment: conda
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5898/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/5898/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5897 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5897/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5897/comments | https://api.github.com/repos/streamlit/streamlit/issues/5897/events | https://github.com/streamlit/streamlit/pull/5897 | 1,514,194,980 | PR_kwDODCoeTs5GX0uq | 5,897 | Upgrade plotly to fix mapbox scatter | {
"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 | 1 | 2022-12-30T02:40:17 | 2022-12-30T02:41:42 | 2022-12-30T02:41:42 | COLLABORATOR | null | ## π Context
We upgraded Plotly, but it had a regression, so Streamlit therefore had a regression. Upgrade the dependency, ~save the world~ fix the bug.
- What kind of change does this PR introduce?
- [x] Bugfix
## π§ Description of Changes
- Upgrade plotly.js dependency
## π§ͺ Testing Done
This one is a bit difficult to test because the slider is an advanced SVG and will be a flaky test in the end. We can assume this was an issue of our underlying dependency.
## π References
- **Issue**: Closes https://github.com/streamlit/streamlit/issues/5881
---
**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/5897/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/5897/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5897",
"html_url": "https://github.com/streamlit/streamlit/pull/5897",
"diff_url": "https://github.com/streamlit/streamlit/pull/5897.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5897.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5896 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5896/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5896/comments | https://api.github.com/repos/streamlit/streamlit/issues/5896/events | https://github.com/streamlit/streamlit/pull/5896 | 1,514,145,124 | PR_kwDODCoeTs5GXqIF | 5,896 | Deduplicate FE packages | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-30T00:20:36 | 2023-01-04T17:47:50 | 2023-01-04T17:47:46 | COLLABORATOR | null | ## π Context
Using `yarn-deduplicate` to deduplicate frontend packages.
Leaving resolutions as potential TODO after completing minor/major version bumps.
- What kind of change does this PR introduce?
- [x] Refactoring
## π§ Description of Changes
- Remove duplicate packages & reduce build size (hopefully)
---
**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/5896/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/5896/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5896",
"html_url": "https://github.com/streamlit/streamlit/pull/5896",
"diff_url": "https://github.com/streamlit/streamlit/pull/5896.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5896.patch",
"merged_at": "2023-01-04T17:47:45"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5895 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5895/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5895/comments | https://api.github.com/repos/streamlit/streamlit/issues/5895/events | https://github.com/streamlit/streamlit/issues/5895 | 1,513,741,312 | I_kwDODCoeTs5aOdwA | 5,895 | add height and scrollable to st.container | {
"login": "littlepanda0716",
"id": 5668498,
"node_id": "MDQ6VXNlcjU2Njg0OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5668498?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/littlepanda0716",
"html_url": "https://github.com/littlepanda0716",
"followers_url": "https://api.github.com/users/littlepanda0716/followers",
"following_url": "https://api.github.com/users/littlepanda0716/following{/other_user}",
"gists_url": "https://api.github.com/users/littlepanda0716/gists{/gist_id}",
"starred_url": "https://api.github.com/users/littlepanda0716/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/littlepanda0716/subscriptions",
"organizations_url": "https://api.github.com/users/littlepanda0716/orgs",
"repos_url": "https://api.github.com/users/littlepanda0716/repos",
"events_url": "https://api.github.com/users/littlepanda0716/events{/privacy}",
"received_events_url": "https://api.github.com/users/littlepanda0716/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-12-29T13:33:00 | 2023-01-03T20:03:43 | 2023-01-03T20:03:32 | NONE | null | ### Problem
add height and scrollable parameters to st.container like those params of st.components.html or st.components.html
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5895/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/5895/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5894 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5894/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5894/comments | https://api.github.com/repos/streamlit/streamlit/issues/5894/events | https://github.com/streamlit/streamlit/pull/5894 | 1,513,264,181 | PR_kwDODCoeTs5GUtwo | 5,894 | Add Iframe resizing ability | {
"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 | 3 | 2022-12-29T00:36:19 | 2023-01-06T22:37:08 | 2023-01-06T22:37:00 | COLLABORATOR | null | ## π Context
- What kind of change does this PR introduce?
- [x] Feature
## π§ Description of Changes
- [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
- [x] Screenshots included
- [x] Added/Updated unit tests
- [x] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #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/5894/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/5894/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5894",
"html_url": "https://github.com/streamlit/streamlit/pull/5894",
"diff_url": "https://github.com/streamlit/streamlit/pull/5894.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5894.patch",
"merged_at": "2023-01-06T22:37:00"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5893 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5893/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5893/comments | https://api.github.com/repos/streamlit/streamlit/issues/5893/events | https://github.com/streamlit/streamlit/pull/5893 | 1,513,177,449 | PR_kwDODCoeTs5GUbY4 | 5,893 | [WIP] - Update FE Dependencies Part 2 - Minor updates | {
"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-12-28T21:21:28 | 2023-01-10T18:57:48 | 2022-12-30T04:37:54 | COLLABORATOR | null | ## π Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
---
**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/5893/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/5893/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5893",
"html_url": "https://github.com/streamlit/streamlit/pull/5893",
"diff_url": "https://github.com/streamlit/streamlit/pull/5893.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5893.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5892 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5892/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5892/comments | https://api.github.com/repos/streamlit/streamlit/issues/5892/events | https://github.com/streamlit/streamlit/pull/5892 | 1,512,902,642 | PR_kwDODCoeTs5GTfi3 | 5,892 | Revert SCRIPT_RUN_FINISHED signal changes, add window.prerenderReady | {
"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 | 0 | 2022-12-28T15:26:02 | 2023-01-05T12:31:28 | 2023-01-05T12:31:27 | COLLABORATOR | null | Revert SCRIPT_RUN_FINISHED signal changes, add window.prerenderReady flag.
<!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
The cloud team asked to add a `window.prerenderReady` flag (based on a recommendation from here: https://docs.prerender.io/docs/11-best-practices we should do that as early as possible, that's why changes are added in an index.html)
This PR also reverts previous changes since based on feedback cloud team we didn't render streamlit app for indexing not inside iframe, so previous changes with communication to the parent iframe don't make sense.
- 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
- [X] 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/5892/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/5892/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5892",
"html_url": "https://github.com/streamlit/streamlit/pull/5892",
"diff_url": "https://github.com/streamlit/streamlit/pull/5892.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5892.patch",
"merged_at": "2023-01-05T12:31:27"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5891 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5891/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5891/comments | https://api.github.com/repos/streamlit/streamlit/issues/5891/events | https://github.com/streamlit/streamlit/issues/5891 | 1,512,263,738 | I_kwDODCoeTs5aI1A6 | 5,891 | Slider max value in form in tabs looks weird until hover over | {
"login": "kevinlinxc",
"id": 44324811,
"node_id": "MDQ6VXNlcjQ0MzI0ODEx",
"avatar_url": "https://avatars.githubusercontent.com/u/44324811?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinlinxc",
"html_url": "https://github.com/kevinlinxc",
"followers_url": "https://api.github.com/users/kevinlinxc/followers",
"following_url": "https://api.github.com/users/kevinlinxc/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinlinxc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kevinlinxc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinlinxc/subscriptions",
"organizations_url": "https://api.github.com/users/kevinlinxc/orgs",
"repos_url": "https://api.github.com/users/kevinlinxc/repos",
"events_url": "https://api.github.com/users/kevinlinxc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kevinlinxc/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": 3230108595,
"node_id": "MDU6TGFiZWwzMjMwMTA4NTk1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P4",
"name": "priority:P4",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 3904102332,
"node_id": "LA_kwDODCoeTs7os9-8",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.slider",
"name": "feature:st.slider",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-12-27T23:47:20 | 2022-12-30T02:12:53 | 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
![image](https://user-images.githubusercontent.com/44324811/209736477-31d9d103-9534-433c-adb7-4eb287a8730e.png)
When the below code is rendered in, the style attribute of the slider's selected value is:
`style="left: 0px; right: 0px;"`
The left: 0px is what causes this visual bug. When you hover over the bug, some javascript seems to remove the left: 0px part and it aligns properly:
![image](https://user-images.githubusercontent.com/44324811/209736687-76018318-b8fa-4b4d-b1fa-2f1d57cd7d4b.png)
This bug doesn't always happen in my reproduction script for some reason, but it does always happen in my live app, which I can't share. I've actually only been able to reproduce this bug twice with my script, the first time was the first time I ran it, and the second time was on a rerun.
### Reproducible Code Example
```Python
import streamlit as st
tab1 = st.tabs(["tab 1"])[0]
my_form = tab1.form("whatever")
slider = my_form.slider("My value", min_value=0.1, max_value=1.0, step=0.05, value=1.0,
help="help")
my_form.form_submit_button("Submit")
```
### Steps To Reproduce
Run the above code, hopefully it creates the problem. Clearing the localhost cookies, closing everything and then re running with streamlit run seemed to increase the incidence rate but it's still not consistently reproducible for some reason.
### Expected Behavior
Slider value is inside its container.
### Current Behavior
Slider value is not in the container.
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: Python 3.9.0
- Operating System: Windows 10
- Browser: Chrome
- Virtual environment: venv
### Additional Information
The bandaid fix is to use a css hack:
```Python
slider_style = """
<style>
#tabs-1-tabpanel-0 > div:nth-child(1) > div > div > div:nth-child(1) > div > div:nth-child(1) > div > div > div.st-d0.st-bv.st-bu.st-bs.st-b3.st-da.st-d1 > div > div > div {
left: auto !important;
}
</style>
"""
st.markdown(slider_style, unsafe_allow_html=True)
```
### 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/5891/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/5891/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5890 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5890/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5890/comments | https://api.github.com/repos/streamlit/streamlit/issues/5890/events | https://github.com/streamlit/streamlit/pull/5890 | 1,510,841,433 | PR_kwDODCoeTs5GMjtb | 5,890 | Update source_util.get_pages | {
"login": "ddobrinskiy",
"id": 29500178,
"node_id": "MDQ6VXNlcjI5NTAwMTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/29500178?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ddobrinskiy",
"html_url": "https://github.com/ddobrinskiy",
"followers_url": "https://api.github.com/users/ddobrinskiy/followers",
"following_url": "https://api.github.com/users/ddobrinskiy/following{/other_user}",
"gists_url": "https://api.github.com/users/ddobrinskiy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ddobrinskiy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ddobrinskiy/subscriptions",
"organizations_url": "https://api.github.com/users/ddobrinskiy/orgs",
"repos_url": "https://api.github.com/users/ddobrinskiy/repos",
"events_url": "https://api.github.com/users/ddobrinskiy/events{/privacy}",
"received_events_url": "https://api.github.com/users/ddobrinskiy/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2022-12-26T10:47:32 | 2023-01-26T20:51:41 | 2023-01-05T21:01:23 | CONTRIBUTOR | null | don't add `__init__.py` to the list of pages
## π Context
_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 visible (user-facing) change
- `pages/__init__.py` is no longer included in the list of pages to display
**Revised:**
Could not get the local version to run, but it will not contain the empty `init` page
**Current:**
![image](https://user-images.githubusercontent.com/29500178/209537178-02a9af93-1dbe-44e7-a3fa-9c1ebe7ce3b2.png)
## π§ͺ Testing Done
- Could not get the local env to run dev streamlit, but relying on the automated tests. Regardless, this single line change should not break anything
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
No
---
**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/5890/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/5890/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5890",
"html_url": "https://github.com/streamlit/streamlit/pull/5890",
"diff_url": "https://github.com/streamlit/streamlit/pull/5890.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5890.patch",
"merged_at": "2023-01-05T21:01:23"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5889 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5889/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5889/comments | https://api.github.com/repos/streamlit/streamlit/issues/5889/events | https://github.com/streamlit/streamlit/issues/5889 | 1,510,281,846 | I_kwDODCoeTs5aBRJ2 | 5,889 | Hierarchical menu | {
"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": 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": 1634945110,
"node_id": "MDU6TGFiZWwxNjM0OTQ1MTEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:layout",
"name": "area:layout",
"color": "C2E0C6",
"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": ""
},
{
"id": 5141007275,
"node_id": "LA_kwDODCoeTs8AAAABMm2Lqw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:likely",
"name": "status:likely",
"color": "FEF2C0",
"default": false,
"description": "We don't have a concrete timeline yet but we are likely to implement this feature in the future."
}
] | open | false | null | [] | null | 1 | 2022-12-25T09:08:20 | 2023-02-10T20:34:04 | null | NONE | null | ### Problem
I'm doing a CRUD app based on streamlit. Most of things work perfect, but as the app grows - there is a need for hierarchical menu to be placed in sidebar. Something like streamlit_options_menu would be perfect to have in Streamlit, but with support of submenus (1 extra level should be enough). Currently I'm using 2x streamlit_options_menu as a workaround, with 1 menu shown below the other, but this doesn't look nice.
### Solution
**MVP:** A menu component with ability to have a tree-like structure with at least 1 level into it. Simple clicking (not radio). Ideally should be able to place it anywhere, like with any normal component (sidebar or main area, or column in main area - with embedded columns in roadmap this could give quite nice formatting options too).
**Possible additions:** I'm interested only in vertical menu, but a top-level menu could be nice, especially if it could be placed at the very top of the page (like sidebar, but top-bar).
**Preferred solution:** -
### Additional context
A screenshot of current workaround with orange arrow where it should really go.
![image](https://user-images.githubusercontent.com/14203878/209462453-077c151c-ba73-470f-841f-6bf42235b935.png)
Would love such a component to be part of Streamlit.
---
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/5889/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5889/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5888 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5888/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5888/comments | https://api.github.com/repos/streamlit/streamlit/issues/5888/events | https://github.com/streamlit/streamlit/issues/5888 | 1,509,969,088 | I_kwDODCoeTs5aAEzA | 5,888 | Add ability to specify Plotly figure configuration | {
"login": "MathCatsAnd",
"id": 98661771,
"node_id": "U_kgDOBeF1iw",
"avatar_url": "https://avatars.githubusercontent.com/u/98661771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MathCatsAnd",
"html_url": "https://github.com/MathCatsAnd",
"followers_url": "https://api.github.com/users/MathCatsAnd/followers",
"following_url": "https://api.github.com/users/MathCatsAnd/following{/other_user}",
"gists_url": "https://api.github.com/users/MathCatsAnd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MathCatsAnd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MathCatsAnd/subscriptions",
"organizations_url": "https://api.github.com/users/MathCatsAnd/orgs",
"repos_url": "https://api.github.com/users/MathCatsAnd/repos",
"events_url": "https://api.github.com/users/MathCatsAnd/events{/privacy}",
"received_events_url": "https://api.github.com/users/MathCatsAnd/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-12-24T06:55:58 | 2022-12-29T06:54:12 | 2022-12-29T06:54:11 | NONE | null | ### Problem
Currently there is no way to pass Plotly config parameters to a Plotly chart in Streamlit. (As would typically be done in `fig.show(config=config)`. There are some modifications that cannot be specified through `fig.update` etc.)
### Solution
If `st.plotly_chart` had an optional keyword `config`, users could pass the desired config dictionary (either in its entirety or as an add-on to the current config created in `streamlit/elements/plotly_chart.py` lines 212 to 218. I tried manually adding in a line `config['displaylogo']=False` and successfully hid all the Plotly logos in my app. Furthermore, I was able to include or exclude that line for different plotly charts on the same page, and there wasn't any problem with each taking on its config dictionary.
### Additional context
This is related to #4178 about theming in Plotly, but I believe distinct and specific enough to be worth a separate feature request. Apologies if this should have been a footnote on that existing thread.
---
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/5888/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/5888/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5887 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5887/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5887/comments | https://api.github.com/repos/streamlit/streamlit/issues/5887/events | https://github.com/streamlit/streamlit/issues/5887 | 1,509,523,216 | I_kwDODCoeTs5Z-X8Q | 5,887 | PyperclipException: Pyperclip could not find a copy/paste mechanism for your system. | {
"login": "arisshokri",
"id": 121178933,
"node_id": "U_kgDOBzkLNQ",
"avatar_url": "https://avatars.githubusercontent.com/u/121178933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arisshokri",
"html_url": "https://github.com/arisshokri",
"followers_url": "https://api.github.com/users/arisshokri/followers",
"following_url": "https://api.github.com/users/arisshokri/following{/other_user}",
"gists_url": "https://api.github.com/users/arisshokri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arisshokri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arisshokri/subscriptions",
"organizations_url": "https://api.github.com/users/arisshokri/orgs",
"repos_url": "https://api.github.com/users/arisshokri/repos",
"events_url": "https://api.github.com/users/arisshokri/events{/privacy}",
"received_events_url": "https://api.github.com/users/arisshokri/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": 4771992204,
"node_id": "LA_kwDODCoeTs8AAAABHG7SjA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:not-issue",
"name": "type:not-issue",
"color": "262730",
"default": false,
"description": "This issue is not valid (e.g. debugging question, question unrelated to Streamlit, etc.)"
}
] | closed | false | null | [] | null | 1 | 2022-12-23T16:22:17 | 2022-12-30T02:59:08 | 2022-12-30T02:58:55 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Pyperclip could not find a copy/paste mechanism for your system.
But works just fine on my local host.
https://arisshokri-yearly-stock-prices-streamlit-app-hz74fv.streamlit.app/
### Reproducible Code Example
```Python
Display error on my app:
pyperclip.PyperclipException: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/app/yearly-stock-prices-streamlit/app.py", line 6328, in <module>
pyperclip.copy(symbol_name[1].strip())
File "/home/appuser/venv/lib/python3.9/site-packages/pyperclip/__init__.py", line 336, in __call__
raise PyperclipException(EXCEPT_MSG)
```
### 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/5887/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/5887/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5886 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5886/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5886/comments | https://api.github.com/repos/streamlit/streamlit/issues/5886/events | https://github.com/streamlit/streamlit/issues/5886 | 1,508,858,635 | I_kwDODCoeTs5Z71sL | 5,886 | Specify timezone for st.date_input | {
"login": "Gyunald",
"id": 97107396,
"node_id": "U_kgDOBcm9xA",
"avatar_url": "https://avatars.githubusercontent.com/u/97107396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gyunald",
"html_url": "https://github.com/Gyunald",
"followers_url": "https://api.github.com/users/Gyunald/followers",
"following_url": "https://api.github.com/users/Gyunald/following{/other_user}",
"gists_url": "https://api.github.com/users/Gyunald/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Gyunald/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gyunald/subscriptions",
"organizations_url": "https://api.github.com/users/Gyunald/orgs",
"repos_url": "https://api.github.com/users/Gyunald/repos",
"events_url": "https://api.github.com/users/Gyunald/events{/privacy}",
"received_events_url": "https://api.github.com/users/Gyunald/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": 3904164369,
"node_id": "LA_kwDODCoeTs7otNIR",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.date_input",
"name": "feature:st.date_input",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-12-23T04:13:37 | 2023-01-26T17:56:36 | null | NONE | null | I use streamlit very often. This allows you to share information with others. thank you.
My suggestion would be to be able to apply country time differences to st.date_input().
In Korea, if you launch the app early in the morning, the default date is set to yesterday.
thanks.
---
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/5886/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/5886/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5885 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5885/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5885/comments | https://api.github.com/repos/streamlit/streamlit/issues/5885/events | https://github.com/streamlit/streamlit/pull/5885 | 1,508,723,372 | PR_kwDODCoeTs5GFl3X | 5,885 | Update FE Dependencies Part 1 - Patch updates | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-23T00:48:59 | 2022-12-29T23:38:15 | 2022-12-29T23:38:11 | COLLABORATOR | null | ## π Context
Updating FE dependencies in stages unless any objections - this covers the patch updates identified by `yarn outdated`
- What kind of change does this PR introduce?
- [x] Other, please describe: dependency update
## π§ Description of Changes
- Updated outdated patch versions/remove resolutions
---
**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/5885/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/5885/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5885",
"html_url": "https://github.com/streamlit/streamlit/pull/5885",
"diff_url": "https://github.com/streamlit/streamlit/pull/5885.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5885.patch",
"merged_at": "2022-12-29T23:38:11"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5884 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5884/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5884/comments | https://api.github.com/repos/streamlit/streamlit/issues/5884/events | https://github.com/streamlit/streamlit/issues/5884 | 1,508,322,543 | I_kwDODCoeTs5Z5yzv | 5,884 | "choose a demo" select box is not showing when typing streamit Hello in the prompt | {
"login": "ImRobot777",
"id": 92150826,
"node_id": "U_kgDOBX4cKg",
"avatar_url": "https://avatars.githubusercontent.com/u/92150826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ImRobot777",
"html_url": "https://github.com/ImRobot777",
"followers_url": "https://api.github.com/users/ImRobot777/followers",
"following_url": "https://api.github.com/users/ImRobot777/following{/other_user}",
"gists_url": "https://api.github.com/users/ImRobot777/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ImRobot777/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ImRobot777/subscriptions",
"organizations_url": "https://api.github.com/users/ImRobot777/orgs",
"repos_url": "https://api.github.com/users/ImRobot777/repos",
"events_url": "https://api.github.com/users/ImRobot777/events{/privacy}",
"received_events_url": "https://api.github.com/users/ImRobot777/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": 1630420326,
"node_id": "MDU6TGFiZWwxNjMwNDIwMzI2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:onboarding",
"name": "area:onboarding",
"color": "C2E0C6",
"default": false,
"description": "Bugs that impact a user's initial experience with Streamlit: installation, hello, running demos"
},
{
"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": ""
}
] | closed | false | null | [] | null | 4 | 2022-12-22T17:54:12 | 2023-01-12T14:52:42 | 2023-01-11T01:50:17 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
install streamlit via anaconda
type "streamlit hello" in the command prompt
See the result in the browser : (see attached screenshot)
### Reproducible Code Example
```Python
conda install streamlit
streamlit hello
```
### Steps To Reproduce
install streamlit via anaconda
type "streamlit hello" in the command prompt
See the result in the browser : (see attached screenshot) (any browser indeed)
### Expected Behavior
The "chose demo" select box beeing visible and of course usable
### Current Behavior
The "chose demo" select box is not visible
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.11 (anaconda package)
- Python version: 3.8.15
- Operating System: Windows 11 pro
- Browser: Microsoft edge Version 108.0.1462.54 (64 bits)
- Virtual environment: conda env
### Additional Information
![streamlit_hello](https://user-images.githubusercontent.com/92150826/209196354-545ec786-4abb-45ba-8bc4-87b5b15e328f.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/5884/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/5884/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5883 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5883/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5883/comments | https://api.github.com/repos/streamlit/streamlit/issues/5883/events | https://github.com/streamlit/streamlit/issues/5883 | 1,508,179,110 | I_kwDODCoeTs5Z5Pym | 5,883 | st.sleep | {
"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"
}
] | open | false | null | [] | null | 0 | 2022-12-22T16:32:58 | 2023-01-12T09:25:30 | null | NONE | null | We can visualize static, pseudo-static (changed by widget filters) and real time data.
While static and pseudo-static data are very easy to work with, real time data visualization could be made a lot easier.
Real time visualization is hindered by cumbersome `st.(experimental_)rerun` and by infinite loops. As you can see in my [Multitabs app with real time data: frontend does not refresh properly](https://discuss.streamlit.io/t/multitabs-app-with-real-time-data-frontend-does-not-refresh-properly/35042) one of the effects of these infinite loops is the presence of "ghosts" elements that are not updated by frontend because the backend is being blocked in a loop and the communication between the two stops.
Real time visualization is essentially an infinite `while` loop:
```python
while True:
...load and visualize data here...
time.sleep(5)
```
In my case I tried alternative solutions like multiple `st.empty()` placeholders, javascript async functions, multithreading, but they are heavy weights that a newbie should never face alone.
**What if there was a `st.sleep()` instead of `time.sleep()`?'**
The difference between `time.sleep` and `st.sleep` is that **during `st.sleep()` the communication between frontend and backend does not stop**, and frontend can be updated during the pause: i.e. With `time.sleep` click on widgets is now completely suspended till the end of the sleep, while with `st.sleep` it should be immediately executed.
It would ease the real time visualization tremendously, while being at the same time very intuitive.
Any thought?
---
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/5883/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5883/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5882 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5882/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5882/comments | https://api.github.com/repos/streamlit/streamlit/issues/5882/events | https://github.com/streamlit/streamlit/issues/5882 | 1,507,998,759 | I_kwDODCoeTs5Z4jwn | 5,882 | Automatic correction when using date_input function | {
"login": "GiuliaMelloni",
"id": 75562100,
"node_id": "MDQ6VXNlcjc1NTYyMTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/75562100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GiuliaMelloni",
"html_url": "https://github.com/GiuliaMelloni",
"followers_url": "https://api.github.com/users/GiuliaMelloni/followers",
"following_url": "https://api.github.com/users/GiuliaMelloni/following{/other_user}",
"gists_url": "https://api.github.com/users/GiuliaMelloni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/GiuliaMelloni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GiuliaMelloni/subscriptions",
"organizations_url": "https://api.github.com/users/GiuliaMelloni/orgs",
"repos_url": "https://api.github.com/users/GiuliaMelloni/repos",
"events_url": "https://api.github.com/users/GiuliaMelloni/events{/privacy}",
"received_events_url": "https://api.github.com/users/GiuliaMelloni/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": 3230108595,
"node_id": "MDU6TGFiZWwzMjMwMTA4NTk1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P4",
"name": "priority:P4",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 3904164369,
"node_id": "LA_kwDODCoeTs7otNIR",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.date_input",
"name": "feature:st.date_input",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-12-22T14:34:57 | 2022-12-30T02:52:58 | 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
While creating an application, I encounter an automatic correction from streamlit when selecting range of dates with the function date_input. I would like to manually type 2021/09/25 - 2022/09/**25** but streamlit automatically correct this selection as 2021/09/25 - 2022/09/**05** .
This automatic correction does not happen if I select this range directly from the calendar view.
You can find below an explanatory video.
### Reproducible Code Example
```Python
import streamlit as st
from datetime import date, datetime as dt, timedelta
from dateutil.relativedelta import *
default_from = (dt.now() + relativedelta(weekday=MO(-1))).date()
default_to = (dt.now() + relativedelta(weekday=MO(-1)) + relativedelta(days = 7)).date()
daterange = st.date_input('Workload date range selection', value=(default_from, default_to), min_value=None, max_value=None, key=None)
```
### Steps To Reproduce
1. Create python file trial.py
2. Copy and paste the above lines of code
3. Run "streamlit run trial.py"
4. Type manually 2021/09/25 - 2022/09/**25**
5. This selection will be automatically corrected as 2021/09/25 - 2022/09/**05** which is not intended!
### Expected Behavior
I am expecting to correctly select the range 2021/09/25 - 2022/09/25 by typing in the field of date_input.
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.10.0
- Python version: 3.10.8
- Operating System: Windows 10 Enterprise
- Browser: Microsoft Edge
- Virtual environment: yes
### Additional Information
https://user-images.githubusercontent.com/75562100/209155283-8c87ad2d-2a1a-414f-8738-3b0d6248ae72.MOV
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5882/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/5882/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5881 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5881/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5881/comments | https://api.github.com/repos/streamlit/streamlit/issues/5881/events | https://github.com/streamlit/streamlit/issues/5881 | 1,507,589,736 | I_kwDODCoeTs5Z2_5o | 5,881 | Plotly mapbox animations no longer work in streamlit versions 1.15.0 & 1.16.0 | {
"login": "georgeyoulden",
"id": 44876810,
"node_id": "MDQ6VXNlcjQ0ODc2ODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/44876810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/georgeyoulden",
"html_url": "https://github.com/georgeyoulden",
"followers_url": "https://api.github.com/users/georgeyoulden/followers",
"following_url": "https://api.github.com/users/georgeyoulden/following{/other_user}",
"gists_url": "https://api.github.com/users/georgeyoulden/gists{/gist_id}",
"starred_url": "https://api.github.com/users/georgeyoulden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/georgeyoulden/subscriptions",
"organizations_url": "https://api.github.com/users/georgeyoulden/orgs",
"repos_url": "https://api.github.com/users/georgeyoulden/repos",
"events_url": "https://api.github.com/users/georgeyoulden/events{/privacy}",
"received_events_url": "https://api.github.com/users/georgeyoulden/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 | 4 | 2022-12-22T10:06:52 | 2022-12-30T03:37:20 | 2022-12-30T02:42:08 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
When trying to display an animated plotly "scatter_mapbox" figure, the chart is frozen on the first frame even though the slider is moving. Dragging the slider also does not change the visual. This was previously working in streamlit version 1.14.0.
### Reproducible Code Example
```Python
import streamlit as st
import plotly_express as px
px.set_mapbox_access_token(open(".mapbox_token").read())
df=px.data.carshare()
df=df.sort_values('peak_hour')
fig=px.scatter_mapbox(df, lon='centroid_lon', lat='centroid_lat', size='car_hours', animation_frame='peak_hour', height=600)
st.plotly_chart(fig, use_container_width=True)
```
### Steps To Reproduce
1) Get mapbox token and save in file ".mapbox_token"
2) Run code provided.
3) Live version shown here: https://georgeyoulden-mapboxtest-mapbox-test-3qsr9x.streamlit.app/
### Expected Behavior
An animated map, with moving centroids of different sizes.
### Current Behavior
Plot showing first frame
![newplot](https://user-images.githubusercontent.com/44876810/209109855-c826df12-5eda-4ee5-a2ac-c051b651c86c.png)
Plot animated to a later frame but still displaying the first frame
![newplot (1)](https://user-images.githubusercontent.com/44876810/209109863-3df2c5d6-1557-4fec-95ba-54f89579ca4d.png)
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.10.6
- Operating System: Windows 10 Enterprise
- Browser: Edge
- Virtual environment:
### Additional Information
N/A
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5881/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/5881/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5880 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5880/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5880/comments | https://api.github.com/repos/streamlit/streamlit/issues/5880/events | https://github.com/streamlit/streamlit/issues/5880 | 1,506,953,566 | I_kwDODCoeTs5Z0kle | 5,880 | Empty container raises error when written to in a callback | {
"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": 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": 3230108595,
"node_id": "MDU6TGFiZWwzMjMwMTA4NTk1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P4",
"name": "priority:P4",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4070169954,
"node_id": "LA_kwDODCoeTs7ymd1i",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state",
"name": "feature:st.session_state",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 4561298778,
"node_id": "LA_kwDODCoeTs8AAAABD9_lWg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:callbacks",
"name": "feature:callbacks",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-12-21T21:52:30 | 2022-12-30T02:17:52 | 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
Similar to #3659
### Reproducible Code Example
```Python
import streamlit as st
con = st.container()
def add_item():
with con:
st.write("Item added!")
st.button("Click me", on_click=add_item)
```
### Steps To Reproduce
1. Click button
See https://playground.streamlit.app/?q=403478 for a live example
### Expected Behavior
Line added to empty container
### Current Behavior
```
setln cannot be called on an ElementNode
```
<img width="562" alt="image" src="https://user-images.githubusercontent.com/4040678/209008044-fd1efbde-326b-4e8e-a93c-57d3713c42d6.png">
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 3.10.6
- Python version: 1.16.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/5880/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/5880/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5879 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5879/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5879/comments | https://api.github.com/repos/streamlit/streamlit/issues/5879/events | https://github.com/streamlit/streamlit/pull/5879 | 1,506,883,029 | PR_kwDODCoeTs5F_QOL | 5,879 | Fix misprint of st.plotly_chart docs | {
"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": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-21T20:36:03 | 2022-12-21T22:40:47 | 2022-12-21T22:40:47 | 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?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- Removes a space that is breaking the st.plotly_chart
- _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/5879/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/5879/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5879",
"html_url": "https://github.com/streamlit/streamlit/pull/5879",
"diff_url": "https://github.com/streamlit/streamlit/pull/5879.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5879.patch",
"merged_at": "2022-12-21T22:40:47"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5878 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5878/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5878/comments | https://api.github.com/repos/streamlit/streamlit/issues/5878/events | https://github.com/streamlit/streamlit/pull/5878 | 1,506,706,778 | PR_kwDODCoeTs5F-p4q | 5,878 | Send SCRIPT_RUN_FINISHED signal to parent | {
"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-12-21T17:56:49 | 2022-12-23T13:00:28 | 2022-12-23T13:00:28 | 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
Send SCRIPT_RUN_FINISHED signal to parent iframe when connection is established, and `scriptRunState` changed from `RUNNING` to `NOT_RUNNING`.
Please note that this signal will be called each time after the normal script_rerun will be finished.
- 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/5878/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/5878/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5878",
"html_url": "https://github.com/streamlit/streamlit/pull/5878",
"diff_url": "https://github.com/streamlit/streamlit/pull/5878.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5878.patch",
"merged_at": "2022-12-23T13:00:27"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5877 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5877/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5877/comments | https://api.github.com/repos/streamlit/streamlit/issues/5877/events | https://github.com/streamlit/streamlit/pull/5877 | 1,506,114,073 | PR_kwDODCoeTs5F8o36 | 5,877 | Add missing import statements to examples in docstrings | {
"login": "snehankekre",
"id": 20672874,
"node_id": "MDQ6VXNlcjIwNjcyODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snehankekre",
"html_url": "https://github.com/snehankekre",
"followers_url": "https://api.github.com/users/snehankekre/followers",
"following_url": "https://api.github.com/users/snehankekre/following{/other_user}",
"gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}",
"starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions",
"organizations_url": "https://api.github.com/users/snehankekre/orgs",
"repos_url": "https://api.github.com/users/snehankekre/repos",
"events_url": "https://api.github.com/users/snehankekre/events{/privacy}",
"received_events_url": "https://api.github.com/users/snehankekre/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-21T10:57:55 | 2022-12-21T18:51:54 | 2022-12-21T18:51:50 | MEMBER | null | ## π Context
Most docstrings in our public API include code examples. These examples are rendered as code blocks in the API reference that can be copied to clipboard. We want users to copy those examples from our docs and run them without running into errors. The most common error type is `NameError`, which occurs when users run copied code blocks with missing imports.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Doc improvement request
## π§ Description of Changes
- Adds import statements to all docstrings of `st.` commands that contain examples.
- Note: this PR neither adds nor updates any tests as the changes are a mere refactoring of docstrings.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5877/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/5877/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5877",
"html_url": "https://github.com/streamlit/streamlit/pull/5877",
"diff_url": "https://github.com/streamlit/streamlit/pull/5877.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5877.patch",
"merged_at": "2022-12-21T18:51:50"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5876 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5876/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5876/comments | https://api.github.com/repos/streamlit/streamlit/issues/5876/events | https://github.com/streamlit/streamlit/pull/5876 | 1,505,233,314 | PR_kwDODCoeTs5F5udC | 5,876 | Singleton: `validate` support | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-20T20:38:50 | 2023-01-03T21:29:32 | 2023-01-03T21:29:27 | COLLABORATOR | null | Adds an optional `validate` param to `@st.experimental_singleton`. If `validate` is specified, it's called each time a cached value is accessed. If `validate` returns `False`, the current cached value will be discarded and the decorated function will be called to recompute a new value. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5876/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/5876/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5876",
"html_url": "https://github.com/streamlit/streamlit/pull/5876",
"diff_url": "https://github.com/streamlit/streamlit/pull/5876.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5876.patch",
"merged_at": "2023-01-03T21:29:27"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5875 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5875/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5875/comments | https://api.github.com/repos/streamlit/streamlit/issues/5875/events | https://github.com/streamlit/streamlit/issues/5875 | 1,504,405,021 | I_kwDODCoeTs5Zq2Yd | 5,875 | st.plotly_chart(,theme = "streamlit") does not use secondaryBackgroundColor as plot background | {
"login": "hagsted",
"id": 4332517,
"node_id": "MDQ6VXNlcjQzMzI1MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4332517?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hagsted",
"html_url": "https://github.com/hagsted",
"followers_url": "https://api.github.com/users/hagsted/followers",
"following_url": "https://api.github.com/users/hagsted/following{/other_user}",
"gists_url": "https://api.github.com/users/hagsted/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hagsted/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hagsted/subscriptions",
"organizations_url": "https://api.github.com/users/hagsted/orgs",
"repos_url": "https://api.github.com/users/hagsted/repos",
"events_url": "https://api.github.com/users/hagsted/events{/privacy}",
"received_events_url": "https://api.github.com/users/hagsted/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": 3904044329,
"node_id": "LA_kwDODCoeTs7osv0p",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.plotly_chart",
"name": "feature:st.plotly_chart",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | {
"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
} | [
{
"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
}
] | null | 6 | 2022-12-20T11:26:13 | 2023-01-18T21:23:01 | 2023-01-12T16:52: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
When updating to streamlit 1.16, our plotly charts change visual appearance due to the new plotly theming. But looking in the documentation it is stated that the secondaryBackgroundColor in the overall streamlit theme (same color as the sidebar) will be used as background color. This is not the case as the background is the same as the backgroundColor, and this makes the plots difficult to read.
It would be nice if the setting was honored or a separate setting was available.
Also it would be nice to have a global setting for the plotly_chart theme selection, instead of per plot. It can be quite time consuming to update this on all pages in a multipage app.
### Reproducible Code Example
```
import streamlit as st
import plotly.express as px
fig = px.scatter(
x = [5,3,1,6,1],
y = [1,2,3,4,5]
)
with st.sidebar:
st.write("Check color")
st.plotly_chart(fig)
```
### Steps To Reproduce
Run with either streamlit 1.15 or 1.16
### Expected Behavior
plot background same color as sidebar
![image](https://user-images.githubusercontent.com/4332517/209067471-38209998-b05f-491f-9be5-a063119a1cfe.png)
### Current Behavior
plot background same color as page background
![image](https://user-images.githubusercontent.com/4332517/209067545-8e29cc29-1c15-48ee-accd-3bfee3cdee39.png)
### Is this a regression?
- [x] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16
- Python version: 3.10.3
- Operating System: Windows 11 and windows server 2016
- Browser: Chrome, vivaldi, edge
- Virtual environment: yes
### 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/5875/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/5875/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5874 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5874/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5874/comments | https://api.github.com/repos/streamlit/streamlit/issues/5874/events | https://github.com/streamlit/streamlit/issues/5874 | 1,503,414,703 | I_kwDODCoeTs5ZnEmv | 5,874 | Plotly on Mobile with Streamlit theme doesn't display the whole graph | {
"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": 2355196527,
"node_id": "MDU6TGFiZWwyMzU1MTk2NTI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:mobile",
"name": "area:mobile",
"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": 3230104487,
"node_id": "MDU6TGFiZWwzMjMwMTA0NDg3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P1",
"name": "priority:P1",
"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 | 0 | 2022-12-19T18:54:31 | 2022-12-19T19:01:14 | 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
When you try to view plotly graphs on mobile, it's stretched so that you can't properly zoom. This is a suboptimal experience and should make it so that the width and height should be the same experience as the default experience.
https://user-images.githubusercontent.com/16749069/208498484-ac7445f7-5e2f-4254-bb72-756e8a52a735.MP4
### Reproducible Code Example
```Python
import plotly.express as px
import streamlit as st
df = px.data.gapminder()
fig = px.scatter(
df.query("year==2007"),
x="gdpPercap",
y="lifeExp",
size="pop",
color="continent",
hover_name="country",
log_x=True,
size_max=60,
)
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Plotly native theme"])
with tab1:
# Use the Streamlit theme.
# This is the default. So you can also omit the theme argument.
st.plotly_chart(fig, theme="streamlit", use_container_width=True)
with tab2:
# Use the native Plotly theme.
st.plotly_chart(fig, theme=None, use_container_width=True)
```
### Steps To Reproduce
1. be on your mobile device
2. view a cloud app with plotly graphs
3. try to zoom in and interact with the plotly graph
### Expected Behavior
Same experience as default theme
### Current Behavior
Suboptimal experience with streamlit theme
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.10
- Operating System: Mobile OS
- Browser: Chrome
- 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/5874/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/5874/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5873 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5873/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5873/comments | https://api.github.com/repos/streamlit/streamlit/issues/5873/events | https://github.com/streamlit/streamlit/pull/5873 | 1,503,189,392 | PR_kwDODCoeTs5Fy6yR | 5,873 | New numpy python unit test fix | {
"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-12-19T15:57:48 | 2022-12-19T23:34:20 | 2022-12-19T23:34:15 | 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
In new numpy version 1.24.0
np.bool and np.object are deprecated
https://numpy.org/devdocs/release/1.24.0-notes.html#expired-deprecations
- 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/5873/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/5873/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5873",
"html_url": "https://github.com/streamlit/streamlit/pull/5873",
"diff_url": "https://github.com/streamlit/streamlit/pull/5873.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5873.patch",
"merged_at": "2022-12-19T23:34:15"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5872 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5872/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5872/comments | https://api.github.com/repos/streamlit/streamlit/issues/5872/events | https://github.com/streamlit/streamlit/issues/5872 | 1,503,139,431 | I_kwDODCoeTs5ZmBZn | 5,872 | Label markdown doesn't support code spans | {
"login": "NakulK48",
"id": 6199511,
"node_id": "MDQ6VXNlcjYxOTk1MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6199511?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NakulK48",
"html_url": "https://github.com/NakulK48",
"followers_url": "https://api.github.com/users/NakulK48/followers",
"following_url": "https://api.github.com/users/NakulK48/following{/other_user}",
"gists_url": "https://api.github.com/users/NakulK48/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NakulK48/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NakulK48/subscriptions",
"organizations_url": "https://api.github.com/users/NakulK48/orgs",
"repos_url": "https://api.github.com/users/NakulK48/repos",
"events_url": "https://api.github.com/users/NakulK48/events{/privacy}",
"received_events_url": "https://api.github.com/users/NakulK48/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": 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": 4340555789,
"node_id": "LA_kwDODCoeTs8AAAABAregDQ",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.checkbox",
"name": "feature:st.checkbox",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | {
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
},
{
"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 | 3 | 2022-12-19T15:20:55 | 2023-01-23T18:42:00 | 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
Markdown generally seems to work in element labels, but code spans don't: they just don't render at all.
### Reproducible Code Example
```Python
import streamlit as st
st.checkbox("This should be a code block: `foo`")
```
### Steps To Reproduce
_No response_
### Expected Behavior
This should render the label, with `foo` as a code span (like it is here)
### Current Behavior
Nothing inside the backticks is rendered.
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.9.13
- Operating System: Ubuntu 20.04
- Browser: Chrome 108.0.5359.124, MacOS 12.2.1
- 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/5872/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/5872/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5871 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5871/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5871/comments | https://api.github.com/repos/streamlit/streamlit/issues/5871/events | https://github.com/streamlit/streamlit/issues/5871 | 1,502,352,305 | I_kwDODCoeTs5ZjBOx | 5,871 | Provide methods to refresh caching | {
"login": "Samreay",
"id": 6748505,
"node_id": "MDQ6VXNlcjY3NDg1MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6748505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Samreay",
"html_url": "https://github.com/Samreay",
"followers_url": "https://api.github.com/users/Samreay/followers",
"following_url": "https://api.github.com/users/Samreay/following{/other_user}",
"gists_url": "https://api.github.com/users/Samreay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Samreay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Samreay/subscriptions",
"organizations_url": "https://api.github.com/users/Samreay/orgs",
"repos_url": "https://api.github.com/users/Samreay/repos",
"events_url": "https://api.github.com/users/Samreay/events{/privacy}",
"received_events_url": "https://api.github.com/users/Samreay/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": 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"
}
] | open | false | null | [] | null | 1 | 2022-12-19T05:54:18 | 2023-01-26T18:14:12 | null | NONE | null | ### Problem
Parts of my dashboard require sourcing CSV files from external hosts, and it can take a long time (60s) to download and processes that data. However, the data is made available at 6am every day. I already have a function which uses streamlit cache around my data fetching, but it would be amazing if I could say "at 6:05am every day, call this function".
### Solution
**MVP:** Streamlit should have a decorator you can apply to functions so they run at startup. These functions could make use of existing python scheduling libraries like apscheduler to call (and thus refresh) caching whenever needed.
**Possible additions:** Streamlit could extend its decorators, integrating the scheduling side through decorator parameters and abstracting that away from the user.
### Additional context
FR raised from this forum post: https://discuss.streamlit.io/t/eagerly-execute-specific-functions-on-app-launch/34957
It seems a few people have been trying to figure out how to refresh caching, and it would be good to not have to use selenium to simulate a web request from an external service to do so.
---
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/5871/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5871/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5870 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5870/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5870/comments | https://api.github.com/repos/streamlit/streamlit/issues/5870/events | https://github.com/streamlit/streamlit/issues/5870 | 1,502,288,809 | I_kwDODCoeTs5Zixup | 5,870 | `set_page_config()` can only be called once per app | {
"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"
}
] | closed | false | null | [] | null | 1 | 2022-12-19T04:25:38 | 2022-12-30T03:37:19 | 2022-12-19T04:29:37 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I'm not sure why, but recently I started getting this exception on each first run and on each rerun:
```
Uncaught app exception
Traceback (most recent call last):
File "c:\Users\CHerSun\GitLab\parts-planning\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "C:\Users\CHerSun\GitLab\parts-planning\src\main.py", line 22, in <module>
st.set_page_config(
File "c:\Users\CHerSun\GitLab\parts-planning\venv\lib\site-packages\streamlit\runtime\metrics_util.py", line 311, in wrapped_func
result = non_optional_func(*args, **kwargs)
File "c:\Users\CHerSun\GitLab\parts-planning\venv\lib\site-packages\streamlit\commands\page_config.py", line 223, in set_page_config
ctx.enqueue(msg)
File "c:\Users\CHerSun\GitLab\parts-planning\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_run_context.py", line 91, in enqueue
raise StreamlitAPIException(
streamlit.errors.StreamlitAPIException: `set_page_config()` can only be called once per app, and must be called as the first Streamlit command in your script.
For more information refer to the [docs](https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config).
```
Problem is - I have only 1 call to set_page_config in my app at all, and that's the first call right after module name check:
```
if __name__ == "__main__":
#^ Preparations
## Streamlit page setup
st.set_page_config(
page_title="Parts",
page_icon="π΅",
#layout="wide",
initial_sidebar_state="expanded"
)
```
I thought this could've been caused by some changes in newer Streamlit versions, so I downgraded and checked each step back (1.16.0, 1.15.2, 1.15.1, 1.15.0, 1.14.1) - and it looks like this happens on all versions.
Also I've tried to clean up all python caches (did a fresh pull of the project, fresh venv setup) - also no changes.
Could some1 help me to find loose ties there?
### Reproducible Code Example
```Python
wasn't able to reproduce
```
### Steps To Reproduce
wasn't able to reproduce
### Expected Behavior
No error, as it is used exactly one time.
### Current Behavior
see above
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.15.2
- Python version: 3.10.8
- Operating System: Windows 10
- Browser: Firefox 107.0.1
- 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/5870/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/5870/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5869 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5869/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5869/comments | https://api.github.com/repos/streamlit/streamlit/issues/5869/events | https://github.com/streamlit/streamlit/issues/5869 | 1,501,745,318 | I_kwDODCoeTs5ZgtCm | 5,869 | Dataframe not rendering as expected | {
"login": "royhaling830",
"id": 120612777,
"node_id": "U_kgDOBzBnqQ",
"avatar_url": "https://avatars.githubusercontent.com/u/120612777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/royhaling830",
"html_url": "https://github.com/royhaling830",
"followers_url": "https://api.github.com/users/royhaling830/followers",
"following_url": "https://api.github.com/users/royhaling830/following{/other_user}",
"gists_url": "https://api.github.com/users/royhaling830/gists{/gist_id}",
"starred_url": "https://api.github.com/users/royhaling830/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/royhaling830/subscriptions",
"organizations_url": "https://api.github.com/users/royhaling830/orgs",
"repos_url": "https://api.github.com/users/royhaling830/repos",
"events_url": "https://api.github.com/users/royhaling830/events{/privacy}",
"received_events_url": "https://api.github.com/users/royhaling830/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4771992204,
"node_id": "LA_kwDODCoeTs8AAAABHG7SjA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:not-issue",
"name": "type:not-issue",
"color": "262730",
"default": false,
"description": "This issue is not valid (e.g. debugging question, question unrelated to Streamlit, etc.)"
}
] | closed | false | null | [] | null | 1 | 2022-12-18T04:42:38 | 2022-12-20T22:20:42 | 2022-12-20T22:20:15 | 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 data frame table does not appear in the browser
### Reproducible Code Example
```Python
import pandas as pd
import streamlit as st
import numpy as np
"---"
b = np.array([(1.2,1,2.2), (1.1,2,1.2)], dtype=float)
df = pd.DataFrame(b)
st.write(df) # π Draw the dataframe
```
### Steps To Reproduce
![tabel data fram tidak muncul](https://user-images.githubusercontent.com/120612777/208281753-94efdb10-c4b0-40d2-88ee-2c1b7321cbf9.png)
### Expected Behavior
the table appears perfect
### Current Behavior
no error message
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:1.16
- Python version: 3.10 - 3.11
- Operating System: winows 11
- Browser: google chrome
- Virtual environment: (venv) PS C:\Users\martin\Documents\project_python>
### Additional Information
.
### 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/5869/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/5869/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5868 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5868/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5868/comments | https://api.github.com/repos/streamlit/streamlit/issues/5868/events | https://github.com/streamlit/streamlit/issues/5868 | 1,501,469,805 | I_kwDODCoeTs5Zfpxt | 5,868 | CSS and HTML not rendering as expected with st.markdown | {
"login": "murattasci06",
"id": 71190059,
"node_id": "MDQ6VXNlcjcxMTkwMDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/71190059?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/murattasci06",
"html_url": "https://github.com/murattasci06",
"followers_url": "https://api.github.com/users/murattasci06/followers",
"following_url": "https://api.github.com/users/murattasci06/following{/other_user}",
"gists_url": "https://api.github.com/users/murattasci06/gists{/gist_id}",
"starred_url": "https://api.github.com/users/murattasci06/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/murattasci06/subscriptions",
"organizations_url": "https://api.github.com/users/murattasci06/orgs",
"repos_url": "https://api.github.com/users/murattasci06/repos",
"events_url": "https://api.github.com/users/murattasci06/events{/privacy}",
"received_events_url": "https://api.github.com/users/murattasci06/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4749361475,
"node_id": "LA_kwDODCoeTs8AAAABGxWBQw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:html",
"name": "area:html",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 4771944522,
"node_id": "LA_kwDODCoeTs8AAAABHG4YSg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:redirect-forum",
"name": "status:redirect-forum",
"color": "FEF2C0",
"default": false,
"description": "This question belongs in the forum"
}
] | closed | false | null | [] | null | 1 | 2022-12-17T16:42:59 | 2022-12-20T22:14:32 | 2022-12-20T22:14: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
HTML code does not work same way in streamlit:
The issue: https://discuss.streamlit.io/t/html-code-works-different-in-streamlit-general-problem/34613
While there is a video effect in the HTML and CSS files, this effect does not work when the same code is run in the streamlit.
Iβve had this problem before. I think this is a general problem.
Another isuue:
https://discuss.streamlit.io/t/the-code-works-differently-in-html-and-streamlit/26403
### Reproducible Code Example
```Python
code example 1:
import streamlit as st
# Page config
st.set_page_config(
page_title= "Multipage App",
page_icon="π")
# Customization for sidebar
st.markdown('<style>div[class="css-6qob1r e1fqkh3o3"] { background: url("https://media2.giphy.com/media/46hpy8xB3MiHfruixn/giphy.gif");background-repeat: no-repeat;background-size:350%;border:1px solid #36454F; border-top:none;} </style>', unsafe_allow_html=True)
# Hiding the Footer
hide_st_style =" <style>footer {visibility: hidden;}</style>"
st.markdown(hide_st_style, unsafe_allow_html=True)
st.markdown("""
<style>
ul[class="css-uc76bn e1fqkh3o9"]{
position: relative;
position: relative;
padding-top: 3rem;
display: flex;
justify-content: center;
flex-direction: column;
align-items: left;
}
.css-17lntkn {
font-weight: bold;
font-size: 24px;
color: yellow;
font-family: arial;
border:black;
}
.css-pkbazv {
font-weight: bold;
font-size: 24px;
color: yellow;
font-family: arial;
}
</style>""", unsafe_allow_html=True)
st.markdown("""
<body>
<section>
<video src="smoke.mp4" autoplay muted></video>
<h1>
<span>W</span>
<span>E</span>
<span>L</span>
<span>C</span>
<span>O</span>
<span>M</span>
<span>E</span>
</h1>
</section>
<style>
body
{
margin: 0;
padding: 0;
background:black;
}
section
{
height:100vh;
background:#000;
}
video
{
object-fit:cover;
}
h1
{
margin:0;
padding:0;
position:absolute;
top:50%;
transform: translateY(-50%);
width:100%;
text-align:center;
color:#ddd;
font-size:5em;
font-family:sans-serif;
letter-spacing:0.2em;
}
h1 span
{
display:inline-block;
animation: animate 1s linear forwards;
}
@keyframes animate
{
0%
{
opacity:0;
transform: rotateY(90deg);
filter:blur(10px);
}
100%
{
opacity:1;
transform: rotateY(0deg);
filter:blur(0px);
}
}
h1 span:nth-child(1)
{
animation-delay: 1s;
}
h1 span:nth-child(2)
{
animation-delay: 1.5s;
}
h1 span:nth-child(3)
{
animation-delay: 2s;
}
h1 span:nth-child(4)
{
animation-delay: 2.5s;
}
h1 span:nth-child(5)
{
animation-delay: 3s;
}
h1 span:nth-child(6)
{
animation-delay: 3.75s;
}
h1 span:nth-child(7)
{
animation-delay: 4s;
}
</style>
</body>
<script>
document
.querySelector('video')
.addEventListener('ended', function(e) {
e.target.style.display = 'none';
});
</script>
</html>""",unsafe_allow_html=True)
#--------------------------------------------------------------------------------------------------
code example 2:
footer="""
<style>
.img
{
max-width: 100%;
}
.Headerstyle
{
color:white;
transition: transform .2s;
text-align: center;
}
.Headerstyle:hover {
transform: scale(1.5);
transition: 0.2s;
}
.image1 {
padding: 10px;
transition: transform .2s;
}
.image2 {
padding: 10px;
transition: transform .2s;
}
.image1:hover {
#border: 4px solid green;
#border-radius: 15px;
transform: scale(1.5);
transition: 0.2s;
}
.image2:hover {
#border: 4px solid green;
#border-radius: 15px;
transform: scale(1.5);
transition: 0.2s;
}
.footer {
position: relative;
left: 0;
bottom: 0;
width: 100%;
background-color: ##0000ffff;
color: white;
text-align: center;
}
body {
border-style: solid;
border-width: 15px;
border-radius: 5px;
padding: 10px;
transition: 5s;
}
body {
margin: 0;
padding: 0;
animation: pulse 5s infinite;
}
.container {
position: relative;
width: 100%;
margin: 0px auto;
padding: 10px 3px;
}
.Loading {
position: relative;
display: inline-block;
width: 100%;
height: 7px;
background: #f1f1f1;
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
border-radius: 4px;
overflow: hidden;
}
.Loading:after {
content: '';
position: absolute;
background: blue;
width: 10%;
height: 100%;
border-radius: 2px;
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
animation: load 5s infinite;
}
@keyframes load {
0% {
left: 0%;
}
25% {
width: 50%;
left: 50%
}
50% {
width: 10%;
left: 90%
}
75% {
width: 50%;
left: 0%
}
100% {
width: 10%;
left: 0%
}
}
@keyframes pulse {
0% {
border-color: orange;
}
25% {
border-color: orange;
}
50% {
border-color: orange;
}
75% {
border-color: orange;
}
100% {
border-color: orange;
}
}
</style>
<body>
<div class="footer" style="
display: flex;
flex-direction: column;
justify-content: space-between;
height: 10vh;">
<p class="Headerstyle"><b>Get In Touch With Me</b></p>
<div><div style="display: flex;justify-content: center;"><a href="https://stackoverflow.com/"><img class="image1" src="upload://k8CYYzMyarU4x6KyboeB1xBTnDh.png" alt="stackoverflow icon" width="60" height="60"></a><a href="https://www.linkedin.com"><img class="image2" src="upload://ampjem4R2CPwfeWxm3A47d2RD0Q.png" alt="linkedin icon" width="60" height="60"></a></div>
<div class="container"></div>
<div class="Loading"></div>
</div>
</div>
</body>
"""
hide_st_style =" <style>footer {visibility: hidden;}</style>"
st.markdown(hide_st_style, unsafe_allow_html=True)
st.markdown(footer,unsafe_allow_html=True)
#---------------------------------------------------------------------------------------------------------------------------
code example 3:
import streamlit as st
import streamlit.components.v1 as components
# Page config
st.set_page_config(
page_title= "Multipage App",
page_icon="π")
# Customization for sidebar
st.markdown('<style>div[class="css-6qob1r e1fqkh3o3"] { background: url("https://media2.giphy.com/media/46hpy8xB3MiHfruixn/giphy.gif");background-repeat: no-repeat;background-size:350%;border:1px solid #36454F; border-top:none;} </style>', unsafe_allow_html=True)
# Hiding the Footer
hide_st_style =" <style>footer {visibility: hidden;}</style>"
st.markdown(hide_st_style, unsafe_allow_html=True)
st.markdown("""
<style>
ul[class="css-uc76bn e1fqkh3o9"]{
position: relative;
position: relative;
padding-top: 3rem;
display: flex;
justify-content: center;
flex-direction: column;
align-items: left;
}
.css-17lntkn {
font-weight: bold;
font-size: 24px;
color: yellow;
font-family: arial;
border:black;
}
.css-pkbazv {
font-weight: bold;
font-size: 24px;
color: yellow;
font-family: arial;
}
</style>""", unsafe_allow_html=True)
st.markdown("""
<body>
<section>
<h1>
<span>W</span>
<span>E</span>
<span>L</span>
<span>C</span>
<span>O</span>
<span>M</span>
<span>E</span>
</h1>
</section>
<style>
body {
margin: 0;
padding: 0;
background: #000;
}
section {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
position: relative;
}
section::before {
position: absolute;
content: '';
inset: 0;
background: url('https://wallpapercave.com/wp/wp9597778.jpg');
background-size: cover;
background-position: center;
opacity: 0;
animation: fadeInBackground 1s linear 8.5s forwards;
}
h1 {
margin: 0px;
padding: 0px;
color: #ddd;
font-size: min(9vw, 9rem);
font-family: sans-serif;
}
h1 span {
display: inline-block;
animation: letterAnimation 1s linear forwards;
border:2px solid black;
border-radius: 4px;
padding: 0.25rem;
padding-bottom: 0;
}
@keyframes fadeInBackground {
100% {
opacity: 1;
}
}
@keyframes letterAnimation {
100% {
opacity: 1;
color: red;
padding: 0.25rem;
padding-bottom: 0;
background-color: white;
border: 2px solid red;
border-radius: 4px;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
box-sizing: border-box;
}
}
h1 span:nth-child(1) {
animation-delay: 1.5s;
}
h1 span:nth-child(2) {
animation-delay: 2.5s;
}
h1 span:nth-child(3) {
animation-delay: 3.5s;
}
h1 span:nth-child(4) {
animation-delay: 4.5s;
}
h1 span:nth-child(5) {
animation-delay: 5.5s;
}
h1 span:nth-child(6) {
animation-delay: 6.5s;
}
h1 span:nth-child(7) {
animation-delay: 7.5s;
}
</style>
</body>""",unsafe_allow_html=True)
```
### Steps To Reproduce
_No response_
### Expected Behavior
It is expected to behave the same as HTML and CSS
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: v15.2.0
- Python version: v3.8.0
- Operating System: win 10
- Browser: Chrome 108.0.5359.99
- Virtual environment: -
### Additional Information
**streamlit:**
![0](https://user-images.githubusercontent.com/71190059/208307054-88b152ab-0fea-41ce-ab70-4b6f0d16072a.png)
**html:**
![1](https://user-images.githubusercontent.com/71190059/208307058-9eb00202-76ee-4b57-83fe-f31dd9844989.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/5868/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/5868/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5867 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5867/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5867/comments | https://api.github.com/repos/streamlit/streamlit/issues/5867/events | https://github.com/streamlit/streamlit/issues/5867 | 1,501,196,986 | I_kwDODCoeTs5ZenK6 | 5,867 | ImportError | {
"login": "donhuvy",
"id": 1328316,
"node_id": "MDQ6VXNlcjEzMjgzMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1328316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/donhuvy",
"html_url": "https://github.com/donhuvy",
"followers_url": "https://api.github.com/users/donhuvy/followers",
"following_url": "https://api.github.com/users/donhuvy/following{/other_user}",
"gists_url": "https://api.github.com/users/donhuvy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/donhuvy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/donhuvy/subscriptions",
"organizations_url": "https://api.github.com/users/donhuvy/orgs",
"repos_url": "https://api.github.com/users/donhuvy/repos",
"events_url": "https://api.github.com/users/donhuvy/events{/privacy}",
"received_events_url": "https://api.github.com/users/donhuvy/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 | 4 | 2022-12-17T05:32:07 | 2023-01-11T16:48:47 | 2022-12-17T05:44:43 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
error ImportError
```python
Collecting streamlit
Downloading streamlit-1.16.0-py2.py3-none-any.whl (9.2 MB)
Requirement already satisfied: cachetools>=4.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (5.2.0)
Requirement already satisfied: packaging>=14.1 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (21.3)
Collecting watchdog; platform_system != "Darwin"
Downloading watchdog-2.2.0-py3-none-win_amd64.whl (78 kB)
Requirement already satisfied: toml in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (0.10.2)
Collecting pydeck>=0.1.dev5
Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
Collecting altair>=3.2.0
Downloading altair-4.2.0-py3-none-any.whl (812 kB)
Collecting rich>=10.11.0
Downloading rich-12.6.0-py3-none-any.whl (237 kB)
Requirement already satisfied: tornado>=5.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (6.2)
Requirement already satisfied: numpy in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (1.23.4)
Collecting blinker>=1.0.0
Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting pyarrow>=4.0
Downloading pyarrow-10.0.1-cp39-cp39-win_amd64.whl (20.3 MB)
Requirement already satisfied: pillow>=6.2.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (9.3.0)
Requirement already satisfied: requests>=2.4 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (2.28.1)
Collecting gitpython!=3.1.19
Downloading GitPython-3.1.29-py3-none-any.whl (182 kB)
Requirement already satisfied: python-dateutil in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (2.8.2)
Requirement already satisfied: protobuf<4,>=3.12 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (3.19.6)
Collecting tzlocal>=1.1
Downloading tzlocal-4.2-py3-none-any.whl (19 kB)
Requirement already satisfied: pandas>=0.21.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (1.5.1)
Requirement already satisfied: click>=7.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (8.1.3)
Collecting semver
Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: importlib-metadata>=1.4 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (5.0.0)
Collecting validators>=0.2
Downloading validators-0.20.0.tar.gz (30 kB)
Requirement already satisfied: typing-extensions>=3.10.0.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from streamlit) (4.4.0)
Collecting pympler>=0.9
Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from packaging>=14.1->streamlit) (3.0.9)
Requirement already satisfied: jinja2>=2.10.1 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from pydeck>=0.1.dev5->streamlit) (3.1.2)
Requirement already satisfied: jsonschema>=3.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from altair>=3.2.0->streamlit) (4.17.0)
Requirement already satisfied: entrypoints in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from altair>=3.2.0->streamlit) (0.4)
Collecting toolz
Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from rich>=10.11.0->streamlit) (2.13.0)
Collecting commonmark<0.10.0,>=0.9.0
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Requirement already satisfied: idna<4,>=2.5 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.4->streamlit) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.4->streamlit) (1.26.12)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.4->streamlit) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.4->streamlit) (2022.9.24)
Collecting gitdb<5,>=4.0.1
Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
Requirement already satisfied: six>=1.5 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from python-dateutil->streamlit) (1.16.0)
Collecting tzdata; platform_system == "Windows"
Downloading tzdata-2022.7-py2.py3-none-any.whl (340 kB)
Collecting pytz-deprecation-shim
Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: pytz>=2020.1 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from pandas>=0.21.0->streamlit) (2022.6)
Requirement already satisfied: colorama; platform_system == "Windows" in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from click>=7.0->streamlit) (0.4.6)
Requirement already satisfied: zipp>=0.5 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from importlib-metadata>=1.4->streamlit) (3.10.0)
Requirement already satisfied: decorator>=3.4.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from validators>=0.2->streamlit) (5.1.1)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from jinja2>=2.10.1->pydeck>=0.1.dev5->streamlit) (2.1.1)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from jsonschema>=3.0->altair>=3.2.0->streamlit) (0.19.2)
Requirement already satisfied: attrs>=17.4.0 in c:\users\donhu\appdata\local\programs\python\python39\lib\site-packages (from jsonschema>=3.0->altair>=3.2.0->streamlit) (22.1.0)
Collecting smmap<6,>=3.0.1
Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
Building wheels for collected packages: validators
Building wheel for validators (setup.py): started
Building wheel for validators (setup.py): finished with status 'done'
Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19577 sha256=e6e7c30c9929e78c22ee0476f123cd69685c4104430bd9dd4166e28643551a68
Stored in directory: c:\users\donhu\appdata\local\pip\cache\wheels\2d\f0\a8\1094fca7a7e5d0d12ff56e0c64675d72aa5cc81a5fc200e849
Successfully built validators
Installing collected packages: watchdog, pydeck, toolz, altair, commonmark, rich, blinker, pyarrow, smmap, gitdb, gitpython, tzdata, pytz-deprecation-shim, tzlocal, semver, validators, pympler, streamlit
Successfully installed altair-4.2.0 blinker-1.5 commonmark-0.9.1 gitdb-4.0.10 gitpython-3.1.29 pyarrow-10.0.1 pydeck-0.8.0 pympler-1.0.1 pytz-deprecation-shim-0.1.0.post0 rich-12.6.0 semver-2.13.0 smmap-5.0.0 streamlit-1.16.0 toolz-0.12.0 tzdata-2022.7 tzlocal-4.2 validators-0.20.0 watchdog-2.2.0
WARNING: You are using pip version 20.2.3; however, version 22.3.1 is available.
You should consider upgrading via the 'c:\users\donhu\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In [1], line 3
1 get_ipython().system('pip install streamlit')
----> 3 import streamlit as st
4 import pandas as pd
5 import numpy as np
File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\__init__.py:55
52 # Give the package a version.
53 __version__ = _STREAMLIT_VERSION_STRING
---> 55 from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
56 from streamlit.proto.RootContainer_pb2 import RootContainer as _RootContainer
57 from streamlit.runtime.caching import (
58 singleton as _singleton,
59 memo as _memo,
60 )
File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\delta_generator.py:38
35 import click
36 from typing_extensions import Final, Literal
---> 38 from streamlit import config, cursor, env_util, logger, runtime, type_util, util
39 from streamlit.cursor import Cursor
40 from streamlit.elements.alert import AlertMixin
File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\cursor.py:18
15 from typing import Any, List, Optional, Tuple
17 from streamlit import util
---> 18 from streamlit.runtime.scriptrunner import get_script_run_ctx
21 def make_delta_path(
22 root_container: int, parent_path: Tuple[int, ...], index: int
23 ) -> List[int]:
24 delta_path = [root_container]
File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\runtime\__init__.py:16
1 # Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022)
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
(...)
14
15 # Explicitly re-export public symbols from runtime.py
---> 16 from streamlit.runtime.runtime import Runtime as Runtime
17 from streamlit.runtime.runtime import RuntimeConfig as RuntimeConfig
18 from streamlit.runtime.runtime import RuntimeState as RuntimeState
File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\runtime\runtime.py:26
24 from streamlit import config
25 from streamlit.logger import get_logger
---> 26 from streamlit.proto.BackMsg_pb2 import BackMsg
27 from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
28 from streamlit.runtime.app_session import AppSession
File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\proto\BackMsg_pb2.py:5
1 # -*- coding: utf-8 -*-
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: streamlit/proto/BackMsg.proto
4 """Generated protocol buffer code."""
----> 5 from google.protobuf.internal import builder as _builder
6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import descriptor_pool as _descriptor_pool
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (C:\Users\donhu\AppData\Local\Programs\Python\Python39\lib\site-packages\google\protobuf\internal\__init__.py)
```
### Reproducible Code Example
```Python
!pip install streamlit
import streamlit as st
import pandas as pd
import numpy as np
st.title('Bar')
# Defining dataframe with its values
df = pd.DataFrame(
np.random.randn(40, 4),
columns=["C1", "C2", "C3", "C4"])
# Bar Chart
st.bar_chart(df)
```
### Steps To Reproduce
Run example with Jupyter lab or GitHub codespace.
### Expected Behavior
Import success.
### Current Behavior
Exception when import.
### 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/5867/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/5867/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5866 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5866/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5866/comments | https://api.github.com/repos/streamlit/streamlit/issues/5866/events | https://github.com/streamlit/streamlit/issues/5866 | 1,501,036,508 | I_kwDODCoeTs5Zd__c | 5,866 | Streamlit Cloud App Redirects and Renaming | {
"login": "MathCatsAnd",
"id": 98661771,
"node_id": "U_kgDOBeF1iw",
"avatar_url": "https://avatars.githubusercontent.com/u/98661771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MathCatsAnd",
"html_url": "https://github.com/MathCatsAnd",
"followers_url": "https://api.github.com/users/MathCatsAnd/followers",
"following_url": "https://api.github.com/users/MathCatsAnd/following{/other_user}",
"gists_url": "https://api.github.com/users/MathCatsAnd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MathCatsAnd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MathCatsAnd/subscriptions",
"organizations_url": "https://api.github.com/users/MathCatsAnd/orgs",
"repos_url": "https://api.github.com/users/MathCatsAnd/repos",
"events_url": "https://api.github.com/users/MathCatsAnd/events{/privacy}",
"received_events_url": "https://api.github.com/users/MathCatsAnd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 2603950938,
"node_id": "MDU6TGFiZWwyNjAzOTUwOTM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:community-cloud",
"name": "feature:community-cloud",
"color": "C5DEF5",
"default": false,
"description": "Related to Streamlit Community Cloud"
}
] | open | false | null | [] | null | 1 | 2022-12-17T00:18:16 | 2023-01-26T18:12:43 | null | NONE | null | ### Problem
When someone renames an app on Streamlit Community Cloud, old links break. (Mentioned on the forums but I couldn't find the official feature request here. Sorry if I missed it.)
### Solution
**MVP:** Redirect old links to the current one (or more specifically the last n links for some reasonable count n).
**Possible additions:** Allow users to manage a list of redirects for each app so they can make tweaks to their app url without worry. Especially if the number of redirects is small, this would allow users to prioritize which previous app url(s) are important to keep in the event of typos while editing.
**Preferred solution:** Even better, allow users to control app name redirects at the account level, and even be able to transfer them to other users, so that in the event of something significant like a re-deployment or transfer of ownership, there wouldn't be the risk of losing your app link.
---
Streamlit Cloud, Streamlit Community Cloud, Streamlit Share, Redirects, App URL, App Link, Renaming
---
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/5866/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/5866/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5865 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5865/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5865/comments | https://api.github.com/repos/streamlit/streamlit/issues/5865/events | https://github.com/streamlit/streamlit/pull/5865 | 1,500,694,380 | PR_kwDODCoeTs5Fqp_A | 5,865 | Change workers balancing logic for e2e tests to always cover all specs | {
"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 | 0 | 2022-12-16T18:41:45 | 2022-12-18T13:01:34 | 2022-12-18T13:01: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
Previous Cypress Tests implementation sometimes (depending on a number of e2e specs) not running tests at the end of the list of tests. E.g. `cypress22` job on the first commit of this PR not runs `e2e/specs/typography.spec.js`, `e2e/specs/widget_state_heavy_usage.spec.js` specs.
This PR changes the logic of calculation for a number of specs per worker, and should always run all e2e tests regardless of the number of tests.
Based on the previous version if we have 135 test: the jobs will be divided equally between 22 workers by `135 / 21 = 6` test spec per job. And `6 * 22 = 132` will be not running.
In the new implementation, we calculate the remainder `remainder=total_number_of_spec/22` and assign the first `#reminder` workers per one extra test spec.
- 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
- [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/5865/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/5865/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5865",
"html_url": "https://github.com/streamlit/streamlit/pull/5865",
"diff_url": "https://github.com/streamlit/streamlit/pull/5865.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5865.patch",
"merged_at": "2022-12-18T13:01:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5864 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5864/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5864/comments | https://api.github.com/repos/streamlit/streamlit/issues/5864/events | https://github.com/streamlit/streamlit/issues/5864 | 1,500,136,643 | I_kwDODCoeTs5ZakTD | 5,864 | Invalid value displayed for Python Decimal | {
"login": "char101",
"id": 71255,
"node_id": "MDQ6VXNlcjcxMjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/71255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/char101",
"html_url": "https://github.com/char101",
"followers_url": "https://api.github.com/users/char101/followers",
"following_url": "https://api.github.com/users/char101/following{/other_user}",
"gists_url": "https://api.github.com/users/char101/gists{/gist_id}",
"starred_url": "https://api.github.com/users/char101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/char101/subscriptions",
"organizations_url": "https://api.github.com/users/char101/orgs",
"repos_url": "https://api.github.com/users/char101/repos",
"events_url": "https://api.github.com/users/char101/events{/privacy}",
"received_events_url": "https://api.github.com/users/char101/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1846291968,
"node_id": "MDU6TGFiZWwxODQ2MjkxOTY4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/package:arrow",
"name": "package:arrow",
"color": "00d4b1",
"default": false,
"description": "Related to Arrow"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 7 | 2022-12-16T12:33:52 | 2023-01-25T13:21: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
Sometimes the type of a column from psycopg query result is a Decimal data type. When this value is displayed by steramlit it become a very large integer value.
### Reproducible Code Example
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5864)
```Python
from decimal import Decimal
import pandas as pd
import streamlit as st
dec1 = Decimal('-0.03864734299516908213')
dec2 = Decimal('1111111111111111111111')
df = pd.DataFrame({'A': [dec1, dec2]})
df
l = [dec1, dec2]
st.table(l)
```
### Steps To Reproduce
_No response_
### Expected Behavior
Either the value is displayed correctly or an exeption is thrown.
### Current Behavior
![2022-12-16 19_32_27-test Β· Streamlit β Mozilla Firefox](https://user-images.githubusercontent.com/71255/208099067-2af2e4ff-9514-4e56-82e1-28af5fa7aacc.png)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.11.1
- Operating System: Windows 10
- Browser: Firefox
- Virtual environment: N/A
### 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/5864/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/5864/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5863 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5863/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5863/comments | https://api.github.com/repos/streamlit/streamlit/issues/5863/events | https://github.com/streamlit/streamlit/issues/5863 | 1,499,928,007 | I_kwDODCoeTs5ZZxXH | 5,863 | Tab not shown if name is markdown numbered list item | {
"login": "samuelefiorini",
"id": 15000098,
"node_id": "MDQ6VXNlcjE1MDAwMDk4",
"avatar_url": "https://avatars.githubusercontent.com/u/15000098?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samuelefiorini",
"html_url": "https://github.com/samuelefiorini",
"followers_url": "https://api.github.com/users/samuelefiorini/followers",
"following_url": "https://api.github.com/users/samuelefiorini/following{/other_user}",
"gists_url": "https://api.github.com/users/samuelefiorini/gists{/gist_id}",
"starred_url": "https://api.github.com/users/samuelefiorini/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samuelefiorini/subscriptions",
"organizations_url": "https://api.github.com/users/samuelefiorini/orgs",
"repos_url": "https://api.github.com/users/samuelefiorini/repos",
"events_url": "https://api.github.com/users/samuelefiorini/events{/privacy}",
"received_events_url": "https://api.github.com/users/samuelefiorini/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": 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": ""
}
] | closed | false | null | [] | null | 2 | 2022-12-16T10:06:20 | 2023-01-12T07:40:18 | 2023-01-12T07:40: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
When tab names start with the following pattern:
`number + . + whitespace`
(i.e. markdown numbered list) the corresponding tab is not shown.
### Reproducible Code Example
```Python
# app.py
import streamlit as st
tab_names = ["1 Tab", "2. Tab"]
tab1, tab2 = st.tabs(tab_names)
with tab1:
st.write(1)
with tab2:
st.write(2)
```
### Steps To Reproduce
`streamlit run app.py`
### Expected Behavior
Both tabs should be shown.
### Current Behavior
<img width="203" alt="tab-bug" src="https://user-images.githubusercontent.com/15000098/208073979-12b6ca64-8f0f-4566-9624-4dec22eedb03.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.9.15
- Operating System: Windows
- Browser: Chrome
- Virtual environment: conda
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5863/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/5863/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5862 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5862/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5862/comments | https://api.github.com/repos/streamlit/streamlit/issues/5862/events | https://github.com/streamlit/streamlit/issues/5862 | 1,499,238,667 | I_kwDODCoeTs5ZXJEL | 5,862 | st.pydeck height | {
"login": "vnmc64",
"id": 114444981,
"node_id": "U_kgDOBtJKtQ",
"avatar_url": "https://avatars.githubusercontent.com/u/114444981?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vnmc64",
"html_url": "https://github.com/vnmc64",
"followers_url": "https://api.github.com/users/vnmc64/followers",
"following_url": "https://api.github.com/users/vnmc64/following{/other_user}",
"gists_url": "https://api.github.com/users/vnmc64/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vnmc64/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vnmc64/subscriptions",
"organizations_url": "https://api.github.com/users/vnmc64/orgs",
"repos_url": "https://api.github.com/users/vnmc64/repos",
"events_url": "https://api.github.com/users/vnmc64/events{/privacy}",
"received_events_url": "https://api.github.com/users/vnmc64/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": 3904046669,
"node_id": "LA_kwDODCoeTs7oswZN",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.pydeck_chart",
"name": "feature:st.pydeck_chart",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-12-15T23:10:19 | 2023-01-22T01:51:08 | null | NONE | null | ### Problem
I'm heavily relying on streamlit and the last streamlit updates made it painful to use plotly.express.scattermapbox linked with st.radio to update scatter colors. Now I'm using pyDeck but cant find a way to get the "height" parameter working.
### Solution
**MVP:** It would be great to add the height feature directly from pydeck or in the st.pydeck args.
---
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/5862/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/5862/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5861 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5861/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5861/comments | https://api.github.com/repos/streamlit/streamlit/issues/5861/events | https://github.com/streamlit/streamlit/issues/5861 | 1,498,919,629 | I_kwDODCoeTs5ZV7LN | 5,861 | App Deployment Error | {
"login": "cag210",
"id": 120438948,
"node_id": "U_kgDOBy3ApA",
"avatar_url": "https://avatars.githubusercontent.com/u/120438948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cag210",
"html_url": "https://github.com/cag210",
"followers_url": "https://api.github.com/users/cag210/followers",
"following_url": "https://api.github.com/users/cag210/following{/other_user}",
"gists_url": "https://api.github.com/users/cag210/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cag210/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cag210/subscriptions",
"organizations_url": "https://api.github.com/users/cag210/orgs",
"repos_url": "https://api.github.com/users/cag210/repos",
"events_url": "https://api.github.com/users/cag210/events{/privacy}",
"received_events_url": "https://api.github.com/users/cag210/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4771992204,
"node_id": "LA_kwDODCoeTs8AAAABHG7SjA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:not-issue",
"name": "type:not-issue",
"color": "262730",
"default": false,
"description": "This issue is not valid (e.g. debugging question, question unrelated to Streamlit, etc.)"
}
] | closed | false | null | [] | null | 1 | 2022-12-15T18:46:06 | 2022-12-15T23:46:29 | 2022-12-15T23:46:17 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I am having issues deploying my app, it keeps saying that I need to import packages I already have in my local repository. I already pushed my local repository to my remote repository on github so I am not sure why I'm getting that problem.
### Reproducible Code Example
```Python
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/app/app.py/app.py", line 12, in <module>
from sklearn.linear_model import LogisticRegression
```
### 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/5861/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/5861/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5860 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5860/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5860/comments | https://api.github.com/repos/streamlit/streamlit/issues/5860/events | https://github.com/streamlit/streamlit/issues/5860 | 1,498,620,181 | I_kwDODCoeTs5ZUyEV | 5,860 | Update width of dataframe cells upon `add_rows` | {
"login": "jrieke",
"id": 5103165,
"node_id": "MDQ6VXNlcjUxMDMxNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5103165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrieke",
"html_url": "https://github.com/jrieke",
"followers_url": "https://api.github.com/users/jrieke/followers",
"following_url": "https://api.github.com/users/jrieke/following{/other_user}",
"gists_url": "https://api.github.com/users/jrieke/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jrieke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrieke/subscriptions",
"organizations_url": "https://api.github.com/users/jrieke/orgs",
"repos_url": "https://api.github.com/users/jrieke/repos",
"events_url": "https://api.github.com/users/jrieke/events{/privacy}",
"received_events_url": "https://api.github.com/users/jrieke/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 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": ""
}
] | open | false | null | [] | null | 1 | 2022-12-15T15:18:39 | 2023-01-12T17:28:30 | null | COLLABORATOR | null | ### Problem
`st.dataframe` updates the width of the cells automatically based on the width of the header + content. But his only happens when the dataframe is rendered initially. If you use `add_rows`, the width is not adjusted to fit the new content.
### Solution
Run the caluclation also when `add_rows` is called. Note that the dataframe only uses a few rows to determine the width at the moment. So it's not even sure the added rows are taken into account.
---
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/5860/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/5860/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5859 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5859/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5859/comments | https://api.github.com/repos/streamlit/streamlit/issues/5859/events | https://github.com/streamlit/streamlit/issues/5859 | 1,498,198,165 | I_kwDODCoeTs5ZTLCV | 5,859 | st.experimental_rerun() and rerun function are not consistent | {
"login": "serensoner",
"id": 1143283,
"node_id": "MDQ6VXNlcjExNDMyODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1143283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/serensoner",
"html_url": "https://github.com/serensoner",
"followers_url": "https://api.github.com/users/serensoner/followers",
"following_url": "https://api.github.com/users/serensoner/following{/other_user}",
"gists_url": "https://api.github.com/users/serensoner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/serensoner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/serensoner/subscriptions",
"organizations_url": "https://api.github.com/users/serensoner/orgs",
"repos_url": "https://api.github.com/users/serensoner/repos",
"events_url": "https://api.github.com/users/serensoner/events{/privacy}",
"received_events_url": "https://api.github.com/users/serensoner/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": 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"
},
{
"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": 4369205014,
"node_id": "LA_kwDODCoeTs8AAAABBGzHFg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.experimental_rerun",
"name": "feature:st.experimental_rerun",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-12-15T10:40:01 | 2022-12-30T00:46:25 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
If you have an input field, and click on Rerun (or even R key from your keyboard), the whole page gets reevaluated, with the inputs being preserved. If you click on a function that triggers experimental rerun, the whole page is re-executeed, but input fields are now inconsistent.
### Reproducible Code Example
```Python
import streamlit as st
rerun_button = st.button('experimental rerun')
if rerun_button:
st.experimental_rerun()
opt = st.selectbox('a selectbox', options=['option 1', 'option 2', 'option 3'], index=2)
st.write(f'chosen option is {opt}')
```
### Steps To Reproduce
1. Change selectbox option top option 1
2. Hit R from keyboard.
3. Nothing will change
4. Hit experimental rerun button
5. selectbox will say option 1 (not changed), but the printed text will say option 3.
### Expected Behavior
Experimental rerun should work same as the rerun button through default streamlit menu.
### 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
- Browser: Chrome
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5859/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/5859/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5858 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5858/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5858/comments | https://api.github.com/repos/streamlit/streamlit/issues/5858/events | https://github.com/streamlit/streamlit/issues/5858 | 1,497,891,553 | I_kwDODCoeTs5ZSALh | 5,858 | Support bokeh 3.0.3 | {
"login": "rafa-guedes",
"id": 7799184,
"node_id": "MDQ6VXNlcjc3OTkxODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7799184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafa-guedes",
"html_url": "https://github.com/rafa-guedes",
"followers_url": "https://api.github.com/users/rafa-guedes/followers",
"following_url": "https://api.github.com/users/rafa-guedes/following{/other_user}",
"gists_url": "https://api.github.com/users/rafa-guedes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rafa-guedes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rafa-guedes/subscriptions",
"organizations_url": "https://api.github.com/users/rafa-guedes/orgs",
"repos_url": "https://api.github.com/users/rafa-guedes/repos",
"events_url": "https://api.github.com/users/rafa-guedes/events{/privacy}",
"received_events_url": "https://api.github.com/users/rafa-guedes/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": 2026998410,
"node_id": "MDU6TGFiZWwyMDI2OTk4NDEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:dependencies",
"name": "area:dependencies",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 3904044906,
"node_id": "LA_kwDODCoeTs7osv9q",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.bokeh_chart",
"name": "feature:st.bokeh_chart",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 2 | 2022-12-15T06:52:31 | 2023-02-11T17:17:22 | null | NONE | null | ### Problem
Bokeh is already in version 3.0.3 and there are a few useful changes. It would be great if streamlit could support that version. Currently streamlit raises an exception if bokeh>2.4.3 is used.
### Solution
Upgrade bokeh versions supported in streamlit. Is it really necessary to raise an exception if the user tries to use a newer version? Would it be possible to still allow it and let the user deal with potential issues?
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5858/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5858/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5857 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5857/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5857/comments | https://api.github.com/repos/streamlit/streamlit/issues/5857/events | https://github.com/streamlit/streamlit/pull/5857 | 1,497,787,677 | PR_kwDODCoeTs5FgwLT | 5,857 | Improve st.help (and st.write's usage of st.help!) | {
"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
} | [
{
"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": ""
}
] | open | false | null | [] | null | 14 | 2022-12-15T04:57:32 | 2023-02-15T07:37:58 | null | CONTRIBUTOR | null | ## π Context
As part of my hackathon project, I'm planning on submitting some fully-ready PRs (not prototypes!) that hopefully can be merged without a lot of work from the eng team. This is one of them! If it's too much work to merge, or the feature is deemed a bad idea, I'm happy to drop the whole thing.
What this PR does:
* Improves st.help() in the following ways:
* Shows the actual variable or expression you passed to st.help. For example st.help(foo[0]["bar"]) prints foo[0]["bar"] in the header of the displayed block, so you know what that block is referring to.
* Shows the type is a cleaner, more readable way
* Shows the docstring in a scrolling box, to save space
* Shows the members of the thing you're asking for help on
* ...along with their current values or docstrings (depending on whether it's a function or not)
* Improves st.write() in the following ways:
* If you pass a class into st.write() you now get st.help(the_class)
* If you pass an object that doesn't translate well into a string (i.e. things that would normally look like `<foo object at 0x1234abcd>`), calls st.help(the_object).
This makes st.help, st.write, and magic great for quickly inspecting objects, classes, and what-have-yous! More info in the [spec](https://www.notion.so/streamlit/Mini-spec-for-st-help-142c869006364bca8114f73e8ff654a7).
- 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
## π¬ Before
This is what you used to get for this code:
```python
class Animal:
pass
class Dog(Animal):
"""A dog object.
These kinds of classes are very useful in day-to-day programming,
judging by my "Intro to OOP" book.
"""
def __init__(self, color, breed):
self.color = color
self.breed = breed
def bark(self, reason):
"""Make a pleasant sound."""
pass
fido = Dog("brown", "poodle")
# Show help for an object instance.
st.help(fido)
# Show help for a class.
st.help(Dog)
# Show help for a module (useful to avoid consulting online docs!)
re
```
---
<img width="739" alt="Screen Shot 2022-12-14 at 20 42 57" src="https://user-images.githubusercontent.com/103002884/207774407-55b49911-7ea8-477c-a109-3f901151d151.png">
(etc)
---
## π After
<img width="739" alt="Screen Shot 2022-12-14 at 20 43 01" src="https://user-images.githubusercontent.com/103002884/207774416-9dc31748-c686-451a-9abc-07f387e5f975.png">
(etc)
## π§ͺ Testing Done
- [x] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests - **Still need to do this! Will do before merge.**
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: none
---
**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/5857/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 6,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5857/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5857",
"html_url": "https://github.com/streamlit/streamlit/pull/5857",
"diff_url": "https://github.com/streamlit/streamlit/pull/5857.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5857.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5856 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5856/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5856/comments | https://api.github.com/repos/streamlit/streamlit/issues/5856/events | https://github.com/streamlit/streamlit/pull/5856 | 1,497,693,648 | PR_kwDODCoeTs5Fgb5S | 5,856 | Define the SessionManager protocol and improve our websocket reconnect behavior | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2022-12-15T02:41:39 | 2023-01-24T00:07:40 | 2023-01-24T00:06:32 | COLLABORATOR | null | Notes:
* All of the code in this PR was already reviewed before being merged into the feature branch, so very careful/thorough
review of this code isn't necessary, although it'd be good to still read through the full PR and sanity-check everything
being done.
* While we fix the issue with session state immediately being dropped when the browser tab's websocket disconnects,
some followup changes will be required to teach `st.file_uploader` and `st.camera_input` to benefit from these changes.
The frontend pieces of these widgets were originally written assuming that files are gone forever once the websocket
connection is lost (see some TODOs left in the code). These fixes can be tackled as followup projects.
## π Context
This PR is the final merge for the `feature/session-manager` branch into `develop`. It aims to accomplish three main goals:
1. Define new `SessionManager` and `SessionStorage` abstractions, which will soon be useful for being able to
configure how Streamlit runs across various different environments. Right now, our notion of a "session" is
very closely tied to the life of a browser's websocket connection, and we also assume that Streamlit servers
are long-lived + that server shutdowns cause us to lose data that isn't explicitly persisted outside of Streamlit.
In the future, it's possible that many of these assumptions will be changing, so we want to define suitable
abstractions to guide how we think about these changes. Note that we don't expect to get these abstractions
perfectly correct on the first try, but we have some leeway here to make adjustments until we have a few
implementations of `SessionManager` / `SessionStorage` aside from the ones used by default by the OS lib.
2. Write our first concrete implementations of `SessionManager` and `SessionStorage`: `WebsocketSessionManager`
and `MemorySessionStorage`. These implementations retain most of the behavior that exists today, with one
exception described below.
3. Use `WebsocketSessionManager` to fix a source of nondeterministic bugs where a browser tab's session state
is immediately cleared when its websocket disconnects. To fix this, we teach `WebsocketSessionManager` to
avoid immediately deleting a session's state/uploaded files/etc on websocket disconnect and instead defer
the cleanup for a few minutes. This allows browser tabs that only transient disconnected (due to a network
blip, load balancer timeout, etc.) to avoid losing all of their state.
---
Closes #4297 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5856/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/5856/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5856",
"html_url": "https://github.com/streamlit/streamlit/pull/5856",
"diff_url": "https://github.com/streamlit/streamlit/pull/5856.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5856.patch",
"merged_at": "2023-01-24T00:06:32"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5855 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5855/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5855/comments | https://api.github.com/repos/streamlit/streamlit/issues/5855/events | https://github.com/streamlit/streamlit/pull/5855 | 1,497,670,934 | PR_kwDODCoeTs5FgXGv | 5,855 | Remove and replace some TODOs | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-15T02:05:38 | 2022-12-21T22:07:57 | 2022-12-21T22:07:54 | COLLABORATOR | null | ## π Context
This PR makes some final cleanup changes to the `feature/session-manager` branch
before it's ready to be merged into `develop`. (The changes are extra-trivial because I
decided that some of the class renames would be best merged directly into
`develop`, so those changes were made in #5851 rather than being included in this PR).
- What kind of change does this PR introduce?
- [x] Refactoring | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5855/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/5855/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5855",
"html_url": "https://github.com/streamlit/streamlit/pull/5855",
"diff_url": "https://github.com/streamlit/streamlit/pull/5855.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5855.patch",
"merged_at": "2022-12-21T22:07:54"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5854 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5854/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5854/comments | https://api.github.com/repos/streamlit/streamlit/issues/5854/events | https://github.com/streamlit/streamlit/pull/5854 | 1,497,580,320 | PR_kwDODCoeTs5FgDqx | 5,854 | Stop installing pip-tools | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-14T23:54:54 | 2022-12-15T01:04:42 | 2022-12-15T01:04:40 | COLLABORATOR | null | ## π Context
It looks like the most recent CI failures affecting the release are caused by the `pip-tools` package.
This package stopped being used years ago (the last commit removing the usage of `pip-compile`
is from Jan 2019), and I'm fairly certain that it only stuck around in our `Makefile` afterwards because
we forgot to remove it. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5854/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/5854/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5854",
"html_url": "https://github.com/streamlit/streamlit/pull/5854",
"diff_url": "https://github.com/streamlit/streamlit/pull/5854.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5854.patch",
"merged_at": "2022-12-15T01:04:40"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5853 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5853/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5853/comments | https://api.github.com/repos/streamlit/streamlit/issues/5853/events | https://github.com/streamlit/streamlit/pull/5853 | 1,497,558,610 | PR_kwDODCoeTs5Ff-85 | 5,853 | Make dummy change to get CI to run | {
"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-12-14T23:24:19 | 2022-12-14T23:49:26 | 2022-12-14T23:49:26 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5853/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/5853/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5853",
"html_url": "https://github.com/streamlit/streamlit/pull/5853",
"diff_url": "https://github.com/streamlit/streamlit/pull/5853.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5853.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5852 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5852/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5852/comments | https://api.github.com/repos/streamlit/streamlit/issues/5852/events | https://github.com/streamlit/streamlit/pull/5852 | 1,497,425,640 | PR_kwDODCoeTs5FfhhY | 5,852 | Up version to 1.16.0 | {
"login": "kasim-inan",
"id": 114011990,
"node_id": "U_kgDOBsuvVg",
"avatar_url": "https://avatars.githubusercontent.com/u/114011990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kasim-inan",
"html_url": "https://github.com/kasim-inan",
"followers_url": "https://api.github.com/users/kasim-inan/followers",
"following_url": "https://api.github.com/users/kasim-inan/following{/other_user}",
"gists_url": "https://api.github.com/users/kasim-inan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kasim-inan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kasim-inan/subscriptions",
"organizations_url": "https://api.github.com/users/kasim-inan/orgs",
"repos_url": "https://api.github.com/users/kasim-inan/repos",
"events_url": "https://api.github.com/users/kasim-inan/events{/privacy}",
"received_events_url": "https://api.github.com/users/kasim-inan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-14T21:25:58 | 2022-12-15T19:00:10 | 2022-12-15T19:00:10 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5852/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/5852/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5852",
"html_url": "https://github.com/streamlit/streamlit/pull/5852",
"diff_url": "https://github.com/streamlit/streamlit/pull/5852.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5852.patch",
"merged_at": "2022-12-15T19:00:10"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5851 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5851/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5851/comments | https://api.github.com/repos/streamlit/streamlit/issues/5851/events | https://github.com/streamlit/streamlit/pull/5851 | 1,495,431,225 | PR_kwDODCoeTs5FYkh_ | 5,851 | Rename SessionData -> ScriptData and move ForwardMsgQueue | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-14T01:24:36 | 2022-12-20T21:12:29 | 2022-12-20T21:12:26 | COLLABORATOR | null | ## π Context
This is yet another change that's being made due to work being done in `feature/session-manager` but
being merged into `develop` to keep the final feature branch diff size down.
Work to define a `SessionManager` protocol made it apparent that the names `SessionInfo` and
`SessionData`, both of which are currently in use in the codebase, are similar enough to be quite
confusing. To help with this, this PR
* Renames `SessionData` -> `ScriptData`. This name feels more correct given that, aside from the
just-moved `ForwardMsgQueue`, there was very little session-specific data contained in `SessionData`.
* Moves the `ForwardMsgQueue` previously owned by the `SessionData` class to be directly
owned by `AppSession`, which removed a level of (seemingly?) needless indirection.
## π§ͺ Testing Done
- [x] Added/Updated unit tests | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5851/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/5851/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5851",
"html_url": "https://github.com/streamlit/streamlit/pull/5851",
"diff_url": "https://github.com/streamlit/streamlit/pull/5851.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5851.patch",
"merged_at": "2022-12-20T21:12:26"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5850 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5850/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5850/comments | https://api.github.com/repos/streamlit/streamlit/issues/5850/events | https://github.com/streamlit/streamlit/pull/5850 | 1,495,322,553 | PR_kwDODCoeTs5FYM1K | 5,850 | Change some dependencies to be devDependencies | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2022-12-13T23:28:06 | 2022-12-19T23:48:46 | 2022-12-19T23:48:44 | COLLABORATOR | null | ## π Context
I happened to notice that we have a few dependencies defined in the normal `dependencies` list
that should be in `devDependencies`. This PR simply moves them by running
`yarn remove <package>` followed by `yarn add --dev <package>`. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5850/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/5850/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5850",
"html_url": "https://github.com/streamlit/streamlit/pull/5850",
"diff_url": "https://github.com/streamlit/streamlit/pull/5850.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5850.patch",
"merged_at": "2022-12-19T23:48:44"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5849 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5849/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5849/comments | https://api.github.com/repos/streamlit/streamlit/issues/5849/events | https://github.com/streamlit/streamlit/issues/5849 | 1,495,221,177 | I_kwDODCoeTs5ZH0O5 | 5,849 | Bring your own Redis cache | {
"login": "quantoid",
"id": 672489,
"node_id": "MDQ6VXNlcjY3MjQ4OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/672489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quantoid",
"html_url": "https://github.com/quantoid",
"followers_url": "https://api.github.com/users/quantoid/followers",
"following_url": "https://api.github.com/users/quantoid/following{/other_user}",
"gists_url": "https://api.github.com/users/quantoid/gists{/gist_id}",
"starred_url": "https://api.github.com/users/quantoid/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quantoid/subscriptions",
"organizations_url": "https://api.github.com/users/quantoid/orgs",
"repos_url": "https://api.github.com/users/quantoid/repos",
"events_url": "https://api.github.com/users/quantoid/events{/privacy}",
"received_events_url": "https://api.github.com/users/quantoid/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | open | false | null | [] | null | 1 | 2022-12-13T21:54:08 | 2022-12-15T03:17:19 | null | NONE | null | ### Problem
Our micro-service hosting platform will auto-scale a service so that multiple instances are created or destroyed to adapt to varying traffic load. A user request might be routed to any one of these instances, as they are assumed to be stateless. However, our Streamlit dashboard service is not stateless due to the way session state and caches are implemented.
At the moment each instance of the service has its own Streamlit cache, which means users will often get a cache hit thatβs followed immediately by a miss when their next request gets routed to another instance. We also get problems with session state not being mirrored across instances.
### Solution
Our platform provides Redis resources that are shared between instances so that to users there appears to be a single cache (rather than one per instance). What I want to do is to tell Streamlit to use this shared Redis resource as the cache, also using it to store session state.
### Additional context
We are not using Streamlit Cloud because we have our own PaaS that runs on AWS, so we want our Streamlit services to run there in order to comply with security policies for internal tools like dashboards.
---
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/5849/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5849/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5848 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5848/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5848/comments | https://api.github.com/repos/streamlit/streamlit/issues/5848/events | https://github.com/streamlit/streamlit/issues/5848 | 1,495,139,825 | I_kwDODCoeTs5ZHgXx | 5,848 | `conda install streamlit` installs older version or fails | {
"login": "alex180500",
"id": 30732244,
"node_id": "MDQ6VXNlcjMwNzMyMjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/30732244?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alex180500",
"html_url": "https://github.com/alex180500",
"followers_url": "https://api.github.com/users/alex180500/followers",
"following_url": "https://api.github.com/users/alex180500/following{/other_user}",
"gists_url": "https://api.github.com/users/alex180500/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alex180500/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alex180500/subscriptions",
"organizations_url": "https://api.github.com/users/alex180500/orgs",
"repos_url": "https://api.github.com/users/alex180500/repos",
"events_url": "https://api.github.com/users/alex180500/events{/privacy}",
"received_events_url": "https://api.github.com/users/alex180500/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": 2856044535,
"node_id": "MDU6TGFiZWwyODU2MDQ0NTM1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce",
"name": "status:cannot-reproduce",
"color": "FEF2C0",
"default": false,
"description": "The Streamlit team is unable to reproduce the described behavior"
}
] | closed | false | null | [] | null | 2 | 2022-12-13T20:54:03 | 2022-12-14T07:14:59 | 2022-12-13T23:52:08 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Hello, I'm getting troubles installing Streamlit on multiple python versions using `conda install` on the **conda-forge channel**.
Trying to install on fresh conda environments with python 3.10 or 3.9 takes a very long time and at the end **installs streamlit version 1.8.0 or 1.9.0** (kind of randomly).
For environments with other packages (like jupyter notebook), it fails completely.
Just for testing, with the same setups `pip install` worked flawlessly.
_maybe this is a conda problem, not a streamlit problem_
### Reproducible Code Example
```bash
conda install streamlit -c conda-forge
```
### Expected Behavior
I would expect the `conda install` to work fast and get the latest streamlit version.
### Is this a regression?
- [x] Yes, this used to work in a previous version.
### Debug info
- **Python:** 3.9 and 3.10
- **Conda:** 22.11.1
- **OS:** Win 11 22h2 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5848/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/5848/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5847 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5847/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5847/comments | https://api.github.com/repos/streamlit/streamlit/issues/5847/events | https://github.com/streamlit/streamlit/pull/5847 | 1,494,393,821 | PR_kwDODCoeTs5FU-Xr | 5,847 | Content alignment arg for text elements | {
"login": "antonAce",
"id": 22917736,
"node_id": "MDQ6VXNlcjIyOTE3NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/22917736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antonAce",
"html_url": "https://github.com/antonAce",
"followers_url": "https://api.github.com/users/antonAce/followers",
"following_url": "https://api.github.com/users/antonAce/following{/other_user}",
"gists_url": "https://api.github.com/users/antonAce/gists{/gist_id}",
"starred_url": "https://api.github.com/users/antonAce/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/antonAce/subscriptions",
"organizations_url": "https://api.github.com/users/antonAce/orgs",
"repos_url": "https://api.github.com/users/antonAce/repos",
"events_url": "https://api.github.com/users/antonAce/events{/privacy}",
"received_events_url": "https://api.github.com/users/antonAce/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4800340903,
"node_id": "LA_kwDODCoeTs8AAAABHh9jpw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/stale",
"name": "stale",
"color": "ffffff",
"default": false,
"description": null
},
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 4 | 2022-12-13T14:42:39 | 2023-01-12T17:56:33 | 2023-01-12T01:01:00 | NONE | 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
- [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:**
![after](https://user-images.githubusercontent.com/22917736/207363471-9d7593a6-3276-4134-b243-89d26e907ed4.png)
**Current:**
![before](https://user-images.githubusercontent.com/22917736/207363515-ffc6555f-32dc-4fcf-80aa-b1890ebb8750.png)
## π§ͺ Testing Done
- [x] Screenshots included
- [x] Added/Updated unit tests
- [x] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #4109
---
**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/5847/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/5847/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5847",
"html_url": "https://github.com/streamlit/streamlit/pull/5847",
"diff_url": "https://github.com/streamlit/streamlit/pull/5847.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5847.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5846 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5846/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5846/comments | https://api.github.com/repos/streamlit/streamlit/issues/5846/events | https://github.com/streamlit/streamlit/issues/5846 | 1,492,951,163 | I_kwDODCoeTs5Y_KB7 | 5,846 | Programmatically get URL with servername port, etc | {
"login": "bellma-lilly",
"id": 17770722,
"node_id": "MDQ6VXNlcjE3NzcwNzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/17770722?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bellma-lilly",
"html_url": "https://github.com/bellma-lilly",
"followers_url": "https://api.github.com/users/bellma-lilly/followers",
"following_url": "https://api.github.com/users/bellma-lilly/following{/other_user}",
"gists_url": "https://api.github.com/users/bellma-lilly/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bellma-lilly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bellma-lilly/subscriptions",
"organizations_url": "https://api.github.com/users/bellma-lilly/orgs",
"repos_url": "https://api.github.com/users/bellma-lilly/repos",
"events_url": "https://api.github.com/users/bellma-lilly/events{/privacy}",
"received_events_url": "https://api.github.com/users/bellma-lilly/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | open | false | null | [] | null | 2 | 2022-12-12T23:07:01 | 2023-01-26T18:40:33 | null | NONE | null | ### Problem
I am emailing users with a link back to my streamlit application. The URL is different in my development, testing and production environments. I would like to be able to programmatically retrieve pieces of the URL so the email points to the correct environment.
### Solution
st.experimental_get_url_hostname() #ex: https://github.com
st.experimental_get_url_pathname() #ex: streamlit/streamlist/issues/new
### Additional context
Similar requests here: https://github.com/streamlit/streamlit/issues/798
---
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/5846/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/5846/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5845 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5845/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5845/comments | https://api.github.com/repos/streamlit/streamlit/issues/5845/events | https://github.com/streamlit/streamlit/pull/5845 | 1,492,911,918 | PR_kwDODCoeTs5FP5gY | 5,845 | nix flake | {
"login": "sfc-gh-jroes",
"id": 103002378,
"node_id": "U_kgDOBiOxCg",
"avatar_url": "https://avatars.githubusercontent.com/u/103002378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-jroes",
"html_url": "https://github.com/sfc-gh-jroes",
"followers_url": "https://api.github.com/users/sfc-gh-jroes/followers",
"following_url": "https://api.github.com/users/sfc-gh-jroes/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-jroes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-jroes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-jroes/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-jroes/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-jroes/repos",
"events_url": "https://api.github.com/users/sfc-gh-jroes/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-jroes/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-12-12T22:39:14 | 2023-01-04T23:15:40 | 2023-01-04T23:15:40 | NONE | null | ## π Context
Adds flake.nix, which makes it really easy to get your development environment going without having to worry about which version of node, python, protobufs, etc. need to be installed and working through your system package manager.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [x] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
See [docs in the wiki](https://github.com/streamlit/streamlit/wiki/Streamlined-local-dev-env-using-nix-develop)
---
**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/5845/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/5845/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5845",
"html_url": "https://github.com/streamlit/streamlit/pull/5845",
"diff_url": "https://github.com/streamlit/streamlit/pull/5845.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5845.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5844 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5844/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5844/comments | https://api.github.com/repos/streamlit/streamlit/issues/5844/events | https://github.com/streamlit/streamlit/issues/5844 | 1,492,751,146 | I_kwDODCoeTs5Y-ZMq | 5,844 | st.file_uploader (accept_multiple_files=True) displays wrong order of uploaded files | {
"login": "bwohl",
"id": 65831594,
"node_id": "MDQ6VXNlcjY1ODMxNTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/65831594?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bwohl",
"html_url": "https://github.com/bwohl",
"followers_url": "https://api.github.com/users/bwohl/followers",
"following_url": "https://api.github.com/users/bwohl/following{/other_user}",
"gists_url": "https://api.github.com/users/bwohl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bwohl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwohl/subscriptions",
"organizations_url": "https://api.github.com/users/bwohl/orgs",
"repos_url": "https://api.github.com/users/bwohl/repos",
"events_url": "https://api.github.com/users/bwohl/events{/privacy}",
"received_events_url": "https://api.github.com/users/bwohl/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": 3761991321,
"node_id": "LA_kwDODCoeTs7gO26Z",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:will-not-fix",
"name": "status:will-not-fix",
"color": "FEF2C0",
"default": false,
"description": "Streamlit team does not plan on addressing this request with a code change"
}
] | closed | false | null | [] | null | 1 | 2022-12-12T20:55:58 | 2022-12-30T00:20:54 | 2022-12-30T00:20:28 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
The file uploader widget displays a list of all uploaded files.
However, the order of this list is reversed in comparison to the list returned in Python.
The order in the Python list corresponds to the order they were uploaded in (e.g. selected in file system dialog).
I am developing an app where the user is asked to upload files in a specific order. Displaying them in a reverse order is confusing.
### Reproducible Code Example
```Python
import streamlit as st
list_of_files = st.file_uploader("Select one or more files", accept_multiple_files=True)
st.write(list_of_files)
```
### Steps To Reproduce
1. Run example above
2. Upload two or more example files in a specific order
3. Compare upload order with order shown by uploader widet and in the displayed list
### Expected Behavior
Two possible solution:
- Update display order to match order in returned Python list
- Option to hide list of individual files (instead show general "reset" button to remove all files. Then you can display your own list with desired order
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:1.15.2
- Python version: 3.10.7
- 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/5844/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/5844/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5843 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5843/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5843/comments | https://api.github.com/repos/streamlit/streamlit/issues/5843/events | https://github.com/streamlit/streamlit/pull/5843 | 1,491,445,425 | PR_kwDODCoeTs5FKxZ3 | 5,843 | Docs: move note to `experimental_allow_widgets` param description | {
"login": "snehankekre",
"id": 20672874,
"node_id": "MDQ6VXNlcjIwNjcyODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snehankekre",
"html_url": "https://github.com/snehankekre",
"followers_url": "https://api.github.com/users/snehankekre/followers",
"following_url": "https://api.github.com/users/snehankekre/following{/other_user}",
"gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}",
"starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions",
"organizations_url": "https://api.github.com/users/snehankekre/orgs",
"repos_url": "https://api.github.com/users/snehankekre/repos",
"events_url": "https://api.github.com/users/snehankekre/events{/privacy}",
"received_events_url": "https://api.github.com/users/snehankekre/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2022-12-12T09:50:01 | 2022-12-12T11:55:11 | 2022-12-12T11:52:32 | MEMBER | null | ## π Context
The docstrings for memo and singleton include a note about the experimental nature of the `experimental_allow_widgets` parameter and how using it may lead to excessive memory usage. This PR moves the note into the parameter description of `experimental_allow_widgets`.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Doc improvement request
## π§ Description of Changes
- This PR moves the note about the `experimental_allow_widgets` param from memo and singleton docstrings into the parameter description of `experimental_allow_widgets`.
- Note: this PR neither adds nor update any tests as the changes are merely a refactor of docstrings.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
<details open><summary><b>Revised:</b></summary>
![image](https://user-images.githubusercontent.com/20672874/207013981-5a05c272-7f5e-4026-b540-a4d473388443.png)
</details>
<details><summary><b>Current:</b></summary>
![image](https://user-images.githubusercontent.com/20672874/207014219-a40bf0cd-ec30-412c-8bd0-da6517ef5d2f.png)
</details>
## π§ͺ Testing Done
- [s] 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/5843/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/5843/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5843",
"html_url": "https://github.com/streamlit/streamlit/pull/5843",
"diff_url": "https://github.com/streamlit/streamlit/pull/5843.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5843.patch",
"merged_at": "2022-12-12T11:52:32"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5842 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5842/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5842/comments | https://api.github.com/repos/streamlit/streamlit/issues/5842/events | https://github.com/streamlit/streamlit/issues/5842 | 1,491,143,468 | I_kwDODCoeTs5Y4Qss | 5,842 | stdout, stderr to st.write, etc. | {
"login": "fredzannarbor",
"id": 1165771,
"node_id": "MDQ6VXNlcjExNjU3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1165771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fredzannarbor",
"html_url": "https://github.com/fredzannarbor",
"followers_url": "https://api.github.com/users/fredzannarbor/followers",
"following_url": "https://api.github.com/users/fredzannarbor/following{/other_user}",
"gists_url": "https://api.github.com/users/fredzannarbor/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fredzannarbor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fredzannarbor/subscriptions",
"organizations_url": "https://api.github.com/users/fredzannarbor/orgs",
"repos_url": "https://api.github.com/users/fredzannarbor/repos",
"events_url": "https://api.github.com/users/fredzannarbor/events{/privacy}",
"received_events_url": "https://api.github.com/users/fredzannarbor/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-12-12T07:01:18 | 2022-12-15T23:49:55 | 2022-12-15T23:49:55 | NONE | null |
### Problem
I find myself frequently creating large numbers of "print" and streamlit write commands that have overlapping content. This is a big waste of my time. It seems it would be more efficient to be able to selectively route stdout/stderr to streamlit write commands.
This has come up before: https://discuss.streamlit.io/t/cannot-print-the-terminal-output-in-streamlit/6602. The solutions discussed in this thread seem pretty reasonable but **IMHO stdout<=>st.write should be part of streamlit core because the activities involved are fundamental to python, the shell, user interaction, and debugging.**
I don't necessarily care how this is accomplished, but here are a few ideas.
st.print(object, {write, info, error}) sends object to both console and streamlit write. In essence, "promotes" certain st.write operations to being superpowered ones that also write to the console. A filter could look at all stdout and filter only messages matching regex.
st.redirect_stdout per thread, with addition of regex filter that only redirects certain stdout/stderr)
etc.
Fred
@CharlyWargnier
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5842/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/5842/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5841 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5841/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5841/comments | https://api.github.com/repos/streamlit/streamlit/issues/5841/events | https://github.com/streamlit/streamlit/pull/5841 | 1,490,577,802 | PR_kwDODCoeTs5FHuAg | 5,841 | Merge pull request #2 from streamlit/develop | {
"login": "aravikum",
"id": 59659055,
"node_id": "MDQ6VXNlcjU5NjU5MDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/59659055?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aravikum",
"html_url": "https://github.com/aravikum",
"followers_url": "https://api.github.com/users/aravikum/followers",
"following_url": "https://api.github.com/users/aravikum/following{/other_user}",
"gists_url": "https://api.github.com/users/aravikum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aravikum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aravikum/subscriptions",
"organizations_url": "https://api.github.com/users/aravikum/orgs",
"repos_url": "https://api.github.com/users/aravikum/repos",
"events_url": "https://api.github.com/users/aravikum/events{/privacy}",
"received_events_url": "https://api.github.com/users/aravikum/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-12-11T23:39:12 | 2022-12-11T23:40:03 | 2022-12-11T23:40:03 | NONE | null | merge
<!--
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/5841/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/5841/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5841",
"html_url": "https://github.com/streamlit/streamlit/pull/5841",
"diff_url": "https://github.com/streamlit/streamlit/pull/5841.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5841.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5840 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5840/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5840/comments | https://api.github.com/repos/streamlit/streamlit/issues/5840/events | https://github.com/streamlit/streamlit/issues/5840 | 1,490,535,471 | I_kwDODCoeTs5Y18Qv | 5,840 | Generic component to support integration with different OAuth providers | {
"login": "edmondop",
"id": 812841,
"node_id": "MDQ6VXNlcjgxMjg0MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/812841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edmondop",
"html_url": "https://github.com/edmondop",
"followers_url": "https://api.github.com/users/edmondop/followers",
"following_url": "https://api.github.com/users/edmondop/following{/other_user}",
"gists_url": "https://api.github.com/users/edmondop/gists{/gist_id}",
"starred_url": "https://api.github.com/users/edmondop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/edmondop/subscriptions",
"organizations_url": "https://api.github.com/users/edmondop/orgs",
"repos_url": "https://api.github.com/users/edmondop/repos",
"events_url": "https://api.github.com/users/edmondop/events{/privacy}",
"received_events_url": "https://api.github.com/users/edmondop/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1522696937,
"node_id": "MDU6TGFiZWwxNTIyNjk2OTM3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:security",
"name": "area:security",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 2 | 2022-12-11T22:50:52 | 2022-12-21T01:26:44 | null | 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
While Streamlit Cloud provides support for SSO, unless Streamlit wants to become a proud member of the SSO Tax feature, https://sso.tax/, it is critical to have easy to adopt component for SSO.
In particular, although it is possible to find blogs and posts that suggests how to create a component for the purpose(with Auth0) or how to get access to the lower level API, all these approaches require significant work.
### Solution
**MVP:**
A generic component that can be configured using different Oauth providers very easily.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5840/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/5840/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5839 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5839/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5839/comments | https://api.github.com/repos/streamlit/streamlit/issues/5839/events | https://github.com/streamlit/streamlit/pull/5839 | 1,490,473,453 | PR_kwDODCoeTs5FHWIj | 5,839 | Add eslint no relative import paths plugin to pre commit hooks | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2022-12-11T21:39:53 | 2022-12-14T18:31:34 | 2022-12-14T18:31:34 | 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:
The PR introduces NPM [eslint-plugin-no-relative-import-paths](https://www.npmjs.com/package/eslint-plugin-no-relative-import-paths) plugin, after it's merged the`pre-commit` will show an error when relative import path is present (note that same folder import paths are allowed) and autocorrect imports.
Also this PR fixes all current relative import paths errors.
## π§ 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/5839/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/5839/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5839",
"html_url": "https://github.com/streamlit/streamlit/pull/5839",
"diff_url": "https://github.com/streamlit/streamlit/pull/5839.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5839.patch",
"merged_at": "2022-12-14T18:31:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5838 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5838/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5838/comments | https://api.github.com/repos/streamlit/streamlit/issues/5838/events | https://github.com/streamlit/streamlit/pull/5838 | 1,490,246,268 | PR_kwDODCoeTs5FGiIN | 5,838 | Staitc files e2e tests | {
"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-12-11T17:22:50 | 2022-12-19T12:32:12 | 2022-12-19T12:32:12 | 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 draft pr to run ci, and check that e2e tests for static files works on ci**
- 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/5838/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/5838/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5838",
"html_url": "https://github.com/streamlit/streamlit/pull/5838",
"diff_url": "https://github.com/streamlit/streamlit/pull/5838.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5838.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5837 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5837/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5837/comments | https://api.github.com/repos/streamlit/streamlit/issues/5837/events | https://github.com/streamlit/streamlit/issues/5837 | 1,488,174,947 | I_kwDODCoeTs5Ys79j | 5,837 | Hy | {
"login": "lbfacto",
"id": 48971071,
"node_id": "MDQ6VXNlcjQ4OTcxMDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/48971071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lbfacto",
"html_url": "https://github.com/lbfacto",
"followers_url": "https://api.github.com/users/lbfacto/followers",
"following_url": "https://api.github.com/users/lbfacto/following{/other_user}",
"gists_url": "https://api.github.com/users/lbfacto/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lbfacto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lbfacto/subscriptions",
"organizations_url": "https://api.github.com/users/lbfacto/orgs",
"repos_url": "https://api.github.com/users/lbfacto/repos",
"events_url": "https://api.github.com/users/lbfacto/events{/privacy}",
"received_events_url": "https://api.github.com/users/lbfacto/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 0 | 2022-12-10T07:53:26 | 2022-12-30T03:37:18 | 2022-12-10T08:00:12 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
2
### 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/5837/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/5837/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5836 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5836/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5836/comments | https://api.github.com/repos/streamlit/streamlit/issues/5836/events | https://github.com/streamlit/streamlit/pull/5836 | 1,487,614,810 | PR_kwDODCoeTs5E8_XH | 5,836 | Made very minor change to comment. | {
"login": "sfc-gh-rpalmer",
"id": 119367037,
"node_id": "U_kgDOBx1lfQ",
"avatar_url": "https://avatars.githubusercontent.com/u/119367037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-rpalmer",
"html_url": "https://github.com/sfc-gh-rpalmer",
"followers_url": "https://api.github.com/users/sfc-gh-rpalmer/followers",
"following_url": "https://api.github.com/users/sfc-gh-rpalmer/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-rpalmer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-rpalmer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-rpalmer/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-rpalmer/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-rpalmer/repos",
"events_url": "https://api.github.com/users/sfc-gh-rpalmer/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-rpalmer/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 4 | 2022-12-09T23:23:01 | 2023-01-05T19:16:48 | 2023-01-05T19:16: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
This is my first commit. It changes the word choice in a comment.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [X] Other, please describe: Change the word choice in a comment to something equivalent in meaning.
## π§ Description of Changes
- Changed `we direct people` to `customers are directed`
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
## π§ͺ Testing Done
Its a comment change...no tests required.
- [ ] 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/5836/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/5836/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5836",
"html_url": "https://github.com/streamlit/streamlit/pull/5836",
"diff_url": "https://github.com/streamlit/streamlit/pull/5836.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5836.patch",
"merged_at": "2023-01-05T19:16:48"
} | true |