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/6036 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6036/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6036/comments | https://api.github.com/repos/streamlit/streamlit/issues/6036/events | https://github.com/streamlit/streamlit/issues/6036 | 1,563,386,391 | I_kwDODCoeTs5dL2IX | 6,036 | st.expander label markdown does not work with links | {
"login": "nathanjones4323",
"id": 62448274,
"node_id": "MDQ6VXNlcjYyNDQ4Mjc0",
"avatar_url": "https://avatars.githubusercontent.com/u/62448274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nathanjones4323",
"html_url": "https://github.com/nathanjones4323",
"followers_url": "https://api.github.com/users/nathanjones4323/followers",
"following_url": "https://api.github.com/users/nathanjones4323/following{/other_user}",
"gists_url": "https://api.github.com/users/nathanjones4323/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nathanjones4323/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nathanjones4323/subscriptions",
"organizations_url": "https://api.github.com/users/nathanjones4323/orgs",
"repos_url": "https://api.github.com/users/nathanjones4323/repos",
"events_url": "https://api.github.com/users/nathanjones4323/events{/privacy}",
"received_events_url": "https://api.github.com/users/nathanjones4323/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230105890,
"node_id": "MDU6TGFiZWwzMjMwMTA1ODkw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2",
"name": "priority:P2",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4333333696,
"node_id": "LA_kwDODCoeTs8AAAABAklswA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.expander",
"name": "feature:st.expander",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 5 | 2023-01-30T23:50:02 | 2023-02-15T02:53: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
`st.expander` does not show links as expected from [documentation](https://docs.streamlit.io/library/api-reference/layout/st.expander#stexpander)
![image](https://user-images.githubusercontent.com/62448274/215622459-5b259e6d-1385-4b14-873e-442b41cb4cb1.png)
### Reproducible Code Example
```Python
import streamlit as st
with st.expander(label="https://www.google.com/"):
st.write("No text or url shown")
with st.expander(label="[My Markdown Link]('https://www.google.com/')"):
st.write("My Markdown Link not being displayed")
with st.expander(label="**My Markdown**"):
st.write("Regular Bold Text shows")
```
### Steps To Reproduce
`streamlit run main.py`
### Expected Behavior
Show the link inside the expander label, using markdown similar to
`st.markdown("[My Markdown Link](https://www.google.com/)")`
### Current Behavior
![1](https://user-images.githubusercontent.com/62448274/215622767-684a9870-e38c-403a-a2a9-c9f986d50fdf.gif)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.17.0
- Python version: 3.10.9
- OS version: Mac
- Browser version: Brave
- Virtual environment: Conda
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6036/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/6036/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6035 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6035/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6035/comments | https://api.github.com/repos/streamlit/streamlit/issues/6035/events | https://github.com/streamlit/streamlit/pull/6035 | 1,563,371,708 | PR_kwDODCoeTs5I3VVB | 6,035 | [DO NOT MERGE] Add prototype implementations of st.connect, BaseConnection, and SQL (connector) | {
"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
} | [] | open | false | null | [] | null | 0 | 2023-01-30T23:30:45 | 2023-02-13T16:11:43 | null | COLLABORATOR | null | Just using CI to automagically generate wheel files for the `st.connection` prototype. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6035/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/6035/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6035",
"html_url": "https://github.com/streamlit/streamlit/pull/6035",
"diff_url": "https://github.com/streamlit/streamlit/pull/6035.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6035.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6034 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6034/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6034/comments | https://api.github.com/repos/streamlit/streamlit/issues/6034/events | https://github.com/streamlit/streamlit/pull/6034 | 1,563,235,325 | PR_kwDODCoeTs5I23Vm | 6,034 | Fix on menu highlights | {
"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-30T21:27:24 | 2023-02-02T14:45:34 | 2023-02-02T14:45:33 | CONTRIBUTOR | null | ## π Context
This PR fixes an issue reported by @tvst, where itβs easy to get to a state where thereβs a menu item highlighted in both the viewer menu and the dev menu at the same time. We believe this issue could've been introduced recently, after we upgraded BaseWeb.
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
* Updated `backgroundColor` styles to apply on `:hover` for the `<StyledMenuItem>` and `<StyledDevItem>` components;
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
https://user-images.githubusercontent.com/103376966/215598716-394981cd-d799-483f-b44b-229b7cf6ec60.mp4
**Current:**
https://user-images.githubusercontent.com/103376966/215813816-8bce27e5-4109-4b2f-a853-0184cae1303f.mov
## π§ͺ Testing Done
> **Note**
> Please note that, since highlights now work on hover, updated e2e tests don't include them, as they're rather complex to mimic with Cypress.
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [x] Added/Updated e2e tests
## π References
* https://www.notion.so/streamlit/Streamlit-core-menu-highlights-are-acting-funny-18b64aa37f924376b58eae767a16ab6a
---
**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/6034/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/6034/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6034",
"html_url": "https://github.com/streamlit/streamlit/pull/6034",
"diff_url": "https://github.com/streamlit/streamlit/pull/6034.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6034.patch",
"merged_at": "2023-02-02T14:45:33"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6033 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6033/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6033/comments | https://api.github.com/repos/streamlit/streamlit/issues/6033/events | https://github.com/streamlit/streamlit/pull/6033 | 1,563,065,916 | PR_kwDODCoeTs5I2SFm | 6,033 | Wait for hamburger menu to be closed before printing | {
"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": 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": 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 | 0 | 2023-01-30T19:24:34 | 2023-01-31T11:53:38 | 2023-01-31T11:53:38 | 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?
Sometimes when using "Print" from hamburger Menu, the App is being printed without closing Hamburger menu, this PR adds 1 second of waiting before calling `.print` method, at this point hamburger menu should be closed.
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6033/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/6033/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6033",
"html_url": "https://github.com/streamlit/streamlit/pull/6033",
"diff_url": "https://github.com/streamlit/streamlit/pull/6033.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6033.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6032 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6032/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6032/comments | https://api.github.com/repos/streamlit/streamlit/issues/6032/events | https://github.com/streamlit/streamlit/pull/6032 | 1,562,792,831 | PR_kwDODCoeTs5I1WfK | 6,032 | Note whether user is currently running 'streamlit hello' app | {
"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": 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-30T16:42:19 | 2023-02-01T00:28:17 | 2023-02-01T00:28:17 | 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
https://www.notion.so/streamlit/Drop-Page-Titles-but-Still-Detect-Hello-app-c3f2bd58fe804f529450507ed148902c
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: metadata change
## π§ 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/6032/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/6032/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6032",
"html_url": "https://github.com/streamlit/streamlit/pull/6032",
"diff_url": "https://github.com/streamlit/streamlit/pull/6032.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6032.patch",
"merged_at": "2023-02-01T00:28:16"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6031 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6031/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6031/comments | https://api.github.com/repos/streamlit/streamlit/issues/6031/events | https://github.com/streamlit/streamlit/pull/6031 | 1,562,511,286 | PR_kwDODCoeTs5I0Z40 | 6,031 | Upgrade isort to 5.11.5 | {
"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": 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": 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 | 0 | 2023-01-30T14:04:53 | 2023-01-30T16:14:05 | 2023-01-30T16:14:05 | 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_
Our CI is broken due to `pip-shims` and `isort` conflicting release, this PR upgrades ISort to the fixed, unconflicted version, thus fixes the CI.
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6031/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/6031/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6031",
"html_url": "https://github.com/streamlit/streamlit/pull/6031",
"diff_url": "https://github.com/streamlit/streamlit/pull/6031.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6031.patch",
"merged_at": "2023-01-30T16:14:04"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6030 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6030/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6030/comments | https://api.github.com/repos/streamlit/streamlit/issues/6030/events | https://github.com/streamlit/streamlit/pull/6030 | 1,562,461,624 | PR_kwDODCoeTs5I0PPy | 6,030 | DRAFT WIP Do not merge: check if CI works | {
"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 | 0 | 2023-01-30T13:33:06 | 2023-01-30T16:01:45 | 2023-01-30T16:01:45 | 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
- [ ] 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/6030/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/6030/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6030",
"html_url": "https://github.com/streamlit/streamlit/pull/6030",
"diff_url": "https://github.com/streamlit/streamlit/pull/6030.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6030.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6029 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6029/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6029/comments | https://api.github.com/repos/streamlit/streamlit/issues/6029/events | https://github.com/streamlit/streamlit/issues/6029 | 1,562,202,979 | I_kwDODCoeTs5dHVNj | 6,029 | bug | {
"login": "jkansvwidiwich",
"id": 91138142,
"node_id": "MDQ6VXNlcjkxMTM4MTQy",
"avatar_url": "https://avatars.githubusercontent.com/u/91138142?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jkansvwidiwich",
"html_url": "https://github.com/jkansvwidiwich",
"followers_url": "https://api.github.com/users/jkansvwidiwich/followers",
"following_url": "https://api.github.com/users/jkansvwidiwich/following{/other_user}",
"gists_url": "https://api.github.com/users/jkansvwidiwich/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jkansvwidiwich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jkansvwidiwich/subscriptions",
"organizations_url": "https://api.github.com/users/jkansvwidiwich/orgs",
"repos_url": "https://api.github.com/users/jkansvwidiwich/repos",
"events_url": "https://api.github.com/users/jkansvwidiwich/events{/privacy}",
"received_events_url": "https://api.github.com/users/jkansvwidiwich/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 | 0 | 2023-01-30T10:55:41 | 2023-01-30T17:02:12 | 2023-01-30T17:01:59 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
### 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/6029/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/6029/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6028 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6028/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6028/comments | https://api.github.com/repos/streamlit/streamlit/issues/6028/events | https://github.com/streamlit/streamlit/pull/6028 | 1,561,169,827 | PR_kwDODCoeTs5Iv88c | 6,028 | [Fix CI tests] Failure on virtual env setup for pre-commit: Disable/Bump isort to 5.12.0 | {
"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-29T07:39:42 | 2023-02-15T03:17:40 | 2023-01-30T16:15:41 | COLLABORATOR | null | Virtual Env setup for GHA CI broken due to https://github.com/PyCQA/isort/issues/2077
Fixed by https://github.com/PyCQA/isort/pull/2078 in [isort 5.12.0](https://github.com/PyCQA/isort/releases/tag/5.12.0), which also **dropped support for Python 3.7**
Temporarily disabling isort will unblock CI tests/PRs/Nightly until either a fix is available (track below) or we transition `PYTHON_MIN_VERSION` to 3.8...
Issue asking for fix applicable for Python 3.7 [here](https://github.com/PyCQA/isort/issues/2083) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6028/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/6028/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6028",
"html_url": "https://github.com/streamlit/streamlit/pull/6028",
"diff_url": "https://github.com/streamlit/streamlit/pull/6028.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6028.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6027 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6027/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6027/comments | https://api.github.com/repos/streamlit/streamlit/issues/6027/events | https://github.com/streamlit/streamlit/pull/6027 | 1,560,643,217 | PR_kwDODCoeTs5IuVIa | 6,027 | Allow pytest unit test to be discoverable via IDE | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/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-28T02:20:03 | 2023-01-28T22:36:03 | 2023-01-28T22:36:03 | COLLABORATOR | null | ## π Context
At the moment, it is required to provide the `--require-snowflake` flag when running the python unit tests. This makes it complicated to run it via the IDE (e.g. VS Code). This PR adds a default value that is used when the flag is not provided.
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
---
**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/6027/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/6027/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6027",
"html_url": "https://github.com/streamlit/streamlit/pull/6027",
"diff_url": "https://github.com/streamlit/streamlit/pull/6027.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6027.patch",
"merged_at": "2023-01-28T22:36:03"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6026 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6026/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6026/comments | https://api.github.com/repos/streamlit/streamlit/issues/6026/events | https://github.com/streamlit/streamlit/pull/6026 | 1,560,630,886 | PR_kwDODCoeTs5IuSgm | 6,026 | Improve dataframe handling utils | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/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-28T01:45:15 | 2023-01-31T16:57:24 | 2023-01-31T16:57:21 | COLLABORATOR | null | ## π Context
This PR adds some improvements to how we handle and convert DataFrames.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- Detect a lot more types unsupported by Arrow.
- Support converting key-value dicts to dataframes.
- Adds support for ensuring that the dataframe is copied during conversion (will be used by the data_editor).
- Add small refactorings like using functional strings and renaming of variables.
## π§ͺ Testing Done
- [ ] Screenshots included
- [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/6026/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/6026/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6026",
"html_url": "https://github.com/streamlit/streamlit/pull/6026",
"diff_url": "https://github.com/streamlit/streamlit/pull/6026.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6026.patch",
"merged_at": "2023-01-31T16:57:21"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6025 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6025/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6025/comments | https://api.github.com/repos/streamlit/streamlit/issues/6025/events | https://github.com/streamlit/streamlit/pull/6025 | 1,560,537,601 | PR_kwDODCoeTs5It-hw | 6,025 | Editable datetime for Dataframe | {
"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
} | [] | open | false | null | [] | null | 0 | 2023-01-27T22:57:45 | 2023-02-12T11:45:50 | null | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
This PR is to add datetime support for the editable dataframe. This is done through several different columns but they utilize the same method `getDateCell`. There is some leftover stuff from columnConfig but that code won't be used as columnConfig is not available through an API yet.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
Basically new column implementations for datetime, date, and time. This is done through the `getDateCell` method which will take any input and convert the underlying input into a date if possible.
For a time column, the sorting is done without year and month.
In addition, there is a new editor component that is passed in through the customRenderers in Dataframe.tsx.
Finally, there are some changes on the backend (_parseValue) in order to make sure that if the columnType is possibly datetime, date, or time, then we can give the correct type back.
- _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
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
THIS CODE DEPENDS ON https://github.com/streamlit/streamlit/tree/feature/data-editor-foundation and it MUST be merged in first...
- **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/6025/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/6025/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6025",
"html_url": "https://github.com/streamlit/streamlit/pull/6025",
"diff_url": "https://github.com/streamlit/streamlit/pull/6025.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6025.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6024 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6024/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6024/comments | https://api.github.com/repos/streamlit/streamlit/issues/6024/events | https://github.com/streamlit/streamlit/pull/6024 | 1,560,307,252 | PR_kwDODCoeTs5ItLx1 | 6,024 | Handle page_cache in script test setup to remove patch | {
"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-27T19:33:28 | 2023-01-27T20:36:52 | 2023-01-27T20:36:42 | COLLABORATOR | null |
## π Context
`InteractiveScriptTests` required patching of the page cache, which was annoying. It now handles it during setup.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
## π§ͺ Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6024/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/6024/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6024",
"html_url": "https://github.com/streamlit/streamlit/pull/6024",
"diff_url": "https://github.com/streamlit/streamlit/pull/6024.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6024.patch",
"merged_at": "2023-01-27T20:36:42"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6023 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6023/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6023/comments | https://api.github.com/repos/streamlit/streamlit/issues/6023/events | https://github.com/streamlit/streamlit/pull/6023 | 1,560,260,700 | PR_kwDODCoeTs5ItBRi | 6,023 | Add improvements to quiver | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/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-27T19:03:39 | 2023-01-31T15:55:20 | 2023-01-31T15:55:18 | COLLABORATOR | null | ## π Context
This PR adds various improvements to Quiver (the component that handles Arrow tables). Some of the added functionalities will be used in the soon-to-be-released data editor.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- Add support for extracting names of index columns (will be used by the new dataframes).
- Add functionality to get the available options for a categorical column (will be used by data editor).
- Add support for converting decimal values to a valid string representation.
- Fix support for columns containing dictionary data.
- Add some additional comments.
## π§ͺ Testing Done
- [ ] Screenshots included
- [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/6023/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/6023/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6023",
"html_url": "https://github.com/streamlit/streamlit/pull/6023",
"diff_url": "https://github.com/streamlit/streamlit/pull/6023.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6023.patch",
"merged_at": "2023-01-31T15:55:18"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6022 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6022/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6022/comments | https://api.github.com/repos/streamlit/streamlit/issues/6022/events | https://github.com/streamlit/streamlit/pull/6022 | 1,560,241,648 | PR_kwDODCoeTs5Is9F- | 6,022 | Prepare dataframe for editability | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 7 | 2023-01-27T18:48:30 | 2023-02-04T03:54:51 | 2023-02-04T03:54:50 | COLLABORATOR | null | ## π Context
The `data_editor` widget allows the user to edit DataFrames and many other data structures in a table-like UI.
The frontend implementation is a full refactoring of the `dataframe` component and is shared by `st.dataframe` and `st.data_editor`. Thereby, it also comes with various other small improvements and fixes for `st.dataframe` as well.
- What kind of change does this PR introduce?
- [x] Feature
## π§ Description of Changes
### Overview of frontend code
- `columns`: *Contains implementation for every supported column type*
- `utils`: *Contains various utility functions used within the column implementations.*
- `TextColumn`: *rendering & editing of text values.*
- `ObjectColumn`: *fallback for data types that are currently not supported for editing.*
- `NumberColumn`: *rendering and editing support for numbers. This supports float, integer, and unsigned integer types.*
- `BooleanColumn`: *rendering and editing for boolean values by using checkboxes.*
- `CategoricalColumn`: *rendering and editing for categorical values by using a dropdown.*version of the image.*
- `RangeColumn` (read-only): *rendering values that have a defined range. This is rendered via a progress-bar-like visualization.*
- `hooks`: *Contains all custom hooks used by the DataEditor component.*
- `useCustomTheme`: *Creates a glide-data-grid compatible theme based on the Streamlit theme.*
- `useDataLoader`: *Handles all data loading capabilities. This mainly refers to loading cells from the Arrow table and the editing state. It also includes the logic to load & configure columns.*
- `useColumnSort`: *Handles the sorting of columns.*
- `useDataEditor`: *Handles all aspects related to data editing. This includes editing cells, pasting from the clipboard, and appending & deleting rows.*
- `useColumnSizer`: *Manages all column resizing capabilities.*
- `useTableSizer`: M*anages all aspects related to the size of the table. E.g. calculates initial size, reacts to fullscreen, handles drag & drop resizing.*
- `DataFrame.tsx`: *The react component.*
- `EditingState`: *Keeps track of all table edits applied by the user. This includes cell edits, row addition, and row deletions.*
- `arrowUtils.ts`: *Various functions to interact with the Arrow table (managed by `Quiver.ts`). This includes loading data from Arrow and extracting styling properties from Pandas Styler CSS.*
### Data flow
Data from backend to frontend:
1. `st.experimental_data_editor`
2. [convert_anything_to_df](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/type_util.py#L482) (convert to Dataframe)
3. [marshall](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/elements/arrow.py#L115) (converts to Arrow)
4. Frontend: [DataFrame.tsx](https://github.com/LukasMasuch/streamlit/blob/feature/dataframe-refactoring-part2/frontend/src/components/widgets/DataFrame/DataFrame.tsx)
5. [useDataLoader](https://github.com/LukasMasuch/streamlit/blob/feature/dataframe-refactoring-part2/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts) (creates column instances & glide-data-grid compatible callback to access cells based on cell/row position)
Load single cells from Arrow data (frontend):
1. Glide-data-grid calls [getCellContent](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts#L252) for all visible cells
2. check if cell was edited
-> if yes [return edited cell](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts#L274)
-> if no, [get cell from Arrow table](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts#L285)
3. [Calls `getCell` from the respective column instance ](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/arrowUtils.ts#L330)to get a glide-data-grid compatible cell based on the cell value from the Arrow table.
Edits from frontend to backend:
1. [onCellEdited](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L69) / [onPaste](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L170) / [onRowAppended](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L104) / [onDelete](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L113)
4. [applyEdits](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/DataFrame.tsx#L202)
5. [EditingState.toJson](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/EditingState.ts#L50) ([calls `getCellValue` on respective column instance](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/EditingState.ts#L69) on all edited cells to get raw value)
6. widgetMgr.setStringValue (sends a BackMsg with widget state & rerun request)
7. Backend: [_apply_dataframe_edits](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/elements/data_editor.py#L336) (applies the editing state on the input data)
8. [convert_df_to_data_format](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/type_util.py#L849) (converts the dataframe back to the original format)
## π§ͺ Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [x] Added/Updated e2e tests
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6022/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6022/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6022",
"html_url": "https://github.com/streamlit/streamlit/pull/6022",
"diff_url": "https://github.com/streamlit/streamlit/pull/6022.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6022.patch",
"merged_at": "2023-02-04T03:54:50"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6021 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6021/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6021/comments | https://api.github.com/repos/streamlit/streamlit/issues/6021/events | https://github.com/streamlit/streamlit/pull/6021 | 1,560,239,662 | PR_kwDODCoeTs5Is8pv | 6,021 | New data editor component - part 1 | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2023-01-27T18:47:04 | 2023-01-27T18:47:55 | 2023-01-27T18:47:55 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6021/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/6021/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6021",
"html_url": "https://github.com/streamlit/streamlit/pull/6021",
"diff_url": "https://github.com/streamlit/streamlit/pull/6021.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6021.patch",
"merged_at": "2023-01-27T18:47:55"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6020 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6020/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6020/comments | https://api.github.com/repos/streamlit/streamlit/issues/6020/events | https://github.com/streamlit/streamlit/pull/6020 | 1,560,047,409 | PR_kwDODCoeTs5IsSxX | 6,020 | Don't install SQLAlchemy 2.0 | {
"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-27T16:27:12 | 2023-01-27T16:49:56 | 2023-01-27T16:49:52 | COLLABORATOR | null | SQLAlchemy is a test dependency for our legacy, deprecated `@st.cache` testing. SQLAlchemy 2 was just released, and it's incompatible with our legacy hashing code - but we're not going to update that code to support it, because we've moved to `@st.cache_data` and `@st.cache_resource` instead.
This PR pins SQLAlchemy < 2.0. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6020/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/6020/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6020",
"html_url": "https://github.com/streamlit/streamlit/pull/6020",
"diff_url": "https://github.com/streamlit/streamlit/pull/6020.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6020.patch",
"merged_at": "2023-01-27T16:49:52"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6019 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6019/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6019/comments | https://api.github.com/repos/streamlit/streamlit/issues/6019/events | https://github.com/streamlit/streamlit/pull/6019 | 1,559,426,645 | PR_kwDODCoeTs5IqLnV | 6,019 | Disallow setting embed query param using set_query_param method | {
"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": ""
}
] | open | false | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-01-27T09:21:19 | 2023-02-09T10:11:14 | null | CONTRIBUTOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
This is a proposal to disallow setting `embed` and `embed_options` query params using `set_query_param` method.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe:
Disable setting `embed` query param, when someone embeds the Streamlit app, one might not want the embedded stuff to have enabled scrollbar and remote Streamlit code should not be able to re-enable it overriding embed params.
## π§ 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/6019/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/6019/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6019",
"html_url": "https://github.com/streamlit/streamlit/pull/6019",
"diff_url": "https://github.com/streamlit/streamlit/pull/6019.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6019.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6018 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6018/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6018/comments | https://api.github.com/repos/streamlit/streamlit/issues/6018/events | https://github.com/streamlit/streamlit/issues/6018 | 1,558,926,361 | I_kwDODCoeTs5c61QZ | 6,018 | Capacity to customise the pages directory for a multipage app | {
"login": "SimonBiggs",
"id": 6559099,
"node_id": "MDQ6VXNlcjY1NTkwOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6559099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SimonBiggs",
"html_url": "https://github.com/SimonBiggs",
"followers_url": "https://api.github.com/users/SimonBiggs/followers",
"following_url": "https://api.github.com/users/SimonBiggs/following{/other_user}",
"gists_url": "https://api.github.com/users/SimonBiggs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SimonBiggs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SimonBiggs/subscriptions",
"organizations_url": "https://api.github.com/users/SimonBiggs/orgs",
"repos_url": "https://api.github.com/users/SimonBiggs/repos",
"events_url": "https://api.github.com/users/SimonBiggs/events{/privacy}",
"received_events_url": "https://api.github.com/users/SimonBiggs/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 4288309131,
"node_id": "LA_kwDODCoeTs7_mmeL",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:multipage-apps",
"name": "feature:multipage-apps",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 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 | 2 | 2023-01-26T23:26:45 | 2023-02-10T20:29:12 | null | CONTRIBUTOR | null | I'd like to be able to distribute a multi-page app within a python PyPI library. And, I'd like to be able to customise the location of the pages directory.
For example, here is a "multipage app" using a custom setup:
https://simonbiggs.streamlit.app/
The entrance script is here next to the pyproject.toml so that it works on streamlit cloud:
https://github.com/assistancechat/assistance.chat/blob/main/src/python/app.py
But the "home page" is actually the `index.py` here:
https://github.com/assistancechat/assistance.chat/tree/main/src/python/assistance/_admin
And the idea is that all of the apps are stored within the following directory:
https://github.com/assistancechat/assistance.chat/tree/main/src/python/assistance/_admin/apps
It would be nice to be able to utilise streamlit's default multipage approach. But to do this, I'd need some way to be able to redefine where the "pages" directory is stored.
Thank you!
Cheers,
Simon
---
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/6018/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/6018/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6017 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6017/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6017/comments | https://api.github.com/repos/streamlit/streamlit/issues/6017/events | https://github.com/streamlit/streamlit/pull/6017 | 1,558,708,933 | PR_kwDODCoeTs5InvzQ | 6,017 | Cache only once | {
"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-26T20:06:47 | 2023-02-15T10:43:15 | 2023-01-27T20:48:39 | COLLABORATOR | null | Currently, any session accessing an uncomputed cache value will compute that value - even if another session is already doing that work. This causes problems for computations that are long-running and resource-intensive!
This PR changes our cache computation logic to fix the issue. If multiple sessions access an uncomputed cached value simultaneously, the cache computation logic will be run on _one session only_. All other sessions trying to access the value will block until the computation is complete, and will then return the same computed value.
Details
- `CachedFunction` (our little data class that holds info about a wrapped function) is now called `CachedFuncInfo`
- Our cached function wrapper is now a class called `CachedFunc` (as opposed to a deeply-nested closure). It holds a `CachedFuncInfo`, and implements the common plumbing for both our caching decorators.
- `CachedFunc._handle_cache_miss` implements the new "compute only once" logic: it takes a value-specific `threading.Lock` before computing the cached value (and early-outs if another thread completed the value computation while the first thread was waiting on lock acquisition).
- Because we take the "compute value lock" in the "cache miss" path, we end up doing two cache lookups when we have a cache miss: one to put us on the "cache miss" path, and then another after acquiring the compute-value-lock, to ensure that another thread didn't compute our value first.
- We could avoid this second check if we acquired the lock before the initial cache lookup time; I chose this strategy to slightly reduce the cost of the happy path (no lock acquisition) in exchange for a slight increase in cost to the sad path (two cache lookups).
Other stuff:
- Our `ExceptionCapturingThread` testing utility, for multi-threaded testing, now gets an attached `ScriptRunContext` by default (necessary for this feature's tests; also just generally what you want in a Streamlit test). | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6017/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6017/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6017",
"html_url": "https://github.com/streamlit/streamlit/pull/6017",
"diff_url": "https://github.com/streamlit/streamlit/pull/6017.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6017.patch",
"merged_at": "2023-01-27T20:48:39"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6016 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6016/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6016/comments | https://api.github.com/repos/streamlit/streamlit/issues/6016/events | https://github.com/streamlit/streamlit/pull/6016 | 1,558,553,722 | PR_kwDODCoeTs5InOK2 | 6,016 | Update repo's README | {
"login": "arnaudmiribel",
"id": 7164864,
"node_id": "MDQ6VXNlcjcxNjQ4NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7164864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arnaudmiribel",
"html_url": "https://github.com/arnaudmiribel",
"followers_url": "https://api.github.com/users/arnaudmiribel/followers",
"following_url": "https://api.github.com/users/arnaudmiribel/following{/other_user}",
"gists_url": "https://api.github.com/users/arnaudmiribel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arnaudmiribel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arnaudmiribel/subscriptions",
"organizations_url": "https://api.github.com/users/arnaudmiribel/orgs",
"repos_url": "https://api.github.com/users/arnaudmiribel/repos",
"events_url": "https://api.github.com/users/arnaudmiribel/events{/privacy}",
"received_events_url": "https://api.github.com/users/arnaudmiribel/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
},
{
"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-26T18:06:41 | 2023-02-12T22:49:34 | 2023-02-12T22:49:34 | COLLABORATOR | null | ## π Context
The repo's README visuals are using an old version of Streamlit and could benefit an update. This PR suggests a bunch of rather straightforward changes but is mainly opening the discussion and outlining options. Happy to take others thoughts and update less/more things.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Update README
## π§ Description of Changes
**Changes submitted:**
See the Markdown preview [here](https://github.com/streamlit/streamlit/blob/3cde60993854837ffea7e5b5b02b17ba97262d1a/README.md)
## π§ͺ Testing Done
- Not applicable
## π References
**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/6016/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6016/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6016",
"html_url": "https://github.com/streamlit/streamlit/pull/6016",
"diff_url": "https://github.com/streamlit/streamlit/pull/6016.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6016.patch",
"merged_at": "2023-02-12T22:49:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6015 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6015/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6015/comments | https://api.github.com/repos/streamlit/streamlit/issues/6015/events | https://github.com/streamlit/streamlit/pull/6015 | 1,558,507,920 | PR_kwDODCoeTs5InEP7 | 6,015 | Fix deprecation warning for new health endpoint | {
"login": "sfc-gh-kbregula",
"id": 78743291,
"node_id": "MDQ6VXNlcjc4NzQzMjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-kbregula",
"html_url": "https://github.com/sfc-gh-kbregula",
"followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers",
"following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos",
"events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 4 | 2023-01-26T17:30:08 | 2023-01-27T08:34:24 | 2023-01-27T08:34:24 | 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
Previously, the warning was displayed to all users. Now only for users who use the old endpoint.
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [X] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] 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/6015/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/6015/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6015",
"html_url": "https://github.com/streamlit/streamlit/pull/6015",
"diff_url": "https://github.com/streamlit/streamlit/pull/6015.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6015.patch",
"merged_at": "2023-01-27T08:34:24"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6014 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6014/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6014/comments | https://api.github.com/repos/streamlit/streamlit/issues/6014/events | https://github.com/streamlit/streamlit/pull/6014 | 1,558,445,074 | PR_kwDODCoeTs5Im2oa | 6,014 | release/1.18.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 | 2023-01-26T16:45:20 | 2023-02-09T16:39:58 | 2023-02-09T16:39:20 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6014/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/6014/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6014",
"html_url": "https://github.com/streamlit/streamlit/pull/6014",
"diff_url": "https://github.com/streamlit/streamlit/pull/6014.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6014.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6013 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6013/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6013/comments | https://api.github.com/repos/streamlit/streamlit/issues/6013/events | https://github.com/streamlit/streamlit/issues/6013 | 1,557,380,134 | I_kwDODCoeTs5c07wm | 6,013 | Placeholder text for selectbox | {
"login": "SylexHakkoda",
"id": 123514268,
"node_id": "U_kgDOB1ytnA",
"avatar_url": "https://avatars.githubusercontent.com/u/123514268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SylexHakkoda",
"html_url": "https://github.com/SylexHakkoda",
"followers_url": "https://api.github.com/users/SylexHakkoda/followers",
"following_url": "https://api.github.com/users/SylexHakkoda/following{/other_user}",
"gists_url": "https://api.github.com/users/SylexHakkoda/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SylexHakkoda/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SylexHakkoda/subscriptions",
"organizations_url": "https://api.github.com/users/SylexHakkoda/orgs",
"repos_url": "https://api.github.com/users/SylexHakkoda/repos",
"events_url": "https://api.github.com/users/SylexHakkoda/events{/privacy}",
"received_events_url": "https://api.github.com/users/SylexHakkoda/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 3904104045,
"node_id": "LA_kwDODCoeTs7os-Zt",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.selectbox",
"name": "feature:st.selectbox",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 3 | 2023-01-25T22:57:46 | 2023-01-31T15:36:13 | 2023-01-31T15:36:13 | NONE | null | It would be nice to have a placeholder text for the selectbox like we have for text_input. At least for my use case it would remove noise by getting rid of the select box label while still giving enough context to the end user
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6013/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/6013/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6012 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6012/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6012/comments | https://api.github.com/repos/streamlit/streamlit/issues/6012/events | https://github.com/streamlit/streamlit/pull/6012 | 1,557,238,293 | PR_kwDODCoeTs5Ii1Hg | 6,012 | Rearrange + rename "cached message replay" code | {
"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-25T20:32:04 | 2023-01-26T00:07:52 | 2023-01-26T00:07:48 | COLLABORATOR | null | Moves "cached message replay" logic into its own module, and simplifies/renames a few things for clarity.
- message replay logic is moved out of `cache_utils` and into its own module, `cached_message_replay`. This is the bulk of the PR.
- The `CacheWarningCallStack` and `CacheMessagesCallStack` utilities have been simplified and merged into a single class called `CachedMessageReplayContext`. (This object has just a single context manager to wrapped cached-function calls, which helps with some context manager deep-nesting.)
- `replay_result_messages()` is now called `replay_cached_messages()` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6012/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/6012/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6012",
"html_url": "https://github.com/streamlit/streamlit/pull/6012",
"diff_url": "https://github.com/streamlit/streamlit/pull/6012.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6012.patch",
"merged_at": "2023-01-26T00:07:48"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6011 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6011/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6011/comments | https://api.github.com/repos/streamlit/streamlit/issues/6011/events | https://github.com/streamlit/streamlit/pull/6011 | 1,557,037,696 | PR_kwDODCoeTs5IiJ2N | 6,011 | Fix ?embed and ?embedded params | {
"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": ""
}
] | open | false | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-01-25T17:37:51 | 2023-02-07T12:49:22 | null | 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_
The PR makes `?embed=true` url param case insensitive and allows to specify`embed_options` options.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [x] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] 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/6011/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/6011/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6011",
"html_url": "https://github.com/streamlit/streamlit/pull/6011",
"diff_url": "https://github.com/streamlit/streamlit/pull/6011.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6011.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6010 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6010/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6010/comments | https://api.github.com/repos/streamlit/streamlit/issues/6010/events | https://github.com/streamlit/streamlit/pull/6010 | 1,556,026,735 | PR_kwDODCoeTs5Iexc6 | 6,010 | Dependency updates... - Part D | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2023-01-25T04:12:09 | 2023-02-01T18:32:12 | 2023-02-01T18:32:08 | COLLABORATOR | null | ## π Context
It's me again. With more dependencies.
- What kind of change does this PR introduce?
- [x] Other, please describe: **even more dependency updates**
## π§ Description of Changes
**Major Updates:**
- axios to **0.27.2**
- d3 to **7.8.2**
- @types/d3 to **7.4.0**
- react-scripts to **5.0.1**
- webpack to **5.75.0**
- @craco/craco to **7.0.0**
- eslint to **8.33.0**
- eslint-config-airbnb-typescript to **17.0.0**
- eslint-config-prettier **8.6.0**
- eslint-plugin-prettier to **4.2.1**
- jest to **27.5.1**
- @types/jest to **27.5.2**
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6010/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/6010/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6010",
"html_url": "https://github.com/streamlit/streamlit/pull/6010",
"diff_url": "https://github.com/streamlit/streamlit/pull/6010.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6010.patch",
"merged_at": "2023-02-01T18:32:08"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6009 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6009/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6009/comments | https://api.github.com/repos/streamlit/streamlit/issues/6009/events | https://github.com/streamlit/streamlit/issues/6009 | 1,555,954,857 | I_kwDODCoeTs5cvfyp | 6,009 | Customize header | {
"login": "ViniciusgCaetano",
"id": 57851959,
"node_id": "MDQ6VXNlcjU3ODUxOTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/57851959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViniciusgCaetano",
"html_url": "https://github.com/ViniciusgCaetano",
"followers_url": "https://api.github.com/users/ViniciusgCaetano/followers",
"following_url": "https://api.github.com/users/ViniciusgCaetano/following{/other_user}",
"gists_url": "https://api.github.com/users/ViniciusgCaetano/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ViniciusgCaetano/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ViniciusgCaetano/subscriptions",
"organizations_url": "https://api.github.com/users/ViniciusgCaetano/orgs",
"repos_url": "https://api.github.com/users/ViniciusgCaetano/repos",
"events_url": "https://api.github.com/users/ViniciusgCaetano/events{/privacy}",
"received_events_url": "https://api.github.com/users/ViniciusgCaetano/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": 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 | 2 | 2023-01-25T02:12:14 | 2023-01-26T17:49:09 | 2023-01-26T17:48:59 | NONE | null | ### Problem
Streamlit lacks of something like header that we can see in other websites.
### Solution
Will be nice if we can customize our header, adding drop-down menus and navbars like any other website.
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/6009/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/6009/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6008 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6008/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6008/comments | https://api.github.com/repos/streamlit/streamlit/issues/6008/events | https://github.com/streamlit/streamlit/issues/6008 | 1,555,552,717 | I_kwDODCoeTs5ct9nN | 6,008 | dataframe - incorrect column width on mobile and not resizable | {
"login": "CHerSun",
"id": 14203878,
"node_id": "MDQ6VXNlcjE0MjAzODc4",
"avatar_url": "https://avatars.githubusercontent.com/u/14203878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CHerSun",
"html_url": "https://github.com/CHerSun",
"followers_url": "https://api.github.com/users/CHerSun/followers",
"following_url": "https://api.github.com/users/CHerSun/following{/other_user}",
"gists_url": "https://api.github.com/users/CHerSun/gists{/gist_id}",
"starred_url": "https://api.github.com/users/CHerSun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CHerSun/subscriptions",
"organizations_url": "https://api.github.com/users/CHerSun/orgs",
"repos_url": "https://api.github.com/users/CHerSun/repos",
"events_url": "https://api.github.com/users/CHerSun/events{/privacy}",
"received_events_url": "https://api.github.com/users/CHerSun/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 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"
}
] | open | false | null | [] | null | 3 | 2023-01-24T19:33:36 | 2023-02-04T19:30: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
On mobile there's no way to increase column width, if it was sized incorrectly - and that happens. Also, there's no override to tell column size explicitly.
### Reproducible Code Example
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-6008)
```Python
import pandas as pd
import streamlit as st
df = pd.DataFrame(data= {
"State" : ["Taken", "Booked", "Free", "Free", "Free", "Reserved", "Reserved"],
"Till" : ["2023-01-25 03:00"] + ([""]*6),
"By" : ["[email protected]", "([email protected])", "", "", "", "([email protected])", "([email protected])"]
})
state_colors_translated = {
"Free" : "LightGreen",
"Booked" : "Wheat",
"Taken" : "LightCoral",
"Reserved" : "LightGray",
}
st.subheader("App name")
st.write('**Alex**, welcome!')
st.write("")
state_by_place = {i:df["State"][i] for i in df.index}
df_styled = df.style \
.applymap(lambda c: f"background-color: {state_colors_translated[c]}", subset=["State"]) \
.applymap(lambda c: "color: lightgray" if isinstance(c, str) and c and c[0]=="(" else "")
st.write('State:')
st.dataframe(df_styled, use_container_width=True)
```
### Steps To Reproduce
Use code above.
View it from mobile (smartphone) browser.
### Expected Behavior
Either a way to resize column by mobile client, or a way to resize it from code, or better automatic sizing of columns.
Both st.table and st._legacy_dataframe show content better.
### Current Behavior
What I get on mobile:
![image](https://user-images.githubusercontent.com/14203878/214389892-9be4c149-6589-443c-a2b7-458ad9afea6c.png)
The only way to view contents is either double-tap on the cell, or rotate phone and force-refresh page (new dataframe won't get resized to full screen width with just rerun or rotation alone for me - need to trigger tab reload).
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.17.0
- Python version: 3.10.8
- Operating System: Windows / Linux (hosted on both for tests) + Android (client)
- Browser: Firefox mobile, Chrome mobile, Safari mobile
- 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/6008/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/6008/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6007 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6007/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6007/comments | https://api.github.com/repos/streamlit/streamlit/issues/6007/events | https://github.com/streamlit/streamlit/pull/6007 | 1,555,410,805 | PR_kwDODCoeTs5Ics7u | 6,007 | Bump ua-parser-js from 0.7.31 to 0.7.33 in /frontend | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [] | closed | false | null | [] | null | 3 | 2023-01-24T17:51:36 | 2023-01-24T18:09:24 | 2023-01-24T18:09:10 | CONTRIBUTOR | null | Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/faisalman/ua-parser-js/blob/master/changelog.md">ua-parser-js's changelog</a>.</em></p>
<blockquote>
<h2>Version 0.7.31 / 1.0.2</h2>
<ul>
<li>Fix OPPO Reno A5 incorrect detection</li>
<li>Fix TypeError Bug</li>
<li>Use AST to extract regexes and verify them with safe-regex</li>
</ul>
<h2>Version 0.7.32 / 1.0.32</h2>
<ul>
<li>Add new browser : DuckDuckGo, Huawei Browser, LinkedIn</li>
<li>Add new OS : HarmonyOS</li>
<li>Add some Huawei models</li>
<li>Add Sharp Aquos TV</li>
<li>Improve detection Xiaomi Mi CC9</li>
<li>Fix Sony Xperia 1 III misidentified as Acer tablet</li>
<li>Fix Detect Sony BRAVIA as SmartTV</li>
<li>Fix Detect Xiaomi Mi TV as SmartTV</li>
<li>Fix Detect Galaxy Tab S8 as tablet</li>
<li>Fix WeGame mistakenly identified as WeChat</li>
<li>Fix included commas in Safari / Mobile Safari version</li>
<li>Increase UA_MAX_LENGTH to 350</li>
</ul>
<h2>Version 0.7.33 / 1.0.33</h2>
<ul>
<li>Add new browser : Cobalt</li>
<li>Identify Macintosh as an Apple device</li>
<li>Fix ReDoS vulnerability</li>
</ul>
<h1>Version 0.8</h1>
<p>Version 0.8 was created by accident. This version is now deprecated and no longer maintained, please update to version 0.7 / 1.0.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/f2d0db001d87da15de7b9b1df7be9f2eacefd8c5"><code>f2d0db0</code></a> Bump version 0.7.33</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411"><code>a6140a1</code></a> Remove unsafe regex in trim() function</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/a88660493568d6144a551424a8139d6c876635f6"><code>a886604</code></a> Fix <a href="https://github-redirect.dependabot.com/faisalman/ua-parser-js/issues/605">#605</a> - Identify Macintosh as Apple device</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/b814bcd79198e730936c82462e2d729eb5423e3c"><code>b814bcd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/faisalman/ua-parser-js/issues/606">#606</a> from rileyjshaw/patch-1</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/7f71024161399b7aa5d5cd10dba9e059f0218262"><code>7f71024</code></a> Fix documentation</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/c239ac5167abd574a635cb809a2b4fa35810d23b"><code>c239ac5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/faisalman/ua-parser-js/issues/604">#604</a> from obecerra3/master</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/8d3c2d327cf540ff2c050f1cc67bca8c6f8e4458"><code>8d3c2d3</code></a> Add new browser: Cobalt</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/d11fc47dc9b6acc0f89fc10c120cea08e10cd31a"><code>d11fc47</code></a> Bump version 0.7.32</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/b490110109de586deab96c775c9ef0dfc9c919c4"><code>b490110</code></a> Merge branch 'develop' of github.com:faisalman/ua-parser-js</li>
<li><a href="https://github.com/faisalman/ua-parser-js/commit/cb5da5ea4b220d5b60fe209e123b7f911d8e0d4a"><code>cb5da5e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/faisalman/ua-parser-js/issues/600">#600</a> from moekm/develop</li>
<li>Additional commits viewable in <a href="https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ua-parser-js&package-manager=npm_and_yarn&previous-version=0.7.31&new-version=0.7.33)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/streamlit/streamlit/network/alerts).
</details> | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6007/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/6007/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6007",
"html_url": "https://github.com/streamlit/streamlit/pull/6007",
"diff_url": "https://github.com/streamlit/streamlit/pull/6007.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6007.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6006 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6006/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6006/comments | https://api.github.com/repos/streamlit/streamlit/issues/6006/events | https://github.com/streamlit/streamlit/pull/6006 | 1,554,072,050 | PR_kwDODCoeTs5IYOuT | 6,006 | Add Github workflow to produce Cypress snapshots | {
"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": ""
}
] | closed | false | null | [] | null | 0 | 2023-01-24T00:45:45 | 2023-01-25T22:14:53 | 2023-01-25T22:14:39 | CONTRIBUTOR | null | ## π Context
Updating our Cypress snapshots is very annoying -- so this workflow attempts to improve this process.
What this does:
* Adds a new Github workflow called "Cypress update snapshots" (Named this way so it's near the "Cypress" workflow)
* When you run this workflow, you first specify the e2e test you'd like to run:
<img width="376" alt="Screenshot 2023-01-23 at 16 42 34" src="https://user-images.githubusercontent.com/103002884/214187446-8f6e7817-c73b-4656-8ff7-5b4e3172ab4d.png">
* ...and when the test is done running, you just downloads the screenshots it produced and add them to your PR.
<img width="410" alt="Screenshot 2023-01-23 at 16 44 28" src="https://user-images.githubusercontent.com/103002884/214187973-e66e6a77-0cf1-420e-9b00-da6404e52b83.png">
---
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Tooling
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
n/a
**Current:**
n/a
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
---
**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/6006/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/6006/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6006",
"html_url": "https://github.com/streamlit/streamlit/pull/6006",
"diff_url": "https://github.com/streamlit/streamlit/pull/6006.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6006.patch",
"merged_at": "2023-01-25T22:14:39"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6005 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6005/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6005/comments | https://api.github.com/repos/streamlit/streamlit/issues/6005/events | https://github.com/streamlit/streamlit/issues/6005 | 1,553,933,680 | I_kwDODCoeTs5cnyVw | 6,005 | sklearn.preprocessing import MinMaxScaler | {
"login": "Patra3007",
"id": 74959718,
"node_id": "MDQ6VXNlcjc0OTU5NzE4",
"avatar_url": "https://avatars.githubusercontent.com/u/74959718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Patra3007",
"html_url": "https://github.com/Patra3007",
"followers_url": "https://api.github.com/users/Patra3007/followers",
"following_url": "https://api.github.com/users/Patra3007/following{/other_user}",
"gists_url": "https://api.github.com/users/Patra3007/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Patra3007/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Patra3007/subscriptions",
"organizations_url": "https://api.github.com/users/Patra3007/orgs",
"repos_url": "https://api.github.com/users/Patra3007/repos",
"events_url": "https://api.github.com/users/Patra3007/events{/privacy}",
"received_events_url": "https://api.github.com/users/Patra3007/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-23T22:29:07 | 2023-01-23T22:48:13 | 2023-01-23T22:48:13 | 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
Is your feature request related to a problem? Please describe the problem here. Ex. I'm always frustrated when [...]
### Solution
**MVP:** What's the smallest possible solution that would get 80% of the problem out of the way?
**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/6005/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/6005/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6004 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6004/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6004/comments | https://api.github.com/repos/streamlit/streamlit/issues/6004/events | https://github.com/streamlit/streamlit/issues/6004 | 1,553,625,318 | I_kwDODCoeTs5cmnDm | 6,004 | st.tabs: know and control state | {
"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": 4346975821,
"node_id": "LA_kwDODCoeTs8AAAABAxmWTQ",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.tabs",
"name": "feature:st.tabs",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 5 | 2023-01-23T19:17:02 | 2023-02-10T10:52:47 | null | NONE | null | ### Problem
st.tabs is purely an organizational element with no access to know or control its state.
### Solution
Add an option (or new component) to make st.tabs an element that communicates with the backend to know and control state.
### Additional context
This is related to #5321 but a more robust feature request.
There is an ongoing thread in the forums on this topic. I'm creating this feature request for votes to be recorded.
https://discuss.streamlit.io/t/st-tabs-is-it-possible-to-do-any-of-the-following-access-an-st-tab-click-event-set-a-default-selected-tab-on-a-page/29341
---
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/6004/reactions",
"total_count": 8,
"+1": 8,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6004/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6003 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6003/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6003/comments | https://api.github.com/repos/streamlit/streamlit/issues/6003/events | https://github.com/streamlit/streamlit/issues/6003 | 1,553,595,116 | I_kwDODCoeTs5cmfrs | 6,003 | Import Error | {
"login": "gourav631",
"id": 80508053,
"node_id": "MDQ6VXNlcjgwNTA4MDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/80508053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gourav631",
"html_url": "https://github.com/gourav631",
"followers_url": "https://api.github.com/users/gourav631/followers",
"following_url": "https://api.github.com/users/gourav631/following{/other_user}",
"gists_url": "https://api.github.com/users/gourav631/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gourav631/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gourav631/subscriptions",
"organizations_url": "https://api.github.com/users/gourav631/orgs",
"repos_url": "https://api.github.com/users/gourav631/repos",
"events_url": "https://api.github.com/users/gourav631/events{/privacy}",
"received_events_url": "https://api.github.com/users/gourav631/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 | 1 | 2023-01-23T18:55:40 | 2023-01-23T22:40:25 | 2023-01-23T22:40:24 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
This is a website which is showing number of faces in the current frame through mediapipe. The error is shown as Import Error. Although the website was running on localhost but when deployed it was not giving the desired output. The Error was seen on line 2 of my code where "import mediapipe as mp" is written.
### Reproducible Code Example
_No response_
### Steps To Reproduce
_No response_
### Expected Behavior
_No response_
### Current Behavior
ImportError: 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.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/app/face-count/app.py", line 2, in <module>
import mediapipe as mp
File "/home/appuser/venv/lib/python3.10/site-packages/mediapipe/__init__.py", line 16, in <module>
import mediapipe.python.solutions as solutions
File "/home/appuser/venv/lib/python3.10/site-packages/mediapipe/python/solutions/__init__.py", line 17, in <module>
import mediapipe.python.solutions.drawing_styles
File "/home/appuser/venv/lib/python3.10/site-packages/mediapipe/python/solutions/drawing_styles.py", line 20, in <module>
from mediapipe.python.solutions.drawing_utils import DrawingSpec
File "/home/appuser/venv/lib/python3.10/site-packages/mediapipe/python/solutions/drawing_utils.py", line 19, in <module>
import cv2
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:1.17.0
- Python version:3.9.12
- 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/6003/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/6003/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6002 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6002/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6002/comments | https://api.github.com/repos/streamlit/streamlit/issues/6002/events | https://github.com/streamlit/streamlit/pull/6002 | 1,553,578,561 | PR_kwDODCoeTs5IWiDh | 6,002 | Allow code blocks inside checkboxes | {
"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": 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": 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": ""
},
{
"id": 4800340903,
"node_id": "LA_kwDODCoeTs8AAAABHh9jpw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/stale",
"name": "stale",
"color": "ffffff",
"default": false,
"description": null
},
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | {
"login": "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 | 3 | 2023-01-23T18:40:22 | 2023-02-14T09:49:26 | 2023-02-14T09:49:25 | CONTRIBUTOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
This PR fixes #5872 by allowing code blocks to be rendered with `StreamlitMarkdown`, when using `st.checkbox`
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## π§ͺ Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #5872
---
**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/6002/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/6002/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6002",
"html_url": "https://github.com/streamlit/streamlit/pull/6002",
"diff_url": "https://github.com/streamlit/streamlit/pull/6002.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6002.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6001 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6001/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6001/comments | https://api.github.com/repos/streamlit/streamlit/issues/6001/events | https://github.com/streamlit/streamlit/pull/6001 | 1,553,426,272 | PR_kwDODCoeTs5IWBJV | 6,001 | Adds option Print to the appβs hamburger menu | {
"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": 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": 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 | 2023-01-23T16:50:32 | 2023-01-30T18:01:04 | 2023-01-30T18:01:04 | CONTRIBUTOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
This PR adds an option βPrintβ to the appβs hamburger menu.
The "Print" option works in the following way:
* If the app is living inside an iframe (e.g. on Community Cloud, but also on SiS or Huggingface)
* tries to find an IFrame in which Streamlit app is living and prints the content of the IFrame
* If the app is not living inside an iframe (e.g. running on [localhost](http://localhost/) or self-deployed)
* Opens the print dialog in the existing tab
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [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/6001/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/6001/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6001",
"html_url": "https://github.com/streamlit/streamlit/pull/6001",
"diff_url": "https://github.com/streamlit/streamlit/pull/6001.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6001.patch",
"merged_at": "2023-01-30T18:01:04"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6000 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6000/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6000/comments | https://api.github.com/repos/streamlit/streamlit/issues/6000/events | https://github.com/streamlit/streamlit/pull/6000 | 1,553,308,489 | PR_kwDODCoeTs5IVoBD | 6,000 | Branch to demonstrate failing tests with Multiselect (and Selectbox) testing framework implementation | {
"login": "kajarenc",
"id": 6664805,
"node_id": "MDQ6VXNlcjY2NjQ4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kajarenc",
"html_url": "https://github.com/kajarenc",
"followers_url": "https://api.github.com/users/kajarenc/followers",
"following_url": "https://api.github.com/users/kajarenc/following{/other_user}",
"gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions",
"organizations_url": "https://api.github.com/users/kajarenc/orgs",
"repos_url": "https://api.github.com/users/kajarenc/repos",
"events_url": "https://api.github.com/users/kajarenc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kajarenc/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4800340903,
"node_id": "LA_kwDODCoeTs8AAAABHh9jpw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/stale",
"name": "stale",
"color": "ffffff",
"default": false,
"description": null
}
] | open | false | null | [] | null | 1 | 2023-01-23T15:33:25 | 2023-02-09T05:12:56 | null | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6000/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/6000/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6000",
"html_url": "https://github.com/streamlit/streamlit/pull/6000",
"diff_url": "https://github.com/streamlit/streamlit/pull/6000.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6000.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5999 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5999/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5999/comments | https://api.github.com/repos/streamlit/streamlit/issues/5999/events | https://github.com/streamlit/streamlit/pull/5999 | 1,552,906,823 | PR_kwDODCoeTs5IUR9v | 5,999 | Fix reStructuredText issues in cache_data and cache_resource 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 | 2023-01-23T11:09:20 | 2023-01-23T15:33:48 | 2023-01-23T15:33:41 | MEMBER | null | ## π Context
Our docstrings contain reStructuredText. Inline code in reStructuredText should be between two backticks. Single backticks are interpreted as italics. There are docstring formatting issues for both `st.cache_data` and `st.cache_resource` added in #5948.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Doc improvement request
## π§ Description of Changes
- Replaces single backticks with double backticks for inline code in `st.cache_data` and `st.cache_resource` docstrings.
Note: this PR does neither adds nor updates any tests as it is a mere refactor of docstrings.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
![image](https://user-images.githubusercontent.com/20672874/214024733-aedf5f4d-2dee-4022-b527-97328d2f3e50.png)
**Current:**
![image](https://user-images.githubusercontent.com/20672874/214025061-4a80a5aa-5aac-4137-b671-4dd2aa315117.png)
## π§ͺ Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5999/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/5999/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5999",
"html_url": "https://github.com/streamlit/streamlit/pull/5999",
"diff_url": "https://github.com/streamlit/streamlit/pull/5999.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5999.patch",
"merged_at": "2023-01-23T15:33:41"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5998 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5998/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5998/comments | https://api.github.com/repos/streamlit/streamlit/issues/5998/events | https://github.com/streamlit/streamlit/issues/5998 | 1,552,562,849 | I_kwDODCoeTs5cijqh | 5,998 | Clicking model reloads loading of the model within streamlit, causing CUDA MEMORY FULL | {
"login": "sarmientoj24",
"id": 8830319,
"node_id": "MDQ6VXNlcjg4MzAzMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8830319?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarmientoj24",
"html_url": "https://github.com/sarmientoj24",
"followers_url": "https://api.github.com/users/sarmientoj24/followers",
"following_url": "https://api.github.com/users/sarmientoj24/following{/other_user}",
"gists_url": "https://api.github.com/users/sarmientoj24/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sarmientoj24/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sarmientoj24/subscriptions",
"organizations_url": "https://api.github.com/users/sarmientoj24/orgs",
"repos_url": "https://api.github.com/users/sarmientoj24/repos",
"events_url": "https://api.github.com/users/sarmientoj24/events{/privacy}",
"received_events_url": "https://api.github.com/users/sarmientoj24/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 | 1 | 2023-01-23T06:04:26 | 2023-01-23T22:46:32 | 2023-01-23T22:46:31 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I am loading a large model that fits my 8GB VRAM at the start of my streamlit run script. I am using Stable Diffusion.
Something like:
```
...
model = load_stable_model()
...
if st.button('Submit'):
...
```
It loads the model when the app runs on the first time. However, clicking submit seemingly reloads the loading of the model. Hence, my VRAM loads two instances of the model causing the app to crash because it cant fit two models at the GPU.
I tested adding a print statement and I can confirm it reloads it.
Any idea how to prevent this behavior?
### 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: latest
- Python version: 3.9
- Operating System: Ubuntu 21.04
- Browser: Chrome
- 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/5998/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/5998/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5997 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5997/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5997/comments | https://api.github.com/repos/streamlit/streamlit/issues/5997/events | https://github.com/streamlit/streamlit/pull/5997 | 1,552,536,467 | PR_kwDODCoeTs5ITCgK | 5,997 | More major dependency updates - Part C | {
"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-23T05:20:20 | 2023-01-24T19:27:27 | 2023-01-24T19:27:23 | COLLABORATOR | null | ## π Context
More dependencies.
- What kind of change does this PR introduce?
- [x] Other, please describe: **more dependency/security updates**
## π§ Description of Changes
**Security Resolutions:**
- cypress-circleci-reporter (**Removed**) - Addresses [#132](https://github.com/streamlit/streamlit/security/dependabot/132)
- ua-parser-js resolved to **1.0.33** - Addresses [#134](https://github.com/streamlit/streamlit/security/dependabot/134)
**Major Updates:**
- cypress-file-upload to **5.0.8**
- cypress-image-snapshot to **4.0.1**
- @testing-library/react to **12.1.4**
- @testing-library/user-event to **14.4.3**
- @testing-library/dom to **8.19.0**
- @testing-library/react-hooks to **8.0.1**
- react-dropzone to **12.2.0**
- react-markdown to **8.0.4**
- remark-gfm too **3.0.1**
- remark-emoji to **3.0.2**
- remark-math to **5.1.1**
- rehype-katex to **6.0.2**
- rehype-raw to **6.1.1**
**Minor/Patch Updates:**
- plotly.js to **2.18.0**
- @types/plotly.js to **2.12.13**
- @types/react-plotly.js to **2.6.0**
- deck.gl, @deck.gl/core, @deck.gl/json to **8.8.23**
- @loaders.gl/core, @loaders.gl/csv, @loaders.gl/gltf, @loaders.gl/images to **3.2.13**
- @typescript-eslint/eslint-plugin, @typescript-eslint/parser to **5.49.0**
---
**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/5997/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/5997/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5997",
"html_url": "https://github.com/streamlit/streamlit/pull/5997",
"diff_url": "https://github.com/streamlit/streamlit/pull/5997.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5997.patch",
"merged_at": "2023-01-24T19:27:23"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5996 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5996/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5996/comments | https://api.github.com/repos/streamlit/streamlit/issues/5996/events | https://github.com/streamlit/streamlit/issues/5996 | 1,551,874,998 | I_kwDODCoeTs5cf7u2 | 5,996 | Streaming analytics / telemetry to own database | {
"login": "ttamg",
"id": 24482962,
"node_id": "MDQ6VXNlcjI0NDgyOTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/24482962?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ttamg",
"html_url": "https://github.com/ttamg",
"followers_url": "https://api.github.com/users/ttamg/followers",
"following_url": "https://api.github.com/users/ttamg/following{/other_user}",
"gists_url": "https://api.github.com/users/ttamg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ttamg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ttamg/subscriptions",
"organizations_url": "https://api.github.com/users/ttamg/orgs",
"repos_url": "https://api.github.com/users/ttamg/repos",
"events_url": "https://api.github.com/users/ttamg/events{/privacy}",
"received_events_url": "https://api.github.com/users/ttamg/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 | 2023-01-21T18:19:57 | 2023-01-26T17:32:32 | null | NONE | null | ### Problem
Firstly thanks for creating a fantastic application and great documentation too.
I see that telemetry is captured by default and passed to the Streamlit servers. In the config it can be switched off as is well documented.
**For many enterprise tasks, it is at minimum a soft requirement to push telemetry information to an enterprises' own analytics system, and a hard requirement not to push telemetry to another system.**
Also as mentioned in issue #4747 pushing to US servers is a no-no without active consent under European GDPR.
### Solution
Is open telemetry a feature you will considering adding?
One quick idea would be to allow users to configure another Segment.io account key. This would be a very simple fix to `Segments.ts` and the config. From a business perspective I would expect Segment.io would love that and provide more value to Streamlit in return. Would you consider that?
I can of course fork the repo myself and adjust the relevant files (`Segment.ts`) to push analytics elsewhere but that feels a bit of a hack if you have plans to provide a more open telemetry solution soon instead.
Thanks
**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/5996/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/5996/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5995 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5995/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5995/comments | https://api.github.com/repos/streamlit/streamlit/issues/5995/events | https://github.com/streamlit/streamlit/issues/5995 | 1,551,493,442 | I_kwDODCoeTs5ceelC | 5,995 | Multiselect Not Holding Selected Value | {
"login": "1JadAwtoul",
"id": 32105772,
"node_id": "MDQ6VXNlcjMyMTA1Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/32105772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1JadAwtoul",
"html_url": "https://github.com/1JadAwtoul",
"followers_url": "https://api.github.com/users/1JadAwtoul/followers",
"following_url": "https://api.github.com/users/1JadAwtoul/following{/other_user}",
"gists_url": "https://api.github.com/users/1JadAwtoul/gists{/gist_id}",
"starred_url": "https://api.github.com/users/1JadAwtoul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/1JadAwtoul/subscriptions",
"organizations_url": "https://api.github.com/users/1JadAwtoul/orgs",
"repos_url": "https://api.github.com/users/1JadAwtoul/repos",
"events_url": "https://api.github.com/users/1JadAwtoul/events{/privacy}",
"received_events_url": "https://api.github.com/users/1JadAwtoul/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
}
] | closed | false | null | [] | null | 3 | 2023-01-20T21:51:12 | 2023-01-23T21:00:28 | 2023-01-23T21:00:28 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I am writing an application that retrieves data from a sql server, stores the dataset in a pandas df then displays to the user in a Streamlit app. The user is then allowed to filter the data set using the "st.multiselect" widget. The problem I am facing is as follow: Everytime I test the widget by making a selection from the widget, the app reruns and ignores my selection.
When I use a dataset stored in a csv file, this runs fine. But now, when the dataframe is coming from a sql query, the choices of the widget do not hold.
### Reproducible Code Example
```Python
import streamlit as st
import plotly.graph_objects as go
import pandas as pd
import numpy as np
import calendar # Core python module
from datetime import datetime # Core python module
from streamlit_option_menu import option_menu
import sqlalchemy
from sqlalchemy import create_engine
import pyodbc
import urllib
# ---------- COSMETICS SETUP ----------
page_title = "DISTRO SHIP"
page_icon = ":bar_chart:"
layout = "centered"
# --------- DASHBOARD CONFIGURATION ----------
st.set_page_config(page_title=page_title, page_icon=":bar_chart",
layout=layout, initial_sidebar_state='expanded')
col1, col2 = st.columns((1, 5))
with col1:
st.image('assets/logo5.png')
with col2:
st.markdown("<h2 style='text-align: center;'>OUTBOUND SHIPPING DASHBOARD</h2>",
unsafe_allow_html=True)
st.markdown("---")
# Query DB.
query = """
# THE QUERY IS CONFIDENTIAL BUT IT RUNS PERFECTLY IN MY APP
"""
# Initializing database connection:
@st.experimental_singleton
def create_engine():
# Storing the pyodbc connection string in the params variable.
# This is important in order for sqlalchemy to read the string and establish db connection.
params = urllib.parse.quote_plus(
"DRIVER={ODBC Driver 17 for SQL Server};SERVER="
+ st.secrets["server"]
+ ";DATABASE="
+ st.secrets["database"]
+ ";UID="
+ st.secrets["username"]
+ ";PWD="
+ st.secrets["password"]
)
# Creating sqlalchemy engine to query the database.
engine = sqlalchemy.create_engine(
"mssql+pyodbc:///?odbc_connect=%s" % params)
# When called, this app will return the variable engine that creates the sqlalchemy db engine.
return engine
# Call engine function and storing it in a usable variable to query later.
engine = create_engine()
results = engine.execute(query)
query_df = pd.DataFrame(results)
query_df = query_df.drop(['receipt_date'], axis=1)
query_df = query_df.drop(['planned_quantity'], axis=1)
query_df = query_df.drop(['picked_quantity'], axis=1)
query_df = query_df.drop(['staged_quantity'], axis=1)
query_df = query_df.drop(['loaded_quantity'], axis=1)
query_df[['PO', 'OTHER']] = query_df['order_number'].str.split(pat='-', n=1, expand=True)
query_df = query_df.drop(['OTHER'], axis=1)
po_column = query_df.pop('PO')
stage_column = query_df.pop('staging_location')
query_df.insert(2, 'staging_location', stage_column)
query_df.insert(3, 'PO', po_column)
query_df['total_weight'] = pd.to_numeric(
query_df['total_weight'], errors='coerce').fillna(0).astype(int)
query_df['ship_to_code'] = query_df['ship_to_code'].astype(int)
query_df['wh_id'] = query_df['wh_id'].astype(int)
query_df['staging_location']=query_df['staging_location'].astype(str)
query_df = query_df.fillna(0)
# Generating A Summary Dataset by store #
summary_df = query_df.groupby(
[query_df['ship_to_code']]
).agg(
po_count=('PO', 'count'),
sum_weight=('total_weight', 'sum')
)
summary_df.sort_values(by=["ship_to_code"])
# Dynamic DF based on filtered data (sidebar)
conditional_df = summary_df
conditional_df['trucks_needed'] = conditional_df['sum_weight'] / 38000
conditional_df['trucks_needed'] = conditional_df["trucks_needed"].astype(int)
trucks_needed = conditional_df['trucks_needed'].sum()
# Selecting Distribution Center:
# Selecting Staging ID:
store_select = st.multiselect(
"Select Store #:",
options=query_df['staging_location'].unique(),
default='110')
filtered = query_df.query("staging_location in @store_select")
st.dataframe(filtered)
```
### Steps To Reproduce
_No response_
### Expected Behavior
Filter data for the user to view
### Current Behavior
App reruns upon selection without holding the inut made to the multiselect widget.
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.17.0
- Python version: 3.11.1
- Operating System: Windows
- Browser: Edge & Chrome
- Virtual environment: venv
### 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/5995/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/5995/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5994 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5994/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5994/comments | https://api.github.com/repos/streamlit/streamlit/issues/5994/events | https://github.com/streamlit/streamlit/pull/5994 | 1,551,465,608 | PR_kwDODCoeTs5IPuOV | 5,994 | Component key stability tests | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"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-20T21:21:54 | 2023-01-21T00:11:17 | 2023-01-21T00:11:13 | COLLABORATOR | null | Custom components have different `widget_id` generation behavior than other widgets. Specifically, when a `key` parameter is provided to a component instance, that component's `widget_id` will _not_ include a hash of the component's other data parameters.
This PR adds two `component_tests` tests: `test_widget_id_with_key`, and `test_widget_id_without_key`, to document (and prevent regressions of) this rule! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5994/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/5994/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5994",
"html_url": "https://github.com/streamlit/streamlit/pull/5994",
"diff_url": "https://github.com/streamlit/streamlit/pull/5994.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5994.patch",
"merged_at": "2023-01-21T00:11:13"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5993 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5993/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5993/comments | https://api.github.com/repos/streamlit/streamlit/issues/5993/events | https://github.com/streamlit/streamlit/issues/5993 | 1,551,432,238 | I_kwDODCoeTs5cePou | 5,993 | Insalling Modin ruins Steramlit installation and app won't run | {
"login": "mzeidhassan",
"id": 7589948,
"node_id": "MDQ6VXNlcjc1ODk5NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7589948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzeidhassan",
"html_url": "https://github.com/mzeidhassan",
"followers_url": "https://api.github.com/users/mzeidhassan/followers",
"following_url": "https://api.github.com/users/mzeidhassan/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeidhassan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mzeidhassan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeidhassan/subscriptions",
"organizations_url": "https://api.github.com/users/mzeidhassan/orgs",
"repos_url": "https://api.github.com/users/mzeidhassan/repos",
"events_url": "https://api.github.com/users/mzeidhassan/events{/privacy}",
"received_events_url": "https://api.github.com/users/mzeidhassan/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 | 2 | 2023-01-20T20:46:59 | 2023-01-20T23:06:42 | 2023-01-20T23:06:24 | NONE | null | Hi team,
Whenever I install Modin, whether through conda install or pip install, everyting stops and Streamlit doesn't run anymore. Removing Modin, or even removing Streamlit, then reinstalling it doesn't resolve the issue. I am not sure if this is a Modin or Streamlit issue, but it is driving me crazy.
### Reproducible Code Example
_No response_
### Steps To Reproduce
1. conda install -c conda-forge modin-all or pip install modin[all]
2. streamlit run app.py
Receive this error:
> Traceback (most recent call last):
> File "C:\Users\mzeidha-lap\miniconda3\lib\runpy.py", line 197, in _run_module_as_main
> return _run_code(code, main_globals, None,
> File "C:\Users\mz\miniconda3\lib\runpy.py", line 87, in _run_code
> File "C:\Users\mz\miniconda3\Scripts\streamlit.exe\__main__.py", line 4, in <module>
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\__init__.py", line 55, in <module>
> from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\delta_generator.py", line 38, in <module>
> from streamlit import config, cursor, env_util, logger, runtime, type_util, util
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\cursor.py", line 18, in <module>
> from streamlit.runtime.scriptrunner import get_script_run_ctx
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\runtime\__init__.py", line 16, in <module>
> from streamlit.runtime.runtime import Runtime as Runtime
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\runtime\runtime.py", line 28, in <module>
> from streamlit.runtime.app_session import AppSession
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\runtime\app_session.py", line 35, in <module>
> from streamlit.runtime import caching, legacy_caching
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\runtime\caching\__init__.py", line 21, in <module>
> from streamlit.runtime.state.session_state import WidgetMetadata
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\runtime\state\__init__.py", line 16, in <module>
> from streamlit.runtime.state.safe_session_state import (
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\runtime\state\safe_session_state.py", line 20, in <module>
> from streamlit.runtime.state.session_state import (
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\runtime\state\session_state.py", line 43, in <module>
> from streamlit.type_util import ValueFieldName, is_array_value_field_name
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\type_util.py", line 35, in <module>
> import pyarrow as pa
> File "C:\Users\mz\miniconda3\lib\site-packages\pyarrow\__init__.py", line 65, in <module>
> import pyarrow.lib as _lib
> ImportError: DLL load failed while importing lib: The specified procedure could not be found.
After removing Modin, removing Steramlit, then installing it again, I see this error:
> Traceback (most recent call last):
> File "C:\Users\mz\miniconda3\lib\runpy.py", line 197, in _run_module_as_main
> return _run_code(code, main_globals, None,
> File "C:\Users\mz\miniconda3\lib\runpy.py", line 87, in _run_code
> exec(code, run_globals)
> File "C:\Users\mz\miniconda3\Scripts\streamlit.exe\__main__.py", line 4, in <module>
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\__init__.py", line 49, in <module>
> from streamlit import config as _config
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\config.py", line 27, in <module>
> from streamlit import config_util, development, env_util, file_util, util
> File "C:\Users\mz\miniconda3\lib\site-packages\streamlit\config_util.py", line 17, in <module>
> import click
> ModuleNotFoundError: No module named 'click'
### Expected Behavior
_No response_
### Current Behavior
_No response_
### Is this a regression?
- No
### Debug info
- Streamlit version: 1.17.0
- Python version: 3.9
- Operating System: Windows 10
- Browser: Google Chrome
- Virtual environment: minconda
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5993/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/5993/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5992 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5992/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5992/comments | https://api.github.com/repos/streamlit/streamlit/issues/5992/events | https://github.com/streamlit/streamlit/issues/5992 | 1,551,422,949 | I_kwDODCoeTs5ceNXl | 5,992 | Streamlit app unable to install | {
"login": "rajasegaran89",
"id": 122791576,
"node_id": "U_kgDOB1GmmA",
"avatar_url": "https://avatars.githubusercontent.com/u/122791576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajasegaran89",
"html_url": "https://github.com/rajasegaran89",
"followers_url": "https://api.github.com/users/rajasegaran89/followers",
"following_url": "https://api.github.com/users/rajasegaran89/following{/other_user}",
"gists_url": "https://api.github.com/users/rajasegaran89/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rajasegaran89/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajasegaran89/subscriptions",
"organizations_url": "https://api.github.com/users/rajasegaran89/orgs",
"repos_url": "https://api.github.com/users/rajasegaran89/repos",
"events_url": "https://api.github.com/users/rajasegaran89/events{/privacy}",
"received_events_url": "https://api.github.com/users/rajasegaran89/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 | 1 | 2023-01-20T20:37:48 | 2023-01-20T23:08:31 | 2023-01-20T23:08:31 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
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/binary-classification-streamlit/app.py", line 3, in <module>
import utils
File "/app/binary-classification-streamlit/utils.py", line 5, in <module>
from sklearn.metrics import plot_confusion_matrix, plot_roc_curve, plot_precision_recall_curve
### 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?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5992/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/5992/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5991 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5991/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5991/comments | https://api.github.com/repos/streamlit/streamlit/issues/5991/events | https://github.com/streamlit/streamlit/pull/5991 | 1,551,387,869 | PR_kwDODCoeTs5IPd4R | 5,991 | Security Vulnerability Resolutions | {
"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-20T20:10:47 | 2023-01-23T05:30:32 | 2023-01-23T05:02:05 | COLLABORATOR | null | ## π Context
Dependency resolutions to address (hopefully) all the outstanding security vulnerabilities.
- What kind of change does this PR introduce?
- [x] Other, please describe: **dependency security resolutions**
## π§ Description of Changes
**Critical**
- loader-utils to ^2.0.4 - Addresses Critical Severity [#93](https://github.com/streamlit/streamlit/security/dependabot/93), [#94](https://github.com/streamlit/streamlit/security/dependabot/94) and High Severity [#95](https://github.com/streamlit/streamlit/security/dependabot/95), [#96](https://github.com/streamlit/streamlit/security/dependabot/96), [#97](https://github.com/streamlit/streamlit/security/dependabot/97), [#98](https://github.com/streamlit/streamlit/security/dependabot/98)
- ejs to ^3.1.7 - Addresses [#45](https://github.com/streamlit/streamlit/security/dependabot/45)
- json-schema to ^0.4.0 - Addresses [#8](https://github.com/streamlit/streamlit/security/dependabot/8)
- shell-quote to ^1.7.3 - Addresses [#73](https://github.com/streamlit/streamlit/security/dependabot/73)
**High**
- ansi-html to ^0.0.9 - Addresses [#28](https://github.com/streamlit/streamlit/security/dependabot/28)
- ansi-regex to ^5.0.1 - Addresses [#39](https://github.com/streamlit/streamlit/security/dependabot/39), [#40](https://github.com/streamlit/streamlit/security/dependabot/40)
- d3-color to ^3.1.0 - Addresses [#91](https://github.com/streamlit/streamlit/security/dependabot/91)
- json5 to ^2.2.3 - Addresses [#133](https://github.com/streamlit/streamlit/security/dependabot/133)
- minimatch to ^3.1.2 - Addresses [#92](https://github.com/streamlit/streamlit/security/dependabot/92)
- node-forge to ^1.3.1 - Addresses High Severity [#32](https://github.com/streamlit/streamlit/security/dependabot/32) , [#33](https://github.com/streamlit/streamlit/security/dependabot/33) and Moderate Severity [#16](https://github.com/streamlit/streamlit/security/dependabot/16), [#31](https://github.com/streamlit/streamlit/security/dependabot/31)
- async to ^3.2.3 - Addresses [#43](https://github.com/streamlit/streamlit/security/dependabot/43), [#50](https://github.com/streamlit/streamlit/security/dependabot/50)
- terser to ^5.16.1 - Addresses [#83](https://github.com/streamlit/streamlit/security/dependabot/83)
- setuptools to ^65.5.1 - Addresses [#129](https://github.com/streamlit/streamlit/security/dependabot/129), [#130](https://github.com/streamlit/streamlit/security/dependabot/130)
## π References
- [Security Vulnerabilities List](https://github.com/streamlit/streamlit/security/dependabot)
---
**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/5991/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/5991/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5991",
"html_url": "https://github.com/streamlit/streamlit/pull/5991",
"diff_url": "https://github.com/streamlit/streamlit/pull/5991.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5991.patch",
"merged_at": "2023-01-23T05:02:05"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5990 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5990/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5990/comments | https://api.github.com/repos/streamlit/streamlit/issues/5990/events | https://github.com/streamlit/streamlit/pull/5990 | 1,551,368,193 | PR_kwDODCoeTs5IPZfp | 5,990 | Move InteractiveScriptTests to main testing 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 | 2 | 2023-01-20T19:56:02 | 2023-01-27T19:28:17 | 2023-01-27T19:21:52 | COLLABORATOR | null | This allows tests to be written using the new testing API, from an installed streamlit rather than from just in streamlit's local tests dir. I had not noticed this omission when I previously moved classes to the main modules to make them public.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5990/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/5990/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5990",
"html_url": "https://github.com/streamlit/streamlit/pull/5990",
"diff_url": "https://github.com/streamlit/streamlit/pull/5990.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5990.patch",
"merged_at": "2023-01-27T19:21:52"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5989 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5989/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5989/comments | https://api.github.com/repos/streamlit/streamlit/issues/5989/events | https://github.com/streamlit/streamlit/issues/5989 | 1,551,332,885 | I_kwDODCoeTs5cd3YV | 5,989 | Google Search "No results found. π’" | {
"login": "timo-network",
"id": 122181829,
"node_id": "U_kgDOB0hYxQ",
"avatar_url": "https://avatars.githubusercontent.com/u/122181829?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timo-network",
"html_url": "https://github.com/timo-network",
"followers_url": "https://api.github.com/users/timo-network/followers",
"following_url": "https://api.github.com/users/timo-network/following{/other_user}",
"gists_url": "https://api.github.com/users/timo-network/gists{/gist_id}",
"starred_url": "https://api.github.com/users/timo-network/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timo-network/subscriptions",
"organizations_url": "https://api.github.com/users/timo-network/orgs",
"repos_url": "https://api.github.com/users/timo-network/repos",
"events_url": "https://api.github.com/users/timo-network/events{/privacy}",
"received_events_url": "https://api.github.com/users/timo-network/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 | 0 | 2023-01-20T19:21:08 | 2023-01-26T17:38:05 | 2023-01-20T21:08:45 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Everytime on Mac/Linux/Windows try to take a google search, i get the response "No results found. π’".
### 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/5989/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/5989/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5988 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5988/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5988/comments | https://api.github.com/repos/streamlit/streamlit/issues/5988/events | https://github.com/streamlit/streamlit/issues/5988 | 1,551,151,320 | I_kwDODCoeTs5cdLDY | 5,988 | Streamlit Dataframe Disappears When User Clicks Download Button - Dataframe and Download Button Based on Same Dataframe | {
"login": "ZakiaSalod",
"id": 17802823,
"node_id": "MDQ6VXNlcjE3ODAyODIz",
"avatar_url": "https://avatars.githubusercontent.com/u/17802823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZakiaSalod",
"html_url": "https://github.com/ZakiaSalod",
"followers_url": "https://api.github.com/users/ZakiaSalod/followers",
"following_url": "https://api.github.com/users/ZakiaSalod/following{/other_user}",
"gists_url": "https://api.github.com/users/ZakiaSalod/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZakiaSalod/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZakiaSalod/subscriptions",
"organizations_url": "https://api.github.com/users/ZakiaSalod/orgs",
"repos_url": "https://api.github.com/users/ZakiaSalod/repos",
"events_url": "https://api.github.com/users/ZakiaSalod/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZakiaSalod/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 | 1 | 2023-01-20T16:40:51 | 2023-01-20T16:55:11 | 2023-01-20T16:55:10 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Hi everyone.
1. I have an option for the user to upload an input file
2. After input file is uploaded, the user can click on the 'Submit' button to process.
3. After the 'Submit' button is clicked, I have a for loop running through all records in the input file and making the predictions using my machine learning model
4. While (3) is happening, I have a pandas dataframe that is saving the results of the predictions (and the input data) per row
5. After (4) finishes, the dataframe is displayed on screen with results.
6. I also have the 'Download' button where the user can download the results from the same dataframe
7. However, when the user clicks the 'Download' button in (6) above, then the table which displayed on screen in step (5) above disappears. I am unsure why this happens? Please help??
Thanks in advance. Much appreciated.
Kind Regards,
Zakia
### 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/5988/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/5988/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5987 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5987/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5987/comments | https://api.github.com/repos/streamlit/streamlit/issues/5987/events | https://github.com/streamlit/streamlit/issues/5987 | 1,550,737,834 | I_kwDODCoeTs5cbmGq | 5,987 | it is not working | {
"login": "Izzatillakhon",
"id": 87613556,
"node_id": "MDQ6VXNlcjg3NjEzNTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/87613556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Izzatillakhon",
"html_url": "https://github.com/Izzatillakhon",
"followers_url": "https://api.github.com/users/Izzatillakhon/followers",
"following_url": "https://api.github.com/users/Izzatillakhon/following{/other_user}",
"gists_url": "https://api.github.com/users/Izzatillakhon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Izzatillakhon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Izzatillakhon/subscriptions",
"organizations_url": "https://api.github.com/users/Izzatillakhon/orgs",
"repos_url": "https://api.github.com/users/Izzatillakhon/repos",
"events_url": "https://api.github.com/users/Izzatillakhon/events{/privacy}",
"received_events_url": "https://api.github.com/users/Izzatillakhon/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-20T12:00:32 | 2023-01-20T16:23:41 | 2023-01-20T16:23:34 | 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
[ INFO ] The server is currently overloaded with other requests. Sorry about that! You can retry your request.
it gives this error its not working for a week
### 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?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5987/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/5987/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5986 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5986/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5986/comments | https://api.github.com/repos/streamlit/streamlit/issues/5986/events | https://github.com/streamlit/streamlit/pull/5986 | 1,550,610,808 | PR_kwDODCoeTs5IM2tw | 5,986 | Complete form type annotations | {
"login": "harahu",
"id": 6145801,
"node_id": "MDQ6VXNlcjYxNDU4MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6145801?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harahu",
"html_url": "https://github.com/harahu",
"followers_url": "https://api.github.com/users/harahu/followers",
"following_url": "https://api.github.com/users/harahu/following{/other_user}",
"gists_url": "https://api.github.com/users/harahu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harahu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harahu/subscriptions",
"organizations_url": "https://api.github.com/users/harahu/orgs",
"repos_url": "https://api.github.com/users/harahu/repos",
"events_url": "https://api.github.com/users/harahu/events{/privacy}",
"received_events_url": "https://api.github.com/users/harahu/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 | 2023-01-20T10:20:23 | 2023-01-23T20:54:36 | 2023-01-23T20:54:36 | CONTRIBUTOR | null | Add type annotations where missing for the form API. Also modernize existing annotations.
## π Context
- What kind of change does this PR introduce?
- [X] Refactoring
- [X] Other, please describe: Type annotations
---
**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/5986/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/5986/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5986",
"html_url": "https://github.com/streamlit/streamlit/pull/5986",
"diff_url": "https://github.com/streamlit/streamlit/pull/5986.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5986.patch",
"merged_at": "2023-01-23T20:54:36"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5985 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5985/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5985/comments | https://api.github.com/repos/streamlit/streamlit/issues/5985/events | https://github.com/streamlit/streamlit/pull/5985 | 1,550,334,343 | PR_kwDODCoeTs5IL8OC | 5,985 | [WIP] Security Vulnerability Resolutions | {
"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-20T05:42:40 | 2023-01-20T19:55:42 | 2023-01-20T19:55:42 | COLLABORATOR | null | ## π Context
Dependency resolutions to address **most** outstanding Critical & High severity security vulnerabilities
- What kind of change does this PR introduce?
- [x] Other, please describe: **dependency resolutions**
## π§ Description of Changes
**Critical**
- cypress-circleci-reporter (**Removed**) - Addresses [#132](https://github.com/streamlit/streamlit/security/dependabot/132)
- loader-utils to ^2.0.4 - Addresses Critical Severity [#93](https://github.com/streamlit/streamlit/security/dependabot/93), [#94](https://github.com/streamlit/streamlit/security/dependabot/94) and High Severity [#95](https://github.com/streamlit/streamlit/security/dependabot/95), [#96](https://github.com/streamlit/streamlit/security/dependabot/96), [#97](https://github.com/streamlit/streamlit/security/dependabot/97), [#98](https://github.com/streamlit/streamlit/security/dependabot/98)
- ejs to ^3.1.7 - Addresses [#45](https://github.com/streamlit/streamlit/security/dependabot/45)
- json-schema to ^0.4.0 - Addresses [#8](https://github.com/streamlit/streamlit/security/dependabot/8)
- shell-quote to ^1.7.3 - Addresses [#73](https://github.com/streamlit/streamlit/security/dependabot/73)
**High**
- ansi-html to ^0.0.9 - Addresses [#28](https://github.com/streamlit/streamlit/security/dependabot/28)
- ansi-regex to ^5.0.1 - Addresses [#39](https://github.com/streamlit/streamlit/security/dependabot/39), [#40](https://github.com/streamlit/streamlit/security/dependabot/40)
- d3-color to ^3.1.0 - Addresses [#91](https://github.com/streamlit/streamlit/security/dependabot/91)
- json5 to ^2.2.3 - Addresses [#133](https://github.com/streamlit/streamlit/security/dependabot/133)
- minimatch to ^3.1.2 - Addresses [#92](https://github.com/streamlit/streamlit/security/dependabot/92)
- node-forge to ^1.3.1 - Addresses High Severity [#32](https://github.com/streamlit/streamlit/security/dependabot/32) , [#33](https://github.com/streamlit/streamlit/security/dependabot/33) and Moderate Severity [#16](https://github.com/streamlit/streamlit/security/dependabot/16), [#31](https://github.com/streamlit/streamlit/security/dependabot/31)
- async to ^3.2.3 - Addresses [#43](https://github.com/streamlit/streamlit/security/dependabot/43), [#50](https://github.com/streamlit/streamlit/security/dependabot/50)
- terser to ^5.16.1 - Addresses [#83](https://github.com/streamlit/streamlit/security/dependabot/83)
## π References
- [Security Vulnerabilities List](https://github.com/streamlit/streamlit/security/dependabot)
---
**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/5985/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/5985/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5985",
"html_url": "https://github.com/streamlit/streamlit/pull/5985",
"diff_url": "https://github.com/streamlit/streamlit/pull/5985.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5985.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5984 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5984/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5984/comments | https://api.github.com/repos/streamlit/streamlit/issues/5984/events | https://github.com/streamlit/streamlit/pull/5984 | 1,550,143,254 | PR_kwDODCoeTs5ILUKA | 5,984 | Update S3 URL conditional | {
"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-20T00:23:32 | 2023-01-20T08:20:47 | 2023-01-20T08:20:43 | COLLABORATOR | null | ## π Context
PR Preview's `upload-whl` test (particularly the **Set S3 URL as Github status** job) is failing for all forked PRs because it is trying to post the S3 URL that doesn't exist. To satisfy security requirements we don't share our AWS S3 creds (or other secrets) with forks. This PR updates the `upload-whl` test to skip this step if Upload whl to S3 is skipped.
- What kind of change does this PR introduce?
- [x] Refactoring
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5984/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/5984/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5984",
"html_url": "https://github.com/streamlit/streamlit/pull/5984",
"diff_url": "https://github.com/streamlit/streamlit/pull/5984.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5984.patch",
"merged_at": "2023-01-20T08:20:43"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5983 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5983/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5983/comments | https://api.github.com/repos/streamlit/streamlit/issues/5983/events | https://github.com/streamlit/streamlit/pull/5983 | 1,550,111,172 | PR_kwDODCoeTs5ILNg9 | 5,983 | Test websocket reconnect behavior more rigorously | {
"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-19T23:40:39 | 2023-01-20T23:41:36 | 2023-01-20T23:41:33 | COLLABORATOR | null | ## π Context
We're debating whether to slightly defer the merge of #5856 to be more confident that we don't
introduce a low-probability heisenbug with websocket reconnects in a release. If we do choose
to do this, the plan would be to merge the feature branch immediately after the 1.18 cutoff so that
we'd get the additional testing of ~2 weeks of the websocket reconnects e2e test running in the nightly,
along with additional CI runs every time a PR gets merged into `develop`. The release of the feature
branch / bugfix would happen in 1.19.
Whether or not we choose to do this, it'd also be good to make the relevant e2e test a more rigorous
stress test. This PR does this by having the test repeatedly increment a value in session state 5 times
before disconnecting/reconnecting/verifying the value persists. It does this a total of 20 times before
the test ends.
## π§ͺ Testing Done
- [x] Added/Updated e2e tests
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5983/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/5983/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5983",
"html_url": "https://github.com/streamlit/streamlit/pull/5983",
"diff_url": "https://github.com/streamlit/streamlit/pull/5983.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5983.patch",
"merged_at": "2023-01-20T23:41:33"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5982 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5982/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5982/comments | https://api.github.com/repos/streamlit/streamlit/issues/5982/events | https://github.com/streamlit/streamlit/pull/5982 | 1,549,975,281 | PR_kwDODCoeTs5IKw2v | 5,982 | Fix flaky legacy hashing test | {
"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-19T21:36:10 | 2023-01-19T22:10:06 | 2023-01-19T22:10:02 | COLLABORATOR | null | Our legacy `HashTest.test_hash_funcs_acceptable_keys` is flaky. We create two instances of an unhashable type, and hash them with a custom `hash_func` that just uses the Python `id` builtin.
`id` returns an object's unique identifier - two different objects will never share the same `id`. This particular hashing test seems to be failing with some regularity on Python 3.11, which is surprising: I would have expected the test to always fail on _all versions_ of Python (because we're hashing the IDs of two distinct objects).
This PR modifies the test to hash only a single instance of the given unhashable object; the test now passes on Python 3.11. (Why the test passed on earlier versions of Python remains a mystery!) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5982/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/5982/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5982",
"html_url": "https://github.com/streamlit/streamlit/pull/5982",
"diff_url": "https://github.com/streamlit/streamlit/pull/5982.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5982.patch",
"merged_at": "2023-01-19T22:10:02"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5981 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5981/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5981/comments | https://api.github.com/repos/streamlit/streamlit/issues/5981/events | https://github.com/streamlit/streamlit/issues/5981 | 1,549,768,390 | I_kwDODCoeTs5cX5bG | 5,981 | label_visibility = "collapsed" not working as expected | {
"login": "irfan-mekic",
"id": 92335543,
"node_id": "U_kgDOBYDttw",
"avatar_url": "https://avatars.githubusercontent.com/u/92335543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/irfan-mekic",
"html_url": "https://github.com/irfan-mekic",
"followers_url": "https://api.github.com/users/irfan-mekic/followers",
"following_url": "https://api.github.com/users/irfan-mekic/following{/other_user}",
"gists_url": "https://api.github.com/users/irfan-mekic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/irfan-mekic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/irfan-mekic/subscriptions",
"organizations_url": "https://api.github.com/users/irfan-mekic/orgs",
"repos_url": "https://api.github.com/users/irfan-mekic/repos",
"events_url": "https://api.github.com/users/irfan-mekic/events{/privacy}",
"received_events_url": "https://api.github.com/users/irfan-mekic/received_events",
"type": "User",
"site_admin": false
} | [
{
"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"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
},
{
"id": 2856044535,
"node_id": "MDU6TGFiZWwyODU2MDQ0NTM1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce",
"name": "status:cannot-reproduce",
"color": "FEF2C0",
"default": false,
"description": "The Streamlit team is unable to reproduce the described behavior"
}
] | closed | false | null | [] | null | 2 | 2023-01-19T18:58:32 | 2023-01-20T14:16:36 | 2023-01-20T14:16:36 | 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 attempting to use state session with the label_visibility parameter to hide/show widgets. However, the only widget type where the actual widget is hidden is a selectbox. For radio and multiselect, it still shows the widgets, just not the labels, but still has the widgets available for view
### Reproducible Code Example
```Python
movie_choice = st.multiselect(label = "Please select the movies of interest", options = update_title_options("Current",forecast_choice,window_choice,domestic_window_dict), label_visibility = "collapsed")
```
### Steps To Reproduce
_No response_
### Expected Behavior
Entire widget (+ its label) are hidden, unless the state is changed
### Current Behavior
Only the label gets hidden, even with label_visibility set to "collapsed"
### 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/5981/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/5981/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5980 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5980/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5980/comments | https://api.github.com/repos/streamlit/streamlit/issues/5980/events | https://github.com/streamlit/streamlit/pull/5980 | 1,549,635,338 | PR_kwDODCoeTs5IJmbr | 5,980 | Cache docs URL; updated docstrings | {
"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-19T17:38:18 | 2023-01-19T23:19:45 | 2023-01-19T23:19:43 | COLLABORATOR | null | - Replace our placeholder `CACHE_DOCS_URL` with the proper URL
- Update `cache_data` and `cache_resource` docstrings, per product
- `cache_data`: swap the order of the `show_spinner` + `persist` kwargs, per product | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5980/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/5980/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5980",
"html_url": "https://github.com/streamlit/streamlit/pull/5980",
"diff_url": "https://github.com/streamlit/streamlit/pull/5980.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5980.patch",
"merged_at": "2023-01-19T23:19:42"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5979 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5979/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5979/comments | https://api.github.com/repos/streamlit/streamlit/issues/5979/events | https://github.com/streamlit/streamlit/pull/5979 | 1,549,631,942 | PR_kwDODCoeTs5IJluL | 5,979 | Do not show keyboard on `st.selectbox` on mobile if `options < 10` | {
"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 | 1 | 2023-01-19T17:36:23 | 2023-01-20T19:09:11 | 2023-01-20T19:09:10 | CONTRIBUTOR | null | ## π Context
This PR enhances the UX of `st.selectbox` and `st.multiselect` on mobile by hiding the keyboard if you have few options. It was suggested by @jrieke [here](https://www.notion.so/streamlit/st-selectbox-Don-t-open-keyboard-on-mobile-4be50e3378c1429dac53f5768513fe46).
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
* Update the `readonly` prop in the `Input` field for the `<UISelect>` component, based on:
* a. Whether or not the device accessing the app is a mobile device;
* b. Whether or not the selectbox options are more than 10.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
_Hard to see on screenshots since keyboard is not present, but doing my best!_
![Screenshot 2023-01-19 at 1 27 05 PM](https://user-images.githubusercontent.com/103376966/213517314-db5eea4e-a550-4706-b915-c03637782433.png)
![Screenshot 2023-01-19 at 1 26 15 PM](https://user-images.githubusercontent.com/103376966/213517324-08325f1b-5c33-4a33-96e4-6dc209232f5a.png)
_Here's an example overriding the native component in Baseweb's site_
![WhatsApp Image 2023-01-19 at 14 39 39](https://user-images.githubusercontent.com/103376966/213519740-3db92687-272d-4d92-aecd-8e47647bd25e.jpeg)
**Current:**
![Screenshot 2023-01-19 at 2 34 19 PM](https://user-images.githubusercontent.com/103376966/213518421-1aa30e98-073b-4e19-9040-c192e0335093.png)
_Here's an example of how it currently works, regardless of the # of options_
![WhatsApp Image 2023-01-19 at 14 45 12](https://user-images.githubusercontent.com/103376966/213521394-c07f1033-cbfc-456e-9792-77b5b7baf422.jpeg)
## π§ͺ Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- https://www.notion.so/streamlit/st-selectbox-Don-t-open-keyboard-on-mobile-4be50e3378c1429dac53f5768513fe46 (see comments)
---
**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/5979/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/5979/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5979",
"html_url": "https://github.com/streamlit/streamlit/pull/5979",
"diff_url": "https://github.com/streamlit/streamlit/pull/5979.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5979.patch",
"merged_at": "2023-01-20T19:09:10"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5978 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5978/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5978/comments | https://api.github.com/repos/streamlit/streamlit/issues/5978/events | https://github.com/streamlit/streamlit/pull/5978 | 1,548,828,886 | PR_kwDODCoeTs5IG1_P | 5,978 | Add docs for unsupported Markdown in element labels | {
"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 | 2 | 2023-01-19T09:51:44 | 2023-01-20T22:51:49 | 2023-01-20T14:58:24 | MEMBER | null | ## π Context
To display unsupported Markdown elements as literal characters in widget labels, they need to be backslash-escaped, which is what this PR documents.
#5668 added docs for the label Markdown feature. That PR however did not document the behavior of `label` when passed unsupported Markdown elements such as blockquotes, un/ordered lists, etc. Unsupported elements are not rendered on the frontend. This undocumented behavior can be confusing to users who want to display literal characters that get interpreted as Markdown.
E.g. Users may want to use `>` as the label for `st.button`. Passing `label=">"` results in no label being displayed, as the `>` is interpreted as Markdown's blockquote character. The solution is to backslash escape: `label="\>"`.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Doc improvment request
## π§ Description of Changes
- Updates the docstring of the `label` param in elements that support it to include:
> Unsupported elements are not displayed. Display unsupported elements as literal characters by backslash-escaping them. E.g. ``1\. Not an ordered list``.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
![image](https://user-images.githubusercontent.com/20672874/213410027-ad7fc4d8-8b37-4f94-bdc7-3dddda0c06df.png)
**Current:**
![image](https://user-images.githubusercontent.com/20672874/213410168-ca819d77-4e23-442c-91c1-42237137a91a.png)
## π§ͺ Testing Done
- [x] Screenshots included
Note to reviewers: This PR neither adds nor updates any tests as the changes are mere refactoring of docstrings.
## π References
- **Issue**: Closes #5976, #5968, #5937, #5931
---
**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/5978/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/5978/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5978",
"html_url": "https://github.com/streamlit/streamlit/pull/5978",
"diff_url": "https://github.com/streamlit/streamlit/pull/5978.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5978.patch",
"merged_at": "2023-01-20T14:58:24"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5977 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5977/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5977/comments | https://api.github.com/repos/streamlit/streamlit/issues/5977/events | https://github.com/streamlit/streamlit/issues/5977 | 1,548,771,951 | I_kwDODCoeTs5cUGJv | 5,977 | st.dataframe(df.style.hide(axis="index")) not working | {
"login": "rafalsza",
"id": 59625640,
"node_id": "MDQ6VXNlcjU5NjI1NjQw",
"avatar_url": "https://avatars.githubusercontent.com/u/59625640?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafalsza",
"html_url": "https://github.com/rafalsza",
"followers_url": "https://api.github.com/users/rafalsza/followers",
"following_url": "https://api.github.com/users/rafalsza/following{/other_user}",
"gists_url": "https://api.github.com/users/rafalsza/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rafalsza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rafalsza/subscriptions",
"organizations_url": "https://api.github.com/users/rafalsza/orgs",
"repos_url": "https://api.github.com/users/rafalsza/repos",
"events_url": "https://api.github.com/users/rafalsza/events{/privacy}",
"received_events_url": "https://api.github.com/users/rafalsza/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 | 2 | 2023-01-19T09:14:13 | 2023-01-20T17:38:02 | 2023-01-20T17:38:01 | 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
st.dataframe(df.style.hide(axis="index")) not working. Still displaying index values
![image](https://user-images.githubusercontent.com/59625640/213402128-c67b811e-d34b-482e-905d-1e4be21e41bd.png)
### Reproducible Code Example
```Python
import streamlit as st
import numpy as np
import pandas as pd
import time
# read csv from a github repo
df = pd.read_csv(
"https://raw.githubusercontent.com/Lexie88rus/bank-marketing-analysis/master/bank.csv"
)
st.set_page_config(
page_title="Real-Time Data Science Dashboard", page_icon="β
", layout="wide"
)
# dashboard title
st.title("Real-Time / Live Data Science Dashboard")
# top-level filters
job_filter = st.selectbox("Select the Job", pd.unique(df["job"]))
# creating a single-element container.
placeholder = st.empty()
# dataframe filter
df = df[df["job"] == job_filter]
# near real-time / live feed simulation
for seconds in range(200):
# while True:
df["age_new"] = df["age"] * np.random.choice(range(1, 5))
df["balance_new"] = df["balance"] * np.random.choice(range(1, 5))
# creating KPIs
avg_age = np.mean(df["age_new"])
count_married = int(
df[(df["marital"] == "married")]["marital"].count()
+ np.random.choice(range(1, 30))
)
balance = np.mean(df["balance_new"])
with placeholder.container():
st.markdown("### Detailed Data View")
st.dataframe(
df.style.hide(axis="index"),
use_container_width=True,
)
time.sleep(1)
```
### 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:1.17.0
- Python version:3.10.9
- Operating System:Windows 10
- Browser:Firefox
- 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/5977/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/5977/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5976 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5976/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5976/comments | https://api.github.com/repos/streamlit/streamlit/issues/5976/events | https://github.com/streamlit/streamlit/issues/5976 | 1,548,489,326 | I_kwDODCoeTs5cTBJu | 5,976 | Label of text_input displays blank if text has ')' in the initial characters | {
"login": "shakamoushie",
"id": 88389632,
"node_id": "MDQ6VXNlcjg4Mzg5NjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/88389632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shakamoushie",
"html_url": "https://github.com/shakamoushie",
"followers_url": "https://api.github.com/users/shakamoushie/followers",
"following_url": "https://api.github.com/users/shakamoushie/following{/other_user}",
"gists_url": "https://api.github.com/users/shakamoushie/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shakamoushie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shakamoushie/subscriptions",
"organizations_url": "https://api.github.com/users/shakamoushie/orgs",
"repos_url": "https://api.github.com/users/shakamoushie/repos",
"events_url": "https://api.github.com/users/shakamoushie/events{/privacy}",
"received_events_url": "https://api.github.com/users/shakamoushie/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 | 1 | 2023-01-19T04:17:28 | 2023-01-20T17:30:59 | 2023-01-20T14:58:25 | 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 ')' is one of the initial characters in a text_input widget, the label does not display; however, if the same ')' exsits later within the label, it displays correctly.
In the Reproducible Code Example below:
1. The 1st text_input widget displays correctly, as it does not contain any ')'
2. The 2nd text_input widget does not display because it has the ')' character in position 2 of the label
3. The 3rd text_input widget displays correctly, even though it has the ')' character at the end of the label
### Reproducible Code Example
```Python
import streamlit as st
sc1, sc2, sc3 = st.columns(3)
lbltxt1 = "1 Procedure followed"
lbltxt2 = "1) Procedure followed"
lbltxt3 = "1 Procedure followed (all steps)"
sc1.text_input(label=lbltxt1, key='t1')
sc2.text_input(label=lbltxt2, key='t2')
sc3.text_input(label=lbltxt3, key='t3')
```
### Steps To Reproduce
N/a
### Expected Behavior
N/a
### Current Behavior
N/a
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.9.5
- Operating System: Windows 10
- Browser: Tried on Edge & Brave
- Virtual environment:
### Additional Information
![t1](https://user-images.githubusercontent.com/88389632/213353881-12f93d26-873b-44bb-b033-14cb927adf2a.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/5976/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/5976/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5975 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5975/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5975/comments | https://api.github.com/repos/streamlit/streamlit/issues/5975/events | https://github.com/streamlit/streamlit/pull/5975 | 1,548,461,063 | PR_kwDODCoeTs5IFnHh | 5,975 | SNOW-667402:Semgrep workflow update | {
"login": "sfc-gh-hpathak",
"id": 107440349,
"node_id": "U_kgDOBmdo3Q",
"avatar_url": "https://avatars.githubusercontent.com/u/107440349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-hpathak",
"html_url": "https://github.com/sfc-gh-hpathak",
"followers_url": "https://api.github.com/users/sfc-gh-hpathak/followers",
"following_url": "https://api.github.com/users/sfc-gh-hpathak/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-hpathak/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-hpathak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-hpathak/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-hpathak/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-hpathak/repos",
"events_url": "https://api.github.com/users/sfc-gh-hpathak/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-hpathak/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-19T03:31:28 | 2023-01-19T23:05:00 | 2023-01-19T21:56:11 | COLLABORATOR | null | SNOW-667402:Security Update.
This PR creates/updates the Semgrep static analysis workflow. Local semgrep rules have been deleted. If your repo had a semgrep stage in the Jenkinsfile, we attempted to delete it. Please review changes and merge them as soon as possible.
[Announcement](https://snowflake.slack.com/archives/C02BTC3HY/p1661797484408489) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5975/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/5975/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5975",
"html_url": "https://github.com/streamlit/streamlit/pull/5975",
"diff_url": "https://github.com/streamlit/streamlit/pull/5975.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5975.patch",
"merged_at": "2023-01-19T21:56:11"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5974 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5974/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5974/comments | https://api.github.com/repos/streamlit/streamlit/issues/5974/events | https://github.com/streamlit/streamlit/pull/5974 | 1,538,645,841 | PR_kwDODCoeTs5HqQjl | 5,974 | Update FE dep major versions - 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 | 1 | 2023-01-18T20:12:15 | 2023-01-20T19:27:54 | 2023-01-20T19:27:48 | COLLABORATOR | null | ## π Context
Updating & deduplicating some major versions of dependencies:
- What kind of change does this PR introduce?
- [x] Other - **dependency update/dedup**
## π§ Description of Changes
**Dependencies:**
- protobufjs to **7.1.2** (Added `protobufjs-cli` v1.0.2, since command line functionality was separated)
- @wojtekmaj/enzyme-adapter-react-17 to **0.8.0**
Mapbox dependencies are only being updated to their most recent minor/patch versions - this is because as of version 2.0.0 the package is no longer under the 3-Clause BSD license:
- mapbox-gl to **1.13.2**
- react-map-gl to **5.3.21**
- @types/react-map-gl to **5.2.11**
---
**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/5974/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/5974/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5974",
"html_url": "https://github.com/streamlit/streamlit/pull/5974",
"diff_url": "https://github.com/streamlit/streamlit/pull/5974.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5974.patch",
"merged_at": "2023-01-20T19:27:48"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5973 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5973/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5973/comments | https://api.github.com/repos/streamlit/streamlit/issues/5973/events | https://github.com/streamlit/streamlit/pull/5973 | 1,538,399,028 | PR_kwDODCoeTs5HpZjr | 5,973 | Selectbox wrapper class implementation for 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-18T17:34:15 | 2023-01-26T13:47:21 | 2023-01-26T13:47:21 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
This PR implements class for interactions with Selectbox widget via testing framework
This implementation contains problems connected to the fact, that we send `options` via proto after apply `format_func`, and the state uses a row option list.
I tried to illustrate that problems on the example of Multiselect widget (has same `format_func` behavior) in [this PR](https://github.com/streamlit/streamlit/pull/6000):
- 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/5973/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/5973/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5973",
"html_url": "https://github.com/streamlit/streamlit/pull/5973",
"diff_url": "https://github.com/streamlit/streamlit/pull/5973.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5973.patch",
"merged_at": "2023-01-26T13:47:21"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5972 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5972/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5972/comments | https://api.github.com/repos/streamlit/streamlit/issues/5972/events | https://github.com/streamlit/streamlit/pull/5972 | 1,538,363,536 | PR_kwDODCoeTs5HpR8f | 5,972 | [DEPRECATED] New data editor component | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 4 | 2023-01-18T17:06:09 | 2023-01-27T18:50:02 | 2023-01-27T18:50:01 | COLLABORATOR | null | DEPRECATED: New PR: https://github.com/streamlit/streamlit/pull/6022
## π Context
The `data_editor` widget allows the user to edit DataFrames and many other data structures in a table-like UI.
The frontend implementation is a full refactoring of the `dataframe` component and is shared by `st.dataframe` and `st.data_editor`. Thereby, it also comes with various other small improvements and fixes for `st.dataframe` as well.
- What kind of change does this PR introduce?
- [x] Feature
## π§ Description of Changes
Overview of frontend code:
- `columns`: *Contains implementation for every supported column type*
- `utils`: *Contains various utility functions used within the column implementations.*
- `TextColumn`: *rendering & editing of text values.*
- `ObjectColumn`: *fallback for data types that are currently not supported for editing.*
- `NumberColumn`: *rendering and editing support for numbers. This supports float, integer, and unsigned integer types.*
- `BooleanColumn`: *rendering and editing for boolean values by using checkboxes.*
- `CategoricalColumn`: *rendering and editing for categorical values by using a dropdown.*
- `ListColumn` *(read-only)*: *rendering for array/list values.*
- `UrlColumn`: *rendering and editing of string values as clickable hyperlinks.*
- `ChartColumn` *(read-only)*: *rendering the cell value as a bar or line chart.*
- `ImageColumn` *(read-only)*: *renders an image as a cell value. On cell selection, open the cell overlay with a full version of the image.*
- `RangeColumn` (read-only): *rendering values that have a defined range. This is rendered via a progress-bar-like visualization.*
- `hooks`: *Contains all custom hooks used by the DataEditor component.*
- `useCustomTheme`: *Creates a glide-data-grid compatible theme based on the Streamlit theme.*
- `useDataLoader`: *Handles all data loading capabilities. This mainly refers to loading cells from the Arrow table and the editing state. It also includes the logic to load & configure columns.*
- `useColumnSort`: *Handles the sorting of columns.*
- `useDataEditor`: *Handles all aspects related to data editing. This includes editing cells, pasting from the clipboard, and appending & deleting rows.*
- `useColumnSizer`: *Manages all column resizing capabilities.*
- `useTableSizer`: M*anages all aspects related to the size of the table. E.g. calculates initial size, reacts to fullscreen, handles drag & drop resizing.*
- `DataFrame.tsx`: *The react component.*
- `EditingState`: *Keeps track of all table edits applied by the user. This includes cell edits, row addition, and row deletions.*
- `arrowUtils.ts`: *Various functions to interact with the Arrow table (managed by `Quiver.ts`). This includes loading data from Arrow and extracting styling properties from Pandas Styler CSS.*
**Data flow:**
Data from backend to frontend:
1. `st.experimental_data_editor`
2. [convert_anything_to_df](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/type_util.py#L482) (convert to Dataframe)
3. [marshall](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/elements/arrow.py#L115) (converts to Arrow)
4. Frontend: [DataFrame.tsx](https://github.com/LukasMasuch/streamlit/blob/feature/dataframe-refactoring-part2/frontend/src/components/widgets/DataFrame/DataFrame.tsx)
5. [useDataLoader](https://github.com/LukasMasuch/streamlit/blob/feature/dataframe-refactoring-part2/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts) (creates column instances & glide-data-grid compatible callback to access cells based on cell/row position)
Load single cells from Arrow data (frontend):
1. Glide-data-grid calls [getCellContent](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts#L252) for all visible cells
2. check if cell was edited
-> if yes [return edited cell](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts#L274)
-> if no, [get cell from Arrow table](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataLoader.ts#L285)
3. [Calls `getCell` from the respective column instance ](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/arrowUtils.ts#L330)to get a glide-data-grid compatible cell based on the cell value from the Arrow table.
Edits from frontend to backend:
1. [onCellEdited](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L69) / [onPaste](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L170) / [onRowAppended](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L104) / [onDelete](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/hooks/useDataEditor.ts#L113)
4. [applyEdits](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/DataFrame.tsx#L202)
5. [EditingState.toJson](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/EditingState.ts#L50) ([calls `getCellValue` on respective column instance](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/frontend/src/components/widgets/DataFrame/EditingState.ts#L69) on all edited cells to get raw value)
6. widgetMgr.setStringValue (sends a BackMsg with widget state & rerun request)
7. Backend: [_apply_dataframe_edits](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/elements/data_editor.py#L336) (applies the editing state on the input data)
8. [convert_df_to_data_format](https://github.com/LukasMasuch/streamlit/blob/76749b1debdccbafcab68f50ce1b5e7b0271ae34/lib/streamlit/type_util.py#L849) (converts the dataframe back to the original format)
## π§ͺ Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [x] Added/Updated e2e tests
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5972/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5972/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5972",
"html_url": "https://github.com/streamlit/streamlit/pull/5972",
"diff_url": "https://github.com/streamlit/streamlit/pull/5972.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5972.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5971 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5971/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5971/comments | https://api.github.com/repos/streamlit/streamlit/issues/5971/events | https://github.com/streamlit/streamlit/pull/5971 | 1,538,246,597 | PR_kwDODCoeTs5Ho4oQ | 5,971 | Add fonts-noto-color-emoji to e2e/Dockerfile | {
"login": "sfc-gh-kbregula",
"id": 78743291,
"node_id": "MDQ6VXNlcjc4NzQzMjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-kbregula",
"html_url": "https://github.com/sfc-gh-kbregula",
"followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers",
"following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos",
"events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-01-18T15:52:09 | 2023-01-20T16:14:04 | 2023-01-20T16:14:04 | 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 needed to display emotes in our local E2E tests.
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [X] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] 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/5971/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/5971/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5971",
"html_url": "https://github.com/streamlit/streamlit/pull/5971",
"diff_url": "https://github.com/streamlit/streamlit/pull/5971.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5971.patch",
"merged_at": "2023-01-20T16:14:04"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5970 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5970/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5970/comments | https://api.github.com/repos/streamlit/streamlit/issues/5970/events | https://github.com/streamlit/streamlit/pull/5970 | 1,538,027,728 | PR_kwDODCoeTs5HoJLM | 5,970 | DRAFT WIP SPEC Add support for st.modal | {
"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": 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": 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 | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2023-01-18T13:44:17 | 2023-02-14T22:36:02 | null | 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?
This is DRAFT WIP PR to support writing spec fot `st.modal`, it provides some examples how can we implement `st.modal`
- [ ] 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/5970/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/5970/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5970",
"html_url": "https://github.com/streamlit/streamlit/pull/5970",
"diff_url": "https://github.com/streamlit/streamlit/pull/5970.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5970.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5969 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5969/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5969/comments | https://api.github.com/repos/streamlit/streamlit/issues/5969/events | https://github.com/streamlit/streamlit/pull/5969 | 1,536,316,683 | PR_kwDODCoeTs5Hiejl | 5,969 | Add SSL support | {
"login": "sfc-gh-kbregula",
"id": 78743291,
"node_id": "MDQ6VXNlcjc4NzQzMjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-kbregula",
"html_url": "https://github.com/sfc-gh-kbregula",
"followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers",
"following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos",
"events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 0 | 2023-01-17T12:40:52 | 2023-02-07T06:10:56 | null | 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
Close: https://github.com/streamlit/streamlit/issues/313
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [X] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## π§ͺ Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5969/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5969/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5969",
"html_url": "https://github.com/streamlit/streamlit/pull/5969",
"diff_url": "https://github.com/streamlit/streamlit/pull/5969.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5969.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5968 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5968/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5968/comments | https://api.github.com/repos/streamlit/streamlit/issues/5968/events | https://github.com/streamlit/streamlit/issues/5968 | 1,536,272,283 | I_kwDODCoeTs5bkaeb | 5,968 | Using a ":" in a string within a streamlit element or st.write block results in unexpected behaviour | {
"login": "mkleinbort-ic",
"id": 112868935,
"node_id": "U_kgDOBro-Rw",
"avatar_url": "https://avatars.githubusercontent.com/u/112868935?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mkleinbort-ic",
"html_url": "https://github.com/mkleinbort-ic",
"followers_url": "https://api.github.com/users/mkleinbort-ic/followers",
"following_url": "https://api.github.com/users/mkleinbort-ic/following{/other_user}",
"gists_url": "https://api.github.com/users/mkleinbort-ic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mkleinbort-ic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mkleinbort-ic/subscriptions",
"organizations_url": "https://api.github.com/users/mkleinbort-ic/orgs",
"repos_url": "https://api.github.com/users/mkleinbort-ic/repos",
"events_url": "https://api.github.com/users/mkleinbort-ic/events{/privacy}",
"received_events_url": "https://api.github.com/users/mkleinbort-ic/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": 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 | 1 | 2023-01-17T12:07:12 | 2023-01-20T17:20:35 | 2023-01-20T14:58:27 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Consider the following app:
```python
import streamlit as st
st.title('Hello:World')
st.write('Hello:World')
```
It results in a website that looks like:
```python
import streamlit as st
st.title('Hello')
st.write('Hello')
```
For some reason the ":World" is not shown.
This is specific to the usage of `:`
### Reproducible Code Example
```Python
import streamlit as st
st.title('Hello:World')
st.write('Hello:World')
```
### Steps To Reproduce
Note that ":World" is not shown
### Expected Behavior
The ":" is a fairly common character - it should behave as a normal character.
### Current Behavior
_No response_
### 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.7
- Operating System: Windows
- Browser: Chrome
- Virtual environment: (very big)
### 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/5968/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/5968/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5967 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5967/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5967/comments | https://api.github.com/repos/streamlit/streamlit/issues/5967/events | https://github.com/streamlit/streamlit/pull/5967 | 1,535,759,463 | PR_kwDODCoeTs5Hgnsg | 5,967 | FE Dependencies - more minor/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 | 2023-01-17T04:26:12 | 2023-01-17T20:24:13 | 2023-01-17T20:24:09 | COLLABORATOR | null | ## π Context
Updating & deduplicating more minor/patch dependencies.
- What kind of change does this PR introduce?
- [x] Other: **dependency update/dedup**
## π§ Description of Changes
**Minors:**
eslint-plugin-import to **2.27.5**
eslint-plugin-jsx-a11y to **6.7.1**
eslint-plugin-react to **7.32.1**
**Patches:**
deck.gl to **8.8.22**
@deck.gl/core to **8.8.22**
@deck.gl/json to **8.8.22**
plotly.js to **2.17.1**
@typescript-eslint/eslint-plugin to **5.48.2**
@typescript-eslint/parser to **5.48.2**
prettier to **2.8.3**
immer to **9.0.18**
marked to **4.2.12**
serialize-javascript to **6.0.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/5967/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/5967/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5967",
"html_url": "https://github.com/streamlit/streamlit/pull/5967",
"diff_url": "https://github.com/streamlit/streamlit/pull/5967.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5967.patch",
"merged_at": "2023-01-17T20:24:09"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5966 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5966/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5966/comments | https://api.github.com/repos/streamlit/streamlit/issues/5966/events | https://github.com/streamlit/streamlit/issues/5966 | 1,535,680,225 | I_kwDODCoeTs5biJ7h | 5,966 | st.dataframe use_container_width=True does not work inside a st.expander | {
"login": "Pdsantos73",
"id": 62434032,
"node_id": "MDQ6VXNlcjYyNDM0MDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/62434032?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pdsantos73",
"html_url": "https://github.com/Pdsantos73",
"followers_url": "https://api.github.com/users/Pdsantos73/followers",
"following_url": "https://api.github.com/users/Pdsantos73/following{/other_user}",
"gists_url": "https://api.github.com/users/Pdsantos73/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Pdsantos73/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Pdsantos73/subscriptions",
"organizations_url": "https://api.github.com/users/Pdsantos73/orgs",
"repos_url": "https://api.github.com/users/Pdsantos73/repos",
"events_url": "https://api.github.com/users/Pdsantos73/events{/privacy}",
"received_events_url": "https://api.github.com/users/Pdsantos73/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
},
{
"id": 2856044535,
"node_id": "MDU6TGFiZWwyODU2MDQ0NTM1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce",
"name": "status:cannot-reproduce",
"color": "FEF2C0",
"default": false,
"description": "The Streamlit team is unable to reproduce the described behavior"
}
] | closed | false | null | [] | null | 3 | 2023-01-17T02:08:42 | 2023-01-20T19:01:08 | 2023-01-20T19:01: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.
- [ ] I have provided sufficient information below to help reproduce this issue.
### Summary
when I collapse the sidebar all objects are scaled except the st.dataframe.
### Reproducible Code Example
```Python
with st.expander("Phrase Accuracy Level by Conversation", expanded=True):
txt_phrase = st.text_input("Phrases:")
query_conid = df_transc.query(f"conversation_id == '{cb_conversation_id}'")
if txt_phrase:
query_conid.query(f'phrase.str.contains("{txt_phrase}")', inplace=True)
if options_type:
query_conid.query('participant_type in @options_type', inplace=True)
if cb_transcript_id:
query_conid.query('transcript_id in @cb_transcript_id', inplace=True)
total_rows = len(query_conid.index)
if not total_rows:
st.info(f'"**{txt_phrase}**" not found')
else:
st.dataframe(query_conid, use_container_width=True)
st.caption(f"{total_rows} record(s) found...")
fig = px.line(query_conid,
y=query_conid["confidence_phrase"],
x=query_conid["phrase_id"],
color=query_conid["participant_type"],
hover_data=["phrase"],
text="confidence_phrase",
#markers=True,
#log_x=True,
title='Acurancy Transcription')
fig.update_traces(textposition="bottom right")
st.plotly_chart(fig, theme="streamlit", use_container_width=True, config= {'displaylogo': False})
```
### Steps To Reproduce
with st.expander("Phrase Accuracy Level by Conversation", expanded=True):
txt_phrase = st.text_input("Phrases:")
query_conid = df_transc.query(f"conversation_id == '{cb_conversation_id}'")
if txt_phrase:
query_conid.query(f'phrase.str.contains("{txt_phrase}")', inplace=True)
if options_type:
query_conid.query('participant_type in @options_type', inplace=True)
if cb_transcript_id:
query_conid.query('transcript_id in @cb_transcript_id', inplace=True)
total_rows = len(query_conid.index)
if not total_rows:
st.info(f'"**{txt_phrase}**" not found')
else:
st.dataframe(query_conid, use_container_width=True)
st.caption(f"{total_rows} record(s) found...")
fig = px.line(query_conid,
y=query_conid["confidence_phrase"],
x=query_conid["phrase_id"],
color=query_conid["participant_type"],
hover_data=["phrase"],
text="confidence_phrase",
#markers=True,
#log_x=True,
title='Acurancy Transcription')
fig.update_traces(textposition="bottom right")
#
st.plotly_chart(fig, theme="streamlit", use_container_width=True, config= {'displaylogo': False})
### Expected Behavior
When collapsing the sidebar, the st.expander expands, occupying more space on the page.
Hope st.dataframe width expands according to st.expander
### Current Behavior
![image](https://user-images.githubusercontent.com/62434032/212793568-c4984615-c436-4030-acc8-10240029c802.png)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: version 1.17.0
- Python version: Python 3.10.4
- Operating System:
- Browser: Version 109.0.5414.74 (Official Build) (64-bit)
- Virtual environment: no WIN 11 - version 21H2
### 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/5966/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/5966/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5965 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5965/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5965/comments | https://api.github.com/repos/streamlit/streamlit/issues/5965/events | https://github.com/streamlit/streamlit/issues/5965 | 1,535,464,181 | I_kwDODCoeTs5bhVL1 | 5,965 | Allow Streamlit to use external cache's like redis or memcached to store the cached data | {
"login": "rharneja",
"id": 91822377,
"node_id": "U_kgDOBXkZKQ",
"avatar_url": "https://avatars.githubusercontent.com/u/91822377?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rharneja",
"html_url": "https://github.com/rharneja",
"followers_url": "https://api.github.com/users/rharneja/followers",
"following_url": "https://api.github.com/users/rharneja/following{/other_user}",
"gists_url": "https://api.github.com/users/rharneja/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rharneja/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rharneja/subscriptions",
"organizations_url": "https://api.github.com/users/rharneja/orgs",
"repos_url": "https://api.github.com/users/rharneja/repos",
"events_url": "https://api.github.com/users/rharneja/events{/privacy}",
"received_events_url": "https://api.github.com/users/rharneja/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-16T20:42:20 | 2023-01-18T22:26:34 | 2023-01-18T22:26:34 | 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 deploying apps on Kubernetes, each pod is having their own cache. In a scenario where the apps needs to be scaled up by increasing the pods, the cached results are not shared between the pods.
### Solution
It would be great if we can specify an external cache , so that the apps can be scaled in a true stateless manner.
### 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/5965/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/5965/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5964 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5964/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5964/comments | https://api.github.com/repos/streamlit/streamlit/issues/5964/events | https://github.com/streamlit/streamlit/issues/5964 | 1,535,305,592 | I_kwDODCoeTs5bgud4 | 5,964 | Cannot cache modin dask dataframe | {
"login": "amritap-ef",
"id": 91881411,
"node_id": "U_kgDOBXn_ww",
"avatar_url": "https://avatars.githubusercontent.com/u/91881411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amritap-ef",
"html_url": "https://github.com/amritap-ef",
"followers_url": "https://api.github.com/users/amritap-ef/followers",
"following_url": "https://api.github.com/users/amritap-ef/following{/other_user}",
"gists_url": "https://api.github.com/users/amritap-ef/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amritap-ef/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amritap-ef/subscriptions",
"organizations_url": "https://api.github.com/users/amritap-ef/orgs",
"repos_url": "https://api.github.com/users/amritap-ef/repos",
"events_url": "https://api.github.com/users/amritap-ef/events{/privacy}",
"received_events_url": "https://api.github.com/users/amritap-ef/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": 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"
}
] | open | false | null | [] | null | 1 | 2023-01-16T17:57:44 | 2023-01-18T22:32:12 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I'm getting this error when trying to use st.experimental_memo caching on a function with a modin dask dataframe as one of the arguments:
```
UnhashableParamError: Cannot hash argument 'df' (of type modin.pandas.dataframe.DataFrame) in 'filter_df_by_market'.
To address this, you can tell Streamlit not to hash this argument by adding a leading underscore to the argument's name in the function signature:
```
Is my only option to not hash this argument?
### Reproducible Code Example
```Python
import modin.pandas as pd
import modin.config as cfg
cfg.Engine.put("dask")
import streamline as st
df = pd.read_csv("path/to/file")
@st.experimental_memo()
def filter_df_by_market(df: pd.DataFrame):
...code stuff here
return df
st.info("Test app")
df = filter_df_by_market(df)
```
### Steps To Reproduce
1. Replace path/to/file with your own file path to a csv file
2. Run the code in streamlit
### Expected Behavior
Streamlit handles modin dataframe and converts to pandas dataframe if needed to hash
### Current Behavior
Error message:
UnhashableParamError: Cannot hash argument 'df' (of type modin.pandas.dataframe.DataFrame) in 'filter_df_by_market'.
To address this, you can tell Streamlit not to hash this argument by adding a leading underscore to the argument's name in the function signature:
### 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
NA
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5964/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/5964/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5963 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5963/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5963/comments | https://api.github.com/repos/streamlit/streamlit/issues/5963/events | https://github.com/streamlit/streamlit/pull/5963 | 1,534,012,087 | PR_kwDODCoeTs5HavSx | 5,963 | added setdefault override to session state proxy | {
"login": "CodeDoes",
"id": 20872701,
"node_id": "MDQ6VXNlcjIwODcyNzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/20872701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CodeDoes",
"html_url": "https://github.com/CodeDoes",
"followers_url": "https://api.github.com/users/CodeDoes/followers",
"following_url": "https://api.github.com/users/CodeDoes/following{/other_user}",
"gists_url": "https://api.github.com/users/CodeDoes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/CodeDoes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CodeDoes/subscriptions",
"organizations_url": "https://api.github.com/users/CodeDoes/orgs",
"repos_url": "https://api.github.com/users/CodeDoes/repos",
"events_url": "https://api.github.com/users/CodeDoes/events{/privacy}",
"received_events_url": "https://api.github.com/users/CodeDoes/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 | 3 | 2023-01-15T21:33:50 | 2023-02-11T03:34:00 | 2023-02-11T03:34:00 | NONE | null | ## π Context
setdefault is coming up as a completion in vscode so I'm guessing it exists, but it isn't implemented correctly causing the value not to be set. Hopefully this works.
- Bugfix, keeps in line dictionary behaviour
## π§ Description of Changes
- impletements setdefault on session state proxy
- [x] This is a visible (user-facing) change
**Current:**
```python
def setdefault(self,key,default):
if key not in self:
self[key] = default
return self[key]
```
---
**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/5963/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/5963/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5963",
"html_url": "https://github.com/streamlit/streamlit/pull/5963",
"diff_url": "https://github.com/streamlit/streamlit/pull/5963.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5963.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5962 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5962/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5962/comments | https://api.github.com/repos/streamlit/streamlit/issues/5962/events | https://github.com/streamlit/streamlit/pull/5962 | 1,533,892,331 | PR_kwDODCoeTs5HaXAS | 5,962 | Add optional use_container_width param to st.button | {
"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": 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": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-01-15T16:23:18 | 2023-01-19T23:37:35 | 2023-01-19T23:37:35 | CONTRIBUTOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
This PR adds optional use_container_width param to st.button.
* By default `use_container_width` is set to `False`, which is the current behaviour
* When `use_container_width` is set to `True`, the button stretches to match the parent container
* ...it's done by applying style `width: 100%` to the button
- 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
- [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/5962/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/5962/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5962",
"html_url": "https://github.com/streamlit/streamlit/pull/5962",
"diff_url": "https://github.com/streamlit/streamlit/pull/5962.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5962.patch",
"merged_at": "2023-01-19T23:37:35"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5961 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5961/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5961/comments | https://api.github.com/repos/streamlit/streamlit/issues/5961/events | https://github.com/streamlit/streamlit/issues/5961 | 1,533,769,103 | I_kwDODCoeTs5ba3WP | 5,961 | version v1.17.0 issue - " TypeError: e.replaceAll is not a function" | {
"login": "Ismail2022",
"id": 69085263,
"node_id": "MDQ6VXNlcjY5MDg1MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/69085263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ismail2022",
"html_url": "https://github.com/Ismail2022",
"followers_url": "https://api.github.com/users/Ismail2022/followers",
"following_url": "https://api.github.com/users/Ismail2022/following{/other_user}",
"gists_url": "https://api.github.com/users/Ismail2022/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Ismail2022/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ismail2022/subscriptions",
"organizations_url": "https://api.github.com/users/Ismail2022/orgs",
"repos_url": "https://api.github.com/users/Ismail2022/repos",
"events_url": "https://api.github.com/users/Ismail2022/events{/privacy}",
"received_events_url": "https://api.github.com/users/Ismail2022/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"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
},
{
"id": 2856044535,
"node_id": "MDU6TGFiZWwyODU2MDQ0NTM1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce",
"name": "status:cannot-reproduce",
"color": "FEF2C0",
"default": false,
"description": "The Streamlit team is unable to reproduce the described behavior"
}
] | closed | false | null | [] | null | 2 | 2023-01-15T11:23:37 | 2023-01-20T20:20:30 | 2023-01-20T20:20:29 | 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
after i update streamlit v1.17.0
import plotly.express as px does not work
### Reproducible Code Example
```Python
import plotly.express as px
```
### 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/5961/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/5961/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5960 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5960/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5960/comments | https://api.github.com/repos/streamlit/streamlit/issues/5960/events | https://github.com/streamlit/streamlit/pull/5960 | 1,533,081,766 | PR_kwDODCoeTs5HXx2i | 5,960 | Github Actions: $PYTHON_MIN_VERSION, $PYTHON_MAX_VERSION | {
"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-14T01:20:00 | 2023-01-17T17:59:21 | 2023-01-17T17:56:10 | COLLABORATOR | null | Adds a new action, 'set_python_versions', which writes $PYTHON_MIN_VERSION and $PYTHON_MAX_VERSION values to $GITHUB_ENV. This means we can change either of these values in one location, rather than in each workflow. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5960/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/5960/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5960",
"html_url": "https://github.com/streamlit/streamlit/pull/5960",
"diff_url": "https://github.com/streamlit/streamlit/pull/5960.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5960.patch",
"merged_at": "2023-01-17T17:56:10"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5959 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5959/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5959/comments | https://api.github.com/repos/streamlit/streamlit/issues/5959/events | https://github.com/streamlit/streamlit/pull/5959 | 1,533,025,577 | PR_kwDODCoeTs5HXl5e | 5,959 | Allow cypress tests to run when calculations produce 0 | {
"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-13T23:17:13 | 2023-01-14T00:23:12 | 2023-01-14T00:23:08 | COLLABORATOR | null | The remainder calculation was producing 0, which causes the expression's exit code to be 1 because bash is cursed. Assigning the result of arithmetic expansion, instead of doing "arithmetic assignment", avoids this issue.
## π Context
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5959/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/5959/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5959",
"html_url": "https://github.com/streamlit/streamlit/pull/5959",
"diff_url": "https://github.com/streamlit/streamlit/pull/5959.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5959.patch",
"merged_at": "2023-01-14T00:23:08"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5958 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5958/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5958/comments | https://api.github.com/repos/streamlit/streamlit/issues/5958/events | https://github.com/streamlit/streamlit/pull/5958 | 1,533,010,887 | PR_kwDODCoeTs5HXiwn | 5,958 | Python 3.11 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 | 2023-01-13T22:53:42 | 2023-01-17T19:32:52 | 2023-01-17T19:32:47 | COLLABORATOR | null | Updates Streamlit for Python 3.11 compatibility
- We have a few tests that use `pyspark`, which is not yet 3.11-compatible. These are skipped when running on 3.11.
- $PYTHON_MAX_VERSION is bumped to 3.11 in our Github Actions runners
- Fixes pinning of our `watchdog` and `scipy` test requirements to use `>=` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5958/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/5958/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5958",
"html_url": "https://github.com/streamlit/streamlit/pull/5958",
"diff_url": "https://github.com/streamlit/streamlit/pull/5958.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5958.patch",
"merged_at": "2023-01-17T19:32:47"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5957 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5957/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5957/comments | https://api.github.com/repos/streamlit/streamlit/issues/5957/events | https://github.com/streamlit/streamlit/issues/5957 | 1,532,661,341 | I_kwDODCoeTs5bWo5d | 5,957 | st.info do not work with st.info | {
"login": "668168",
"id": 1046701,
"node_id": "MDQ6VXNlcjEwNDY3MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1046701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/668168",
"html_url": "https://github.com/668168",
"followers_url": "https://api.github.com/users/668168/followers",
"following_url": "https://api.github.com/users/668168/following{/other_user}",
"gists_url": "https://api.github.com/users/668168/gists{/gist_id}",
"starred_url": "https://api.github.com/users/668168/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/668168/subscriptions",
"organizations_url": "https://api.github.com/users/668168/orgs",
"repos_url": "https://api.github.com/users/668168/repos",
"events_url": "https://api.github.com/users/668168/events{/privacy}",
"received_events_url": "https://api.github.com/users/668168/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
},
{
"id": 2856044535,
"node_id": "MDU6TGFiZWwyODU2MDQ0NTM1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce",
"name": "status:cannot-reproduce",
"color": "FEF2C0",
"default": false,
"description": "The Streamlit team is unable to reproduce the described behavior"
}
] | closed | false | null | [] | null | 2 | 2023-01-13T17:17:10 | 2023-01-25T04:41:58 | 2023-01-25T04:41:57 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
f-string or formart string do not work with st.info
### Reproducible Code Example
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5957)
```Python
import streamlit as st
genre = st.radio(
"What\'s your favorite movie genre",
('Comedy', 'Drama', 'Documentary'))
st.info(f'{genre}', icon="βΉοΈ")
```
### Steps To Reproduce
1. select any value of genre by radio
2. the st.info show NULL of genre
### Expected Behavior
st.info show the right ratio value of genre
### 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/5957/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/5957/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5956 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5956/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5956/comments | https://api.github.com/repos/streamlit/streamlit/issues/5956/events | https://github.com/streamlit/streamlit/pull/5956 | 1,532,575,996 | PR_kwDODCoeTs5HWDyQ | 5,956 | Adds option Print to the appβs hamburger menu | {
"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": 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": 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 | 5 | 2023-01-13T16:21:49 | 2023-01-23T14:15:36 | 2023-01-23T14:15:36 | CONTRIBUTOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
This PR adds an option βPrintβ to the appβs hamburger menu.
The "Print" option works in the following way:
* If the app is living inside an iframe (e.g. on Community Cloud, but also on SiS or Huggingface)
* Opens a new tab with the URL of the raw app (i.e. the URL inside of the iframe)
* Opens the print dialog on that new tab
* If the app is not living inside an iframe (e.g. running on [localhost](http://localhost/) or self-deployed)
* Opens the print dialog in the existing tab
- 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
- [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/5956/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/5956/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5956",
"html_url": "https://github.com/streamlit/streamlit/pull/5956",
"diff_url": "https://github.com/streamlit/streamlit/pull/5956.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5956.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5955 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5955/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5955/comments | https://api.github.com/repos/streamlit/streamlit/issues/5955/events | https://github.com/streamlit/streamlit/pull/5955 | 1,532,572,685 | PR_kwDODCoeTs5HWDGF | 5,955 | Add header, subheader and title 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-13T16:19:22 | 2023-01-16T14:08:08 | 2023-01-16T14:08: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 heading elements (st.title, st.header, st.subheader) 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/5955/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/5955/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5955",
"html_url": "https://github.com/streamlit/streamlit/pull/5955",
"diff_url": "https://github.com/streamlit/streamlit/pull/5955.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5955.patch",
"merged_at": "2023-01-16T14:08:07"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5954 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5954/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5954/comments | https://api.github.com/repos/streamlit/streamlit/issues/5954/events | https://github.com/streamlit/streamlit/issues/5954 | 1,532,415,263 | I_kwDODCoeTs5bVs0f | 5,954 | Component refresh 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": 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"
}
] | open | false | null | [] | null | 0 | 2023-01-13T14:49:29 | 2023-01-20T18:27:22 | 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
All the menu/nav bar components got the same problem. It seems to be a streamlit problem or can be fixed in streamlit side.
The option menu UI (can be from streamlit_option_menu, hydralit_components, extra_streamlit_components) 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 # or import extra_streamlit_components as stx or import hydralit_components as hc
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
- hydralit_components: 1.0.10
- extra_streamlit_components: 0.1.56
- 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/5954/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/5954/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5953 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5953/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5953/comments | https://api.github.com/repos/streamlit/streamlit/issues/5953/events | https://github.com/streamlit/streamlit/issues/5953 | 1,531,938,529 | I_kwDODCoeTs5bT4bh | 5,953 | KeyError: 'id' when using st.dataframe with pandas.Styler object and number of cells is higher than pandas `styler.render.max_elements` option | {
"login": "PROrock",
"id": 1867058,
"node_id": "MDQ6VXNlcjE4NjcwNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1867058?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PROrock",
"html_url": "https://github.com/PROrock",
"followers_url": "https://api.github.com/users/PROrock/followers",
"following_url": "https://api.github.com/users/PROrock/following{/other_user}",
"gists_url": "https://api.github.com/users/PROrock/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PROrock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PROrock/subscriptions",
"organizations_url": "https://api.github.com/users/PROrock/orgs",
"repos_url": "https://api.github.com/users/PROrock/repos",
"events_url": "https://api.github.com/users/PROrock/events{/privacy}",
"received_events_url": "https://api.github.com/users/PROrock/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 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"
}
] | open | false | null | [] | null | 0 | 2023-01-13T08:57:51 | 2023-01-19T01:10:40 | 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
Upon my analysis, the error is when dataframe exceeds the number of rows, which is normally rendered the "id" attribute in the HTML body is not in the table cell.
And the number of rows is computed based on more things (mostly on `styler.render.max_rows` and `styler.render.max_elements`, see https://github.com/pandas-dev/pandas/blob/main/pandas/io/formats/style_render.py#L1568-L1582 ).
See also a Workaround in Additional Information section.
### Reproducible Code Example
```Python
import streamlit as st
import pandas as pd
max_elements = pd.get_option("styler.render.max_elements") # default: 262144
print(max_elements)
# big example with default styler.render.max_elements
df = pd.DataFrame(list(range(max_elements + 1)))
# This next line always works
st.dataframe(df)
# Applying formatting fails based on dataframe size. Try commenting out for running smaller example below.
st.dataframe(df.style.format('{:03d}'))
# small example with small custom styler.render.max_elements
pd.set_option("styler.render.max_elements", 2)
df2 = pd.DataFrame([1, 2, 3])
# This next line always works
st.dataframe(df2)
# Applying formatting fails based on dataframe size
st.dataframe(df2.style.format('{:03d}'))
```
### Steps To Reproduce
1. Run the code example
2. In the opened browser streamlit app, see the error
3. (optional) You can comment out the code line with error to observe the same error, but on much smaller example/dataframe
### Expected Behavior
The styled dataframe is drawn onto the screen/in app body.
### Current Behavior
Error:
```
2023-01-12 17:55:56.473 Uncaught app exception
Traceback (most recent call last):
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/Users/ondra/IdeaProjects/github/sybill-cz/sybill/pages/4_bug.py", line 12, in <module>
st.dataframe(df.style.format('{:03d}'))
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/runtime/metrics_util.py", line 311, in wrapped_func
result = non_optional_func(*args, **kwargs)
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/elements/dataframe_selector.py", line 111, in dataframe
return self.dg._arrow_dataframe(
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/runtime/metrics_util.py", line 311, in wrapped_func
result = non_optional_func(*args, **kwargs)
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/elements/arrow.py", line 109, in _arrow_dataframe
marshall(proto, data, default_uuid)
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/elements/arrow.py", line 180, in marshall
_marshall_styler(proto, data, default_uuid)
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/elements/arrow.py", line 221, in _marshall_styler
_marshall_display_values(proto, styler.data, pandas_styles)
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/elements/arrow.py", line 404, in _marshall_display_values
new_df = _use_display_values(df, styles)
File "/Users/ondra/IdeaProjects/github/sybill-cz/venv/lib/python3.8/site-packages/streamlit/elements/arrow.py", line 432, in _use_display_values
match = cell_selector_regex.match(cell["id"])
KeyError: 'id'
```
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.8.12
- Operating System: macOS Monterey 12.6.2
- Browser: Chrome
- Virtual environment: venv
- Pandas version: 1.4.3
### Additional Information
Original thread on Streamlit Forum: https://discuss.streamlit.io/t/error-keyerror-id-on-st-dataframe-where-style-format-is-used-sensitive-to-dataframe-size/27177
**Workaround** is to set pandas option `styler.render.max_elements` to a big number, which is equal to or higher than the number of cells in your dataframe. E.g.
```python
import pandas as pd
pd.set_option("styler.render.max_elements", 999_999_999_999)
# st.dataframe(styler) somewhere here
```
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5953/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5953/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5952 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5952/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5952/comments | https://api.github.com/repos/streamlit/streamlit/issues/5952/events | https://github.com/streamlit/streamlit/pull/5952 | 1,531,783,877 | PR_kwDODCoeTs5HTYFL | 5,952 | Rename the confusingly named SessionState proto type | {
"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-13T06:35:46 | 2023-01-19T00:50:13 | 2023-01-19T00:50:10 | COLLABORATOR | null | ## π Context
A recent [forum post](https://discuss.streamlit.io/t/hey-i-have-a-serious-issue-about-storing-things-in-the-session-state/35761) expressed concern that `st.session_state` is exposed to the client. While this isn't accurate,
it did lead me to investigate how this impression was formed.
Apparently we have a `SessionState` proto type that is unrelated to the `st.session_state` feature and predates it. The proto
message contains whether scripts should be rerun on file change as well as information related to whether a script is
currently running.
This PR changes its name to `SessionStatus` to avoid confusion. I don't love this name since it's not quite correct either
(suggestions for other names would be appreciated!), but it's definitely an improvement over being potentially confused
for an unrelated feature. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5952/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/5952/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5952",
"html_url": "https://github.com/streamlit/streamlit/pull/5952",
"diff_url": "https://github.com/streamlit/streamlit/pull/5952.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5952.patch",
"merged_at": "2023-01-19T00:50:10"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5951 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5951/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5951/comments | https://api.github.com/repos/streamlit/streamlit/issues/5951/events | https://github.com/streamlit/streamlit/pull/5951 | 1,531,498,324 | PR_kwDODCoeTs5HSarS | 5,951 | Test interface for slider and select_slider | {
"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 | 3 | 2023-01-12T23:51:39 | 2023-01-17T23:55:29 | 2023-01-17T23:55:25 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5951/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/5951/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5951",
"html_url": "https://github.com/streamlit/streamlit/pull/5951",
"diff_url": "https://github.com/streamlit/streamlit/pull/5951.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5951.patch",
"merged_at": "2023-01-17T23:55:25"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5950 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5950/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5950/comments | https://api.github.com/repos/streamlit/streamlit/issues/5950/events | https://github.com/streamlit/streamlit/pull/5950 | 1,531,273,465 | PR_kwDODCoeTs5HRp4n | 5,950 | Up version to 1.17.0 | {
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
} | [
{
"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-12T19:55:45 | 2023-01-13T14:43:37 | 2023-01-13T14:43:36 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5950/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/5950/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5950",
"html_url": "https://github.com/streamlit/streamlit/pull/5950",
"diff_url": "https://github.com/streamlit/streamlit/pull/5950.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5950.patch",
"merged_at": "2023-01-13T14:43:36"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5949 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5949/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5949/comments | https://api.github.com/repos/streamlit/streamlit/issues/5949/events | https://github.com/streamlit/streamlit/issues/5949 | 1,531,262,197 | I_kwDODCoeTs5bRTT1 | 5,949 | Create a multiple range datepicker | {
"login": "ViniciusgCaetano",
"id": 57851959,
"node_id": "MDQ6VXNlcjU3ODUxOTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/57851959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViniciusgCaetano",
"html_url": "https://github.com/ViniciusgCaetano",
"followers_url": "https://api.github.com/users/ViniciusgCaetano/followers",
"following_url": "https://api.github.com/users/ViniciusgCaetano/following{/other_user}",
"gists_url": "https://api.github.com/users/ViniciusgCaetano/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ViniciusgCaetano/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ViniciusgCaetano/subscriptions",
"organizations_url": "https://api.github.com/users/ViniciusgCaetano/orgs",
"repos_url": "https://api.github.com/users/ViniciusgCaetano/repos",
"events_url": "https://api.github.com/users/ViniciusgCaetano/events{/privacy}",
"received_events_url": "https://api.github.com/users/ViniciusgCaetano/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": ""
},
{
"id": 5140574726,
"node_id": "LA_kwDODCoeTs8AAAABMmbyBg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:unlikely",
"name": "status:unlikely",
"color": "FEF2C0",
"default": false,
"description": "We are unlikely to implement this soon but are waiting for more comments/upvotes!"
}
] | open | false | null | [] | null | 2 | 2023-01-12T19:44:56 | 2023-02-10T20:30:54 | null | NONE | null | ### Suggestion
It will be very nice if streamlit would support multiple range date picker.
Something like
`st.multi_range_date_picker(label='Choose some date ranges)`
And that returns a list of 2-value tuples with start and end dates.
This will be very helpful to show something like a calendar with occupied dates and select multiple ranges to various events in our programs
---
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/5949/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/5949/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5948 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5948/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5948/comments | https://api.github.com/repos/streamlit/streamlit/issues/5948/events | https://github.com/streamlit/streamlit/pull/5948 | 1,531,243,766 | PR_kwDODCoeTs5HRjlP | 5,948 | @st.cache_data, @st.cache_resource decorators | {
"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-12T19:26:39 | 2023-01-20T17:15:46 | 2023-01-20T17:15:41 | COLLABORATOR | null | Introduces two new cache decorators, `@st.cache_data` and `@st.cache_resource`; and deprecates `@st.experimental_memo`, `@st.experimental_singleton`, and `@st.cache`
- `@st.cache_data` is the new name for `@st.experimental_memo`.
- `@st.cache_resource` is the new name for `@st.experimental_singleton`.
- The "experimental" flavors of these decorators are now deprecated.
- `@st.cache` is also deprecated (though we don't yet have plans to remove it). When `@st.cache` is used in an app, we show a deprecation warning that (frequently) contains a specific suggestion of which new decorator to use instead.
Additionally, this brings some new caching changes:
- `@st.cache_data`'s `persist` flag now accepts `bool` values, to make the transition from `@st.cache` simpler.
- `@st.cache_resource` (formerly singleton) now take an optional `ttl` param, and an optional `validate` callback param, for assisting with cache invalidation.
- The `suppress_st_warning` flag is gone from cache_data/cache_resource/memo/singleton (because we support `st.` commands inside these decorators now) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5948/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5948/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5948",
"html_url": "https://github.com/streamlit/streamlit/pull/5948",
"diff_url": "https://github.com/streamlit/streamlit/pull/5948.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5948.patch",
"merged_at": "2023-01-20T17:15:41"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5947 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5947/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5947/comments | https://api.github.com/repos/streamlit/streamlit/issues/5947/events | https://github.com/streamlit/streamlit/pull/5947 | 1,531,210,511 | PR_kwDODCoeTs5HRcho | 5,947 | Release/1.17.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
} | [] | closed | false | null | [] | null | 0 | 2023-01-12T18:58:59 | 2023-01-12T19:43:16 | 2023-01-12T19:43:16 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5947/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/5947/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5947",
"html_url": "https://github.com/streamlit/streamlit/pull/5947",
"diff_url": "https://github.com/streamlit/streamlit/pull/5947.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5947.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5946 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5946/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5946/comments | https://api.github.com/repos/streamlit/streamlit/issues/5946/events | https://github.com/streamlit/streamlit/pull/5946 | 1,530,011,755 | PR_kwDODCoeTs5HNX97 | 5,946 | Update major 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-12T02:50:46 | 2023-01-13T04:45:50 | 2023-01-13T04:45:47 | COLLABORATOR | null | ## π Context
Updating & deduplicating some major versions of dependencies:
- What kind of change does this PR introduce?
- [x] Other - **dependency update/dedup**
## π§ Description of Changes
**Dependencies:**
- apache-arrow to **10.0.1**
- @types/node to **18.11.17**
- camelcase to **7.0.1**
- color2k to **2.0.0**
- decamelize to **6.0.0**
- humanize-string to **3.0.0**
- query-string to **8.1.0**
- react-debounce-render to **8.0.2**
- katex to **0.16.4**
- @types/katex to **0.14.0**
- @types/numeral to **2.0.2**
**Resolutions:**
- glob-parent to **6.0.2**
- ini to **3.0.1**
- bl to **6.0.0**
- node-notifier to **10.0.1**
- serialize-javascript to **6.0.0**
- ssri to **10.0.1**
- ws to **8.11.0**
- y18n to **5.0.8**
- **Removed:** dot-prop, trim, trim-newlines, https-proxy-agent, minimist
---
**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/5946/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/5946/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5946",
"html_url": "https://github.com/streamlit/streamlit/pull/5946",
"diff_url": "https://github.com/streamlit/streamlit/pull/5946.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5946.patch",
"merged_at": "2023-01-13T04:45:47"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5945 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5945/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5945/comments | https://api.github.com/repos/streamlit/streamlit/issues/5945/events | https://github.com/streamlit/streamlit/pull/5945 | 1,529,738,333 | PR_kwDODCoeTs5HMbxf | 5,945 | "client.showErrorDetails" controls whether deprecation warnings appear in-browser | {
"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 | 2 | 2023-01-11T21:42:17 | 2023-01-12T17:35:18 | 2023-01-12T17:35:14 | COLLABORATOR | null | With the incoming `@st.cache` deprecation, we're going to see a lot of apps with a lot of deprecation warnings. Currently, we show deprecation warnings in the browser, which is convenient for an app's developer - but sucks for app viewers.
With this PR, we will now only print deprecation warnings to the browser when `"client.showErrorDetails"=True`. This config option is currently used to suppress app exception tracebacks from being printed to the browser, so this is a slight overloading of its original purpose - but it feels appropriate (the circumstance where you don't want to loudly display exception tracebacks - when you have a deployed app - is exactly the same as when you don't want to display deprecation warnings).
Deprecation warnings now also always get logged to the console, so developers will see them in their logs regardless of whether they're displayed in-browser. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5945/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/5945/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5945",
"html_url": "https://github.com/streamlit/streamlit/pull/5945",
"diff_url": "https://github.com/streamlit/streamlit/pull/5945.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5945.patch",
"merged_at": "2023-01-12T17:35:14"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5944 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5944/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5944/comments | https://api.github.com/repos/streamlit/streamlit/issues/5944/events | https://github.com/streamlit/streamlit/pull/5944 | 1,529,734,677 | PR_kwDODCoeTs5HMa-w | 5,944 | Add S3 URL to wheel file as Github status | {
"login": "sfc-gh-kbregula",
"id": 78743291,
"node_id": "MDQ6VXNlcjc4NzQzMjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-kbregula",
"html_url": "https://github.com/sfc-gh-kbregula",
"followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers",
"following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos",
"events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-01-11T21:38:51 | 2023-01-18T18:15:20 | 2023-01-18T15:52:50 | 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
-->
Now we have links in GitHub status, so it is easily accessible.
<img width="959" alt="Screenshot 2023-01-11 at 23 47 21" src="https://user-images.githubusercontent.com/78743291/211934477-ef353d5d-b4da-4c0e-88dc-67cbf10abad9.png">
## π 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/5944/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/5944/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5944",
"html_url": "https://github.com/streamlit/streamlit/pull/5944",
"diff_url": "https://github.com/streamlit/streamlit/pull/5944.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5944.patch",
"merged_at": "2023-01-18T15:52:50"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5943 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5943/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5943/comments | https://api.github.com/repos/streamlit/streamlit/issues/5943/events | https://github.com/streamlit/streamlit/pull/5943 | 1,529,471,410 | PR_kwDODCoeTs5HLhOn | 5,943 | Switch to new functioning twemoji url | {
"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": 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 | 2023-01-11T18:10:45 | 2023-01-20T23:27:14 | 2023-01-20T23:27:14 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
β οΈ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## π Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**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 #5942
---
**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/5943/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/5943/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5943",
"html_url": "https://github.com/streamlit/streamlit/pull/5943",
"diff_url": "https://github.com/streamlit/streamlit/pull/5943.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5943.patch",
"merged_at": "2023-01-20T23:27:14"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5942 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5942/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5942/comments | https://api.github.com/repos/streamlit/streamlit/issues/5942/events | https://github.com/streamlit/streamlit/issues/5942 | 1,529,153,354 | I_kwDODCoeTs5bJQdK | 5,942 | The icon configured with st.set_page_config() is not displayed. Icon is searched for on twemoji.maxcdn.com, which is no longer active. | {
"login": "Rchatru",
"id": 38190230,
"node_id": "MDQ6VXNlcjM4MTkwMjMw",
"avatar_url": "https://avatars.githubusercontent.com/u/38190230?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rchatru",
"html_url": "https://github.com/Rchatru",
"followers_url": "https://api.github.com/users/Rchatru/followers",
"following_url": "https://api.github.com/users/Rchatru/following{/other_user}",
"gists_url": "https://api.github.com/users/Rchatru/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Rchatru/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Rchatru/subscriptions",
"organizations_url": "https://api.github.com/users/Rchatru/orgs",
"repos_url": "https://api.github.com/users/Rchatru/repos",
"events_url": "https://api.github.com/users/Rchatru/events{/privacy}",
"received_events_url": "https://api.github.com/users/Rchatru/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": 4568006943,
"node_id": "LA_kwDODCoeTs8AAAABEEZBHw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.set_page_config",
"name": "feature:st.set_page_config",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2023-01-11T14:26:31 | 2023-01-20T23:27:15 | 2023-01-20T23:27: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
As indicated at: https://github.com/twitter/twemoji/issues/580, Maxcdn is no longer operational, and since the st.set_page_config() function looks for emojis on that website:
> Emoji icons are courtesy of Twemoji and loaded from MaxCDN. [Streamlit docs](https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config).
As a result, the icon that the user has indicated is not displayed.
### Reproducible Code Example
_No response_
### Steps To Reproduce
Configure the page:
```Python
st.set_page_config(
page_title="Foo",
page_icon="π",
layout="centered",
initial_sidebar_state="auto",
menu_items={
'Get Help': 'https://github.com/foo',
'Report a bug': "https://github.com/foo",
'About': "Foo"
}
)
```
### Expected Behavior
_No response_
### Current Behavior
In developer tools, you can see the following error:
![error](https://user-images.githubusercontent.com/38190230/211829219-5f692b0b-a1b5-4d7c-be6a-5c0dcdb1dff0.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.13
- Operating System: Win10
- Browser: Edge (Chromium)
- Virtual environment: miniconda
### Additional Information
At the moment it can be fixed by specifying another url for the icons, for example:
https://cdn.jsdelivr.net/gh/twitter/[email protected]/assets/
In the example above, replace the emoji with the new address pointing to the chosen icon:
```Python
st.set_page_config(
page_title="Foo",
page_icon="https://cdn.jsdelivr.net/gh/twitter/[email protected]/assets/72x72/1f440.png",
layout="centered",
initial_sidebar_state="auto",
menu_items={
'Get Help': 'https://github.com/foo',
'Report a bug': "https://github.com/foo",
'About': "Foo"
}
)
```
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5942/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/5942/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5941 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5941/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5941/comments | https://api.github.com/repos/streamlit/streamlit/issues/5941/events | https://github.com/streamlit/streamlit/pull/5941 | 1,528,930,004 | PR_kwDODCoeTs5HJrnF | 5,941 | Add support for columns inside columns (1 level of nesting) | {
"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": 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": 4288390722,
"node_id": "LA_kwDODCoeTs7_m6ZC",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.columns",
"name": "feature:st.columns",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-01-11T12:13:06 | 2023-01-19T20:03:38 | 2023-01-19T20:03:37 | 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
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## π§ Description of Changes
- _Add bullet points summarizing your changes here_
- This PR allows columns nesting, but only 1 level of nesting is allowed
- Columns nesting inside sidebar is disallowed
- Expanders nesting is disallowed
- Appropriate exception messages are shown for each case
- `st.columns` docs are updated, so we informed the users will be informed about the change
- [ ] 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
- [x] Added/Updated e2e tests
## π References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes [Issue-#5284](https://github.com/streamlit/streamlit/issues/5284)
---
**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/5941/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5941/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5941",
"html_url": "https://github.com/streamlit/streamlit/pull/5941",
"diff_url": "https://github.com/streamlit/streamlit/pull/5941.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5941.patch",
"merged_at": "2023-01-19T20:03:37"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5939 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5939/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5939/comments | https://api.github.com/repos/streamlit/streamlit/issues/5939/events | https://github.com/streamlit/streamlit/issues/5939 | 1,528,870,285 | I_kwDODCoeTs5bILWN | 5,939 | Experimental_Memo decorator does not Provide a Way to Fix the Hash Error | {
"login": "sebimarkgraf",
"id": 24530526,
"node_id": "MDQ6VXNlcjI0NTMwNTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/24530526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sebimarkgraf",
"html_url": "https://github.com/sebimarkgraf",
"followers_url": "https://api.github.com/users/sebimarkgraf/followers",
"following_url": "https://api.github.com/users/sebimarkgraf/following{/other_user}",
"gists_url": "https://api.github.com/users/sebimarkgraf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sebimarkgraf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sebimarkgraf/subscriptions",
"organizations_url": "https://api.github.com/users/sebimarkgraf/orgs",
"repos_url": "https://api.github.com/users/sebimarkgraf/repos",
"events_url": "https://api.github.com/users/sebimarkgraf/events{/privacy}",
"received_events_url": "https://api.github.com/users/sebimarkgraf/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": 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"
}
] | open | false | null | [] | null | 2 | 2023-01-11T11:26:09 | 2023-01-31T16:15:24 | 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
Using the memo decorator with other objects (e.g. Classes defined via attrs) that define a __hash__ does stilly yield an error from streamlit.
This is confusing due to the wording in the documentation "Should be hashable" and
the not existing possibility to easily define a way to hash the object.
### Reproducible Code Example
```Python
import streamlit as st
from attrs import define
@define(frozen=True)
class Example():
a: float
b: int
@st.experimental_memo()
def generate_something(example: Example):
return example.a + example.b
generate_something(Example(5.0, 1))
```
### Steps To Reproduce
1. Execute code snippet
### Expected Behavior
The hash function should be respected or I am receiving a way on defining my own hash approach.
### Current Behavior
streamlit.runtime.caching.cache_errors.UnhashableParamError: Cannot hash argument 'example' (of type `__main__.Example`) in 'generate_something'.
To address this, you can tell Streamlit not to hash this argument by adding a
leading underscore to the argument's name in the function signature:
```
@st.experimental_memo
def generate_something(_example, ...):
...
```
### 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
This could be easily fixed by not checking for exact instances in the internal hashing implementation, but instead for the existence of methods.
E.g. Check for asdict to hash all objects that define this method in the same way that dicts are hashed.
This should be implemented in the documentation as well, to not conflict with the general understanding of "hashable".
Moreover, the documentation should be clear about the custom hashing implementation and it should somewhere be documented what the motivation for this is, as this is extremely confusing.
### 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/5939/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/5939/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5938 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5938/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5938/comments | https://api.github.com/repos/streamlit/streamlit/issues/5938/events | https://github.com/streamlit/streamlit/issues/5938 | 1,528,863,253 | I_kwDODCoeTs5bIJoV | 5,938 | "ValueError: Value out of range" when uploading large files (~>= 4.5GB) with `st.file_uploader` | {
"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": 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": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230105890,
"node_id": "MDU6TGFiZWwzMjMwMTA1ODkw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2",
"name": "priority:P2",
"color": "ff4b4b",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2023-01-11T11:20:42 | 2023-02-11T09:10:10 | null | MEMBER | 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
Uploading a large file with `st.file_uploader` can reliably lead to a:
```
ValueError: Value out of range <num-uploaded-bytes>
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/Users/skekre/Downloads/streamlit-misc/file-uploader-size.py", line 3, in <module>
f = st.file_uploader("Upload a file")
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamlit/runtime/metrics_util.py", line 311, in wrapped_func
result = non_optional_func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamlit/elements/file_uploader.py", line 338, in file_uploader
return self._file_uploader(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamlit/elements/file_uploader.py", line 418, in _file_uploader
file_uploader_state = serde.serialize(widget_state.value)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamlit/elements/file_uploader.py", line 108, in serialize
file_info.size = f.size
```
where "large" in my case was approximately close to or greater than 4.5GB. I'm not sure whether the specific size after which this error is thrown is machine dependant. @serdar-bayramov who first [reported](https://discuss.streamlit.io/t/how-to-upload-large-files-using-st-file-uploader/35654) this on the Streamlit forum encountered the error for files >= 2GB.
### Reproducible Code Example
```Python
import streamlit as st
f = st.file_uploader("Upload a file")
if f is not None:
st.write(f.name)
st.write(f.size)
```
### Steps To Reproduce
1. Create a `.streamlit/config.toml` file to set the upload limit to 4.5 GB:
```toml
[server]
maxUploadSize = 4500
```
2. Create a 4.4 GB file:
```sh
truncate -s 4280m example.file
```
3. Run the above app and upload `example.file` to the file uploader widget
### Expected Behavior
As the uploaded 4.4 GB file is under the 4.5 GB limit set in `.streamlit/config.toml`, one would expect:
1. to see the upload successfully complete
2. the file uploader widget to be visible after the upload
3. see the output of the filename and filesize displayed
### Current Behavior
1. Once the progress bar on the file uploader widget hits the maximum, the app greys out for a few seconds while the Running man icon is displayed in the top right corner
2. Immediately after that, the file uploader widget disappears, leaving the user with the following error:
![image](https://user-images.githubusercontent.com/20672874/211792715-25c255b5-ff1a-4bdc-a24b-6739b85cd42e.png)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.9
- Operating System: macOS
- Browser: Chrome
- Virtual environment: NA
### Additional Information
First reported by @serdar-bayramov in https://discuss.streamlit.io/t/how-to-upload-large-files-using-st-file-uploader/35654
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5938/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/5938/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5937 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5937/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5937/comments | https://api.github.com/repos/streamlit/streamlit/issues/5937/events | https://github.com/streamlit/streamlit/issues/5937 | 1,528,857,635 | I_kwDODCoeTs5bIIQj | 5,937 | Greater symbol ">" not displayed in st.write or st.button | {
"login": "justinmahendra",
"id": 60601243,
"node_id": "MDQ6VXNlcjYwNjAxMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/60601243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/justinmahendra",
"html_url": "https://github.com/justinmahendra",
"followers_url": "https://api.github.com/users/justinmahendra/followers",
"following_url": "https://api.github.com/users/justinmahendra/following{/other_user}",
"gists_url": "https://api.github.com/users/justinmahendra/gists{/gist_id}",
"starred_url": "https://api.github.com/users/justinmahendra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/justinmahendra/subscriptions",
"organizations_url": "https://api.github.com/users/justinmahendra/orgs",
"repos_url": "https://api.github.com/users/justinmahendra/repos",
"events_url": "https://api.github.com/users/justinmahendra/events{/privacy}",
"received_events_url": "https://api.github.com/users/justinmahendra/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"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
}
] | closed | false | null | [] | null | 1 | 2023-01-11T11:16:33 | 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
">" This symbol is not properly displayed in streamlit
Might be caused by markdown interpretation. Any text following > symbol would be seen as "| Some text" instead of "> Some text"
### Reproducible Code Example
```Python
import streamlit as st
st.button("Working Button")
st.button(">", key='G1')
st.button(u"\u003E", key='G2')
st.button("<")
st.write("st.write")
st.write(">")
st.write("<")
```
### Steps To Reproduce
1. using st.write to display only ">" symbol shows nothing
### Expected Behavior
Shows ">" properly
### Current Behavior
_No response_
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.16.0
- Python version: 3.11
- Operating System: Windows 11 x64
- Browser: Any 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/5937/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/5937/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5936 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5936/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5936/comments | https://api.github.com/repos/streamlit/streamlit/issues/5936/events | https://github.com/streamlit/streamlit/issues/5936 | 1,528,849,775 | I_kwDODCoeTs5bIGVv | 5,936 | Hide current/min/max values in `st.slider` | {
"login": "alleetanner",
"id": 8190834,
"node_id": "MDQ6VXNlcjgxOTA4MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8190834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alleetanner",
"html_url": "https://github.com/alleetanner",
"followers_url": "https://api.github.com/users/alleetanner/followers",
"following_url": "https://api.github.com/users/alleetanner/following{/other_user}",
"gists_url": "https://api.github.com/users/alleetanner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alleetanner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alleetanner/subscriptions",
"organizations_url": "https://api.github.com/users/alleetanner/orgs",
"repos_url": "https://api.github.com/users/alleetanner/repos",
"events_url": "https://api.github.com/users/alleetanner/events{/privacy}",
"received_events_url": "https://api.github.com/users/alleetanner/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1964271488,
"node_id": "MDU6TGFiZWwxOTY0MjcxNDg4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:widgets",
"name": "area:widgets",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2023-01-11T11:11:01 | 2023-02-10T20:32:22 | null | NONE | null | ### Problem
We have had `label_visibility="collapsed"` added to some widgets. To further enable UI minimalism / customisation, could we also have the current `values`, and the `max_value`, `min_value` ranges collapsed, as an option, as well?
Also, could we apply custom labels for the ranges? For example you might have a slider with range between 0 and 100, with `0` and `100` rendered at each end of the slider - but could we rename these to be something else, for example "Less" and "More"?
### Solution
Adding the argument `value_visibility`, as was done with `label_visibility`? | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5936/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/5936/timeline | null | null | null | null | false |