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/5634 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5634/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5634/comments | https://api.github.com/repos/streamlit/streamlit/issues/5634/events | https://github.com/streamlit/streamlit/issues/5634 | 1,431,118,668 | I_kwDODCoeTs5VTSNM | 5,634 | Creating custom components inside a callback does not work correctly | {
"login": "aghasemi",
"id": 7351535,
"node_id": "MDQ6VXNlcjczNTE1MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7351535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aghasemi",
"html_url": "https://github.com/aghasemi",
"followers_url": "https://api.github.com/users/aghasemi/followers",
"following_url": "https://api.github.com/users/aghasemi/following{/other_user}",
"gists_url": "https://api.github.com/users/aghasemi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aghasemi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aghasemi/subscriptions",
"organizations_url": "https://api.github.com/users/aghasemi/orgs",
"repos_url": "https://api.github.com/users/aghasemi/repos",
"events_url": "https://api.github.com/users/aghasemi/events{/privacy}",
"received_events_url": "https://api.github.com/users/aghasemi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1948948989,
"node_id": "MDU6TGFiZWwxOTQ4OTQ4OTg5",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:custom-components",
"name": "feature:custom-components",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 4561298778,
"node_id": "LA_kwDODCoeTs8AAAABD9_lWg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:callbacks",
"name": "feature:callbacks",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 3 | 2022-11-01T09:20:00 | 2023-01-17T13:16:30 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Hi,
Is it possible to create a custom component inside a callback? I see some weird behaviour with my [streamlit_js_eval component](https://discuss.streamlit.io/t/new-component-streamlit-js-eval/30861/6) which happens only when using callbacks. Can you help please or confirm it doesn't work at all?
### Reproducible Code Example
```Python
import streamlit as st, time
from streamlit_js_eval import streamlit_js_eval
def disp_width():
width = streamlit_js_eval(js_expressions='screen.width', want_output = True, key = 'SCR')
to_display = f"Screen width is _{width}_"
st.write(to_display)
st.button("Display Screen Width", on_click=disp_width)
```
### Steps To Reproduce
1. Run the code example
### Expected Behavior
A line of text is written.
### Current Behavior
A line of text is written but then immediately removed.
### 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!
---
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/5634/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5634/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5633 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5633/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5633/comments | https://api.github.com/repos/streamlit/streamlit/issues/5633/events | https://github.com/streamlit/streamlit/pull/5633 | 1,430,806,723 | PR_kwDODCoeTs5B7zsO | 5,633 | Fix bug where theme is changed but rerun doesn't work | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-11-01T03:25:24 | 2022-11-01T22:58:33 | 2022-11-01T22:58:33 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
When theme changes, we need to make sure that when rerun works, it will properly update the view.
_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 a check for componentDidUpdate
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
## 🧪 Testing Done
Didn't really think this small change needed a test but maybe I'm wrong. Feel free to tell me I'm wrong but there didn't seem to be a test for this and seems pretty difficult to test since the test would involve rerunning the script
## 🌐 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/5633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5633/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5633",
"html_url": "https://github.com/streamlit/streamlit/pull/5633",
"diff_url": "https://github.com/streamlit/streamlit/pull/5633.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5633.patch",
"merged_at": "2022-11-01T22:58:33"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5632 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5632/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5632/comments | https://api.github.com/repos/streamlit/streamlit/issues/5632/events | https://github.com/streamlit/streamlit/issues/5632 | 1,430,701,993 | I_kwDODCoeTs5VRsep | 5,632 | Options to scale iframe and HTML components | {
"login": "ibnesayeed",
"id": 65147,
"node_id": "MDQ6VXNlcjY1MTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/65147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ibnesayeed",
"html_url": "https://github.com/ibnesayeed",
"followers_url": "https://api.github.com/users/ibnesayeed/followers",
"following_url": "https://api.github.com/users/ibnesayeed/following{/other_user}",
"gists_url": "https://api.github.com/users/ibnesayeed/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ibnesayeed/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ibnesayeed/subscriptions",
"organizations_url": "https://api.github.com/users/ibnesayeed/orgs",
"repos_url": "https://api.github.com/users/ibnesayeed/repos",
"events_url": "https://api.github.com/users/ibnesayeed/events{/privacy}",
"received_events_url": "https://api.github.com/users/ibnesayeed/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": 4749361475,
"node_id": "LA_kwDODCoeTs8AAAABGxWBQw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:html",
"name": "area:html",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 0 | 2022-11-01T01:18:09 | 2022-11-15T17:00:15 | null | NONE | null | ### Problem
There are use-cases where using iframe component with different display dimensions than that of viewport dimensions of the iframe are desired. For example, if the page inside of the iframe is responsive, rendering it in a narrow iframe will show the mobile version, where a desktop version might be desired. Below are a couple of situations I can think of that would be affected:
* Side-by-side comparison of two pages/versions in columns
* Using iframes as thumbnails
### Solution
**MVP:** Including a scale option (with default value of `1` to keep it backward compatible) that allows setting a wider viewport, but scaling it down to fit in a narrow space will do.
**Possible additions:** Automated calculations to fit in the available width while supplying desired internal iframe viewport for rendition as an option would be great.
### Voting for feature requests
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5632/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/5632/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5631 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5631/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5631/comments | https://api.github.com/repos/streamlit/streamlit/issues/5631/events | https://github.com/streamlit/streamlit/pull/5631 | 1,430,701,541 | PR_kwDODCoeTs5B7dXr | 5,631 | Make our custom snowpark build tweaks more obvious | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-11-01T01:17:29 | 2022-11-01T23:03:32 | 2022-11-01T23:03:29 | COLLABORATOR | null | ## 📚 Context
It previously wasn't clear what the `ST_CONDA_BUILD` environment variable was used for. This PR
renames the environment variable to `SNOWPARK_CONDA_BUILD` to make it obvious that it's for
Snowpark internal builds, which is preferable to having people accidentally building tornado-less
Streamlit builds (which are pretty useless everywhere else).
It also doesn't set the flag by default in the `make conda-package` target so that the `make` target
can be used as a generic conda one.
- What kind of change does this PR introduce?
- [x] Refactoring
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5631/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5631",
"html_url": "https://github.com/streamlit/streamlit/pull/5631",
"diff_url": "https://github.com/streamlit/streamlit/pull/5631.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5631.patch",
"merged_at": "2022-11-01T23:03:29"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5630 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5630/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5630/comments | https://api.github.com/repos/streamlit/streamlit/issues/5630/events | https://github.com/streamlit/streamlit/pull/5630 | 1,430,605,288 | PR_kwDODCoeTs5B7I9O | 5,630 | Bring back the "Is Streamlit still running?" dialog | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-31T23:02:36 | 2022-11-01T23:05:52 | 2022-11-01T23:05:49 | COLLABORATOR | null | ## 📚 Context
A few months ago, we had the Streamlit client backoff exponentially (with jitter) when attempting to
reconnect to help spread out load from a thundering herd when clients reconnect after an outage with
the hosting service (we were mainly thinking of Community Cloud when making this change, but this
should benefit all Streamlit deployments).
This inadvertently effectively broke the "Is Streamlit still running?" dialog because we decide to display
the dialog after retrying a given number of times. This number was previously 30 (we retried every 500ms).
With the exponential backoff, 30 retries ends up being closer to half an hour than the original 15 seconds that we
wanted to display the dialog after. This PR changes the number of retries so that the dialog displays after roughly
15 seconds again.
Note this is hard to test because the way that cypress re-throws errors (when it's rerouting requests it
receives to another service) seems to change the error code we receive, which causes us to display the
wrong dialog 😢
- What kind of change does this PR introduce?
- [x] Bugfix
## 🧠 Description of Changes
- [x] This is a visible (user-facing) change
## 🧪 Testing Done
- [x] Added/Updated unit tests | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5630/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5630",
"html_url": "https://github.com/streamlit/streamlit/pull/5630",
"diff_url": "https://github.com/streamlit/streamlit/pull/5630.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5630.patch",
"merged_at": "2022-11-01T23:05:49"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5629 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5629/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5629/comments | https://api.github.com/repos/streamlit/streamlit/issues/5629/events | https://github.com/streamlit/streamlit/pull/5629 | 1,430,476,261 | PR_kwDODCoeTs5B6tIW | 5,629 | Draft - Widget Label Markdown Prototype | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-31T20:47:39 | 2022-11-04T18:55:46 | 2022-11-04T18:55:46 | COLLABORATOR | null | ## 📚 Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## 🧪 Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5629/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5629",
"html_url": "https://github.com/streamlit/streamlit/pull/5629",
"diff_url": "https://github.com/streamlit/streamlit/pull/5629.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5629.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5628 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5628/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5628/comments | https://api.github.com/repos/streamlit/streamlit/issues/5628/events | https://github.com/streamlit/streamlit/pull/5628 | 1,430,391,984 | PR_kwDODCoeTs5B6a27 | 5,628 | DeltaGeneratorTestCase: remove unused setup param | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-31T19:42:44 | 2022-11-01T16:48:50 | 2022-11-01T16:48:47 | COLLABORATOR | null | `setUp` is an override called internally by `unittest.TestCase`, so it can't have any additional parameters. (Nobody is attempting to set this param to `False`, so removing it has no effect on existing tests.) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5628/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5628",
"html_url": "https://github.com/streamlit/streamlit/pull/5628",
"diff_url": "https://github.com/streamlit/streamlit/pull/5628.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5628.patch",
"merged_at": "2022-11-01T16:48:46"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5627 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5627/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5627/comments | https://api.github.com/repos/streamlit/streamlit/issues/5627/events | https://github.com/streamlit/streamlit/pull/5627 | 1,430,384,648 | PR_kwDODCoeTs5B6ZSB | 5,627 | metrics_util_test.py: fix patch statements | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-31T19:36:32 | 2022-11-01T16:48:18 | 2022-11-01T16:48:14 | COLLABORATOR | null | Drive-by PR to fix a couple `patch` statements that are implemented incorrectly.
(The intention is to have `os.path.isfile` return True for a specific path, but as written the patches would return True for all paths. This didn't break the tests - it was just a bit confusing as a reader.) | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5627/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5627",
"html_url": "https://github.com/streamlit/streamlit/pull/5627",
"diff_url": "https://github.com/streamlit/streamlit/pull/5627.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5627.patch",
"merged_at": "2022-11-01T16:48:14"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5626 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5626/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5626/comments | https://api.github.com/repos/streamlit/streamlit/issues/5626/events | https://github.com/streamlit/streamlit/issues/5626 | 1,430,097,453 | I_kwDODCoeTs5VPY4t | 5,626 | Bump protobuf | {
"login": "rencryptofish",
"id": 84360463,
"node_id": "MDQ6VXNlcjg0MzYwNDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/84360463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rencryptofish",
"html_url": "https://github.com/rencryptofish",
"followers_url": "https://api.github.com/users/rencryptofish/followers",
"following_url": "https://api.github.com/users/rencryptofish/following{/other_user}",
"gists_url": "https://api.github.com/users/rencryptofish/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rencryptofish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rencryptofish/subscriptions",
"organizations_url": "https://api.github.com/users/rencryptofish/orgs",
"repos_url": "https://api.github.com/users/rencryptofish/repos",
"events_url": "https://api.github.com/users/rencryptofish/events{/privacy}",
"received_events_url": "https://api.github.com/users/rencryptofish/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 2026998410,
"node_id": "MDU6TGFiZWwyMDI2OTk4NDEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:dependencies",
"name": "area:dependencies",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-10-31T16:06:07 | 2022-11-15T17:00:16 | null | NONE | null | Would there be any concerns on bumping protobuf >=4.0.0?
### Voting for feature requests
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.** | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5626/reactions",
"total_count": 31,
"+1": 31,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5626/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5625 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5625/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5625/comments | https://api.github.com/repos/streamlit/streamlit/issues/5625/events | https://github.com/streamlit/streamlit/issues/5625 | 1,428,694,375 | I_kwDODCoeTs5VKCVn | 5,625 | AttributeError: module ‘streamlit’ has no attribute ‘_is_running_with_streamlit’. This attribute used to work properly but now it doesn’t work anymore | {
"login": "mingjun1120",
"id": 54136320,
"node_id": "MDQ6VXNlcjU0MTM2MzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/54136320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mingjun1120",
"html_url": "https://github.com/mingjun1120",
"followers_url": "https://api.github.com/users/mingjun1120/followers",
"following_url": "https://api.github.com/users/mingjun1120/following{/other_user}",
"gists_url": "https://api.github.com/users/mingjun1120/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mingjun1120/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mingjun1120/subscriptions",
"organizations_url": "https://api.github.com/users/mingjun1120/orgs",
"repos_url": "https://api.github.com/users/mingjun1120/repos",
"events_url": "https://api.github.com/users/mingjun1120/events{/privacy}",
"received_events_url": "https://api.github.com/users/mingjun1120/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 3761991321,
"node_id": "LA_kwDODCoeTs7gO26Z",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:will-not-fix",
"name": "status:will-not-fix",
"color": "FEF2C0",
"default": false,
"description": "Streamlit team does not plan on addressing this request with a code change"
}
] | closed | false | null | [] | null | 4 | 2022-10-30T09:27:05 | 2022-10-31T22:24:11 | 2022-10-31T22:24:11 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Below codes used to work without having any problem but now it doesn’t work anymore when I **upgrade** my **streamlit** to **version 1.14.0** .
### Reproducible Code Example
```Python
from streamlit.web import cli as stcli
import sys
if __name__ == '__main__':
if st._is_running_with_streamlit:
main()
else:
sys.argv = ["streamlit", "run", sys.argv[0]]
sys.exit(stcli.main())
```
### Steps To Reproduce
_No response_
### Expected Behavior
The program is expected to run and the Chrome browser with a streamlit page will appear on the screen.
### Current Behavior
Traceback (most recent call last):
File "C:\Users\juroy\PycharmProjects\TikTokAnalytics\app.py", line 66, in <module>
if st._is_running_with_streamlit:
AttributeError: module 'streamlit' has no attribute '_is_running_with_streamlit'
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.14.0
- Python version: 3.10.4
- Operating System: Windows 11
- Browser: Chrome 106.0.5249.119 (Official Build) (64-bit)
### 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/5625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5625/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5624 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5624/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5624/comments | https://api.github.com/repos/streamlit/streamlit/issues/5624/events | https://github.com/streamlit/streamlit/pull/5624 | 1,428,512,657 | PR_kwDODCoeTs5B0Jbk | 5,624 | Add support for PySpark | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2022-10-30T00:01:44 | 2022-10-31T13:54:09 | 2022-10-31T13:54:09 | CONTRIBUTOR | null | ## 📚 Context
_Please describe the project or issue background here_
This PR adds support for `pyspark.sql.DataFrame` in the following Streamlit components:
* `st.dataframe`
* `st.table`
* `st.line_chart`
* `st.bar_chart`
* `st.area_chart`
* `st.map`
* `st.selectbox`
* `st.multiselect`
* `st.radio`
* `st.select_slider`
* `st.write`
- 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
- [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/5624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5624/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5624",
"html_url": "https://github.com/streamlit/streamlit/pull/5624",
"diff_url": "https://github.com/streamlit/streamlit/pull/5624.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5624.patch",
"merged_at": "2022-10-31T13:54:09"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5623 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5623/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5623/comments | https://api.github.com/repos/streamlit/streamlit/issues/5623/events | https://github.com/streamlit/streamlit/issues/5623 | 1,428,275,809 | I_kwDODCoeTs5VIcJh | 5,623 | None default option is missing for selectbox | {
"login": "imranture",
"id": 1104699,
"node_id": "MDQ6VXNlcjExMDQ2OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1104699?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imranture",
"html_url": "https://github.com/imranture",
"followers_url": "https://api.github.com/users/imranture/followers",
"following_url": "https://api.github.com/users/imranture/following{/other_user}",
"gists_url": "https://api.github.com/users/imranture/gists{/gist_id}",
"starred_url": "https://api.github.com/users/imranture/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/imranture/subscriptions",
"organizations_url": "https://api.github.com/users/imranture/orgs",
"repos_url": "https://api.github.com/users/imranture/repos",
"events_url": "https://api.github.com/users/imranture/events{/privacy}",
"received_events_url": "https://api.github.com/users/imranture/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 | 1 | 2022-10-29T13:57:20 | 2022-10-31T23:48:10 | 2022-10-31T23:48:10 | NONE | null | ### Problem
Adding None as a default option for `selectbox` is not possible.
### Solution
This should be easily fixed by adding a new parameter. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5623/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5622 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5622/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5622/comments | https://api.github.com/repos/streamlit/streamlit/issues/5622/events | https://github.com/streamlit/streamlit/pull/5622 | 1,427,899,210 | PR_kwDODCoeTs5ByKgn | 5,622 | Remove "magic" func `__init__.py` | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-28T22:10:18 | 2022-10-31T17:59:30 | 2022-10-31T17:59:28 | COLLABORATOR | null | `__init__.py` has a function called `_transparent_write`. It's used by Streamlit's "magic" module (which modifies Streamlit scripts to have them write out no-op string statements via `st.write`).
This PR moves `_transparent_write` into its own internal module called `magic_funcs`; it's not part of the public Streamlit API and doesn't belong in our top-level import. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5622/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5622",
"html_url": "https://github.com/streamlit/streamlit/pull/5622",
"diff_url": "https://github.com/streamlit/streamlit/pull/5622.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5622.patch",
"merged_at": "2022-10-31T17:59:27"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5621 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5621/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5621/comments | https://api.github.com/repos/streamlit/streamlit/issues/5621/events | https://github.com/streamlit/streamlit/pull/5621 | 1,427,557,959 | PR_kwDODCoeTs5BxAAo | 5,621 | Reworke AttrDict for st.secrets to explicitly disallow item and attribute assignment | {
"login": "kajarenc",
"id": 6664805,
"node_id": "MDQ6VXNlcjY2NjQ4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kajarenc",
"html_url": "https://github.com/kajarenc",
"followers_url": "https://api.github.com/users/kajarenc/followers",
"following_url": "https://api.github.com/users/kajarenc/following{/other_user}",
"gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions",
"organizations_url": "https://api.github.com/users/kajarenc/orgs",
"repos_url": "https://api.github.com/users/kajarenc/repos",
"events_url": "https://api.github.com/users/kajarenc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kajarenc/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-28T17:27:17 | 2022-11-04T10:22:35 | 2022-11-04T10:22:34 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
_Please describe the project or issue background here_
We implement `AttrDict` as `Mapping` instead of inheriting directly from `UserDict` to prevent unwanted item or attribute assignments for instances of `AttrDict`. Also, the goal is to be more specific about the types and protocols and keep it consistent with the Secret object itself.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [X] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## 🧪 Testing Done
- [ ] Screenshots included
- [X] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #5617
---
**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/5621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5621/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5621",
"html_url": "https://github.com/streamlit/streamlit/pull/5621",
"diff_url": "https://github.com/streamlit/streamlit/pull/5621.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5621.patch",
"merged_at": "2022-11-04T10:22:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5620 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5620/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5620/comments | https://api.github.com/repos/streamlit/streamlit/issues/5620/events | https://github.com/streamlit/streamlit/issues/5620 | 1,427,487,943 | I_kwDODCoeTs5VFbzH | 5,620 | text_input hidden by checkbox doesn't load from session state | {
"login": "isinghmitesh",
"id": 19800575,
"node_id": "MDQ6VXNlcjE5ODAwNTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/19800575?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/isinghmitesh",
"html_url": "https://github.com/isinghmitesh",
"followers_url": "https://api.github.com/users/isinghmitesh/followers",
"following_url": "https://api.github.com/users/isinghmitesh/following{/other_user}",
"gists_url": "https://api.github.com/users/isinghmitesh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/isinghmitesh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/isinghmitesh/subscriptions",
"organizations_url": "https://api.github.com/users/isinghmitesh/orgs",
"repos_url": "https://api.github.com/users/isinghmitesh/repos",
"events_url": "https://api.github.com/users/isinghmitesh/events{/privacy}",
"received_events_url": "https://api.github.com/users/isinghmitesh/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": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 3904167520,
"node_id": "LA_kwDODCoeTs7otN5g",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.text_input",
"name": "feature:st.text_input",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 4070169954,
"node_id": "LA_kwDODCoeTs7ymd1i",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state",
"name": "feature:st.session_state",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 4 | 2022-10-28T16:20:54 | 2023-02-07T16:27:47 | 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
When you want to hide input element if a check box is checked or not. The state from st.session_state is not loaded for the text_input
### Reproducible Code Example
```Python
import streamlit as st
if "text" not in st.session_state:
st.session_state.update({"text": "Hello, World!"})
clicked = st.checkbox("Checkbox")
if clicked:
st.text_input(label="Text input", key="text")
st.write(st.session_state)
```
### Steps To Reproduce
1. Run this code
2. Click the checkbox
### Expected Behavior
The text_input field is prefilled with "Hello World"
### Current Behavior
The text_input field is empty, and hence is not the same as the session state
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10.6
- Operating System: mac
- Browser: Chrome
- Virtual environment: yes
### Additional Information
Here's a screenshot -
<img width="902" alt="Screenshot 2022-10-28 at 21 50 21" src="https://user-images.githubusercontent.com/19800575/198685326-9210d15f-76d1-4a35-afce-410b59560c8d.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/5620/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/5620/timeline | null | reopened | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5619 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5619/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5619/comments | https://api.github.com/repos/streamlit/streamlit/issues/5619/events | https://github.com/streamlit/streamlit/issues/5619 | 1,427,060,413 | I_kwDODCoeTs5VDza9 | 5,619 | The app says "Please wait..." forever | streamlit running on via Databricks notebook | {
"login": "AbishekS01",
"id": 105917367,
"node_id": "U_kgDOBlArtw",
"avatar_url": "https://avatars.githubusercontent.com/u/105917367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AbishekS01",
"html_url": "https://github.com/AbishekS01",
"followers_url": "https://api.github.com/users/AbishekS01/followers",
"following_url": "https://api.github.com/users/AbishekS01/following{/other_user}",
"gists_url": "https://api.github.com/users/AbishekS01/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AbishekS01/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AbishekS01/subscriptions",
"organizations_url": "https://api.github.com/users/AbishekS01/orgs",
"repos_url": "https://api.github.com/users/AbishekS01/repos",
"events_url": "https://api.github.com/users/AbishekS01/events{/privacy}",
"received_events_url": "https://api.github.com/users/AbishekS01/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": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4762245906,
"node_id": "LA_kwDODCoeTs8AAAABG9obEg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:in-progress",
"name": "status:in-progress",
"color": "FEF2C0",
"default": false,
"description": "We're working on fixing this issue"
}
] | open | false | null | [] | null | 7 | 2022-10-28T10:37:29 | 2023-02-09T05:58: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
The app says "Please wait..." forever | streamlit running on via Databricks notebook, when I tried the https://docs.streamlit.io/knowledge-base/deploy/remote-start
streamlit run my_app.py --server.enableCORS=false
streamlit run my_app.py --server.enableWebsocketCompression=false
### Reproducible Code Example
```Python
https://raw.githubusercontent.com/StatsAI/Streamlit_RecSys/main/test_app.py
```
### Steps To Reproduce
!pip install streamlit
import os
base_url='https://' + spark.conf.get("spark.databricks.workspaceUrl")
workspace_id=spark.conf.get("spark.databricks.clusterUsageTags.orgId")
cluster_id=spark.conf.get("spark.databricks.clusterUsageTags.clusterId")
dashboard_port='8501'
pathname_prefix='/driver-proxy/o/' + workspace_id + '/' + cluster_id + '/' + dashboard_port
dashboard_url=base_url + pathname_prefix + '/app'
os.environ['STREAMLIT_REQUESTS_PATHNAME_PREFIX'] = pathname_prefix
print(os.environ.get('STREAMLIT_REQUESTS_PATHNAME_PREFIX'))
print("Once the dashboard is running, it can be accessed at this link:\n\n" + dashboard_url)
!streamlit run https://raw.githubusercontent.com/StatsAI/Streamlit_RecSys/main/test_app.py --server.port 8501
For output example :
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
You can now view your Streamlit app in your browser.
Network URL: http://10.25.252.86:8501
External URL: http://18.220.214.11:8501
https://xxxxxxxxx.cloud.databricks.com/driver-proxy/o/xxxxxxxxx/xxxxxxxx/8501/app
![image](https://user-images.githubusercontent.com/105917367/198564982-61477ee6-702d-420d-83e2-a537a290a334.png)
### Expected Behavior
_No response_
### Current Behavior
![image](https://user-images.githubusercontent.com/105917367/198565383-3b68726c-4dde-4abd-940b-2a6a598337e7.png)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: version 1.14.0
- Python version: 3.8.10
- Operating System: 18.04.1-Ubuntu ( aws)
- Browser: chrome
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR!
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.** | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5619/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5618 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5618/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5618/comments | https://api.github.com/repos/streamlit/streamlit/issues/5618/events | https://github.com/streamlit/streamlit/issues/5618 | 1,427,004,467 | I_kwDODCoeTs5VDlwz | 5,618 | Data placed in session_state is lost when debugging outside of Streamlit run | {
"login": "christian-cooper-shell",
"id": 83221583,
"node_id": "MDQ6VXNlcjgzMjIxNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/83221583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/christian-cooper-shell",
"html_url": "https://github.com/christian-cooper-shell",
"followers_url": "https://api.github.com/users/christian-cooper-shell/followers",
"following_url": "https://api.github.com/users/christian-cooper-shell/following{/other_user}",
"gists_url": "https://api.github.com/users/christian-cooper-shell/gists{/gist_id}",
"starred_url": "https://api.github.com/users/christian-cooper-shell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/christian-cooper-shell/subscriptions",
"organizations_url": "https://api.github.com/users/christian-cooper-shell/orgs",
"repos_url": "https://api.github.com/users/christian-cooper-shell/repos",
"events_url": "https://api.github.com/users/christian-cooper-shell/events{/privacy}",
"received_events_url": "https://api.github.com/users/christian-cooper-shell/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 4070169954,
"node_id": "LA_kwDODCoeTs7ymd1i",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state",
"name": "feature:st.session_state",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 4775977579,
"node_id": "LA_kwDODCoeTs8AAAABHKuiaw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:debugging",
"name": "area:debugging",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 0 | 2022-10-28T09:52:15 | 2022-11-15T17:00:16 | null | NONE | null | ### Problem
I'm not sure if this is a feature request or a regression as this behaviour did work in previous releases.
Whenever I get into more complex problems with a Streamlit app I was able to run the code in a debugger, now I run into the issue that values stored into the session_state are lost, as it appears that the session_state is reconstructed cleanly every time it is accessed.
To get around this, I have to add the following code to my app:
``` python
# When debugging locally, the session state is reconstructed with every request
st.session_state['test'] = 'present'
if 'test' not in st.session_state:
logger.warning('Session state being replaced in debugger')
# Replace with a simple dict for the duration of this debugging run
st.session_state = {}
else:
del st.session_state['test']
```
### Solution
The simplest solution is to treat code running outside of `streamlit run` as still being in a session, granted it is not associated with an HTTP session, but is still in a session for the duration of the run.
I'm more than happy for the above code to be integrated into the codebase if it helps. Maybe with the warning message being updated to indicate that session_state is being replaced with a dict for the duration of the run outside of `streamlit run`.
### Additional context
The issue can be reproduced with this code:
```python
import streamlit as st
print(f'Version: {st.__version__}')
st.session_state['test'] = 'present'
print('Keys:')
for k, v in st.session_state.items():
print(f'{k} = {v}')
print('Done')
```
Which produces the following output, which you will note does not display the information added to the session_state, but does raise a warning:
```
C:\Projects\example\venv\Scripts\python.exe C:/Users/etc/scratches/scratch_19.py
Version: 1.11.1
Keys:
Done
2022-10-28 10:29:56.602 WARNING streamlit.state.session_state_proxy: Session state does not function when running a script without `streamlit run`
Process finished with exit code 0
```
### Voting for feature requests
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.** | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5618/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5617 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5617/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5617/comments | https://api.github.com/repos/streamlit/streamlit/issues/5617/events | https://github.com/streamlit/streamlit/issues/5617 | 1,426,671,029 | I_kwDODCoeTs5VCUW1 | 5,617 | streamlit.runtime.secrets.AttrDict no longer returns True for isinstance() against dict in streamlit 1.14.0 | {
"login": "blipk",
"id": 45532845,
"node_id": "MDQ6VXNlcjQ1NTMyODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/45532845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blipk",
"html_url": "https://github.com/blipk",
"followers_url": "https://api.github.com/users/blipk/followers",
"following_url": "https://api.github.com/users/blipk/following{/other_user}",
"gists_url": "https://api.github.com/users/blipk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blipk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blipk/subscriptions",
"organizations_url": "https://api.github.com/users/blipk/orgs",
"repos_url": "https://api.github.com/users/blipk/repos",
"events_url": "https://api.github.com/users/blipk/events{/privacy}",
"received_events_url": "https://api.github.com/users/blipk/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": 2726424640,
"node_id": "MDU6TGFiZWwyNzI2NDI0NjQw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.secrets",
"name": "feature:st.secrets",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230105890,
"node_id": "MDU6TGFiZWwzMjMwMTA1ODkw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P2",
"name": "priority:P2",
"color": "ff4b4b",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 3 | 2022-10-28T04:52:43 | 2022-11-04T10:22:37 | 2022-11-04T10:22:37 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Hi.
With the latest streamlit version `streamlit.runtime.secrets.AttrDict` seems to inherit from `UserDict` instead of `dict` in previous version.
Many libraries I use check that their configuration is `isinstance` against `dict` and are now failing when I pass my config from st.secrets to them.
I can't see any documentation changes related to this and am not familiar with `UserDict`, do I have to go through my code and wrap all st.secrets access in a `dict()` conversion call now?
### Reproducible Code Example
```Python
import streamlit as st
print(isinstance(st.secrets["my_secret_dict"], dict)) # False on streamlit 1.14.0 - was True prior to that
```
### Steps To Reproduce
_No response_
### Expected Behavior
_No response_
### Current Behavior
_No response_
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.14.0
- Python version: 3.100
- Operating System: Linux
- Browser: Firefox
- Virtual environment: None
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5617/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5616 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5616/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5616/comments | https://api.github.com/repos/streamlit/streamlit/issues/5616/events | https://github.com/streamlit/streamlit/issues/5616 | 1,426,261,020 | I_kwDODCoeTs5VAwQc | 5,616 | Bring back colored borders for `st.info`, `st.success`, `st.warning` and `st.error` to improve visibility | {
"login": "marduk2",
"id": 12582729,
"node_id": "MDQ6VXNlcjEyNTgyNzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/12582729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marduk2",
"html_url": "https://github.com/marduk2",
"followers_url": "https://api.github.com/users/marduk2/followers",
"following_url": "https://api.github.com/users/marduk2/following{/other_user}",
"gists_url": "https://api.github.com/users/marduk2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marduk2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marduk2/subscriptions",
"organizations_url": "https://api.github.com/users/marduk2/orgs",
"repos_url": "https://api.github.com/users/marduk2/repos",
"events_url": "https://api.github.com/users/marduk2/events{/privacy}",
"received_events_url": "https://api.github.com/users/marduk2/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1634945110,
"node_id": "MDU6TGFiZWwxNjM0OTQ1MTEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:layout",
"name": "area:layout",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 1846397999,
"node_id": "MDU6TGFiZWwxODQ2Mzk3OTk5",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:ux/ui",
"name": "area:ux/ui",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 2567817581,
"node_id": "MDU6TGFiZWwyNTY3ODE3NTgx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:styling",
"name": "area:styling",
"color": "C2E0C6",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 2 | 2022-10-27T21:00:59 | 2022-11-15T17:00:17 | null | NONE | null | ### Problem
- Today I updated to a more recent version (1.14.0) of Streamlit and the alerts/notifications (`st.info`, `st.success`, `st.warning`, `st.error`) do not have borders anymore.
- For those of us with some difficulty to distinguish colors, the borders really helped. `st.warning` is the trickiest one to see in my case, both in the main area as well as in the sidebar, followed by `st.success`.
- I tried adding borders using the CSS markdown trick, but haven't found a way to add a different border color depending on alert type.
### Example
```
# Using streamlit 1.14.0
import streamlit as st
# CSS markdown trick to add border - cannot achieve different border colors depending on alert type
st.markdown("""
<style>
.stAlert {border-style: solid; border-radius: 5px; border-width: 1px; border-color:darkblue;}
</style>
""",unsafe_allow_html=True)
# Streamlit Alerts in sidebar
with st.sidebar:
st.info('Info')
st.success('Success')
st.warning('Warning')
st.error('Error')
# Streamlit Alerts in main area
st.info('Info')
st.success('Success')
st.warning('Warning')
st.error('Error')
```
### Solution
**MVP:** A CSS markdown trick example on how to add different border colors depending on alert type.
**Preferred solution:** Bring back the colored borders for `st.info`, `st.success`, `st.warning` and `st.error`.
### Voting for feature requests
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5616/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5615 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5615/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5615/comments | https://api.github.com/repos/streamlit/streamlit/issues/5615/events | https://github.com/streamlit/streamlit/pull/5615 | 1,426,127,211 | PR_kwDODCoeTs5BsT4u | 5,615 | Fix test file name | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
}
] | null | 2 | 2022-10-27T18:52:45 | 2022-10-28T18:10:44 | 2022-10-28T18:10:43 | COLLABORATOR | null | Since Maya noticed that my st_heading.spec.js was misnamed, I also noticed that this e2e test was misnamed. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5615/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5615",
"html_url": "https://github.com/streamlit/streamlit/pull/5615",
"diff_url": "https://github.com/streamlit/streamlit/pull/5615.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5615.patch",
"merged_at": "2022-10-28T18:10:43"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5614 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5614/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5614/comments | https://api.github.com/repos/streamlit/streamlit/issues/5614/events | https://github.com/streamlit/streamlit/pull/5614 | 1,425,875,634 | PR_kwDODCoeTs5BrdCW | 5,614 | Up version to 1.14.0 | {
"login": "kmcgrady",
"id": 69432,
"node_id": "MDQ6VXNlcjY5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kmcgrady",
"html_url": "https://github.com/kmcgrady",
"followers_url": "https://api.github.com/users/kmcgrady/followers",
"following_url": "https://api.github.com/users/kmcgrady/following{/other_user}",
"gists_url": "https://api.github.com/users/kmcgrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kmcgrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmcgrady/subscriptions",
"organizations_url": "https://api.github.com/users/kmcgrady/orgs",
"repos_url": "https://api.github.com/users/kmcgrady/repos",
"events_url": "https://api.github.com/users/kmcgrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/kmcgrady/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-27T15:54:57 | 2022-11-07T23:39:00 | 2022-10-27T17:26:42 | COLLABORATOR | null | null | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5614/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5614",
"html_url": "https://github.com/streamlit/streamlit/pull/5614",
"diff_url": "https://github.com/streamlit/streamlit/pull/5614.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5614.patch",
"merged_at": "2022-10-27T17:26:42"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5613 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5613/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5613/comments | https://api.github.com/repos/streamlit/streamlit/issues/5613/events | https://github.com/streamlit/streamlit/issues/5613 | 1,425,474,919 | I_kwDODCoeTs5U9wVn | 5,613 | st.set_page_config lost on refresh in multipage apps | {
"login": "matkozak",
"id": 19314272,
"node_id": "MDQ6VXNlcjE5MzE0Mjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/19314272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matkozak",
"html_url": "https://github.com/matkozak",
"followers_url": "https://api.github.com/users/matkozak/followers",
"following_url": "https://api.github.com/users/matkozak/following{/other_user}",
"gists_url": "https://api.github.com/users/matkozak/gists{/gist_id}",
"starred_url": "https://api.github.com/users/matkozak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matkozak/subscriptions",
"organizations_url": "https://api.github.com/users/matkozak/orgs",
"repos_url": "https://api.github.com/users/matkozak/repos",
"events_url": "https://api.github.com/users/matkozak/events{/privacy}",
"received_events_url": "https://api.github.com/users/matkozak/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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": 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 | 2 | 2022-10-27T11:23:49 | 2022-10-31T18:02:13 | 2022-10-31T18:02:13 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
When a user refreshes a page, the `st.set_page_config` does not get executed if it is called outside that page.
### Reproducible Code Example
```Python
import streamlit as st
st.set_page_config(
layout="wide",
initial_sidebar_state="collapsed",
)
st.header("Some text")
```
### Steps To Reproduce
1. Invoke `st.set_page_config` in entrypoint file with changes to default
2. Switch to another page
3. Refresh
### Expected Behavior
I expect to be able to set the config for the whole app regardless of execution order.
### Current Behavior
The page configuration is disregarded.
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.14.0rc1
- Python version: 3.10
- Operating System: Ubuntu 22.04
- Browser: Firefox
- Virtual environment: yes
### Additional Information
Maybe duplicate some of these options in `config.toml`? The problem is that `st.set_page_config` is supposed to be ran only once per app so one cannot guard against this by putting it in every page, but it's not actually affecting the whole app in a consistent manner.
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5613/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5612 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5612/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5612/comments | https://api.github.com/repos/streamlit/streamlit/issues/5612/events | https://github.com/streamlit/streamlit/pull/5612 | 1,425,089,075 | PR_kwDODCoeTs5BozvL | 5,612 | fix slider jitter (#5546) | {
"login": "finnigantime",
"id": 1305608,
"node_id": "MDQ6VXNlcjEzMDU2MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1305608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/finnigantime",
"html_url": "https://github.com/finnigantime",
"followers_url": "https://api.github.com/users/finnigantime/followers",
"following_url": "https://api.github.com/users/finnigantime/following{/other_user}",
"gists_url": "https://api.github.com/users/finnigantime/gists{/gist_id}",
"starred_url": "https://api.github.com/users/finnigantime/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/finnigantime/subscriptions",
"organizations_url": "https://api.github.com/users/finnigantime/orgs",
"repos_url": "https://api.github.com/users/finnigantime/repos",
"events_url": "https://api.github.com/users/finnigantime/events{/privacy}",
"received_events_url": "https://api.github.com/users/finnigantime/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-27T06:14:00 | 2022-11-01T17:28:52 | 2022-11-01T17:28:51 | CONTRIBUTOR | null | ## 📚 Context
Fixes #5546. Added a comment in that issue with context on why the bug is occurring.
This fix tweaks the original code from https://github.com/streamlit/streamlit/pull/4076 to prevent the jitter. The thumb value's current position cannot be used to determine if the thumb value's position needs to be clamped - because if we've already clamped it to be within the slider's bounds then it no longer overflows the slider.
Instead, we can use the thumb's position plus the thumb value's width to determine if the thumb value needs to be clamped. This calculation does not depend on the thumb value's position so it returns the same value before/after clamping the thumb value's position within the slider's bounds. This prevents the clamping from causing a jitter.
- 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:**
![afterFix](https://user-images.githubusercontent.com/1305608/198203054-18b53ee5-3544-4ad4-a771-46c27bbf9ac3.gif)
**Current:**
![beforeFix](https://user-images.githubusercontent.com/1305608/198203035-d3995eb6-d038-46dc-b9a8-98db5e0a225d.gif)
hovering on/off the thumb:
![hoverCausesJitter](https://user-images.githubusercontent.com/1305608/198205171-10ae8919-a1ef-4265-8e67-d0b9778dcb80.gif)
## 🧪 Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
This issue is tricky to add test coverage for since static tests (unit and e2e snapshot) will produce the same slider thumb value position with/without the code diff in this PR. The behavior only differs if React render is triggered multiple times in succession - that's what produces the jitter.
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #5546
---
**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/5612/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/5612/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5612",
"html_url": "https://github.com/streamlit/streamlit/pull/5612",
"diff_url": "https://github.com/streamlit/streamlit/pull/5612.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5612.patch",
"merged_at": "2022-11-01T17:28:51"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5611 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5611/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5611/comments | https://api.github.com/repos/streamlit/streamlit/issues/5611/events | https://github.com/streamlit/streamlit/issues/5611 | 1,425,043,962 | I_kwDODCoeTs5U8HH6 | 5,611 | bigint in json get wrong value | {
"login": "Lix1993",
"id": 12579295,
"node_id": "MDQ6VXNlcjEyNTc5Mjk1",
"avatar_url": "https://avatars.githubusercontent.com/u/12579295?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lix1993",
"html_url": "https://github.com/Lix1993",
"followers_url": "https://api.github.com/users/Lix1993/followers",
"following_url": "https://api.github.com/users/Lix1993/following{/other_user}",
"gists_url": "https://api.github.com/users/Lix1993/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lix1993/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lix1993/subscriptions",
"organizations_url": "https://api.github.com/users/Lix1993/orgs",
"repos_url": "https://api.github.com/users/Lix1993/repos",
"events_url": "https://api.github.com/users/Lix1993/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lix1993/received_events",
"type": "User",
"site_admin": false
} | [
{
"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": 4561191779,
"node_id": "LA_kwDODCoeTs8AAAABD95DYw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.json",
"name": "feature:st.json",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"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 | 4 | 2022-10-27T05:13:39 | 2023-01-07T18:04:54 | 2022-11-08T19:29:23 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
code:
```python
```
result:
{
"1":1565605928693133300
"1565605928693133312":1
}
### Reproducible Code Example
```Python
import streamlit as st
st.json({1565605928693133312: 1, 1: 1565605928693133312})
```
### Steps To Reproduce
_No response_
### Expected Behavior
exact same from origin dict
{'1565605928693133312': 1, '1': 1565605928693133312}
### Current Behavior
{
"1":1565605928693133300
"1565605928693133312":1
}
### 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!
---
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/5611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5611/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5610 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5610/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5610/comments | https://api.github.com/repos/streamlit/streamlit/issues/5610/events | https://github.com/streamlit/streamlit/pull/5610 | 1,424,747,701 | PR_kwDODCoeTs5Bnrjx | 5,610 | Flaky test e2e fixes | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2022-10-26T22:01:40 | 2022-11-03T18:10:15 | 2022-11-03T18:10:12 | COLLABORATOR | null | ## 📚 Context
Updates `st.camera_input` & `st.graphviz_chart` e2e tests to hopefully be less flaky & reverts `st_arrow_dataframe_canvas_rendering.spec.js` naming
- 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/5610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5610/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5610",
"html_url": "https://github.com/streamlit/streamlit/pull/5610",
"diff_url": "https://github.com/streamlit/streamlit/pull/5610.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5610.patch",
"merged_at": "2022-11-03T18:10:12"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5609 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5609/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5609/comments | https://api.github.com/repos/streamlit/streamlit/issues/5609/events | https://github.com/streamlit/streamlit/pull/5609 | 1,424,363,314 | PR_kwDODCoeTs5BmXfo | 5,609 | Add in shared properties and test for headings | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-26T16:44:58 | 2022-10-28T21:58:09 | 2022-10-28T21:58:09 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
https://github.com/streamlit/streamlit/issues/5607
When refactoring the header code, I accidentally forgot to include the properties for the streamlit markdown into heading. As a result, I have created a shared properties so that when we need to share properties, we can add it into that method and both of them will receive the correct styling.
_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
- created a shared method for streamlitMarkdown and Heading to receive the same styling
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
<img width="143" alt="Screen Shot 2022-10-26 at 11 44 25 AM" src="https://user-images.githubusercontent.com/16749069/198085904-095fcf18-0b13-46b8-9799-ea52019021cb.png">
_Insert screenshot of your updated UI/code here_
**Current:**
<img width="178" alt="Screen Shot 2022-10-26 at 11 44 17 AM" src="https://user-images.githubusercontent.com/16749069/198085860-6b953be4-4ae6-4d78-b91a-e7c7d5f9d1e5.png">
_Insert screenshot of existing UI/code here_
## 🧪 Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [x] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
https://github.com/streamlit/streamlit/issues/5607
---
**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/5609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5609/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5609",
"html_url": "https://github.com/streamlit/streamlit/pull/5609",
"diff_url": "https://github.com/streamlit/streamlit/pull/5609.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5609.patch",
"merged_at": "2022-10-28T21:58:09"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5608 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5608/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5608/comments | https://api.github.com/repos/streamlit/streamlit/issues/5608/events | https://github.com/streamlit/streamlit/issues/5608 | 1,424,332,795 | I_kwDODCoeTs5U5Zf7 | 5,608 | streamlit & python 3.11.0 | {
"login": "massnomis",
"id": 23089346,
"node_id": "MDQ6VXNlcjIzMDg5MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/23089346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/massnomis",
"html_url": "https://github.com/massnomis",
"followers_url": "https://api.github.com/users/massnomis/followers",
"following_url": "https://api.github.com/users/massnomis/following{/other_user}",
"gists_url": "https://api.github.com/users/massnomis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/massnomis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/massnomis/subscriptions",
"organizations_url": "https://api.github.com/users/massnomis/orgs",
"repos_url": "https://api.github.com/users/massnomis/repos",
"events_url": "https://api.github.com/users/massnomis/events{/privacy}",
"received_events_url": "https://api.github.com/users/massnomis/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2022-10-26T16:24:24 | 2022-10-26T18:21:15 | 2022-10-26T17:01: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
3.11 is a faster version of python by around 20%. pyarrow, a dependency of streamlit will not install
### Reproducible Code Example
_No response_
### Steps To Reproduce
pip install streamlit
### Expected Behavior
_No response_
### Current Behavior
```
massnomis@Sams-MacBook-Pro 311 % pip install streamlit
Collecting streamlit
Using cached streamlit-1.13.0-py2.py3-none-any.whl (9.2 MB)
Requirement already satisfied: altair>=3.2.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (4.2.0)
Requirement already satisfied: blinker>=1.0.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (1.5)
Requirement already satisfied: cachetools>=4.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (5.2.0)
Requirement already satisfied: click>=7.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (8.1.3)
Collecting importlib-metadata>=1.4
Using cached importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (1.23.4)
Requirement already satisfied: packaging>=14.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (21.3)
Requirement already satisfied: pandas>=0.21.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (1.5.1)
Requirement already satisfied: pillow>=6.2.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (9.2.0)
Collecting protobuf!=3.20.2,<4,>=3.12
Using cached protobuf-3.20.3-py2.py3-none-any.whl (162 kB)
Collecting pyarrow>=4.0
Using cached pyarrow-9.0.0.tar.gz (873 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pydeck>=0.1.dev5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (0.8.0b4)
Collecting pympler>=0.9
Using cached Pympler-1.0.1-py3-none-any.whl (164 kB)
Requirement already satisfied: python-dateutil in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (2.8.2)
Requirement already satisfied: requests>=2.4 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (2.28.1)
Collecting rich>=10.11.0
Using cached rich-12.6.0-py3-none-any.whl (237 kB)
Collecting semver
Using cached semver-2.13.0-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: toml in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (0.10.2)
Requirement already satisfied: tornado>=5.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (6.2)
Collecting typing-extensions>=3.10.0.0
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Requirement already satisfied: tzlocal>=1.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (4.2)
Requirement already satisfied: validators>=0.2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from streamlit) (0.20.0)
Collecting gitpython!=3.1.19
Using cached GitPython-3.1.29-py3-none-any.whl (182 kB)
Requirement already satisfied: entrypoints in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from altair>=3.2.0->streamlit) (0.4)
Requirement already satisfied: jinja2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from altair>=3.2.0->streamlit) (3.1.2)
Requirement already satisfied: jsonschema>=3.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from altair>=3.2.0->streamlit) (4.16.0)
Requirement already satisfied: toolz in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from altair>=3.2.0->streamlit) (0.12.0)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting zipp>=0.5
Using cached zipp-3.10.0-py3-none-any.whl (6.2 kB)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from packaging>=14.1->streamlit) (3.0.9)
Requirement already satisfied: pytz>=2020.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pandas>=0.21.0->streamlit) (2022.5)
Requirement already satisfied: six>=1.5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from python-dateutil->streamlit) (1.16.0)
Requirement already satisfied: charset-normalizer<3,>=2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.4->streamlit) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.4->streamlit) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.4->streamlit) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.4->streamlit) (2022.9.24)
Collecting commonmark<0.10.0,>=0.9.0
Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting pygments<3.0.0,>=2.6.0
Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Requirement already satisfied: pytz-deprecation-shim in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from tzlocal>=1.1->streamlit) (0.1.0.post0)
Requirement already satisfied: decorator>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from validators>=0.2->streamlit) (5.1.1)
Collecting smmap<6,>=3.0.1
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from jinja2->altair>=3.2.0->streamlit) (2.1.1)
Requirement already satisfied: attrs>=17.4.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from jsonschema>=3.0->altair>=3.2.0->streamlit) (22.1.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from jsonschema>=3.0->altair>=3.2.0->streamlit) (0.18.1)
Requirement already satisfied: tzdata in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from pytz-deprecation-shim->tzlocal>=1.1->streamlit) (2022.5)
Building wheels for collected packages: pyarrow
Building wheel for pyarrow (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyarrow (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [219 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-311
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/orc.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/conftest.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_generated_version.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/benchmark.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_compute_docstrings.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/ipc.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/util.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/flight.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/cffi.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/substrait.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/filesystem.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/__init__.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/plasma.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/types.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/dataset.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/cuda.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/feather.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/pandas_compat.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/fs.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/csv.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/jvm.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/hdfs.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/json.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/serialization.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/compute.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_tensor.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_ipc.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/conftest.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_convert_builtin.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_misc.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/arrow_16597.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_gandiva.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/strategies.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_adhoc_memory_leak.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/arrow_7980.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/util.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_orc.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_table.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_array.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_serialization_deprecated.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/__init__.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_io.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_util.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_cuda_numba_interop.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_cffi.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_schema.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_jvm.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_plasma_tf_op.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_fs.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_udf.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_filesystem.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/pandas_threaded_import.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/pandas_examples.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_cython.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_sparse_tensor.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_dataset.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_builder.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_cuda.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_extension_type.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_feather.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_pandas.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_memory.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_exec_plan.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_flight.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/read_record_batch.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_json.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_serialization.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_compute.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_hdfs.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/deserialize_buffer.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_strategies.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_csv.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_plasma.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_scalars.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_gdb.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_types.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/test_substrait.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/vendored
copying pyarrow/vendored/version.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/vendored
copying pyarrow/vendored/__init__.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/vendored
copying pyarrow/vendored/docscrape.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/vendored
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/parquet
copying pyarrow/parquet/encryption.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/parquet
copying pyarrow/parquet/__init__.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/parquet
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_basic.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/conftest.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/encryption.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_writer.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_metadata.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/__init__.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_datetime.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/common.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_dataset.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_data_types.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_pandas.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_file.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_compliant_nested_type.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_encryption.py -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/parquet
running egg_info
writing pyarrow.egg-info/PKG-INFO
writing dependency_links to pyarrow.egg-info/dependency_links.txt
writing entry points to pyarrow.egg-info/entry_points.txt
writing requirements to pyarrow.egg-info/requires.txt
writing top-level names to pyarrow.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'pyarrow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '../LICENSE.txt'
warning: no files found matching '../NOTICE.txt'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '#*' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
no previously-included directories found matching '.asv'
writing manifest file 'pyarrow.egg-info/SOURCES.txt'
copying pyarrow/__init__.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_compute.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_compute.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_csv.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_csv.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_cuda.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_cuda.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_dataset.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_dataset.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_dataset_orc.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_dataset_parquet.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_exec_plan.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_feather.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_flight.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_fs.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_fs.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_gcsfs.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_hdfs.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_hdfsio.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_json.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_orc.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_orc.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_parquet.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_parquet.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_parquet_encryption.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_parquet_encryption.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_plasma.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_s3fs.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/_substrait.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/array.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/benchmark.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/builder.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/compat.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/config.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/error.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/gandiva.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/io.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/ipc.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/lib.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/lib.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/memory.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/pandas-shim.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/public-api.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/scalar.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/serialization.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/table.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/tensor.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
copying pyarrow/types.pxi -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/common.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_feather.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/__init__.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libgandiva.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_python.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_flight.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_dataset_parquet.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_dataset.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_substrait.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_cuda.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libarrow_fs.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/includes/libplasma.pxd -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/includes
copying pyarrow/tests/bound_function_visit_strings.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
copying pyarrow/tests/pyarrow_cython_example.pyx -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tensorflow
copying pyarrow/tensorflow/plasma_op.cc -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tensorflow
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/feather
copying pyarrow/tests/data/feather/v0.17.0.version.2-compression.lz4.feather -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/feather
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/README.md -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.jsn.gz -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.orc -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/orc
creating build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.parquet -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.macosx-10.9-universal2-cpython-311/pyarrow/tests/data/parquet
running build_ext
creating /private/var/folders/9m/kq4_tpr97xvd_d6yyklj5fyc0000gn/T/pip-install-ly3_vhye/pyarrow_aae7e89be9ef46d48bf5107c7e7face2/build/temp.macosx-10.9-universal2-cpython-311
-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11 -DPython3_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11 "" -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_BOOST=off -DPYARROW_GENERATE_COVERAGE=off -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /private/var/folders/9m/kq4_tpr97xvd_d6yyklj5fyc0000gn/T/pip-install-ly3_vhye/pyarrow_aae7e89be9ef46d48bf5107c7e7face2
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/cmake", line 5, in <module>
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
error: command '/Library/Frameworks/Python.framework/Versions/3.11/bin/cmake' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
```
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version: 3.11
- Operating System: MacOS
- Browser:
- Virtual environment: venv, pyenv, conda
### Additional Information
_No response_
### Are you willing to submit a PR?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5608/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5607 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5607/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5607/comments | https://api.github.com/repos/streamlit/streamlit/issues/5607/events | https://github.com/streamlit/streamlit/issues/5607 | 1,424,269,161 | I_kwDODCoeTs5U5J9p | 5,607 | Links in Headers are red and not blue | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 4731917807,
"node_id": "LA_kwDODCoeTs8AAAABGgtV7w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.header",
"name": "feature:st.header",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2022-10-26T15:36:40 | 2022-11-01T02:20:49 | 2022-11-01T02:20:49 | COLLABORATOR | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
When you provide a link into a st.header, st.title, st.subheader, this will not render out correct styling properties for links.
### Reproducible Code Example
```Python
import streamlit as st
st.header("a [link]()")
```
### Steps To Reproduce
no steps.
### Expected Behavior
Link should be blue
### Current Behavior
Link is red
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: any
- Operating System: any
- Browser: any
- Virtual environment: any
### 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/5607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5607/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5606 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5606/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5606/comments | https://api.github.com/repos/streamlit/streamlit/issues/5606/events | https://github.com/streamlit/streamlit/issues/5606 | 1,424,115,178 | I_kwDODCoeTs5U4kXq | 5,606 | st.dataframe fails with simple Arrow Table | {
"login": "thomasaarholt",
"id": 2721423,
"node_id": "MDQ6VXNlcjI3MjE0MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2721423?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomasaarholt",
"html_url": "https://github.com/thomasaarholt",
"followers_url": "https://api.github.com/users/thomasaarholt/followers",
"following_url": "https://api.github.com/users/thomasaarholt/following{/other_user}",
"gists_url": "https://api.github.com/users/thomasaarholt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thomasaarholt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thomasaarholt/subscriptions",
"organizations_url": "https://api.github.com/users/thomasaarholt/orgs",
"repos_url": "https://api.github.com/users/thomasaarholt/repos",
"events_url": "https://api.github.com/users/thomasaarholt/events{/privacy}",
"received_events_url": "https://api.github.com/users/thomasaarholt/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1846291968,
"node_id": "MDU6TGFiZWwxODQ2MjkxOTY4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/package:arrow",
"name": "package:arrow",
"color": "00d4b1",
"default": false,
"description": "Related to Arrow"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 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 | 2 | 2022-10-26T14:16:18 | 2022-11-08T19:31:32 | 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
Simple arrow plotting doesn't work, despite using the default "arrow" config setting (not "legacy" - I have checked with `streamlit config show`.
It fails with `"Error: Table schema is missing"`, despite the schema clearly being present (in df.schema)
![image](https://user-images.githubusercontent.com/2721423/198050297-a9343c84-aed7-48b0-9eb2-5045deac4797.png)
It *might* be related to #5106 which in turn refers to streamlit/component-template#23
### Reproducible Code Example
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5606)
```Python
import streamlit as st
import pyarrow as pa
a = pa.array([1, 2, 3, 4])
b = pa.array([3, 10, 20, 50])
pydict = {'id': a, 'age': b}
df = pa.Table.from_pydict(pydict)
# >>> df.schema
# id: int64
# age: int64
st.dataframe(df)
```
### Steps To Reproduce
1. Place the above in a streamlit app
2. Start the app
3. Error message `"Error: Table schema is missing"`
### Expected Behavior
I expect to see a graph
### Current Behavior
```
Error:
Table schema is missing.
e@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:166664
get@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:6392
gn@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:41193
ia@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1450794
Ua@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1460361
Gu@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1504243
Ms@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1490428
Os@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1490356
Ss@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1490217
bs@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1487183
Vi/<@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1436562
t.unstable_runWithPriority@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1513981
Wi@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1436339
Vi@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1436509
Gi@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1436442
ds@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1484552
enqueueSetState@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1440460
b.prototype.setState@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1386800
value@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:158455
scriptFinished@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:145353
1165/n/r.handleMessage/<@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:144692
1165/n/r.handleMessage@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:144763
1165/e/<@http://localhost:8501/static/js/main.6569bfa5.chunk.js:2:116720
l@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1378979
c/o._invoke@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1378768
w/</<@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:1379404
r@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:175318
u@http://localhost:8501/static/js/5.dd917b7b.chunk.js:2:175522
```
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10
- Operating System: Debian linux
- Browser: Firefox
- Virtual environment:pipenv
### Additional Information
_No response_
### Are you willing to submit a PR?
- [X] Yes, I am willing to submit a PR!
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.** | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5606/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/5606/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5605 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5605/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5605/comments | https://api.github.com/repos/streamlit/streamlit/issues/5605/events | https://github.com/streamlit/streamlit/issues/5605 | 1,423,971,442 | I_kwDODCoeTs5U4BRy | 5,605 | Showing Please wait when deploying the app on elastic beanstalk | {
"login": "Karan03012002",
"id": 110913777,
"node_id": "U_kgDOBpxo8Q",
"avatar_url": "https://avatars.githubusercontent.com/u/110913777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Karan03012002",
"html_url": "https://github.com/Karan03012002",
"followers_url": "https://api.github.com/users/Karan03012002/followers",
"following_url": "https://api.github.com/users/Karan03012002/following{/other_user}",
"gists_url": "https://api.github.com/users/Karan03012002/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Karan03012002/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Karan03012002/subscriptions",
"organizations_url": "https://api.github.com/users/Karan03012002/orgs",
"repos_url": "https://api.github.com/users/Karan03012002/repos",
"events_url": "https://api.github.com/users/Karan03012002/events{/privacy}",
"received_events_url": "https://api.github.com/users/Karan03012002/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": 2545855396,
"node_id": "MDU6TGFiZWwyNTQ1ODU1Mzk2",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:deployment",
"name": "area:deployment",
"color": "C2E0C6",
"default": false,
"description": "Related to deploying Streamlit apps"
},
{
"id": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2022-10-26T12:52:41 | 2022-11-29T02:08:31 | 2022-11-29T02: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
When I am developing streamlit app on elastic beanstalk then it keep showing please wait and on inspecting it getting an error
main.4b2acc1f.chunk.js:2 Uncaught Error: Unsupported state transition.
State: PINGING_SERVER
Event: CONNECTION_TIMED_OUT
### 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: 1.12.2
- Python version: 3.9.6
- Operating System:
- Browser: Chrome
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR!
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.** | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5605/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5604 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5604/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5604/comments | https://api.github.com/repos/streamlit/streamlit/issues/5604/events | https://github.com/streamlit/streamlit/issues/5604 | 1,423,268,334 | I_kwDODCoeTs5U1Vnu | 5,604 | text_area inside an expander doesn't load from session state | {
"login": "devxpy",
"id": 19492893,
"node_id": "MDQ6VXNlcjE5NDkyODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/19492893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devxpy",
"html_url": "https://github.com/devxpy",
"followers_url": "https://api.github.com/users/devxpy/followers",
"following_url": "https://api.github.com/users/devxpy/following{/other_user}",
"gists_url": "https://api.github.com/users/devxpy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/devxpy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/devxpy/subscriptions",
"organizations_url": "https://api.github.com/users/devxpy/orgs",
"repos_url": "https://api.github.com/users/devxpy/repos",
"events_url": "https://api.github.com/users/devxpy/events{/privacy}",
"received_events_url": "https://api.github.com/users/devxpy/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": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4070169954,
"node_id": "LA_kwDODCoeTs7ymd1i",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state",
"name": "feature:st.session_state",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 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": ""
},
{
"id": 4647798379,
"node_id": "LA_kwDODCoeTs8AAAABFQfGaw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.text_area",
"name": "feature:st.text_area",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 2 | 2022-10-26T00:37:22 | 2022-11-25T20:35: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
This is a weird one but quite pesky!
### Reproducible Code Example
```Python
import streamlit as st
from time import sleep
if not st.session_state:
st.session_state.update({"text": "Hello, World!"})
if st.button("Press before expanding"):
with st.spinner():
sleep(1)
with st.expander("Text Field inside"):
st.text_area("Text", key="text")
st.write(st.session_state)
```
### Steps To Reproduce
1. Run this code
2. Press the button
3. Wait...
4. Expand Text Field
### Expected Behavior
The text field is prefilled with "Hello World"
If you DO NOT press the button before expanding, this is the behavior
### Current Behavior
The text field is empty, and hence is not the same as the session state
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10.5
- Operating System: mac
- Browser: chrome
- Virtual environment: yes
### Additional Information
Here's a screenshot -
<img width="799" alt="image" src="https://user-images.githubusercontent.com/19492893/197907334-6cd8c834-e4b7-4b79-98a7-f142d85413b4.png">
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR!
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.** | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5604/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/5604/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5603 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5603/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5603/comments | https://api.github.com/repos/streamlit/streamlit/issues/5603/events | https://github.com/streamlit/streamlit/pull/5603 | 1,423,184,802 | PR_kwDODCoeTs5Bicab | 5,603 | Feature/plotly latex | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-25T22:23:10 | 2022-10-25T22:23:32 | 2022-10-25T22:23:32 | 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/5603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5603/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5603",
"html_url": "https://github.com/streamlit/streamlit/pull/5603",
"diff_url": "https://github.com/streamlit/streamlit/pull/5603.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5603.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5602 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5602/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5602/comments | https://api.github.com/repos/streamlit/streamlit/issues/5602/events | https://github.com/streamlit/streamlit/issues/5602 | 1,422,602,520 | I_kwDODCoeTs5UyzEY | 5,602 | Autocomplete for text_input | {
"login": "azayz",
"id": 40893766,
"node_id": "MDQ6VXNlcjQwODkzNzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/40893766?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/azayz",
"html_url": "https://github.com/azayz",
"followers_url": "https://api.github.com/users/azayz/followers",
"following_url": "https://api.github.com/users/azayz/following{/other_user}",
"gists_url": "https://api.github.com/users/azayz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/azayz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/azayz/subscriptions",
"organizations_url": "https://api.github.com/users/azayz/orgs",
"repos_url": "https://api.github.com/users/azayz/repos",
"events_url": "https://api.github.com/users/azayz/events{/privacy}",
"received_events_url": "https://api.github.com/users/azayz/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": 3904167520,
"node_id": "LA_kwDODCoeTs7otN5g",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.text_input",
"name": "feature:st.text_input",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2022-10-25T14:52:52 | 2023-01-13T14:13:41 | 2023-01-13T14:13:41 | NONE | null | I would like to have an autocomplete feature, not necessarily the full feature but even if I can put my suggestions that would be great.
I tried other work arounds such as multi select box but doesn't provide good user experience
---
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/5602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5602/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5601 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5601/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5601/comments | https://api.github.com/repos/streamlit/streamlit/issues/5601/events | https://github.com/streamlit/streamlit/pull/5601 | 1,422,419,895 | PR_kwDODCoeTs5Bf2vk | 5,601 | Fix various codeQL recommendations | {
"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 | 1 | 2022-10-25T12:55:06 | 2022-10-26T16:12:55 | 2022-10-26T16:12:55 | COLLABORATOR | null | ## 📚 Context
Fix various minor CodeQL recommendations: https://github.com/streamlit/streamlit/security/code-scanning
See all open issues:
https://github.com/streamlit/streamlit/security/code-scanning?query=is%3Aopen+pr%3A5601
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [x] 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/5601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5601/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5601",
"html_url": "https://github.com/streamlit/streamlit/pull/5601",
"diff_url": "https://github.com/streamlit/streamlit/pull/5601.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5601.patch",
"merged_at": "2022-10-26T16:12:55"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5600 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5600/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5600/comments | https://api.github.com/repos/streamlit/streamlit/issues/5600/events | https://github.com/streamlit/streamlit/pull/5600 | 1,422,309,913 | PR_kwDODCoeTs5BffF4 | 5,600 | Add autoflake as pre-commit hook | {
"login": "sfc-gh-kbregula",
"id": 78743291,
"node_id": "MDQ6VXNlcjc4NzQzMjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-kbregula",
"html_url": "https://github.com/sfc-gh-kbregula",
"followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers",
"following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos",
"events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-25T11:28:05 | 2022-10-25T13:55:36 | 2022-10-25T13:55: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
We recently introduced codeql which started reporting some problems in Github. To fix these problems faster, I added autoflake
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [X] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## 🧪 Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5600/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5600",
"html_url": "https://github.com/streamlit/streamlit/pull/5600",
"diff_url": "https://github.com/streamlit/streamlit/pull/5600.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5600.patch",
"merged_at": "2022-10-25T13:55:36"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5598 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5598/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5598/comments | https://api.github.com/repos/streamlit/streamlit/issues/5598/events | https://github.com/streamlit/streamlit/issues/5598 | 1,421,912,641 | I_kwDODCoeTs5UwKpB | 5,598 | st.map() should able to set radius and color as input. | {
"login": "seungtaek94",
"id": 56434476,
"node_id": "MDQ6VXNlcjU2NDM0NDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/56434476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seungtaek94",
"html_url": "https://github.com/seungtaek94",
"followers_url": "https://api.github.com/users/seungtaek94/followers",
"following_url": "https://api.github.com/users/seungtaek94/following{/other_user}",
"gists_url": "https://api.github.com/users/seungtaek94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/seungtaek94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seungtaek94/subscriptions",
"organizations_url": "https://api.github.com/users/seungtaek94/orgs",
"repos_url": "https://api.github.com/users/seungtaek94/repos",
"events_url": "https://api.github.com/users/seungtaek94/events{/privacy}",
"received_events_url": "https://api.github.com/users/seungtaek94/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": 3904046963,
"node_id": "LA_kwDODCoeTs7oswdz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.map",
"name": "feature:st.map",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 3 | 2022-10-25T06:08:34 | 2022-11-02T23:08:47 | 2022-11-02T21:06:46 | NONE | null | ### Problem
If I visualize the densely recorded GPS data. It can't visualize correctly like below image.
![image](https://user-images.githubusercontent.com/56434476/197693225-e735e266-a9e7-4b03-a6de-bc5419334b3d.png)
### Solution
I think this problem can be handle by allow to set `radius` and `color` as `st.map()` prameters.
And I want to contribute to this if possible :)
### Additional context
I tested using below code and GPS data.
```python
import streamlit as st
import pandas as pd
if __name__=="__main__":
column_name = ['frame', 'date_time', 'lat', 'lon', 'alt']
gps_data = "sample_gps_data.csv"
widget = st.empty()
gps_data = pd.read_csv(gps_data)
gps_data = gps_data.values.tolist()
gps_data = pd.DataFrame(gps_data, columns=column_name)
gps_data = gps_data[["lat", "lon"]]
widget.map(gps_data)
```
<details>
<summary>sample_gps_data.csv</summary>
```
29,2022:07:21 05:03:46.745(UTC+0),36.4813495,127.2945385,72.817
59,2022:07:21 05:03:47.735(UTC+0),36.4813168,127.2944629,71.763
89,2022:07:21 05:03:48.725(UTC+0),36.481284,127.2943893,70.528
119,2022:07:21 05:03:49.825(UTC+0),36.4812515,127.2943216,68.925
149,2022:07:21 05:03:50.760(UTC+0),36.4812212,127.2942593,67.867
179,2022:07:21 05:03:51.750(UTC+0),36.4811971,127.294207,67.077
209,2022:07:21 05:03:52.740(UTC+0),36.4811754,127.2941616,66.243
239,2022:07:21 05:03:53.730(UTC+0),36.4811562,127.2941236,65.456
269,2022:07:21 05:03:54.775(UTC+0),36.4811402,127.2940937,64.759
299,2022:07:21 05:03:55.765(UTC+0),36.4811283,127.2940725,64.056
329,2022:07:21 05:03:56.755(UTC+0),36.4811197,127.2940629,62.69
359,2022:07:21 05:03:57.745(UTC+0),36.481113,127.2940591,61.639
389,2022:07:21 05:03:58.735(UTC+0),36.4811079,127.2940583,60.493
419,2022:07:21 05:03:59.780(UTC+0),36.4811038,127.2940576,59.573
449,2022:07:21 05:04:00.770(UTC+0),36.4810982,127.2940578,58.528
479,2022:07:21 05:04:01.815(UTC+0),36.4810932,127.2940582,57.633
509,2022:07:21 05:04:02.750(UTC+0),36.4810894,127.2940576,56.628
539,2022:07:21 05:04:03.740(UTC+0),36.4810867,127.2940563,55.724
569,2022:07:21 05:04:04.785(UTC+0),36.4810811,127.2940569,55.045
599,2022:07:21 05:04:05.775(UTC+0),36.4810772,127.2940565,54.25
629,2022:07:21 05:04:06.765(UTC+0),36.4810704,127.2940569,53.174
659,2022:07:21 05:04:07.755(UTC+0),36.4810662,127.2940553,52.031
689,2022:07:21 05:04:08.855(UTC+0),36.481061,127.2940548,51.093
719,2022:07:21 05:04:09.790(UTC+0),36.4810567,127.2940544,50.275
749,2022:07:21 05:04:10.780(UTC+0),36.4810531,127.294054,49.399
779,2022:07:21 05:04:11.770(UTC+0),36.4810476,127.2940509,48.696
809,2022:07:21 05:04:12.760(UTC+0),36.4810403,127.294043,47.996
839,2022:07:21 05:04:13.750(UTC+0),36.4810336,127.2940335,47.29
869,2022:07:21 05:04:14.850(UTC+0),36.4810282,127.2940274,46.581
899,2022:07:21 05:04:15.785(UTC+0),36.4810232,127.2940227,45.885
929,2022:07:21 05:04:16.775(UTC+0),36.4810153,127.2940131,45.292
959,2022:07:21 05:04:17.765(UTC+0),36.4810034,127.2939954,44.929
989,2022:07:21 05:04:18.755(UTC+0),36.4809852,127.293967,44.48
1019,2022:07:21 05:04:19.745(UTC+0),36.4809635,127.2939255,44.119
1049,2022:07:21 05:04:20.845(UTC+0),36.4809388,127.2938716,43.706
1079,2022:07:21 05:04:21.780(UTC+0),36.4809087,127.2938066,43.343
1109,2022:07:21 05:04:22.770(UTC+0),36.4808783,127.2937405,43.08
1139,2022:07:21 05:04:23.760(UTC+0),36.4808453,127.2936735,42.555
1169,2022:07:21 05:04:24.750(UTC+0),36.4808099,127.2936042,41.87
1199,2022:07:21 05:04:25.795(UTC+0),36.480774,127.2935325,41.359
1229,2022:07:21 05:04:26.785(UTC+0),36.4807347,127.2934514,40.812
1259,2022:07:21 05:04:27.775(UTC+0),36.4806972,127.2933711,40.225
1289,2022:07:21 05:04:28.765(UTC+0),36.4806581,127.2932865,39.912
1319,2022:07:21 05:04:29.755(UTC+0),36.4806178,127.2932,39.643
1349,2022:07:21 05:04:30.800(UTC+0),36.4805758,127.2931113,39.265
1379,2022:07:21 05:04:31.790(UTC+0),36.4805341,127.29302,38.994
1409,2022:07:21 05:04:32.780(UTC+0),36.48049,127.292921,38.857
1439,2022:07:21 05:04:33.770(UTC+0),36.4804515,127.2928232,38.93
1469,2022:07:21 05:04:34.760(UTC+0),36.4804101,127.2927248,38.759
1499,2022:07:21 05:04:35.805(UTC+0),36.4803679,127.2926259,38.636
1529,2022:07:21 05:04:36.795(UTC+0),36.4803227,127.2925199,38.574
1559,2022:07:21 05:04:37.785(UTC+0),36.4802797,127.2924193,38.473
1589,2022:07:21 05:04:38.775(UTC+0),36.4802391,127.2923217,38.505
1619,2022:07:21 05:04:39.765(UTC+0),36.4802024,127.2922265,38.727
1649,2022:07:21 05:04:40.810(UTC+0),36.4801659,127.2921341,38.838
1679,2022:07:21 05:04:41.800(UTC+0),36.4801291,127.2920381,39.036
1709,2022:07:21 05:04:42.790(UTC+0),36.4800946,127.2919479,39.145
1739,2022:07:21 05:04:43.780(UTC+0),36.4800581,127.2918535,39.232
1769,2022:07:21 05:04:44.770(UTC+0),36.4800187,127.291755,39.325
1799,2022:07:21 05:04:45.815(UTC+0),36.4799763,127.2916524,39.288
1829,2022:07:21 05:04:46.805(UTC+0),36.4799273,127.2915393,39.137
1859,2022:07:21 05:04:47.850(UTC+0),36.4798811,127.2914253,39.429
1889,2022:07:21 05:04:48.785(UTC+0),36.4798322,127.2913078,39.808
1919,2022:07:21 05:04:49.830(UTC+0),36.4797841,127.2911852,40.096
1949,2022:07:21 05:04:50.820(UTC+0),36.4797317,127.2910601,39.915
1979,2022:07:21 05:04:51.865(UTC+0),36.4796738,127.2909268,39.584
2009,2022:07:21 05:04:52.800(UTC+0),36.4796189,127.2907989,39.34
2039,2022:07:21 05:04:53.790(UTC+0),36.4795632,127.2906724,39.305
2069,2022:07:21 05:04:54.780(UTC+0),36.4795086,127.2905424,39.235
2099,2022:07:21 05:04:55.825(UTC+0),36.47945,127.2904033,39.31
2129,2022:07:21 05:04:56.815(UTC+0),36.479394,127.2902702,39.26
2159,2022:07:21 05:04:57.860(UTC+0),36.4793366,127.2901376,39.224
2189,2022:07:21 05:04:58.795(UTC+0),36.4792795,127.2900044,39.159
2219,2022:07:21 05:04:59.785(UTC+0),36.4792235,127.289871,39.136
2249,2022:07:21 05:05:00.830(UTC+0),36.4791673,127.2897429,39.238
2279,2022:07:21 05:05:01.820(UTC+0),36.4791091,127.2896133,39.269
2309,2022:07:21 05:05:02.810(UTC+0),36.4790587,127.2894882,39.263
2339,2022:07:21 05:05:03.800(UTC+0),36.4790047,127.2893611,39.282
2369,2022:07:21 05:05:04.845(UTC+0),36.478949,127.2892332,39.504
2399,2022:07:21 05:05:05.835(UTC+0),36.478895,127.2891058,39.691
2429,2022:07:21 05:05:06.825(UTC+0),36.4788361,127.2889722,39.777
2459,2022:07:21 05:05:07.815(UTC+0),36.4787809,127.2888432,39.765
2489,2022:07:21 05:05:08.805(UTC+0),36.4787211,127.2887164,40.666
2519,2022:07:21 05:05:09.795(UTC+0),36.4786658,127.2885878,40.818
2549,2022:07:21 05:05:10.840(UTC+0),36.4786104,127.2884575,40.832
2579,2022:07:21 05:05:11.830(UTC+0),36.4785506,127.2883188,41.014
2609,2022:07:21 05:05:12.820(UTC+0),36.4784941,127.2881874,41.126
2639,2022:07:21 05:05:13.810(UTC+0),36.4784382,127.2880556,41.166
2669,2022:07:21 05:05:14.800(UTC+0),36.4783814,127.2879239,41.229
2699,2022:07:21 05:05:15.900(UTC+0),36.4783265,127.28779,41.21
2729,2022:07:21 05:05:16.835(UTC+0),36.4782659,127.2876497,41.579
2759,2022:07:21 05:05:17.825(UTC+0),36.4782092,127.2875153,41.607
2789,2022:07:21 05:05:18.815(UTC+0),36.4781518,127.2873815,41.768
2819,2022:07:21 05:05:19.805(UTC+0),36.4780941,127.2872467,41.664
2849,2022:07:21 05:05:20.850(UTC+0),36.4780378,127.2871122,41.707
2879,2022:07:21 05:05:21.840(UTC+0),36.4779808,127.2869775,41.649
2909,2022:07:21 05:05:22.830(UTC+0),36.4779201,127.2868357,41.504
2939,2022:07:21 05:05:23.820(UTC+0),36.477863,127.2867011,41.321
2969,2022:07:21 05:05:24.810(UTC+0),36.47781,127.2865641,41.208
2999,2022:07:21 05:05:25.855(UTC+0),36.4777577,127.2864266,41.063
3029,2022:07:21 05:05:26.845(UTC+0),36.4777002,127.2862829,40.89
3059,2022:07:21 05:05:27.835(UTC+0),36.4776469,127.2861464,40.73
3089,2022:07:21 05:05:28.825(UTC+0),36.4775926,127.2860096,40.516
3119,2022:07:21 05:05:29.815(UTC+0),36.4775367,127.2858737,40.404
3149,2022:07:21 05:05:30.860(UTC+0),36.4774788,127.2857385,40.21
3179,2022:07:21 05:05:31.850(UTC+0),36.4774168,127.2855958,39.879
3209,2022:07:21 05:05:32.840(UTC+0),36.4773586,127.2854605,39.658
3239,2022:07:21 05:05:33.885(UTC+0),36.4773008,127.2853253,39.553
3269,2022:07:21 05:05:34.820(UTC+0),36.4772464,127.2851893,39.824
3299,2022:07:21 05:05:35.920(UTC+0),36.4771893,127.2850552,39.684
3329,2022:07:21 05:05:36.855(UTC+0),36.4771313,127.2849211,39.687
3359,2022:07:21 05:05:37.900(UTC+0),36.4770716,127.284778,39.597
3389,2022:07:21 05:05:38.835(UTC+0),36.4770149,127.2846429,39.555
3419,2022:07:21 05:05:39.825(UTC+0),36.4769575,127.2845085,39.455
3449,2022:07:21 05:05:40.870(UTC+0),36.4768995,127.2843739,39.297
3479,2022:07:21 05:05:41.860(UTC+0),36.476839,127.2842321,39.193
3509,2022:07:21 05:05:42.850(UTC+0),36.476782,127.284097,39.021
3539,2022:07:21 05:05:43.840(UTC+0),36.4767243,127.2839633,38.96
3569,2022:07:21 05:05:44.830(UTC+0),36.4766683,127.2838308,38.996
3599,2022:07:21 05:05:45.875(UTC+0),36.4766135,127.2837007,38.863
3629,2022:07:21 05:05:46.865(UTC+0),36.4765584,127.2835738,38.9
3659,2022:07:21 05:05:47.910(UTC+0),36.4765021,127.2834373,38.974
3689,2022:07:21 05:05:48.845(UTC+0),36.4764473,127.2833078,38.914
3719,2022:07:21 05:05:49.890(UTC+0),36.4763904,127.283176,38.791
3749,2022:07:21 05:05:50.880(UTC+0),36.4763348,127.2830426,38.705
3779,2022:07:21 05:05:51.870(UTC+0),36.476277,127.2829004,38.793
3809,2022:07:21 05:05:52.860(UTC+0),36.4762212,127.2827649,38.766
3839,2022:07:21 05:05:53.850(UTC+0),36.4761646,127.2826295,38.685
3869,2022:07:21 05:05:54.840(UTC+0),36.4761085,127.2824956,38.75
3899,2022:07:21 05:05:55.830(UTC+0),36.4760533,127.2823644,38.8
3929,2022:07:21 05:05:56.875(UTC+0),36.4759926,127.2822268,38.757
3959,2022:07:21 05:05:57.865(UTC+0),36.4759348,127.282095,38.753
3989,2022:07:21 05:05:58.910(UTC+0),36.4758752,127.2819632,38.84
4019,2022:07:21 05:05:59.845(UTC+0),36.4758134,127.2818325,38.971
4049,2022:07:21 05:06:00.835(UTC+0),36.4757483,127.2817036,38.99
4079,2022:07:21 05:06:01.880(UTC+0),36.4756794,127.2815701,39.078
4109,2022:07:21 05:06:02.870(UTC+0),36.4756139,127.2814468,39.043
4139,2022:07:21 05:06:03.860(UTC+0),36.4755479,127.2813299,39.612
4169,2022:07:21 05:06:04.850(UTC+0),36.4754828,127.2812137,41.094
4199,2022:07:21 05:06:05.895(UTC+0),36.4754115,127.2810968,41.77
4229,2022:07:21 05:06:06.885(UTC+0),36.4753341,127.2809709,42.047
4259,2022:07:21 05:06:07.875(UTC+0),36.4752596,127.2808538,42.545
4289,2022:07:21 05:06:08.865(UTC+0),36.4751844,127.2807379,42.95
4319,2022:07:21 05:06:09.855(UTC+0),36.4751075,127.2806204,43.138
4349,2022:07:21 05:06:10.900(UTC+0),36.47503,127.2805051,43.368
4379,2022:07:21 05:06:11.890(UTC+0),36.4749489,127.280388,44.186
4409,2022:07:21 05:06:12.880(UTC+0),36.4748728,127.2802786,45.749
4439,2022:07:21 05:06:13.870(UTC+0),36.474797,127.2801631,46.573
4469,2022:07:21 05:06:14.860(UTC+0),36.4747196,127.2800454,46.831
4499,2022:07:21 05:06:15.960(UTC+0),36.4746425,127.2799297,47.187
4529,2022:07:21 05:06:16.895(UTC+0),36.4745618,127.2798063,47.574
4559,2022:07:21 05:06:17.940(UTC+0),36.4744861,127.2796899,48.035
4589,2022:07:21 05:06:18.875(UTC+0),36.4744114,127.2795767,49.14
4619,2022:07:21 05:06:19.865(UTC+0),36.4743253,127.27945,46.661
4649,2022:07:21 05:06:20.855(UTC+0),36.4742533,127.2793396,48.261
4679,2022:07:21 05:06:21.955(UTC+0),36.474176,127.2792196,47.983
4709,2022:07:21 05:06:22.890(UTC+0),36.4741085,127.2791131,48.116
4739,2022:07:21 05:06:23.935(UTC+0),36.474043,127.2790129,48.024
4769,2022:07:21 05:06:24.870(UTC+0),36.4739831,127.278921,48.404
4799,2022:07:21 05:06:25.915(UTC+0),36.4739265,127.2788343,48.727
4829,2022:07:21 05:06:26.960(UTC+0),36.4738736,127.2787512,48.815
4859,2022:07:21 05:06:27.895(UTC+0),36.4738206,127.2786688,48.801
4889,2022:07:21 05:06:28.940(UTC+0),36.473779,127.2786108,52.161
4919,2022:07:21 05:06:29.875(UTC+0),36.4737238,127.2785344,49.626
4949,2022:07:21 05:06:30.865(UTC+0),36.4736675,127.2784613,47.896
4979,2022:07:21 05:06:31.910(UTC+0),36.4736196,127.2784028,48.355
5009,2022:07:21 05:06:32.900(UTC+0),36.4735726,127.2783438,49.429
5039,2022:07:21 05:06:33.890(UTC+0),36.4735337,127.2782891,51.373
5069,2022:07:21 05:06:34.935(UTC+0),36.4735034,127.2782477,55.96
5099,2022:07:21 05:06:35.870(UTC+0),36.4734752,127.2782086,59.816
5129,2022:07:21 05:06:36.915(UTC+0),36.4734468,127.2781706,62.888
5159,2022:07:21 05:06:37.905(UTC+0),36.4734163,127.2781281,65.355
5189,2022:07:21 05:06:38.895(UTC+0),36.4733828,127.2780803,66.813
5219,2022:07:21 05:06:39.885(UTC+0),36.4733468,127.2780289,68.783
5249,2022:07:21 05:06:40.985(UTC+0),36.4733055,127.2779697,70.256
5279,2022:07:21 05:06:41.920(UTC+0),36.4732633,127.277904,71.762
5309,2022:07:21 05:06:42.910(UTC+0),36.4732188,127.2778354,74.475
5339,2022:07:21 05:06:43.900(UTC+0),36.473173,127.2777621,75.681
5369,2022:07:21 05:06:44.890(UTC+0),36.4731255,127.2776822,76.289
5399,2022:07:21 05:06:45.880(UTC+0),36.4730757,127.2776017,77.098
5429,2022:07:21 05:06:46.925(UTC+0),36.4730186,127.2775114,76.965
5459,2022:07:21 05:06:47.915(UTC+0),36.4729629,127.2774191,78.21
5489,2022:07:21 05:06:48.905(UTC+0),36.4729056,127.2773271,78.389
5519,2022:07:21 05:06:49.895(UTC+0),36.4728484,127.2772352,78.193
5549,2022:07:21 05:06:51.000(UTC+0),36.4727921,127.2771459,78.095
5579,2022:07:21 05:06:51.985(UTC+0),36.4727338,127.2770518,77.206
5609,2022:07:21 05:06:52.920(UTC+0),36.4726729,127.276959,77.487
5639,2022:07:21 05:06:53.910(UTC+0),36.4726184,127.276872,78.047
5669,2022:07:21 05:06:54.900(UTC+0),36.4725736,127.276786,78.876
5699,2022:07:21 05:06:55.890(UTC+0),36.4725213,127.2766998,78.208
5729,2022:07:21 05:06:56.935(UTC+0),36.4724694,127.2766125,78.962
5759,2022:07:21 05:06:57.925(UTC+0),36.4724168,127.2765265,79.87
5789,2022:07:21 05:06:58.915(UTC+0),36.4723622,127.2764401,81.443
5819,2022:07:21 05:06:59.905(UTC+0),36.4723041,127.2763445,82.183
5849,2022:07:21 05:07:00.895(UTC+0),36.472244,127.2762475,83.036
5879,2022:07:21 05:07:01.940(UTC+0),36.4721825,127.2761492,84.887
5909,2022:07:21 05:07:02.930(UTC+0),36.4721255,127.2760576,86.543
5939,2022:07:21 05:07:03.920(UTC+0),36.4720662,127.2759643,87.243
5969,2022:07:21 05:07:04.910(UTC+0),36.4720092,127.2758726,87.906
5999,2022:07:21 05:07:05.955(UTC+0),36.4719562,127.2757736,88.407
6029,2022:07:21 05:07:06.945(UTC+0),36.471904,127.2756756,89.006
6059,2022:07:21 05:07:07.935(UTC+0),36.4718614,127.2755858,89.985
6089,2022:07:21 05:07:08.925(UTC+0),36.4718277,127.2754997,91.517
6119,2022:07:21 05:07:09.915(UTC+0),36.471796,127.2754133,92.215
6149,2022:07:21 05:07:10.905(UTC+0),36.4717631,127.2753249,91.625
6179,2022:07:21 05:07:11.950(UTC+0),36.4717312,127.2752439,91.306
6209,2022:07:21 05:07:12.940(UTC+0),36.4716992,127.2751622,90.231
6239,2022:07:21 05:07:13.930(UTC+0),36.471671,127.275093,89.882
6269,2022:07:21 05:07:14.920(UTC+0),36.4716469,127.2750303,87.615
6299,2022:07:21 05:07:15.910(UTC+0),36.4716314,127.2749678,84.515
6329,2022:07:21 05:07:16.955(UTC+0),36.4716267,127.27491,82.358
6359,2022:07:21 05:07:17.945(UTC+0),36.4716322,127.274861,81.41
6389,2022:07:21 05:07:18.935(UTC+0),36.4716477,127.2748225,81.329
6419,2022:07:21 05:07:19.925(UTC+0),36.4716735,127.2747906,81.185
6449,2022:07:21 05:07:20.915(UTC+0),36.471703,127.2747681,80.615
6479,2022:07:21 05:07:21.960(UTC+0),36.4717313,127.2747475,78.476
6509,2022:07:21 05:07:22.950(UTC+0),36.4717687,127.2747215,75.101
6539,2022:07:21 05:07:23.940(UTC+0),36.4718148,127.2746956,72.37
6569,2022:07:21 05:07:24.930(UTC+0),36.4718702,127.2746688,70.709
6599,2022:07:21 05:07:25.920(UTC+0),36.4719312,127.2746403,69.421
6629,2022:07:21 05:07:27.020(UTC+0),36.4719985,127.2746069,67.487
6659,2022:07:21 05:07:27.955(UTC+0),36.4720754,127.2745665,65.219
6689,2022:07:21 05:07:28.945(UTC+0),36.4721473,127.2745297,63.373
6719,2022:07:21 05:07:29.935(UTC+0),36.4722164,127.2744959,62.152
6749,2022:07:21 05:07:30.925(UTC+0),36.4722796,127.2744645,60.962
6779,2022:07:21 05:07:31.970(UTC+0),36.4723347,127.274435,59.399
6809,2022:07:21 05:07:32.960(UTC+0),36.4723835,127.2744013,58.519
6839,2022:07:21 05:07:33.950(UTC+0),36.472428,127.2743687,58.24
6869,2022:07:21 05:07:34.940(UTC+0),36.4724768,127.2743299,57.397
6899,2022:07:21 05:07:35.930(UTC+0),36.4725321,127.2742941,56.616
6929,2022:07:21 05:07:36.975(UTC+0),36.4725938,127.274257,56.175
6959,2022:07:21 05:07:38.020(UTC+0),36.472667,127.2742139,55.536
6989,2022:07:21 05:07:38.955(UTC+0),36.4727395,127.2741724,55.222
7019,2022:07:21 05:07:39.945(UTC+0),36.4728293,127.2741212,54.67
7049,2022:07:21 05:07:40.935(UTC+0),36.4729196,127.2740693,54.298
7079,2022:07:21 05:07:41.925(UTC+0),36.4730096,127.2740195,54.361
7109,2022:07:21 05:07:42.970(UTC+0),36.4731093,127.2739656,53.934
7139,2022:07:21 05:07:43.960(UTC+0),36.4732068,127.2739146,53.64
7169,2022:07:21 05:07:44.950(UTC+0),36.473302,127.2738653,53.461
7199,2022:07:21 05:07:45.940(UTC+0),36.4733875,127.27382,52.966
7229,2022:07:21 05:07:46.930(UTC+0),36.4734645,127.2737776,52.375
7259,2022:07:21 05:07:47.975(UTC+0),36.473518,127.2737463,52.009
7289,2022:07:21 05:07:48.965(UTC+0),36.4735701,127.2737156,51.54
7319,2022:07:21 05:07:49.955(UTC+0),36.4736064,127.2736929,51.3
7349,2022:07:21 05:07:50.945(UTC+0),36.4736341,127.273674,50.922
7379,2022:07:21 05:07:52.045(UTC+0),36.4736529,127.2736603,50.666
7409,2022:07:21 05:07:52.980(UTC+0),36.4736647,127.2736515,50.122
7439,2022:07:21 05:07:53.970(UTC+0),36.4736719,127.273645,50.066
7469,2022:07:21 05:07:54.960(UTC+0),36.4736768,127.2736412,49.672
7499,2022:07:21 05:07:55.950(UTC+0),36.473678,127.2736402,48.984
7529,2022:07:21 05:07:57.050(UTC+0),36.4736791,127.273638,48.474
7559,2022:07:21 05:07:57.985(UTC+0),36.4736885,127.2736318,48.121
7589,2022:07:21 05:07:58.975(UTC+0),36.4737049,127.2736204,47.933
7619,2022:07:21 05:07:59.965(UTC+0),36.4737202,127.27361,47.587
7649,2022:07:21 05:08:00.955(UTC+0),36.4737341,127.2736004,47.26
7679,2022:07:21 05:08:02.000(UTC+0),36.4737473,127.2735915,46.991
7709,2022:07:21 05:08:02.990(UTC+0),36.4737607,127.2735823,46.89
7739,2022:07:21 05:08:03.980(UTC+0),36.4737735,127.2735731,46.936
7769,2022:07:21 05:08:04.970(UTC+0),36.4737886,127.2735656,46.918
7799,2022:07:21 05:08:05.960(UTC+0),36.4738076,127.2735597,46.961
7829,2022:07:21 05:08:07.005(UTC+0),36.4738307,127.2735596,46.786
7859,2022:07:21 05:08:08.050(UTC+0),36.4738544,127.2735663,46.364
7889,2022:07:21 05:08:08.985(UTC+0),36.473877,127.2735799,45.556
7919,2022:07:21 05:08:09.975(UTC+0),36.4738972,127.2735995,44.911
7949,2022:07:21 05:08:10.965(UTC+0),36.4739176,127.2736264,44.53
7979,2022:07:21 05:08:11.955(UTC+0),36.4739392,127.2736634,44.198
8009,2022:07:21 05:08:13.000(UTC+0),36.4739649,127.2737156,43.899
8039,2022:07:21 05:08:14.045(UTC+0),36.4739969,127.2737756,43.535
8069,2022:07:21 05:08:14.980(UTC+0),36.4740357,127.2738404,42.985
8099,2022:07:21 05:08:15.970(UTC+0),36.4740756,127.2739107,42.678
8129,2022:07:21 05:08:17.015(UTC+0),36.4741159,127.2739884,42.188
8159,2022:07:21 05:08:18.005(UTC+0),36.4741581,127.2740773,41.59
8189,2022:07:21 05:08:19.000(UTC+0),36.474199,127.2741667,41.161
8219,2022:07:21 05:08:20.040(UTC+0),36.4742416,127.2742586,40.885
8249,2022:07:21 05:08:20.975(UTC+0),36.4742849,127.2743529,40.763
8279,2022:07:21 05:08:21.965(UTC+0),36.4743291,127.2744492,40.595
8309,2022:07:21 05:08:23.010(UTC+0),36.4743764,127.2745519,40.482
8339,2022:07:21 05:08:24.000(UTC+0),36.4744222,127.2746508,40.386
8369,2022:07:21 05:08:24.990(UTC+0),36.4744668,127.2747453,40.831
8399,2022:07:21 05:08:26.035(UTC+0),36.4745117,127.2748417,40.665
8429,2022:07:21 05:08:27.080(UTC+0),36.4745548,127.274931,40.465
8459,2022:07:21 05:08:28.015(UTC+0),36.4745991,127.27502,40.237
8489,2022:07:21 05:08:29.005(UTC+0),36.4746361,127.2750965,39.895
8519,2022:07:21 05:08:30.000(UTC+0),36.4746642,127.2751622,39.31
8549,2022:07:21 05:08:30.985(UTC+0),36.4746892,127.2752197,38.911
8579,2022:07:21 05:08:32.030(UTC+0),36.4747152,127.2752756,38.438
8609,2022:07:21 05:08:33.020(UTC+0),36.4747405,127.2753341,38.04
8639,2022:07:21 05:08:34.065(UTC+0),36.4747629,127.2753876,37.661
8669,2022:07:21 05:08:35.000(UTC+0),36.4747821,127.2754378,37.412
8699,2022:07:21 05:08:35.990(UTC+0),36.474797,127.2754954,36.599
8729,2022:07:21 05:08:37.035(UTC+0),36.4748091,127.2755528,36.285
8759,2022:07:21 05:08:38.025(UTC+0),36.474818,127.2756076,36.51
8789,2022:07:21 05:08:39.015(UTC+0),36.4748164,127.2756669,36.641
8819,2022:07:21 05:08:40.060(UTC+0),36.4748181,127.275723,36.575
8849,2022:07:21 05:08:41.000(UTC+0),36.4748291,127.2757679,36.801
8879,2022:07:21 05:08:42.040(UTC+0),36.4748534,127.2758044,37.189
8909,2022:07:21 05:08:43.030(UTC+0),36.4748875,127.2758347,37.571
8939,2022:07:21 05:08:44.020(UTC+0),36.4749297,127.2758705,37.559
8969,2022:07:21 05:08:45.010(UTC+0),36.4749707,127.2759091,37.722
8999,2022:07:21 05:08:46.000(UTC+0),36.4750032,127.2759575,37.255
9029,2022:07:21 05:08:47.045(UTC+0),36.4750301,127.2760079,36.992
9059,2022:07:21 05:08:48.035(UTC+0),36.4750521,127.2760607,36.504
9089,2022:07:21 05:08:49.025(UTC+0),36.4750762,127.2761181,35.926
9119,2022:07:21 05:08:50.015(UTC+0),36.4750998,127.2761732,35.711
9149,2022:07:21 05:08:51.060(UTC+0),36.4751241,127.2762303,35.523
9179,2022:07:21 05:08:52.050(UTC+0),36.4751518,127.2762945,35.335
9209,2022:07:21 05:08:53.040(UTC+0),36.4751869,127.276365,35.805
9239,2022:07:21 05:08:54.030(UTC+0),36.4752237,127.2764373,36.454
9269,2022:07:21 05:08:55.020(UTC+0),36.4752637,127.2765194,36.837
9299,2022:07:21 05:08:56.010(UTC+0),36.4753098,127.276603,37.592
9329,2022:07:21 05:08:57.110(UTC+0),36.4753558,127.2766918,38.27
9359,2022:07:21 05:08:58.045(UTC+0),36.4753993,127.2767853,39.011
9389,2022:07:21 05:08:59.035(UTC+0),36.4754462,127.2768867,39.596
9419,2022:07:21 05:09:00.025(UTC+0),36.4754925,127.2769823,40.337
9449,2022:07:21 05:09:01.015(UTC+0),36.4755423,127.2770752,41.099
9479,2022:07:21 05:09:02.060(UTC+0),36.4755912,127.2771715,41.303
9509,2022:07:21 05:09:03.050(UTC+0),36.4756419,127.2772768,41.279
9539,2022:07:21 05:09:04.040(UTC+0),36.4756895,127.2773798,41.082
9569,2022:07:21 05:09:05.030(UTC+0),36.4757373,127.2774821,40.783
```
</details>
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5598/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/5598/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5597 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5597/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5597/comments | https://api.github.com/repos/streamlit/streamlit/issues/5597/events | https://github.com/streamlit/streamlit/pull/5597 | 1,421,586,363 | PR_kwDODCoeTs5BdF1S | 5,597 | Memo/singleton threading tests | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-24T23:04:28 | 2022-10-26T16:50:22 | 2022-10-26T16:50:19 | COLLABORATOR | null | `CommonCacheThreadingTest`, with unit tests for populating and clearing our singleton/memo caches from multiple threads simultaneously. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5597/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5597",
"html_url": "https://github.com/streamlit/streamlit/pull/5597",
"diff_url": "https://github.com/streamlit/streamlit/pull/5597.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5597.patch",
"merged_at": "2022-10-26T16:50:19"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5596 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5596/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5596/comments | https://api.github.com/repos/streamlit/streamlit/issues/5596/events | https://github.com/streamlit/streamlit/pull/5596 | 1,421,416,016 | PR_kwDODCoeTs5Bcgn5 | 5,596 | Enlarge bottom padding in sidebar | {
"login": "imjuangarcia",
"id": 34423371,
"node_id": "MDQ6VXNlcjM0NDIzMzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/34423371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imjuangarcia",
"html_url": "https://github.com/imjuangarcia",
"followers_url": "https://api.github.com/users/imjuangarcia/followers",
"following_url": "https://api.github.com/users/imjuangarcia/following{/other_user}",
"gists_url": "https://api.github.com/users/imjuangarcia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/imjuangarcia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/imjuangarcia/subscriptions",
"organizations_url": "https://api.github.com/users/imjuangarcia/orgs",
"repos_url": "https://api.github.com/users/imjuangarcia/repos",
"events_url": "https://api.github.com/users/imjuangarcia/events{/privacy}",
"received_events_url": "https://api.github.com/users/imjuangarcia/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-24T20:38:40 | 2022-10-25T08:19:42 | 2022-10-25T08:19:41 | COLLABORATOR | null | ## 📚 Context
This PR is a follow-up to https://github.com/streamlit/streamlit/pull/5559 (thanks for fixing, @RubenVanEldik!). We're increasing padding a bit more per Andreas Braendhaugen's request [here](https://www.notion.so/streamlit/Sidebar-needs-more-bottom-padding-to-indicate-end-of-scrollable-area-056283969c91404bb91ec5f76b48d90d), to make it more apparent it's the end of the scrollable area.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Design change
## 🧠 Description of Changes
* Updated `paddingBottom` in `StyledSidebarUserContent` from `1rem` to `1.5rem`;
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
![Screen Shot 2022-10-24 at 3 37 07 PM](https://user-images.githubusercontent.com/34423371/197624309-da6e2a44-73a1-4a38-8009-137a9624a5f3.png)
**Current:**
<img width="1597" alt="Untitled" src="https://user-images.githubusercontent.com/34423371/197624576-32eec6d5-1ffd-455e-b7c9-ea564e11d47c.png">
## 🧪 Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
- https://www.notion.so/streamlit/Sidebar-needs-more-bottom-padding-to-indicate-end-of-scrollable-area-056283969c91404bb91ec5f76b48d90d
---
**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/5596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5596/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5596",
"html_url": "https://github.com/streamlit/streamlit/pull/5596",
"diff_url": "https://github.com/streamlit/streamlit/pull/5596.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5596.patch",
"merged_at": "2022-10-25T08:19:41"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5595 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5595/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5595/comments | https://api.github.com/repos/streamlit/streamlit/issues/5595/events | https://github.com/streamlit/streamlit/pull/5595 | 1,420,603,479 | PR_kwDODCoeTs5BZxXy | 5,595 | Fix codeql warning about AttrDict | {
"login": "kajarenc",
"id": 6664805,
"node_id": "MDQ6VXNlcjY2NjQ4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kajarenc",
"html_url": "https://github.com/kajarenc",
"followers_url": "https://api.github.com/users/kajarenc/followers",
"following_url": "https://api.github.com/users/kajarenc/following{/other_user}",
"gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions",
"organizations_url": "https://api.github.com/users/kajarenc/orgs",
"repos_url": "https://api.github.com/users/kajarenc/repos",
"events_url": "https://api.github.com/users/kajarenc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kajarenc/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-24T10:29:40 | 2022-10-24T12:32:20 | 2022-10-24T12:32:20 | 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/5595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5595/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5595",
"html_url": "https://github.com/streamlit/streamlit/pull/5595",
"diff_url": "https://github.com/streamlit/streamlit/pull/5595.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5595.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5594 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5594/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5594/comments | https://api.github.com/repos/streamlit/streamlit/issues/5594/events | https://github.com/streamlit/streamlit/pull/5594 | 1,420,397,746 | PR_kwDODCoeTs5BZFkG | 5,594 | Order of params in docstrings should match function signature | {
"login": "snehankekre",
"id": 20672874,
"node_id": "MDQ6VXNlcjIwNjcyODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snehankekre",
"html_url": "https://github.com/snehankekre",
"followers_url": "https://api.github.com/users/snehankekre/followers",
"following_url": "https://api.github.com/users/snehankekre/following{/other_user}",
"gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}",
"starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions",
"organizations_url": "https://api.github.com/users/snehankekre/orgs",
"repos_url": "https://api.github.com/users/snehankekre/repos",
"events_url": "https://api.github.com/users/snehankekre/events{/privacy}",
"received_events_url": "https://api.github.com/users/snehankekre/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
}
] | closed | false | null | [] | null | 0 | 2022-10-24T08:04:53 | 2022-10-24T09:24:20 | 2022-10-24T08:47:19 | MEMBER | null | ## 📚 Context
The order of params in docstrings should match the function signature. The docstrings of the following elements break this order: `st.warning`, `st.info`, `st.success`, and `st.audio`.
![image](https://user-images.githubusercontent.com/20672874/197477377-31c57296-2ee2-452a-a4d7-88f383d22ebe.png)
- What kind of change does this PR introduce?
- [x] Other, please describe: Doc improvement request
## 🧠 Description of Changes
Order of params in docstring should match function signature. This PR fixes the ordering of params in docstrings of the following elements: `st.warning`, `st.info`, `st.success`, and `st.audio`.
- [x] This is a visible (user-facing) change
## 🧪 Testing Done
- [x] Screenshots included
---
**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/5594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5594/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5594",
"html_url": "https://github.com/streamlit/streamlit/pull/5594",
"diff_url": "https://github.com/streamlit/streamlit/pull/5594.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5594.patch",
"merged_at": "2022-10-24T08:47:19"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5593 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5593/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5593/comments | https://api.github.com/repos/streamlit/streamlit/issues/5593/events | https://github.com/streamlit/streamlit/pull/5593 | 1,420,320,374 | PR_kwDODCoeTs5BY1RT | 5,593 | Button 'type' parameter docstring fix | {
"login": "snehankekre",
"id": 20672874,
"node_id": "MDQ6VXNlcjIwNjcyODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snehankekre",
"html_url": "https://github.com/snehankekre",
"followers_url": "https://api.github.com/users/snehankekre/followers",
"following_url": "https://api.github.com/users/snehankekre/following{/other_user}",
"gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}",
"starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions",
"organizations_url": "https://api.github.com/users/snehankekre/orgs",
"repos_url": "https://api.github.com/users/snehankekre/repos",
"events_url": "https://api.github.com/users/snehankekre/events{/privacy}",
"received_events_url": "https://api.github.com/users/snehankekre/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
}
] | closed | false | null | [] | null | 0 | 2022-10-24T07:00:41 | 2022-10-24T09:24:58 | 2022-10-24T08:46:31 | MEMBER | null | ## 📚 Context
In docstrings: when a parameter can only assume one of a fixed set of values, those values are listed to the right of the colon appearing after the parameter name, with the default listed first. The docstrings for the `type` parameter in `st.button` and `st.form_submit_button` should follow the same convention, like the `label_visibility` parameter in `st.radio`:
https://github.com/streamlit/streamlit/blob/7c21b8d9355a6f37ebb45850a0ff36e5440fa3c4/lib/streamlit/elements/radio.py#L133
- What kind of change does this PR introduce?
- [x] Other, please describe: Doc improvement request
## 🧠 Description of Changes
Moves the parameter value choices for `type` in `st.button` and `st.form_submit_button` to the right of the colon appearing after the parameter name, with the default listed first.
- [x] This is a visible (user-facing) change
**Revised:**
![image](https://user-images.githubusercontent.com/20672874/197466133-a6b61e45-b333-4bcb-9d4c-0bce335e0e60.png)
**Current:**
![image](https://user-images.githubusercontent.com/20672874/197466211-4722ceb4-92da-4fd3-a5e8-40feaea84f7b.png)
## 🧪 Testing Done
- [x] Screenshots included
---
**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/5593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5593/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5593",
"html_url": "https://github.com/streamlit/streamlit/pull/5593",
"diff_url": "https://github.com/streamlit/streamlit/pull/5593.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5593.patch",
"merged_at": "2022-10-24T08:46:31"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5592 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5592/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5592/comments | https://api.github.com/repos/streamlit/streamlit/issues/5592/events | https://github.com/streamlit/streamlit/issues/5592 | 1,419,892,070 | I_kwDODCoeTs5UodVm | 5,592 | Image ghosted / faded when using image + container + columns | {
"login": "devxpy",
"id": 19492893,
"node_id": "MDQ6VXNlcjE5NDkyODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/19492893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devxpy",
"html_url": "https://github.com/devxpy",
"followers_url": "https://api.github.com/users/devxpy/followers",
"following_url": "https://api.github.com/users/devxpy/following{/other_user}",
"gists_url": "https://api.github.com/users/devxpy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/devxpy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/devxpy/subscriptions",
"organizations_url": "https://api.github.com/users/devxpy/orgs",
"repos_url": "https://api.github.com/users/devxpy/repos",
"events_url": "https://api.github.com/users/devxpy/events{/privacy}",
"received_events_url": "https://api.github.com/users/devxpy/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": ""
}
] | open | false | null | [] | null | 2 | 2022-10-23T18:59:59 | 2022-12-13T04:03:34 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I have found a weird corner case of using container and columns which results in the ghosting of images
### Reproducible Code Example
```Python
import streamlit as st
st.container()
col1, col2 = st.columns(2)
with col1:
st.image(
"https://images.all-free-download.com/images/graphiclarge/sunrise_winter_sunrise_skies_215551.jpg",
)
if st.button("Ghost mode!"):
sleep(5)
```
### Steps To Reproduce
1. Run this example
2. Press button
### Expected Behavior
Script runs for 5 seconds, no image ghosting
### Current Behavior
<img width="535" alt="image" src="https://user-images.githubusercontent.com/19492893/197410592-65156cf4-7feb-415f-90b8-904c6e7cd863.png">
Image is ghosted for 5 secs while the script is running
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10.5
- Operating System: mac
- Browser: chrome
- Virtual environment: yes
### Additional Information
Removing the container or the columns seems to eliminate the problem, but its still a weird edge case that I'm running into!
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR!
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.** | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5592/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5591 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5591/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5591/comments | https://api.github.com/repos/streamlit/streamlit/issues/5591/events | https://github.com/streamlit/streamlit/issues/5591 | 1,419,831,367 | I_kwDODCoeTs5UoOhH | 5,591 | Session state changes not getting through on multipage st.sidebar app | {
"login": "Mochael",
"id": 33556830,
"node_id": "MDQ6VXNlcjMzNTU2ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/33556830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mochael",
"html_url": "https://github.com/Mochael",
"followers_url": "https://api.github.com/users/Mochael/followers",
"following_url": "https://api.github.com/users/Mochael/following{/other_user}",
"gists_url": "https://api.github.com/users/Mochael/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Mochael/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mochael/subscriptions",
"organizations_url": "https://api.github.com/users/Mochael/orgs",
"repos_url": "https://api.github.com/users/Mochael/repos",
"events_url": "https://api.github.com/users/Mochael/events{/privacy}",
"received_events_url": "https://api.github.com/users/Mochael/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4070169954,
"node_id": "LA_kwDODCoeTs7ymd1i",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state",
"name": "feature:st.session_state",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 3 | 2022-10-23T15:28:07 | 2022-11-08T19:33:27 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
[This bug is related to this issue thread](https://discuss.streamlit.io/t/preserving-state-across-sidebar-pages/107)
[Here’s a video of the bug I’m about to describe](https://imgur.com/a/rozHEyF)
On a multi-page app creating using st.sidebar, the session state of the input widgets doesn't work correctly. When I input a value on page A and then leave and come back, the state is preserved fine. Now after coming back to page A, every time I try to edit that value on page A more than 1 time, the value changes back to it’s previous state. So I have to input edits twice for them to actually change the value of the input.
### 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!
---
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/5591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5591/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5590 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5590/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5590/comments | https://api.github.com/repos/streamlit/streamlit/issues/5590/events | https://github.com/streamlit/streamlit/pull/5590 | 1,419,729,788 | PR_kwDODCoeTs5BW6Ks | 5,590 | Snowpark integration: Add support for uncollected dataframes in st.map and improve st.table data collection | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | {
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sfc-gh-tszerszen",
"id": 78742618,
"node_id": "MDQ6VXNlcjc4NzQyNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78742618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-tszerszen",
"html_url": "https://github.com/sfc-gh-tszerszen",
"followers_url": "https://api.github.com/users/sfc-gh-tszerszen/followers",
"following_url": "https://api.github.com/users/sfc-gh-tszerszen/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-tszerszen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-tszerszen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-tszerszen/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-tszerszen/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-tszerszen/repos",
"events_url": "https://api.github.com/users/sfc-gh-tszerszen/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-tszerszen/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2022-10-23T09:52:46 | 2022-10-25T13:28:16 | 2022-10-25T13:28:16 | CONTRIBUTOR | null | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
This PR improves Snowpark integration in Streamlit, it introduces changes like:
* adds support for uncollected Snowpark dataframes and tables in `st.map` component
* adds support for Snowpark table auto-collection (`snowflake.snowpark.table.Table`) in Streamlit components, before only unevaluated Dataframes were collected
* Limits auto-collection for `st.table` to 100 rows, instead of 10k rows. When 10k in `st.table` was collected it was buggy, page took long to load, app sometimes crashed and the page was very very long (it was discussed with @jrieke)
- 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/5590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5590/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5590",
"html_url": "https://github.com/streamlit/streamlit/pull/5590",
"diff_url": "https://github.com/streamlit/streamlit/pull/5590.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5590.patch",
"merged_at": "2022-10-25T13:28:16"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5589 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5589/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5589/comments | https://api.github.com/repos/streamlit/streamlit/issues/5589/events | https://github.com/streamlit/streamlit/pull/5589 | 1,419,608,581 | PR_kwDODCoeTs5BWiUM | 5,589 | Fix flaky st.button test | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-23T02:46:49 | 2022-10-26T15:44:51 | 2022-10-26T15:44:47 | COLLABORATOR | null | ## 📚 Context
This PR (hopefully) resolves the flakiness with `st.button` e2e test for `calling callback when clicked`.
Looks like the `cy.get(".stMarkdown")` is performed too quickly and doesn't pick up all the markdown that is rendered conditionally when the button is clicked.
See failed runs on develop like:
* [One](https://github.com/streamlit/streamlit/actions/runs/3229820101/jobs/5287544101#step:8:512)
* [Two](https://github.com/streamlit/streamlit/actions/runs/3304839002/jobs/5454526106#step:8:631)
* [Three](https://github.com/streamlit/streamlit/actions/runs/3291789110/jobs/5426377280#step:8:609)
What kind of change does this PR introduce?
- [x] Other, please describe: Fixing flaky Cypress test
## 🧠 Description of Changes
- Add timeouts to the failing markdown check
## 🧪 Testing Done
- [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/5589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5589/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5589",
"html_url": "https://github.com/streamlit/streamlit/pull/5589",
"diff_url": "https://github.com/streamlit/streamlit/pull/5589.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5589.patch",
"merged_at": "2022-10-26T15:44:47"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5588 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5588/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5588/comments | https://api.github.com/repos/streamlit/streamlit/issues/5588/events | https://github.com/streamlit/streamlit/issues/5588 | 1,419,132,136 | I_kwDODCoeTs5Uljzo | 5,588 | st.experimental_rerun() raises exception if run in thread | {
"login": "blipk",
"id": 45532845,
"node_id": "MDQ6VXNlcjQ1NTMyODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/45532845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blipk",
"html_url": "https://github.com/blipk",
"followers_url": "https://api.github.com/users/blipk/followers",
"following_url": "https://api.github.com/users/blipk/following{/other_user}",
"gists_url": "https://api.github.com/users/blipk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blipk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blipk/subscriptions",
"organizations_url": "https://api.github.com/users/blipk/orgs",
"repos_url": "https://api.github.com/users/blipk/repos",
"events_url": "https://api.github.com/users/blipk/events{/privacy}",
"received_events_url": "https://api.github.com/users/blipk/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": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 3 | 2022-10-22T06:51:21 | 2022-10-26T17:10:11 | 2022-10-26T17:10:11 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Calling `st.experimental_rerun()` in a thread raises an exception and doesnt rerun streamlit.
Looking at the source for `experimental_rerun()` it seems it raises the exception in any case, and this is the method by which it signals the rerun, being caught by the main thread.
I'm not sure which part of streamlit handles this, but I am passing the correct context manager to the thread so I figured there should be a way to also catch the exception from a thread.
This is the error that is raised is provided below.
### Reproducible Code Example
```Python
import time
import threading
import streamlit as st
from streamlit.runtime.scriptrunner import add_script_run_ctx, get_script_run_ctx, RerunException
def main():
thread = threading.Thread(target=thread_func, args=(5,))
add_script_run_ctx(thread, get_script_run_ctx())
thread.start()
st.write("Hi")
def thread_func(s):
time.sleep(s)
st.experimental_rerun()
if __name__ == "__main__":
main()
```
### Steps To Reproduce
`streamlit run main.py` on the provided example.
### Expected Behavior
The context manager is aware of the (intended?) exception in the thread and Streamlit is rerun at the end of the thread.
### Current Behavior
```
Exception in thread Thread-6 (thread_func):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/user/dev/project/test.py", line 13, in thread_func
st.experimental_rerun()
File "/home/user/.local/lib/python3.10/site-packages/streamlit/__init__.py", line 542, in experimental_rerun
raise _RerunException(
streamlit.runtime.scriptrunner.script_runner.RerunException: RerunData(query_string='', widget_states=None, page_script_hash='b284a28710cce90d9d9be3a7f4cabc8e', page_name='')
```
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10
- Operating System: Arch64
- Browser: Chrome/Firefox
- Virtual environment: None
### 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/5588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5588/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5587 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5587/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5587/comments | https://api.github.com/repos/streamlit/streamlit/issues/5587/events | https://github.com/streamlit/streamlit/pull/5587 | 1,418,825,968 | PR_kwDODCoeTs5BT-a_ | 5,587 | Avoid installing more unused dependencies in internal conda builds | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-21T20:27:43 | 2022-10-21T21:10:19 | 2022-10-21T21:10:16 | COLLABORATOR | null | ## 📚 Context
It turns out that we have a few more dependences that we want to avoid installing
in internal conda builds of the Streamlit package. This change moves these dependencies
so that we don't install them when the `ST_CONDA_BUILD` environment variable is set.
Note that this has no effect for our regular PyPI and non-internal conda distributions.
- What kind of change does this PR introduce?
- [x] Other, please describe: fun with dependencies
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5587/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5587",
"html_url": "https://github.com/streamlit/streamlit/pull/5587",
"diff_url": "https://github.com/streamlit/streamlit/pull/5587.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5587.patch",
"merged_at": "2022-10-21T21:10:16"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5586 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5586/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5586/comments | https://api.github.com/repos/streamlit/streamlit/issues/5586/events | https://github.com/streamlit/streamlit/issues/5586 | 1,418,677,818 | I_kwDODCoeTs5Uj046 | 5,586 | st.download_button fails to download data when data is computed dynamically based on other widgets' values and clicking to download button itself triggers a rerun. | {
"login": "kajarenc",
"id": 6664805,
"node_id": "MDQ6VXNlcjY2NjQ4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kajarenc",
"html_url": "https://github.com/kajarenc",
"followers_url": "https://api.github.com/users/kajarenc/followers",
"following_url": "https://api.github.com/users/kajarenc/following{/other_user}",
"gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions",
"organizations_url": "https://api.github.com/users/kajarenc/orgs",
"repos_url": "https://api.github.com/users/kajarenc/repos",
"events_url": "https://api.github.com/users/kajarenc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kajarenc/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4333322200,
"node_id": "LA_kwDODCoeTs8AAAABAkk_2A",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.download_button",
"name": "feature:st.download_button",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 4762245906,
"node_id": "LA_kwDODCoeTs8AAAABG9obEg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:in-progress",
"name": "status:in-progress",
"color": "FEF2C0",
"default": false,
"description": "We're working on fixing this issue"
}
] | open | false | null | [] | null | 1 | 2022-10-21T17:57:03 | 2022-12-26T02:44:51 | null | COLLABORATOR | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
st.download_button fails to download data when data is computed dynamically based on other widgets' values and clicking to download button itself triggers a rerun.
TEST APP ON CLOUD: https://kajarenc-download-button-repro-app-qmbk3y.streamlitapp.com/
DEMO APP ON GH issues app: [![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5586)
### Reproducible Code Example
```Python
import streamlit as st
text_to_repeat = st.text_input("Text to repeat")
times_to_repeat = st.slider("Number of times to repeat", min_value=1, max_value=10)
st.write("TEXT TO REPEAT: " + text_to_repeat)
st.write("TIMES TO REPEAT: " + str(times_to_repeat))
st.download_button(
"Download",
data=text_to_repeat * times_to_repeat,
file_name="repeated_text.txt",
)
```
### Steps To Reproduce
1. Go to text input:
2. Type something
3. Without clicking outside (this will trigger rerun) click on download button the
### Expected Behavior
Click on download button should trigger file download
### Current Behavior
It returns a 404 error on cloud and do nothing when develop locally
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.9
- Operating System:
- 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/5586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5586/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5585 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5585/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5585/comments | https://api.github.com/repos/streamlit/streamlit/issues/5585/events | https://github.com/streamlit/streamlit/pull/5585 | 1,418,665,853 | PR_kwDODCoeTs5BTcLE | 5,585 | GHA: Update deprecated set-output syntax | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-21T17:45:29 | 2022-10-27T17:50:09 | 2022-10-27T17:50:05 | COLLABORATOR | null | ## 📚 Context
Nightly Build run showed a warning on deprecation of the set-output syntax.
This PR fixes the syntax, which we use in pr-preview & nightly.
<img width=550 src=https://user-images.githubusercontent.com/63436329/197263003-f923ee29-4dc4-464d-9a57-383d07db66ed.png />
- 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/5585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5585/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5585",
"html_url": "https://github.com/streamlit/streamlit/pull/5585",
"diff_url": "https://github.com/streamlit/streamlit/pull/5585.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5585.patch",
"merged_at": "2022-10-27T17:50:05"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5584 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5584/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5584/comments | https://api.github.com/repos/streamlit/streamlit/issues/5584/events | https://github.com/streamlit/streamlit/issues/5584 | 1,418,464,984 | I_kwDODCoeTs5UjA7Y | 5,584 | Streamlit-sortables bugs out when adding new items to it during runtime. | {
"login": "hamishcraze",
"id": 48551047,
"node_id": "MDQ6VXNlcjQ4NTUxMDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/48551047?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamishcraze",
"html_url": "https://github.com/hamishcraze",
"followers_url": "https://api.github.com/users/hamishcraze/followers",
"following_url": "https://api.github.com/users/hamishcraze/following{/other_user}",
"gists_url": "https://api.github.com/users/hamishcraze/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hamishcraze/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hamishcraze/subscriptions",
"organizations_url": "https://api.github.com/users/hamishcraze/orgs",
"repos_url": "https://api.github.com/users/hamishcraze/repos",
"events_url": "https://api.github.com/users/hamishcraze/events{/privacy}",
"received_events_url": "https://api.github.com/users/hamishcraze/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3230108595,
"node_id": "MDU6TGFiZWwzMjMwMTA4NTk1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P4",
"name": "priority:P4",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4070169954,
"node_id": "LA_kwDODCoeTs7ymd1i",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state",
"name": "feature:st.session_state",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-10-21T14:54:37 | 2022-10-24T14:24:04 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I am attempting to use streamlit-sortables to create text processing pipelines (a set of interoperable functions). What we do is allow the user to create an operation. This operation is added to the pipeline. However, perhaps a user wishes to change the order that operations run, streamlit-sortables works well for this.
However we are running into when we try to add new items to these lists (via some button press).
### Reproducible Code Example
```Python
import streamlit as st
from streamlit_sortables import sort_items
if not "pipeline_left" in st.session_state:
st.session_state.pipeline_left = ['item1', 'item2', 'item3']
if not "pipeline_right" in st.session_state:
st.session_state.pipeline_right = ['item4', 'item5', 'item6']
button = st.button("ADD", key="BUTTON")
if button:
st.session_state.pipeline_left.append("ADDED")
items = [
{'header': 'Pipeline', 'items': st.session_state.pipeline_left},
{'header': 'Disabled', 'items': st.session_state.pipeline_right},
]
sorted_items = sort_items(items, multi_containers=True, direction='vertical')
```
### Steps To Reproduce
I.E Streamlit starts up. You initialize the streamlit sortable via the following:
```
items = [
{'header': 'Pipeline', 'items': ["item1","item2,","item3"]},
{'header': 'Disabled', 'items': ["item4","item5,","item6"]},
]
sorted_items = sort_items(items, multi_containers=True, direction='vertical')
```
All is well. Items can be moved between lists and reordered as per usual. But we wish for the end-user to be able to assemble a pipeline themselves. Meaning they need to be able to add new elements to the lists.
We thought we'd implement that using session state:
```
if not "pipeline_left" in st.session_state:
st.session_state.pipeline_left = ['item1', 'item2', 'item3']
if not "pipeline_right" in st.session_state:
st.session_state.pipeline_right = ['item4', 'item5', 'item6']
button = st.button("ADD", key="BUTTON")
if button:
st.session_state.pipeline_left.append("ADDED")
items = [
{'header': 'Pipeline', 'items': st.session_state.pipeline_left},
{'header': 'Disabled', 'items': st.session_state.pipeline_right},
]
sorted_items = sort_items(items, multi_containers=True, direction='vertical')
```
As you can see, when a button element is clicked, the item "ADDED" is added to the pipeline_left list which is stored in session_state. This means that on reload, the sorted_items element should be populated with the new items. This proceeds as expected.
The issue occurs when you then try to reorder the sortable list via the frontend. Something is going wrong that is preventing the sortable list for updating correctly and it becomes unresponsive (i) forgets the added element entirely (ii) if you drag ADD from pipeline_left to pipeline_right, when a new element is added, all previously added items appear in pipeline_left. Ignoring all previous state changes.
### Expected Behavior
We expect to be able to add new elements to the sortable_items list during runtime without completely breaking it's functionality
### Current Behavior
becomes unresponsive (i)
forgets the added element entirely (ii)
if you drag "ADDED" from pipeline_left to pipeline_right, when a new element is added (via a second button press), all previously added items appear in pipeline_left. Ignoring all previous state changes.
Something in streamlit_sortables is not talking to the streamlit backend correctly.
### 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/5584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5584/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5583 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5583/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5583/comments | https://api.github.com/repos/streamlit/streamlit/issues/5583/events | https://github.com/streamlit/streamlit/pull/5583 | 1,418,455,287 | PR_kwDODCoeTs5BSu84 | 5,583 | Allow emojis with variant selectors to be validated | {
"login": "abhiklodh",
"id": 8018018,
"node_id": "MDQ6VXNlcjgwMTgwMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8018018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhiklodh",
"html_url": "https://github.com/abhiklodh",
"followers_url": "https://api.github.com/users/abhiklodh/followers",
"following_url": "https://api.github.com/users/abhiklodh/following{/other_user}",
"gists_url": "https://api.github.com/users/abhiklodh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abhiklodh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abhiklodh/subscriptions",
"organizations_url": "https://api.github.com/users/abhiklodh/orgs",
"repos_url": "https://api.github.com/users/abhiklodh/repos",
"events_url": "https://api.github.com/users/abhiklodh/events{/privacy}",
"received_events_url": "https://api.github.com/users/abhiklodh/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 4 | 2022-10-21T14:48:33 | 2022-11-20T00:53:04 | 2022-11-20T00:53: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
Emojis show up as invalid if they are prefixed or postfixed with a variant selector character. This is a hidden character that is used as variant selector for emojis (more information [here](https://stackoverflow.com/questions/38100329/what-does-u-ufe0f-in-an-emoji-mean-is-it-the-same-if-i-delete-it)).
- What kind of change does this PR introduce?
- [X] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- Wrote a function `clean_emoji` to remove hidden unicode and return a sanitised emoji if possible.
- Added logic to `validate_emoji` to handle emojis that have hidden unicode with the help of `clean_emoji`.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
```
st.success("This is a success message", icon="🚨") # Works fine
st.success("This is a success message", icon="️🚨") # Works fine
st.success("This is a success message", icon="\U0000FE0F\U0001F44D\U0001F3FD\U0000FE0F") # Works fine
st.success("This is a success message", icon="\U0000FE0F") # Throws an error
st.success("This is a success message", icon="\U0000FE0F\U0001F6A8\U0000FE0F") # Works fine
st.warning("This is a warning", icon="🚨") # Works fine
st.warning("This is a warning", icon="️🚨") # Works fine
st.error("This is an error", icon="🚨") # Works fine
st.error("This is an error", icon="️🚨") # Works fine
st.info("This is a purely informational message", icon="🚨") # Works fine
st.info("This is a purely informational message", icon="️🚨") # Works fine
```
**Current:**
```
st.success("This is a success message", icon="🚨") # Works fine
st.success("This is a success message", icon="️🚨") # Throws an error
st.success("This is a success message", icon="\U0000FE0F\U0001F44D\U0001F3FD\U0000FE0F") # Throws an error
st.success("This is a success message", icon="\U0000FE0F") # Throws an error
st.success("This is a success message", icon="\U0000FE0F\U0001F6A8\U0000FE0F") # Throws an error
st.warning("This is a warning", icon="🚨") # Works fine
st.warning("This is a warning", icon="️🚨") # Throws an error
st.error("This is an error", icon="🚨") # Works fine
st.error("This is an error", icon="️🚨") # Throws an error
st.info("This is a purely informational message", icon="🚨") # Works fine
st.info("This is a purely informational message", icon="️🚨") # Throws an error
```
## 🧪 Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #5564
---
**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/5583/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/5583/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5583",
"html_url": "https://github.com/streamlit/streamlit/pull/5583",
"diff_url": "https://github.com/streamlit/streamlit/pull/5583.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5583.patch",
"merged_at": "2022-11-20T00:53:04"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5582 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5582/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5582/comments | https://api.github.com/repos/streamlit/streamlit/issues/5582/events | https://github.com/streamlit/streamlit/pull/5582 | 1,418,153,173 | PR_kwDODCoeTs5BRt5j | 5,582 | Make emojis with variant selector character valid | {
"login": "snehankekre",
"id": 20672874,
"node_id": "MDQ6VXNlcjIwNjcyODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/20672874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snehankekre",
"html_url": "https://github.com/snehankekre",
"followers_url": "https://api.github.com/users/snehankekre/followers",
"following_url": "https://api.github.com/users/snehankekre/following{/other_user}",
"gists_url": "https://api.github.com/users/snehankekre/gists{/gist_id}",
"starred_url": "https://api.github.com/users/snehankekre/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/snehankekre/subscriptions",
"organizations_url": "https://api.github.com/users/snehankekre/orgs",
"repos_url": "https://api.github.com/users/snehankekre/repos",
"events_url": "https://api.github.com/users/snehankekre/events{/privacy}",
"received_events_url": "https://api.github.com/users/snehankekre/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-21T10:55:07 | 2022-10-21T15:00:35 | 2022-10-21T15:00:35 | MEMBER | null | ## 📚 Context
#5564 demonstrates that emojis either prefixed or suffixed with text presentation selector or emoji presentation selector (as described in the [Unicode® Technical Standard #51](https://unicode.org/reports/tr51/#Emoji_Variation_Sequences)) are not considered valid by Streamlit. As such, Streamlit raises a StreamlitAPIException if used for st.error, st.info, etc.
- What kind of change does this PR introduce?
- [x] Bugfix
## 🧠 Description of Changes
For each emoji in `set(EMOJI_DATA.keys())`, we add two variants prefixed with both types of selectors, as well as two variants suffixed with both types of selectors.
- [x] This is a visible (user-facing) change
**Revised:**
```python
st.error("This is an error", icon="🚨")
st.error("This is an error", icon="️🚨")
st.error("This is an error", icon="⛔️")
```
![image](https://user-images.githubusercontent.com/20672874/197179718-150ceb38-f6a5-4c3a-bedb-0c2402bf3968.png)
**Current:**
```python
st.error("This is an error", icon="🚨") # Works fine
st.error("This is an error", icon="️🚨") # Throws an error
st.error("This is an error", icon="⛔️") # Throws an error
```
![image](https://user-images.githubusercontent.com/20672874/197179934-f01455dd-4367-4506-ae93-57f8799cda34.png)
## 🧪 Testing Done
- [x] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
- **Issue**: Closes #5564
---
**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/5582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5582/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5582",
"html_url": "https://github.com/streamlit/streamlit/pull/5582",
"diff_url": "https://github.com/streamlit/streamlit/pull/5582.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5582.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5581 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5581/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5581/comments | https://api.github.com/repos/streamlit/streamlit/issues/5581/events | https://github.com/streamlit/streamlit/issues/5581 | 1,418,069,738 | I_kwDODCoeTs5Uhgbq | 5,581 | st.session_state is shared across browsers/sessions/connections | {
"login": "blipk",
"id": 45532845,
"node_id": "MDQ6VXNlcjQ1NTMyODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/45532845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blipk",
"html_url": "https://github.com/blipk",
"followers_url": "https://api.github.com/users/blipk/followers",
"following_url": "https://api.github.com/users/blipk/following{/other_user}",
"gists_url": "https://api.github.com/users/blipk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blipk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blipk/subscriptions",
"organizations_url": "https://api.github.com/users/blipk/orgs",
"repos_url": "https://api.github.com/users/blipk/repos",
"events_url": "https://api.github.com/users/blipk/events{/privacy}",
"received_events_url": "https://api.github.com/users/blipk/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 3 | 2022-10-21T09:50:01 | 2022-12-30T03:37:10 | 2022-10-21T16:46: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
I have a few class objects imported via main.py that either return themselves in st.session_state or a new instance (which adds itself to st.session_state), however they are being shared across user sessions.
My Authenticator below for example.
I log in with one browser and it holds some log in info in its class attributes, and itself in st.session_state, and sets a cookie as well.
Then I go into another browser in a completely clean private window, which should be using a different st.session_state, but it's not, so the Authenticator thinks its logged in as the session from the other browser and sets the other user/browsers cookie.
I've confirmed this by doing `st.write(id(st.session_state["authenticator"]))` and it's the same across browsers and sessions, even though my function should only return either itself in session_state (which should be per browser) or a new instance.
authenticator `__init__.py`
```Python
...
# Class defs above
def get_auth(cookie_name: str, user_class = None) -> Authenticator:
"""
See Authenticator for params.
"""
authenticator_name = "authenticator"
if authenticator_name in st.session_state and st.session_state[authenticator_name]:
return st.session_state[authenticator_name]
return Authenticator(cookie_name, st.secrets["authenticator"]["cookie_key"],
user_class=user_class,
admin_ids=st.secrets["authenticator"]["admin_ids"],
developer_ids=st.secrets["authenticator"]["developer_ids"])
EOF
```
`main.py`
```Python
import streamlit as st
from streamlitextras.authenticator.exceptions import AuthException
st.set_page_config(
page_title="",
page_icon="",
layout="wide",
initial_sidebar_state="expanded"
)
import routes
auth = routes.auth
router = routes.router
def main() -> None:
auth.delayed_init() # Adds itself to st.session_state here auth here
router.delayed_init() # Same here
dev_container = st.container()
try:
auth_status = auth.auth_status
user = auth.current_user
log.info(f"Auth status: {auth_status} - User: {user.localId if user else user}")
except AuthException as e:
log.error(f"Error checking auth_status {e}")
return router.show_route_view("auth")
if auth_status and user:
router.show_route_view(redirect_page_names=["auth"])
else:
router.show_route_view("auth")
if __name__ == "__main__":
main()
```
routes `__init__.py`
```Python
import streamlitextras.router
import streamlitextras.authenticator
import streamlitextras.cookiemanager
cookie_manager = streamlitextras.cookiemanager.get_cookie_manager()
auth = streamlitextras.authenticator.get_auth("mytoken")
from .preroute import pre_route
from .userpage import user_page
from .authpage import auth_page
from .mainpage import main_page
from .logpage import log_page
pages = {
"main": main_page,
"user": user_page,
"auth": auth_page,
"logs": log_page,
}
router = streamlitextras.router.get_router(pages, pre_route)
```
st.session_state docs say `Session State is a way to share variables between reruns, for each user session`, yet I've confirmed with id() and by inspecting its properties that I'm getting the same Authenticator() and CookieManager() etc in different browsers locally and across different Streamlit Share sessions.
Am I missing something obvious?
### Expected Behavior
I expect st.session_state to be unique per user/browser/connection/session as per the docs.
### Is this a regression?
- Unsure
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10.6
- Operating System: Arch64 but also occurs on Streamlit Share / Debian
- Browser: Tested in Chrome and Firefox
- Virtual environment: None locally | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5581/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5580 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5580/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5580/comments | https://api.github.com/repos/streamlit/streamlit/issues/5580/events | https://github.com/streamlit/streamlit/pull/5580 | 1,417,878,711 | PR_kwDODCoeTs5BQzwY | 5,580 | Remove warning about unsafe HTML in element 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
} | [] | closed | false | null | [] | null | 0 | 2022-10-21T07:23:02 | 2022-10-21T07:56:41 | 2022-10-21T07:56:40 | MEMBER | null | ## 📚 Context
It's safe to say that the `unsafe_allow_html` parameter is here to stay and will not be removed from `st.markdown`, `st.write`, and `st.caption`. We should remove the warning in the docstrings of these elements that state:
> `unsafe_allow_html`` is a temporary measure and may be removed from Streamlit at any time.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Doc improvement request
## 🧠 Description of Changes
Removes the warning in the docstrings of these elements (`st.markdown`, `st.write`, and `st.caption`) that state:
_`unsafe_allow_html` is a temporary measure and may be removed from Streamlit at any time._
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5580/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5580",
"html_url": "https://github.com/streamlit/streamlit/pull/5580",
"diff_url": "https://github.com/streamlit/streamlit/pull/5580.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5580.patch",
"merged_at": "2022-10-21T07:56:40"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5579 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5579/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5579/comments | https://api.github.com/repos/streamlit/streamlit/issues/5579/events | https://github.com/streamlit/streamlit/pull/5579 | 1,417,534,346 | PR_kwDODCoeTs5BPpf0 | 5,579 | Add codeql code security and quality scan | {
"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 | 1 | 2022-10-21T00:53:54 | 2022-10-24T18:30:50 | 2022-10-24T18:30:50 | COLLABORATOR | null | ## 📚 Context
This PR adds Github CodeQL which adds static code security and quality scans. This will run automatically on all of our PRs.
See the scan results here: https://github.com/streamlit/streamlit/security/code-scanning?query=pr%3A5579+is%3Aopen+
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
Closes https://github.com/streamlit/streamlit/issues/3217
---
**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/5579/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/5579/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5579",
"html_url": "https://github.com/streamlit/streamlit/pull/5579",
"diff_url": "https://github.com/streamlit/streamlit/pull/5579.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5579.patch",
"merged_at": "2022-10-24T18:30:50"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5578 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5578/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5578/comments | https://api.github.com/repos/streamlit/streamlit/issues/5578/events | https://github.com/streamlit/streamlit/pull/5578 | 1,417,413,640 | PR_kwDODCoeTs5BPOq0 | 5,578 | Adding theme="streamlit" as default and minor visual adjustments | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2022-10-20T22:43:33 | 2022-11-01T02:28:23 | 2022-11-01T02:28:23 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
When there are several items in altair for a horizontal legend, this can cause a lot of bugs and problems with the visuals. As a result, we will remove the horizontal legend for non built in streamlit charts.
In addition, we will change the padding since we are removing the horizontal legends.
This will also remove the hack to enable streamlit theme and add an official parameter for theme for only the st.altair_chart command and the st.vega_lite_chart command.
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [x] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- add theme parameter and set "streamlit" as default
- _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:**
![Screen Shot 2022-10-20 at 3 43 12 PM](https://user-images.githubusercontent.com/16749069/197072815-948f3914-fd51-446f-9ae9-90c76f0a91b6.png)
_Insert screenshot of existing UI/code here_
<img width="562" alt="Screen Shot 2022-10-20 at 4 33 05 PM" src="https://user-images.githubusercontent.com/16749069/197078308-4161561b-38d7-4eea-88ab-2804d4bdf2f0.png">
## 🧪 Testing Done
- [x] Screenshots included
- [x] Added/Updated unit tests
- [x] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #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/5578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5578/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5578",
"html_url": "https://github.com/streamlit/streamlit/pull/5578",
"diff_url": "https://github.com/streamlit/streamlit/pull/5578.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5578.patch",
"merged_at": "2022-11-01T02:28:23"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5577 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5577/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5577/comments | https://api.github.com/repos/streamlit/streamlit/issues/5577/events | https://github.com/streamlit/streamlit/pull/5577 | 1,417,008,607 | PR_kwDODCoeTs5BN1mW | 5,577 | Add codeql code security and quality scan | {
"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 | 2022-10-20T17:33:27 | 2022-10-21T01:12:47 | 2022-10-21T01:12:47 | COLLABORATOR | null | Closed this in favour of since I think I messed up the codeql database: https://github.com/streamlit/streamlit/pull/5579 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5577/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5577",
"html_url": "https://github.com/streamlit/streamlit/pull/5577",
"diff_url": "https://github.com/streamlit/streamlit/pull/5577.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5577.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5576 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5576/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5576/comments | https://api.github.com/repos/streamlit/streamlit/issues/5576/events | https://github.com/streamlit/streamlit/issues/5576 | 1,416,938,427 | I_kwDODCoeTs5UdMO7 | 5,576 | Websocket connection error | {
"login": "spinxi",
"id": 50767516,
"node_id": "MDQ6VXNlcjUwNzY3NTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/50767516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spinxi",
"html_url": "https://github.com/spinxi",
"followers_url": "https://api.github.com/users/spinxi/followers",
"following_url": "https://api.github.com/users/spinxi/following{/other_user}",
"gists_url": "https://api.github.com/users/spinxi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/spinxi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/spinxi/subscriptions",
"organizations_url": "https://api.github.com/users/spinxi/orgs",
"repos_url": "https://api.github.com/users/spinxi/repos",
"events_url": "https://api.github.com/users/spinxi/events{/privacy}",
"received_events_url": "https://api.github.com/users/spinxi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 3 | 2022-10-20T16:38:33 | 2022-10-24T14:09:36 | 2022-10-24T14:09: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
[https://github.com/streamlit/streamlit/issues/2312](This) didnt helped me
I have same problem on azure linux based server.
`sed -i -e 's/,1e3/,1e4/g' -e 's/,500/,10000/g' /usr/local/lib/python3.10/site-packages/streamlit/static/static/js/main.<>.chunk.js`
Tried but didn't work for me. any news for this?
Error:
`WebSocket connection to 'wss://blablabla.azurewebsites.net/stream' failed: `
`WebsocketConnection WebSocket onerror`
```
Uncaught Error: Unsupported state transition.
State: PINGING_SERVER
Event: CONNECTION_TIMED_OUT
at e.value (main.6d25cdf9.chunk.js:2:122553)
at main.6d25cdf9.chunk.js:2:124651
```
### Reproducible Code Example
```
import streamlit as st
#simple fun.py file to print hello
from fun import *
st.set_page_config(
page_title="GA LOGISTICS LLC",
page_icon="🧊",
layout="wide",
initial_sidebar_state="expanded",
)
st.title(" Dashboard")
st.sidebar.title("Configuration")
kpi2_text = st.markdown("0")
gio(kpi2_text=kpi2_text)
```
### Steps To Reproduce
I'm uploading throu github. then in setup command
`python -m streamlit hello (or run app.py) --server.port=8000 --server.address=0.0.0.0`
### Expected Behavior
_No response_
### Current Behavior
[Check](https://gacamera.azurewebsites.net/)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: version 1.12.0
- Python version: 3.9 (azure default Python 3.9.7 version)
- Operating System: Debian GNU/Linux 10 (buster)
- Browser: Chrome
- Virtual environment: ENV is clear, I only have streamlit installed on it
### 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/5576/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/5576/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5575 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5575/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5575/comments | https://api.github.com/repos/streamlit/streamlit/issues/5575/events | https://github.com/streamlit/streamlit/pull/5575 | 1,416,610,940 | PR_kwDODCoeTs5BMec2 | 5,575 | Update CLOUD_COMM_WHITELIST with support for the new streamlit.app domains | {
"login": "sfc-gh-atoader",
"id": 102808966,
"node_id": "U_kgDOBiC9hg",
"avatar_url": "https://avatars.githubusercontent.com/u/102808966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-atoader",
"html_url": "https://github.com/sfc-gh-atoader",
"followers_url": "https://api.github.com/users/sfc-gh-atoader/followers",
"following_url": "https://api.github.com/users/sfc-gh-atoader/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-atoader/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-atoader/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-atoader/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-atoader/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-atoader/repos",
"events_url": "https://api.github.com/users/sfc-gh-atoader/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-atoader/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-20T13:18:29 | 2022-10-20T16:12:00 | 2022-10-20T15:40:00 | NONE | null | ## 📚 Context
_Please describe the project or issue background here_
Streamlit Community Cloud will soon support hosting applications on the streamlit.app domain. This PR updates the whitelist to allow embedding applications in the streamlit.app domain and communicating between the two.
- 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_
N/A
**Current:**
_Insert screenshot of existing UI/code here_
N/A
## 🧪 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/5575/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/5575/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5575",
"html_url": "https://github.com/streamlit/streamlit/pull/5575",
"diff_url": "https://github.com/streamlit/streamlit/pull/5575.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5575.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5574 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5574/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5574/comments | https://api.github.com/repos/streamlit/streamlit/issues/5574/events | https://github.com/streamlit/streamlit/issues/5574 | 1,415,853,807 | I_kwDODCoeTs5UZDbv | 5,574 | Streamlit page refreshing after file upload | {
"login": "srinu1093",
"id": 100108937,
"node_id": "U_kgDOBfeKiQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100108937?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srinu1093",
"html_url": "https://github.com/srinu1093",
"followers_url": "https://api.github.com/users/srinu1093/followers",
"following_url": "https://api.github.com/users/srinu1093/following{/other_user}",
"gists_url": "https://api.github.com/users/srinu1093/gists{/gist_id}",
"starred_url": "https://api.github.com/users/srinu1093/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/srinu1093/subscriptions",
"organizations_url": "https://api.github.com/users/srinu1093/orgs",
"repos_url": "https://api.github.com/users/srinu1093/repos",
"events_url": "https://api.github.com/users/srinu1093/events{/privacy}",
"received_events_url": "https://api.github.com/users/srinu1093/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 1 | 2022-10-20T02:58:08 | 2022-12-30T03:37:10 | 2022-10-20T09:26:58 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Hello,
Our application consists of neural network. There is a requirement of uploading the weights file in every single epoch. But the thing is when I upload a file, the page is re running again from the starting. This is creating a big issue because it's taking lot of time to run the whole application. So is there any way that I can stop running the page from the start when I upload a file?
Thanks in advance!!!
### 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/5574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5574/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5573 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5573/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5573/comments | https://api.github.com/repos/streamlit/streamlit/issues/5573/events | https://github.com/streamlit/streamlit/pull/5573 | 1,415,516,656 | PR_kwDODCoeTs5BIyAR | 5,573 | secrets: add threading docstrings and tests | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-19T20:01:52 | 2022-10-20T16:18:08 | 2022-10-20T16:18:06 | COLLABORATOR | null | Adds thread-safety docstrings to `secrets.py` and tests to `secrets_test.py` | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5573/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5573",
"html_url": "https://github.com/streamlit/streamlit/pull/5573",
"diff_url": "https://github.com/streamlit/streamlit/pull/5573.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5573.patch",
"merged_at": "2022-10-20T16:18:05"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5572 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5572/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5572/comments | https://api.github.com/repos/streamlit/streamlit/issues/5572/events | https://github.com/streamlit/streamlit/issues/5572 | 1,415,174,050 | I_kwDODCoeTs5UWdei | 5,572 | test issue | {
"login": "kajarenc",
"id": 6664805,
"node_id": "MDQ6VXNlcjY2NjQ4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kajarenc",
"html_url": "https://github.com/kajarenc",
"followers_url": "https://api.github.com/users/kajarenc/followers",
"following_url": "https://api.github.com/users/kajarenc/following{/other_user}",
"gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions",
"organizations_url": "https://api.github.com/users/kajarenc/orgs",
"repos_url": "https://api.github.com/users/kajarenc/repos",
"events_url": "https://api.github.com/users/kajarenc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kajarenc/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 0 | 2022-10-19T15:23:54 | 2022-12-30T03:37:09 | 2022-10-19T15:25:20 | COLLABORATOR | null | ### Summary
Type here a clear and concise description of the bug. Aim for 2-3 sentences.
### Steps to reproduce
Code snippet:
```
st.write(3 + 5)
```
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5571)
(Please provide a code snippet! This will help expedite us finding and solving the problem.)
If applicable, please provide the steps we should take to reproduce the bug:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
**Expected behavior:**
Explain what you expect to happen when you go through the steps above, assuming there were no bugs.
**Actual behavior:**
Explain the buggy behavior you experience when you go through the steps above.
If applicable, add screenshots to help explain your problem.
### Is this a regression?
That is, did this use to work the way you expected in the past?
yes / no
### Debug info
- Streamlit version: (get it with `$ streamlit version`)
- Python version: (get it with `$ python --version`)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
### Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5572/timeline | null | not_planned | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5571 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5571/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5571/comments | https://api.github.com/repos/streamlit/streamlit/issues/5571/events | https://github.com/streamlit/streamlit/issues/5571 | 1,415,068,703 | I_kwDODCoeTs5UWDwf | 5,571 | Unable to set date range value for st.date_input via session_state | {
"login": "zoltanmihaly",
"id": 29677433,
"node_id": "MDQ6VXNlcjI5Njc3NDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/29677433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zoltanmihaly",
"html_url": "https://github.com/zoltanmihaly",
"followers_url": "https://api.github.com/users/zoltanmihaly/followers",
"following_url": "https://api.github.com/users/zoltanmihaly/following{/other_user}",
"gists_url": "https://api.github.com/users/zoltanmihaly/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zoltanmihaly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zoltanmihaly/subscriptions",
"organizations_url": "https://api.github.com/users/zoltanmihaly/orgs",
"repos_url": "https://api.github.com/users/zoltanmihaly/repos",
"events_url": "https://api.github.com/users/zoltanmihaly/events{/privacy}",
"received_events_url": "https://api.github.com/users/zoltanmihaly/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": 1846373998,
"node_id": "MDU6TGFiZWwxODQ2MzczOTk4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:state",
"name": "feature:state",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 3904164369,
"node_id": "LA_kwDODCoeTs7otNIR",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.date_input",
"name": "feature:st.date_input",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2022-10-19T14:21:38 | 2022-11-08T19:34:11 | null | NONE | null | ### Summary
I'm unable to set an st.date_input widget's value to a date range covering the last 30 days via the session state API - the date_input simply takes the start date of the date range and defaults to a signle date picker.
Setting the same date range via the _value_ keyword works (i.e. the widget renders with the last 30 days date range and allows users to provide a range) but this is not what I'm after.
I'd also like to avoid setting the value via both the session_state and _value_ keyword to avoid getting _The widget with key “xxx” was created with a default value but also had its value set via the Session State API_ warnings as per the documentation [here](https://docs.streamlit.io/library/api-reference/session-state#forms-and-callbacks).
### Steps to reproduce
Code snippet:
```
import streamlit as st
from datetime import date, timedelta
today = date.today()
today_minus_30 = today - timedelta(days=30)
# Date input - doesn't work
st.session_state.my_date_input = (today_minus_30, today)
st.date_input(
label="Date input",
max_value=today,
key="my_date_input"
)
# Date input - works
st.date_input(
label="Date input 2",
max_value=today,
value=(today_minus_30, today),
key="my_date_input_2"
)
```
![image](https://user-images.githubusercontent.com/29677433/196717731-89d923d4-a56a-49e0-ac78-1e4832d74495.png)
**Expected behavior:**
st.date_picker should default to **date range** (today_minus_30, today).
**Actual behavior:**
st.date_picker actually defaults to **single date** today_minus_30.
### Is this a regression?
no idea
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10.4
- Using Conda
- OS version: Windows 10 Enterprise
- Browser version: Chrome 106.0.5249.119
---
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/5571/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/5571/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5570 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5570/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5570/comments | https://api.github.com/repos/streamlit/streamlit/issues/5570/events | https://github.com/streamlit/streamlit/pull/5570 | 1,414,875,155 | PR_kwDODCoeTs5BGoDh | 5,570 | Snowpark integration: Show an uncollected dataframe when using st.dataframe | {
"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"
}
] | 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 | 6 | 2022-10-19T12:21:51 | 2022-10-22T21:57:19 | 2022-10-22T21:57:19 | CONTRIBUTOR | null | When using **unevaluated** `snowflake.snowpark.dataframe.DataFrame` Streamlit raises an exception.
This PR makes Streamlit take 10k rows from unevaluated snowpark DataFrame and shows an caption warning to user if we reach 10k rows.
<!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] 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/5570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5570/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5570",
"html_url": "https://github.com/streamlit/streamlit/pull/5570",
"diff_url": "https://github.com/streamlit/streamlit/pull/5570.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5570.patch",
"merged_at": "2022-10-22T21:57:19"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5569 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5569/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5569/comments | https://api.github.com/repos/streamlit/streamlit/issues/5569/events | https://github.com/streamlit/streamlit/pull/5569 | 1,414,770,244 | PR_kwDODCoeTs5BGRjf | 5,569 | Move assert calls outside of `with assertRaises` block | {
"login": "kajarenc",
"id": 6664805,
"node_id": "MDQ6VXNlcjY2NjQ4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kajarenc",
"html_url": "https://github.com/kajarenc",
"followers_url": "https://api.github.com/users/kajarenc/followers",
"following_url": "https://api.github.com/users/kajarenc/following{/other_user}",
"gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions",
"organizations_url": "https://api.github.com/users/kajarenc/orgs",
"repos_url": "https://api.github.com/users/kajarenc/repos",
"events_url": "https://api.github.com/users/kajarenc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kajarenc/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-19T11:08:47 | 2022-10-20T16:37:18 | 2022-10-20T16:37: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
Move to assert calls outside of with assertRaises block, because it doesn't execute after captured exception in the block
Test assertion doesn't work after throwing an exception inside capturing context, when `with assertRaises` is used.
So for example this test will pass silently:
```python
with self.assertRaises(Exception) as ctx:
x = 5 / 0
self.assertTrue(False)
```
to avoid this, and make our test check actual behavior, we need to move `self.assert` outside of `with` block.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [X] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## 🧪 Testing Done
- [ ] Screenshots included
- [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/5569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5569/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5569",
"html_url": "https://github.com/streamlit/streamlit/pull/5569",
"diff_url": "https://github.com/streamlit/streamlit/pull/5569.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5569.patch",
"merged_at": "2022-10-20T16:37:17"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5568 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5568/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5568/comments | https://api.github.com/repos/streamlit/streamlit/issues/5568/events | https://github.com/streamlit/streamlit/pull/5568 | 1,414,344,225 | PR_kwDODCoeTs5BE2SX | 5,568 | Move our list of allowed message origins into an endpoint | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 3 | 2022-10-19T06:00:29 | 2022-10-21T17:54:18 | 2022-10-21T17:54:15 | COLLABORATOR | null | Notes:
* This PR is most easily reviewed commit-wise
* We'll need to wait on an approval from ProdSec before being able to click merge on this
## 📚 Context
This PR kicks off what will end up being the first phase of a two-phase project to eventually remove
the hard-coded whitelist we currently used to restrict which origins a deployed Streamlit app can
receive cross-origin messages from.
We want to do this for two main reasons
* It feels weird that the list is currently populated with only Streamlit Community Cloud origins. Ideally,
we want people to be able to configure this as they'd like (even if we're the only users initially).
* In the Community Cloud and SiS worlds, we'd like to be able to set this value much more granularly
than we currently do. In particular, in both of these worlds we know the unique subdomain that a
Streamlit app is deployed to, so we want the message origins whitelist to be a singleton containing
that exact origin (without needing to use wildcards).
In this stage of the project, we move the definition of this list into the server. The new endpoint that
can be hit to fetch the list is `/st-allowed-message-origins`, and the response body from this endpoint
is simply the whitelist as it was previously defined in the frontend code.
It turns out that this is already enough to satisfy our requirements for the various Streamlit deployment
environments that motivated this change: different hosting platforms should intercept requests to the
`/st-allowed-message-origins` endpoint and return an appropriate value.
For use-cases relying on the Tornado server (and not in Community Cloud), we'll eventually make the
message origin whitelist configurable via `config.toml`, but we'll do this in a future phase of this project
given that the amount of security overhead required to make this fully configurable will be significant.
- What kind of change does this PR introduce?
- [x] Feature
- [x] Refactoring
## 🧪 Testing Done
- [x] Added/Updated unit tests
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5568/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5568",
"html_url": "https://github.com/streamlit/streamlit/pull/5568",
"diff_url": "https://github.com/streamlit/streamlit/pull/5568.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5568.patch",
"merged_at": "2022-10-21T17:54:15"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5567 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5567/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5567/comments | https://api.github.com/repos/streamlit/streamlit/issues/5567/events | https://github.com/streamlit/streamlit/issues/5567 | 1,413,968,376 | I_kwDODCoeTs5UR3H4 | 5,567 | Bad message format when using `st.empty` | {
"login": "allanleal",
"id": 5825588,
"node_id": "MDQ6VXNlcjU4MjU1ODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5825588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/allanleal",
"html_url": "https://github.com/allanleal",
"followers_url": "https://api.github.com/users/allanleal/followers",
"following_url": "https://api.github.com/users/allanleal/following{/other_user}",
"gists_url": "https://api.github.com/users/allanleal/gists{/gist_id}",
"starred_url": "https://api.github.com/users/allanleal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/allanleal/subscriptions",
"organizations_url": "https://api.github.com/users/allanleal/orgs",
"repos_url": "https://api.github.com/users/allanleal/repos",
"events_url": "https://api.github.com/users/allanleal/events{/privacy}",
"received_events_url": "https://api.github.com/users/allanleal/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4070169954,
"node_id": "LA_kwDODCoeTs7ymd1i",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.session_state",
"name": "feature:st.session_state",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 4 | 2022-10-18T23:29:44 | 2022-10-21T07:51:50 | null | NONE | null | ### Summary
The example given next produces the error when the delete button is pressed from the first expander to the last:
<img width="395" alt="image" src="https://user-images.githubusercontent.com/5825588/196563110-9b8f273e-b535-4b84-8f00-5932e31c00d3.png">
This is important: you have to click on each Delete button below from top to bottom:
<img width="568" alt="image" src="https://user-images.githubusercontent.com/5825588/196563291-5693dc86-edeb-40ef-9094-8928abc1f0e6.png">
Deleting from bottom to top does not produce this error.
### Steps to reproduce
Code snippet:
```py
import streamlit as st
if "containers" not in st.session_state:
st.session_state.containers = [st.empty() for _ in range(5)]
if "deleted" not in st.session_state:
st.session_state.deleted = [True for _ in range(5)]
containers = st.session_state.containers
deleted = st.session_state.deleted
containers[:] = [containers[i] for i in range(len(containers)) if deleted[i]]
deleted[:] = [True] * len(containers)
for i, container in enumerate(containers):
with container.expander(f"Details {i}"):
name = st.text_input("Name", key=f"Name{i}")
address = st.text_input("Address", key=f"Address{i}")
btn = st.button("Delete", key=f"Delete{i}")
if btn:
container.empty()
deleted[i] = False
```
**Expected behavior:**
There should have no such error.
**Actual behavior:**
See above.
### Is this a regression?
Not sure.
### Debug info
- Streamlit version: v1.13.0
- Python version: 3.10.6
- Using Conda (conda-forge)
- OS version: Ubuntu 20.04
- Browser version: Edge 106.0.1370.42
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5567/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5566 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5566/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5566/comments | https://api.github.com/repos/streamlit/streamlit/issues/5566/events | https://github.com/streamlit/streamlit/issues/5566 | 1,413,863,075 | I_kwDODCoeTs5URdaj | 5,566 | Mention file sanitization for download_button | {
"login": "kevinlinxc",
"id": 44324811,
"node_id": "MDQ6VXNlcjQ0MzI0ODEx",
"avatar_url": "https://avatars.githubusercontent.com/u/44324811?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinlinxc",
"html_url": "https://github.com/kevinlinxc",
"followers_url": "https://api.github.com/users/kevinlinxc/followers",
"following_url": "https://api.github.com/users/kevinlinxc/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinlinxc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kevinlinxc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinlinxc/subscriptions",
"organizations_url": "https://api.github.com/users/kevinlinxc/orgs",
"repos_url": "https://api.github.com/users/kevinlinxc/repos",
"events_url": "https://api.github.com/users/kevinlinxc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kevinlinxc/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1634956291,
"node_id": "MDU6TGFiZWwxNjM0OTU2Mjkx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:docs",
"name": "type:docs",
"color": "0052CC",
"default": false,
"description": "Requests for changes to docs (will be rerouted to docs repo)"
}
] | closed | false | null | [] | null | 1 | 2022-10-18T21:23:51 | 2022-10-20T14:35:12 | 2022-10-20T14:34:40 | NONE | null | https://discuss.streamlit.io/t/download-button-sanitizes-file-name/31994/2
https://docs.streamlit.io/library/api-reference/widgets/st.download_button
I don't know what to write to fulfill my suggestion as I'm unsure of how the actual sanitzation happens, e.g. whether or not it guarantees that the file will be saveable, whether it adapts to OS since different OSes might have different file name restrictions.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5566/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/streamlit/streamlit/issues/5566/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5565 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5565/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5565/comments | https://api.github.com/repos/streamlit/streamlit/issues/5565/events | https://github.com/streamlit/streamlit/pull/5565 | 1,413,481,671 | PR_kwDODCoeTs5BB7Jt | 5,565 | Don't run the nightly on forks | {
"login": "vdonato",
"id": 3144420,
"node_id": "MDQ6VXNlcjMxNDQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3144420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vdonato",
"html_url": "https://github.com/vdonato",
"followers_url": "https://api.github.com/users/vdonato/followers",
"following_url": "https://api.github.com/users/vdonato/following{/other_user}",
"gists_url": "https://api.github.com/users/vdonato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vdonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vdonato/subscriptions",
"organizations_url": "https://api.github.com/users/vdonato/orgs",
"repos_url": "https://api.github.com/users/vdonato/repos",
"events_url": "https://api.github.com/users/vdonato/events{/privacy}",
"received_events_url": "https://api.github.com/users/vdonato/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-18T16:02:24 | 2022-10-18T16:31:36 | 2022-10-18T16:31:26 | COLLABORATOR | null | ## 📚 Context
GitHub Actions is weird and for some reason runs scheduled workflows on forks,
which means that the nightly build is being run for up-to-date contributor
forks. This isn't a big deal, but it does result in an annoying workflow failed
email being sent daily.
This PR adds an if check that avoids running the job on repos that aren't the
streamlit/streamlit repo. The way this is done isn't ideal, but as far as I can
tell it's the only supported way of excluding non-upstream repos.
- What kind of change does this PR introduce?
- [x] Bugfix
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5565/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5565",
"html_url": "https://github.com/streamlit/streamlit/pull/5565",
"diff_url": "https://github.com/streamlit/streamlit/pull/5565.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5565.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5564 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5564/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5564/comments | https://api.github.com/repos/streamlit/streamlit/issues/5564/events | https://github.com/streamlit/streamlit/issues/5564 | 1,413,433,443 | I_kwDODCoeTs5UP0hj | 5,564 | Emojis are not valid if they have a variant selector character attached | {
"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": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1516285329,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI5",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/good%20first%20issue",
"name": "good first issue",
"color": "FEF2C0",
"default": true,
"description": "Good for newcomers"
},
{
"id": 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": 4687686759,
"node_id": "LA_kwDODCoeTs8AAAABF2hsZw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.info",
"name": "feature:st.info",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2022-10-18T15:30:25 | 2022-11-20T00:53:05 | 2022-11-20T00:53:05 | COLLABORATOR | null | ### Summary
Emojis are not valid if they are prefixed with a variant selector character. This is a hidden character that is used as prefix for the emoji (more information [here](https://stackoverflow.com/questions/38100329/what-does-u-ufe0f-in-an-emoji-mean-is-it-the-same-if-i-delete-it)).
### Steps to reproduce
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5564)
Code snippet:
```python
st.error("This is an error", icon="🚨") # Works fine
st.error("This is an error", icon="️🚨") # Throws an error
```
The reason is that the second example is prefix with this hidden unicode character: `%uFE0F`:
```python
st.write(len("🚨")) # 1
st.write(len("️🚨")) # 2
```
**Expected behavior:**
Should not raise an exception.
**Actual behavior:**
Raises a `StreamlitAPIException` if used for `st.error`, `st.info`, ...
### Is this a regression?
no | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5564/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5563 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5563/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5563/comments | https://api.github.com/repos/streamlit/streamlit/issues/5563/events | https://github.com/streamlit/streamlit/pull/5563 | 1,413,369,443 | PR_kwDODCoeTs5BBjYf | 5,563 | Apply some small tweaks to issue templates | {
"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 | 2022-10-18T14:52:08 | 2022-10-19T17:11:19 | 2022-10-19T17:11:18 | COLLABORATOR | null | ## 📚 Context
This PR does a few additional minor tweaks to our issue template setup. First, it removes the `infra` template. This is used very infrequently, and since we do track our internal infrastructure-related tasks in Notion there isn't any real use for this category. Infrastructure-related issues or enhancement requests can still be reported via the bug or enhancement template. In addition, it slightly improves some of the issue template descriptions.
## 🧠 Description of Changes
- Remove `infra` template.
- Improve descriptions
---
**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/5563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5563/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5563",
"html_url": "https://github.com/streamlit/streamlit/pull/5563",
"diff_url": "https://github.com/streamlit/streamlit/pull/5563.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5563.patch",
"merged_at": "2022-10-19T17:11:18"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5562 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5562/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5562/comments | https://api.github.com/repos/streamlit/streamlit/issues/5562/events | https://github.com/streamlit/streamlit/pull/5562 | 1,413,274,915 | PR_kwDODCoeTs5BBPMf | 5,562 | Redirect docs requests to streamlit/docs | {
"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 | 2022-10-18T13:54:39 | 2022-10-19T16:29:09 | 2022-10-19T16:29:08 | COLLABORATOR | null | ## 📚 Context
We have the [`streamlit/docs` repository](https://github.com/streamlit/docs) that contains our documentation. This repo also has its own issue tracker for everything related to our documentation. This issue type is very rarely used anyways in `streamlit/streamlit`. There are only 7 closed `docs` issues in `streamlit/streamlit` in 2022.
## 🧠 Description of Changes
- Remove the docs issue template.
- Add a link to redirect to `streamlit/docs` for documentation improvement requests.
---
**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/5562/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5562/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5562",
"html_url": "https://github.com/streamlit/streamlit/pull/5562",
"diff_url": "https://github.com/streamlit/streamlit/pull/5562.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5562.patch",
"merged_at": "2022-10-19T16:29:08"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5561 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5561/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5561/comments | https://api.github.com/repos/streamlit/streamlit/issues/5561/events | https://github.com/streamlit/streamlit/issues/5561 | 1,413,047,607 | I_kwDODCoeTs5UOWU3 | 5,561 | Specify text justification for st.caption | {
"login": "HHest",
"id": 3169669,
"node_id": "MDQ6VXNlcjMxNjk2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3169669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HHest",
"html_url": "https://github.com/HHest",
"followers_url": "https://api.github.com/users/HHest/followers",
"following_url": "https://api.github.com/users/HHest/following{/other_user}",
"gists_url": "https://api.github.com/users/HHest/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HHest/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HHest/subscriptions",
"organizations_url": "https://api.github.com/users/HHest/orgs",
"repos_url": "https://api.github.com/users/HHest/repos",
"events_url": "https://api.github.com/users/HHest/events{/privacy}",
"received_events_url": "https://api.github.com/users/HHest/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1634945110,
"node_id": "MDU6TGFiZWwxNjM0OTQ1MTEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:layout",
"name": "area:layout",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 4686955194,
"node_id": "LA_kwDODCoeTs8AAAABF11Cug",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.caption",
"name": "feature:st.caption",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2022-10-18T11:27:22 | 2022-12-30T03:37:09 | 2022-10-18T13:05:10 | NONE | null | ### Problem
Sometimes I want the captions to be centered or right-justified, especially when I am using it to display notes, or remarks.
### Solution
Right now I am using `st.caption('<div style="text-align: right">my caption</div>', unsafe_allow_html=True)` as a work-around, but `unsafe_allow_html` is not ideal and it would be much nicer if `st.caption` has a parameter to control text alignment.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5561/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5560 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5560/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5560/comments | https://api.github.com/repos/streamlit/streamlit/issues/5560/events | https://github.com/streamlit/streamlit/issues/5560 | 1,413,024,616 | I_kwDODCoeTs5UOQto | 5,560 | Attribute Error when using st.experimental_memo | {
"login": "PatrickITWM",
"id": 68423474,
"node_id": "MDQ6VXNlcjY4NDIzNDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/68423474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PatrickITWM",
"html_url": "https://github.com/PatrickITWM",
"followers_url": "https://api.github.com/users/PatrickITWM/followers",
"following_url": "https://api.github.com/users/PatrickITWM/following{/other_user}",
"gists_url": "https://api.github.com/users/PatrickITWM/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PatrickITWM/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PatrickITWM/subscriptions",
"organizations_url": "https://api.github.com/users/PatrickITWM/orgs",
"repos_url": "https://api.github.com/users/PatrickITWM/repos",
"events_url": "https://api.github.com/users/PatrickITWM/events{/privacy}",
"received_events_url": "https://api.github.com/users/PatrickITWM/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"
}
] | closed | false | null | [] | null | 1 | 2022-10-18T11:09:49 | 2022-10-18T16:27:14 | 2022-10-18T16:27:14 | NONE | null | ### Summary
Streamlit is raising an AttributeError when using cahced values with st.experimental_memo.
Detail: My code uses the sentiment analyser package textblob_de. To improve performance, I wrote a class which internally uses textblob_de, and wrote a method which returns the instances which is caahced with st.experimental_memo.
Error:
id = self._format[TENSES_ID[INFINITIVE]]
AttributeError: 'Verbs' object has no attribute '_format'
### Steps to reproduce
Code snippet:
```
@st.experimental_memo
def get_cached_sentiment(text: str, compute_prob: bool = False) -> TextSentiment:
# For performance optimization cached function (TextSentiment is own class)
return TextSentiment(text, compute_prob)
class TextSentiment:
def __init__(self, text: str, compute_prob: bool = False):
self.text = text
self.text_blob = TextBlobDE(text)
@property
def polarity(self) -> float:
return self.text_blob.sentiment.polarity
@property
def subjectivity(self) -> float:
return self.text_blob.sentiment.subjectivity
```
**Expected behavior:**
No AttributeError, like in the case the st.experimental_memo is removed
**Actual behavior:**
Throws AttributeError
### Is this a regression?
That is, did this use to work the way you expected in the past?
Don't know
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10
- Using venv with PyCharm
- OS version: Windows 10
- Browser version: Opera 91.0
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5560/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5559 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5559/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5559/comments | https://api.github.com/repos/streamlit/streamlit/issues/5559/events | https://github.com/streamlit/streamlit/pull/5559 | 1,412,974,302 | PR_kwDODCoeTs5BAN0t | 5,559 | Add padding to the bottom of the sidebar | {
"login": "RubenVanEldik",
"id": 25854734,
"node_id": "MDQ6VXNlcjI1ODU0NzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/25854734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RubenVanEldik",
"html_url": "https://github.com/RubenVanEldik",
"followers_url": "https://api.github.com/users/RubenVanEldik/followers",
"following_url": "https://api.github.com/users/RubenVanEldik/following{/other_user}",
"gists_url": "https://api.github.com/users/RubenVanEldik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RubenVanEldik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RubenVanEldik/subscriptions",
"organizations_url": "https://api.github.com/users/RubenVanEldik/orgs",
"repos_url": "https://api.github.com/users/RubenVanEldik/repos",
"events_url": "https://api.github.com/users/RubenVanEldik/events{/privacy}",
"received_events_url": "https://api.github.com/users/RubenVanEldik/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-18T10:32:07 | 2022-10-18T22:48:19 | 2022-10-18T22:48:19 | CONTRIBUTOR | null | ## 📚 Context
This is a very minor fix. When there is currently more user content than the sidebar height, the bottom component reaches the bottom of the screen, which doesn't look good.
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
I added a padding to the bottom of the sidebar to ensure that the sidebar has some bottom padding.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
<img width="1280" alt="Schermafbeelding 2022-10-18 om 12 26 32" src="https://user-images.githubusercontent.com/25854734/196406710-d91d7871-6d4f-4768-a636-4fc733dac558.png">
**Current:**
<img width="1280" alt="Schermafbeelding 2022-10-18 om 12 26 05" src="https://user-images.githubusercontent.com/25854734/196406700-ff3a0453-f763-45d1-a4c4-6b239cd940f9.png">
## 🧪 Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
No.
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5559/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5559",
"html_url": "https://github.com/streamlit/streamlit/pull/5559",
"diff_url": "https://github.com/streamlit/streamlit/pull/5559.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5559.patch",
"merged_at": "2022-10-18T22:48:18"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5558 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5558/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5558/comments | https://api.github.com/repos/streamlit/streamlit/issues/5558/events | https://github.com/streamlit/streamlit/issues/5558 | 1,412,944,577 | I_kwDODCoeTs5UN9LB | 5,558 | Unable to set enableCORS to false | {
"login": "Newtoniano",
"id": 81423796,
"node_id": "MDQ6VXNlcjgxNDIzNzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/81423796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Newtoniano",
"html_url": "https://github.com/Newtoniano",
"followers_url": "https://api.github.com/users/Newtoniano/followers",
"following_url": "https://api.github.com/users/Newtoniano/following{/other_user}",
"gists_url": "https://api.github.com/users/Newtoniano/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Newtoniano/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Newtoniano/subscriptions",
"organizations_url": "https://api.github.com/users/Newtoniano/orgs",
"repos_url": "https://api.github.com/users/Newtoniano/repos",
"events_url": "https://api.github.com/users/Newtoniano/events{/privacy}",
"received_events_url": "https://api.github.com/users/Newtoniano/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4647326216,
"node_id": "LA_kwDODCoeTs8AAAABFQCSCA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:config",
"name": "feature:config",
"color": "C5DEF5",
"default": false,
"description": "Related to config settings"
}
] | closed | false | null | [] | null | 1 | 2022-10-18T10:13:43 | 2022-10-19T14:56:21 | 2022-10-19T14:56:08 | NONE | null | ### Summary
enableCORS won't actually be set to false when adding enableCORS = false to the .toml settings. This happens on all my Streamlit Cloud deployments, but it might also be happening elsewhere.
See below for the output of a debug page I created to diagnose the issue.
### Steps to reproduce
1. Add the relevant config options to App settings -> Secrets in Streamlit Cloud
```
[server]
enableCORS = false
enableXsrfProtection = false
```
2. Check the output of
```
st.config.get_option("server.enableCORS")
st.config.get_option("server.enableXsrfProtection")
```
**Expected behavior:**
server.enableCORS should return False when enableCORS = false is added to the .toml settings.
**Actual behavior:**
server.enableCORS always returns True, completely ignoring the config settings.
<img width="1276" alt="Schermata 2022-10-16 alle 18 23 21" src="https://user-images.githubusercontent.com/81423796/196398265-3a48a6a3-7e14-4f0e-92b1-00fe2cc0989c.png">
### Is this a regression?
That is, did this use to work the way you expected in the past?
Not sure.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10
- Using Conda? PipEnv? PyEnv? Pex? not relevant
- OS version: not relevant
- Browser version: not relevant
### Additional information
This is probably the same bug that keeps being reported in [this closed issue](https://github.com/streamlit/streamlit/issues/837). I've also opened a thread on the forum since I'm not sure whether this happening only on Streamlit Cloud or elsewhere too.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5558/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5557 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5557/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5557/comments | https://api.github.com/repos/streamlit/streamlit/issues/5557/events | https://github.com/streamlit/streamlit/issues/5557 | 1,412,701,412 | I_kwDODCoeTs5UNBzk | 5,557 | Provide a way to remove 'Streamlit' from page title? | {
"login": "ayanatherate",
"id": 59755186,
"node_id": "MDQ6VXNlcjU5NzU1MTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/59755186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayanatherate",
"html_url": "https://github.com/ayanatherate",
"followers_url": "https://api.github.com/users/ayanatherate/followers",
"following_url": "https://api.github.com/users/ayanatherate/following{/other_user}",
"gists_url": "https://api.github.com/users/ayanatherate/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ayanatherate/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ayanatherate/subscriptions",
"organizations_url": "https://api.github.com/users/ayanatherate/orgs",
"repos_url": "https://api.github.com/users/ayanatherate/repos",
"events_url": "https://api.github.com/users/ayanatherate/events{/privacy}",
"received_events_url": "https://api.github.com/users/ayanatherate/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 2603950938,
"node_id": "MDU6TGFiZWwyNjAzOTUwOTM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:community-cloud",
"name": "feature:community-cloud",
"color": "C5DEF5",
"default": false,
"description": "Related to Streamlit Community Cloud"
},
{
"id": 3761991321,
"node_id": "LA_kwDODCoeTs7gO26Z",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:will-not-fix",
"name": "status:will-not-fix",
"color": "FEF2C0",
"default": false,
"description": "Streamlit team does not plan on addressing this request with a code change"
}
] | closed | false | null | [] | null | 10 | 2022-10-18T07:20:45 | 2022-11-08T17:10:10 | 2022-11-08T17:10:09 | NONE | null | **What could be better?**
I'm aware that we can change the page name and icon using .set_page_config. However, 'Streamlit' still appears beside the changed page name. Is there a way to remove that?
Example:
Current page name: 'Dataset App . Streamlit'
Want to change to: 'Dataset App'
### Voting for feature requests
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5557/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5556 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5556/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5556/comments | https://api.github.com/repos/streamlit/streamlit/issues/5556/events | https://github.com/streamlit/streamlit/pull/5556 | 1,412,155,960 | PR_kwDODCoeTs5A9eyd | 5,556 | Migrate issue template for bug report to forms | {
"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 | 2022-10-17T20:11:27 | 2022-10-19T16:46:15 | 2022-10-19T16:46:14 | COLLABORATOR | null | ## 📚 Context
Issue forms is a [beta feature in Github](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms) that allows creating forms to use as issue templates. This makes it simpler for the user to fill in the report and - hopefully - improves the quality of bug reports for us. Once the user
When a contributor fills out an issue form, their responses for each input are converted to markdown and added to the body of an issue. Contributors can edit their issues that were created with issue forms and other people can interact with the issues like an issue created through other methods.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- Migrate from the markdown-based issue template to the yml-based form syntax. You can see the rendered issue form [here](https://github.com/streamlit/streamlit/blob/3e601acf1b8a9cf96e5a54a2f93d1705078ef50f/.github/ISSUE_TEMPLATE/bug_report.yml).
**Revised:**
<img width="718" alt="image" src="https://user-images.githubusercontent.com/2852129/196443845-51553420-c69b-4f49-839b-83b009ffcb2f.png">
**Current:**
<img width="940" alt="image" src="https://user-images.githubusercontent.com/2852129/196443945-838cfded-ad1f-4715-b779-af1edd26195c.png">
---
**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/5556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5556/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5556",
"html_url": "https://github.com/streamlit/streamlit/pull/5556",
"diff_url": "https://github.com/streamlit/streamlit/pull/5556.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5556.patch",
"merged_at": "2022-10-19T16:46:14"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5555 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5555/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5555/comments | https://api.github.com/repos/streamlit/streamlit/issues/5555/events | https://github.com/streamlit/streamlit/pull/5555 | 1,412,135,082 | PR_kwDODCoeTs5A9anO | 5,555 | UploadedFileManager threading tests | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-17T19:57:29 | 2022-10-18T16:48:47 | 2022-10-18T16:48:34 | COLLABORATOR | null | - Thread-safety unit tests for `UploadedFileManager`
- Thread-safety info in `UploadedFileManager`'s docstrings | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5555/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5555",
"html_url": "https://github.com/streamlit/streamlit/pull/5555",
"diff_url": "https://github.com/streamlit/streamlit/pull/5555.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5555.patch",
"merged_at": "2022-10-18T16:48:34"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5554 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5554/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5554/comments | https://api.github.com/repos/streamlit/streamlit/issues/5554/events | https://github.com/streamlit/streamlit/pull/5554 | 1,411,607,824 | PR_kwDODCoeTs5A7ow2 | 5,554 | Add ability to use numpy array for st.audio data parameter | {
"login": "kajarenc",
"id": 6664805,
"node_id": "MDQ6VXNlcjY2NjQ4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kajarenc",
"html_url": "https://github.com/kajarenc",
"followers_url": "https://api.github.com/users/kajarenc/followers",
"following_url": "https://api.github.com/users/kajarenc/following{/other_user}",
"gists_url": "https://api.github.com/users/kajarenc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kajarenc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kajarenc/subscriptions",
"organizations_url": "https://api.github.com/users/kajarenc/orgs",
"repos_url": "https://api.github.com/users/kajarenc/repos",
"events_url": "https://api.github.com/users/kajarenc/events{/privacy}",
"received_events_url": "https://api.github.com/users/kajarenc/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 4 | 2022-10-17T13:41:48 | 2022-10-26T13:11:48 | 2022-10-26T13:11:48 | COLLABORATOR | null | Add optional keyword-only `sample_rate` parameter to `st.audio`, that should be used only in case when data is NumPy array
<!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
The logic of serializing numpy array to `wav` bytes inspired by [IPython display module](https://github.com/ipython/ipython/blob/1015c392f3d50cf4ff3e9f29beede8c1abfdcb2a/IPython/lib/display.py#L146), although we introduced some changes (we always normalize audio, and correctly handle empty NumPy arrays)
The fact of adoption is explicitly mentioned in code [here](https://github.com/streamlit/streamlit/pull/5554/files#diff-bbe2da3a0d5f1407780ef7302b343360c33fce11bd9b40234074957c09852b67R320)
- What kind of change does this PR introduce?
- [ ] Bugfix
- [X] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- Add the ability to use numpy array as input data for `st.audio` widget
- [ ] 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/5554/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/5554/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5554",
"html_url": "https://github.com/streamlit/streamlit/pull/5554",
"diff_url": "https://github.com/streamlit/streamlit/pull/5554.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5554.patch",
"merged_at": "2022-10-26T13:11:48"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5553 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5553/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5553/comments | https://api.github.com/repos/streamlit/streamlit/issues/5553/events | https://github.com/streamlit/streamlit/issues/5553 | 1,411,126,162 | I_kwDODCoeTs5UHBOS | 5,553 | problem | {
"login": "syelaseptania",
"id": 48612589,
"node_id": "MDQ6VXNlcjQ4NjEyNTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/48612589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/syelaseptania",
"html_url": "https://github.com/syelaseptania",
"followers_url": "https://api.github.com/users/syelaseptania/followers",
"following_url": "https://api.github.com/users/syelaseptania/following{/other_user}",
"gists_url": "https://api.github.com/users/syelaseptania/gists{/gist_id}",
"starred_url": "https://api.github.com/users/syelaseptania/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/syelaseptania/subscriptions",
"organizations_url": "https://api.github.com/users/syelaseptania/orgs",
"repos_url": "https://api.github.com/users/syelaseptania/repos",
"events_url": "https://api.github.com/users/syelaseptania/events{/privacy}",
"received_events_url": "https://api.github.com/users/syelaseptania/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4771944522,
"node_id": "LA_kwDODCoeTs8AAAABHG4YSg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:redirect-forum",
"name": "status:redirect-forum",
"color": "FEF2C0",
"default": false,
"description": "This question belongs in the forum"
}
] | closed | false | null | [] | null | 1 | 2022-10-17T08:22:27 | 2022-11-07T17:08:49 | 2022-10-17T08:40:54 | NONE | null | there is a problem that the extraction results cannot be downloaded
https://waqarhusain-fea-protein-app-y38erf.streamlitapp.com/#feature-extraction-app-proteins
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5553/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5552 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5552/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5552/comments | https://api.github.com/repos/streamlit/streamlit/issues/5552/events | https://github.com/streamlit/streamlit/issues/5552 | 1,410,371,530 | I_kwDODCoeTs5UEI_K | 5,552 | Tabs hidden when titles exceed the content area width (no ability to scroll) | {
"login": "blipk",
"id": 45532845,
"node_id": "MDQ6VXNlcjQ1NTMyODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/45532845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blipk",
"html_url": "https://github.com/blipk",
"followers_url": "https://api.github.com/users/blipk/followers",
"following_url": "https://api.github.com/users/blipk/following{/other_user}",
"gists_url": "https://api.github.com/users/blipk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blipk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blipk/subscriptions",
"organizations_url": "https://api.github.com/users/blipk/orgs",
"repos_url": "https://api.github.com/users/blipk/repos",
"events_url": "https://api.github.com/users/blipk/events{/privacy}",
"received_events_url": "https://api.github.com/users/blipk/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 | 4 | 2022-10-16T04:41:23 | 2022-11-19T16:25:33 | null | NONE | null | ### Summary
If you have too many tabs, or even a couple with long titles, and their total width exceeds the main area with, the latter ones become inaccessible.
There should be an ability to scroll through them, perhaps just some small arrows at each end.
### Steps to reproduce
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5552)
Code snippet:
```
tab_names = []
for i in range(100):
tab_names.append(str(i)*4)
tabs = st.tabs(tab_names)
```
**Expected behavior:**
Should be able to scroll the tab bar when tabs exceed the screen width, hiding them is bad UX.
**Actual behavior:**
My tabs are inaccessible.
### Is this a regression?
no
### Debug info
- Streamlit version: streamlit share
- Python version: 3.10
- Browser version: Chrome latest
### Voting for feature requests
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5552/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5552/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5551 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5551/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5551/comments | https://api.github.com/repos/streamlit/streamlit/issues/5551/events | https://github.com/streamlit/streamlit/issues/5551 | 1,410,338,219 | I_kwDODCoeTs5UEA2r | 5,551 | [Error 🛠️] ImportError: cannot import name 'TypeGuard' from 'typing_extensions' - Streamlit 1.13.0 | {
"login": "IndigoWizard",
"id": 43890965,
"node_id": "MDQ6VXNlcjQzODkwOTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/43890965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IndigoWizard",
"html_url": "https://github.com/IndigoWizard",
"followers_url": "https://api.github.com/users/IndigoWizard/followers",
"following_url": "https://api.github.com/users/IndigoWizard/following{/other_user}",
"gists_url": "https://api.github.com/users/IndigoWizard/gists{/gist_id}",
"starred_url": "https://api.github.com/users/IndigoWizard/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/IndigoWizard/subscriptions",
"organizations_url": "https://api.github.com/users/IndigoWizard/orgs",
"repos_url": "https://api.github.com/users/IndigoWizard/repos",
"events_url": "https://api.github.com/users/IndigoWizard/events{/privacy}",
"received_events_url": "https://api.github.com/users/IndigoWizard/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": 2026998410,
"node_id": "MDU6TGFiZWwyMDI2OTk4NDEw",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/area:dependencies",
"name": "area:dependencies",
"color": "C2E0C6",
"default": false,
"description": ""
},
{
"id": 2856044535,
"node_id": "MDU6TGFiZWwyODU2MDQ0NTM1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce",
"name": "status:cannot-reproduce",
"color": "FEF2C0",
"default": false,
"description": "The Streamlit team is unable to reproduce the described behavior"
}
] | open | false | null | [] | null | 11 | 2022-10-16T01:19:14 | 2023-01-14T18:20:53 | null | NONE | null | ### Summary
When I try to run my streamlit project app by launching the local server `streamlit run app.py` it gives doesn't work and instead sends back the error: **` ImportError: cannot import name 'TypeGuard' from 'typing_extensions' `**
### Steps to reproduce
It doesn't really matter what the code is, any streamlit project won't start. But just in case here's the code of the current project
Code snippet:
```Python
from asyncore import write
import streamlit as st
import pandas as pd
header_container = st.container()
dataset_container = st.container()
features_container = st.container()
modelTraining_container = st.container()
with header_container:
st.title("My Streamlit App")
with dataset_container:
st.header("This is a header of the dataset section")
st.text("The dataset used for this project uses NY city's taxi traffic")
taxi_data = pd.read_parquet("taxi_data.parquet")
st.write(taxi_data.head())
st.subheader("Pick-up location ID distribution on the NYC dataset")
pullocation_dist = pd.DataFrame(taxi_data["PULocationID"].value_counts()).head(10)
st.bar_chart(pullocation_dist)
with features_container:
st.header("Features section:")
with modelTraining_container:
st.header("Model Training section:")
```
> Not necessary but if you want to reproduce the exact project, download the data used from NYC Open Data: [TLC Trip Record Data](https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page) for the month of June 2022 [[Yellow Taxi Trip Records](https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2022-06.parquet) (PARQUET)](https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2022-06.parquet) and rename the file to "taxi_data.parquet" as in the code. (~54Mb)
If applicable, please provide the steps we should take to reproduce the bug:
Just run `streamlit run app.py`
**Expected behavior:**
The local server should start and openup in Firefox as usual and display the web app.
**Actual behavior:**
I straight up get the error mentioned above in the terminal
```python
(geospatials) PS C:\Users\DELL\Documents\GitHub\My-Forks\streamlit-project> streamlit run app.py
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\geospatials\Scripts\streamlit-script.py", line 5, in <module>
from streamlit.web.cli import main
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\__init__.py", line 70, in <module>
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\delta_generator.py", line 36, in <module>
from streamlit import cursor
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\cursor.py", line 18, in <module>
from streamlit.runtime.scriptrunner import get_script_run_ctx
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\runtime\scriptrunner\__init__.py", line 16, in <module>
from .script_runner import (
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 35, in <module>
from streamlit.runtime.state import (
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\runtime\state\__init__.py", line 16, in <module>
from .safe_session_state import SafeSessionState as SafeSessionState
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\runtime\state\safe_session_state.py", line 21, in <module>
from .session_state import (
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\runtime\state\session_state.py", line 44, in <module>
from streamlit.type_util import ValueFieldName
File "C:\ProgramData\Anaconda3\envs\geospatials\lib\site-packages\streamlit\type_util.py", line 35, in <module>
from typing_extensions import (
ImportError: cannot import name 'TypeGuard' from 'typing_extensions' (C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\typing_extensions.py)
```
### Is this a regression?
Yes, it used to work just fine.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.9.13
- Using Conda: 22.9.0
- OS version: Windows 10
- Browser version: Firefox 105.0.3 (64-bit)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5551/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5549 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5549/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5549/comments | https://api.github.com/repos/streamlit/streamlit/issues/5549/events | https://github.com/streamlit/streamlit/issues/5549 | 1,410,190,124 | I_kwDODCoeTs5UDcss | 5,549 | st.dataframe height=400 also limits full screen view height | {
"login": "CHerSun",
"id": 14203878,
"node_id": "MDQ6VXNlcjE0MjAzODc4",
"avatar_url": "https://avatars.githubusercontent.com/u/14203878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CHerSun",
"html_url": "https://github.com/CHerSun",
"followers_url": "https://api.github.com/users/CHerSun/followers",
"following_url": "https://api.github.com/users/CHerSun/following{/other_user}",
"gists_url": "https://api.github.com/users/CHerSun/gists{/gist_id}",
"starred_url": "https://api.github.com/users/CHerSun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CHerSun/subscriptions",
"organizations_url": "https://api.github.com/users/CHerSun/orgs",
"repos_url": "https://api.github.com/users/CHerSun/repos",
"events_url": "https://api.github.com/users/CHerSun/events{/privacy}",
"received_events_url": "https://api.github.com/users/CHerSun/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
}
] | closed | false | null | [] | null | 1 | 2022-10-15T14:49:12 | 2022-10-15T14:54:21 | 2022-10-15T14:54:21 | NONE | null | ### Summary
st.dataframe height parameter also limits full screen view height (like, height=400 makes table take half of the screen in my case).
### Steps to reproduce
Code snippet:
```
st.dataframe(df, height=400)
```
in UI hover over dataframe and click on arrows to go to full screen mode.
**Expected behavior:**
Full screen view should take full screen, as there are no other elements anyway.
**Actual behavior:**
Only part of the screen is taken if height is specified.
![image](https://user-images.githubusercontent.com/14203878/195992638-128b02af-a3f2-430b-b0a3-92e8106a2d30.png)
(screenshot is taken from a test page; actual page contains lots of rows)
### Is this a regression?
That is, did this use to work the way you expected in the past?
don't know
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10.7
- Using Conda? PipEnv? PyEnv? Pex? python + venv
- OS version: Windows 10 21H2 19044.2130
- Browser version: Firefox 105.0.3
### Additional information
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5549/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5548 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5548/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5548/comments | https://api.github.com/repos/streamlit/streamlit/issues/5548/events | https://github.com/streamlit/streamlit/issues/5548 | 1,410,093,099 | I_kwDODCoeTs5UDFAr | 5,548 | Add a `max_selected_options` parameter to `st.multiselect` | {
"login": "marduk2",
"id": 12582729,
"node_id": "MDQ6VXNlcjEyNTgyNzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/12582729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marduk2",
"html_url": "https://github.com/marduk2",
"followers_url": "https://api.github.com/users/marduk2/followers",
"following_url": "https://api.github.com/users/marduk2/following{/other_user}",
"gists_url": "https://api.github.com/users/marduk2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marduk2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marduk2/subscriptions",
"organizations_url": "https://api.github.com/users/marduk2/orgs",
"repos_url": "https://api.github.com/users/marduk2/repos",
"events_url": "https://api.github.com/users/marduk2/events{/privacy}",
"received_events_url": "https://api.github.com/users/marduk2/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 4139233284,
"node_id": "LA_kwDODCoeTs72t7AE",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.multiselect",
"name": "feature:st.multiselect",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 1 | 2022-10-15T08:25:58 | 2022-10-15T14:56:56 | 2022-10-15T14:56:44 | NONE | null | ### Problem
Currently there is no way to put a limit on how many options can be selected at a time in a `st.multiselect`.
### Solution
**Preferred solution:** Add a `max_selected_options` parameter to `st.multiselect`, that sets a limit to how many options can be selected at a time. By default its value should be `None`, in which case no limit is set (beyond the number of options).
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5548/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5547 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5547/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5547/comments | https://api.github.com/repos/streamlit/streamlit/issues/5547/events | https://github.com/streamlit/streamlit/issues/5547 | 1,410,090,061 | I_kwDODCoeTs5UDERN | 5,547 | Drag-and-drop reordering for `st.multiselect` | {
"login": "marduk2",
"id": 12582729,
"node_id": "MDQ6VXNlcjEyNTgyNzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/12582729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marduk2",
"html_url": "https://github.com/marduk2",
"followers_url": "https://api.github.com/users/marduk2/followers",
"following_url": "https://api.github.com/users/marduk2/following{/other_user}",
"gists_url": "https://api.github.com/users/marduk2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marduk2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marduk2/subscriptions",
"organizations_url": "https://api.github.com/users/marduk2/orgs",
"repos_url": "https://api.github.com/users/marduk2/repos",
"events_url": "https://api.github.com/users/marduk2/events{/privacy}",
"received_events_url": "https://api.github.com/users/marduk2/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 4139233284,
"node_id": "LA_kwDODCoeTs72t7AE",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.multiselect",
"name": "feature:st.multiselect",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 3 | 2022-10-15T08:12:56 | 2023-01-12T00:59:54 | 2022-10-15T14:49:50 | NONE | null | ### Problem
Currently the only way to reorder a selection of items in `st.multiselect` is by clearing the selection and then selecting the items again in the right order. This requires a lot of clicks from the user.
### Solution
**Preferred solution:** User can reorder the selection by drag-and-drop.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5547/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5546 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5546/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5546/comments | https://api.github.com/repos/streamlit/streamlit/issues/5546/events | https://github.com/streamlit/streamlit/issues/5546 | 1,409,731,576 | I_kwDODCoeTs5UBsv4 | 5,546 | `st.select_slider` - janky visualization near the edges | {
"login": "aldanor",
"id": 2418513,
"node_id": "MDQ6VXNlcjI0MTg1MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2418513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aldanor",
"html_url": "https://github.com/aldanor",
"followers_url": "https://api.github.com/users/aldanor/followers",
"following_url": "https://api.github.com/users/aldanor/following{/other_user}",
"gists_url": "https://api.github.com/users/aldanor/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aldanor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aldanor/subscriptions",
"organizations_url": "https://api.github.com/users/aldanor/orgs",
"repos_url": "https://api.github.com/users/aldanor/repos",
"events_url": "https://api.github.com/users/aldanor/events{/privacy}",
"received_events_url": "https://api.github.com/users/aldanor/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": 4089930576,
"node_id": "LA_kwDODCoeTs7zx2NQ",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.select_slider",
"name": "feature:st.select_slider",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2022-10-14T18:54:01 | 2022-11-01T17:28:53 | 2022-11-01T17:28:53 | NONE | null | ### Summary
When using `st.select_slider`, there seem to be some alignment problems near the edges.
### Steps to reproduce
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5546)
Code snippet:
```python
import streamlit as st
values = [1_000_000 + x for x in range(1000)]
st.select_slider('Select a value', values, value=values[0])
```
Drag the slider near the edges.
### Debug info
- Streamlit version: 1.13.0
- Python version: 3.10.6
- Conda
- OS version: macOS
- Browser version: problem observed in both Firefox and Chrome
### Additional information
https://user-images.githubusercontent.com/2418513/195920125-96a5c25b-6451-4d2a-bfbe-efb5b646da31.mp4
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5546/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/5546/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5545 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5545/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5545/comments | https://api.github.com/repos/streamlit/streamlit/issues/5545/events | https://github.com/streamlit/streamlit/pull/5545 | 1,409,688,014 | PR_kwDODCoeTs5A1bbM | 5,545 | MediaFileManager threading tests | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-14T18:07:18 | 2022-10-17T17:00:41 | 2022-10-17T17:00:38 | COLLABORATOR | null | - Adds `ExceptionCapturingThread`, a thread subclass for tests that captures uncaught exceptions
- And also `call_on_threads`, a convenience function for running a function on multiple threads simultaneously
- `MediaFileManagerThreadingTest` uses these to test thread safety for its functions
This is not a bulletproof approach to thread safety testing! The hope is that this may surface threading issues through "occasionally-flaky" tests (meaning: if a threading test usually succeeds but occasionally has an issue, we should pay very close attention to it). | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5545/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5545",
"html_url": "https://github.com/streamlit/streamlit/pull/5545",
"diff_url": "https://github.com/streamlit/streamlit/pull/5545.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5545.patch",
"merged_at": "2022-10-17T17:00:38"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5544 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5544/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5544/comments | https://api.github.com/repos/streamlit/streamlit/issues/5544/events | https://github.com/streamlit/streamlit/issues/5544 | 1,408,800,793 | I_kwDODCoeTs5T-JgZ | 5,544 | Pages menu change items align | {
"login": "M-Amrollahi",
"id": 44016758,
"node_id": "MDQ6VXNlcjQ0MDE2NzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/44016758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/M-Amrollahi",
"html_url": "https://github.com/M-Amrollahi",
"followers_url": "https://api.github.com/users/M-Amrollahi/followers",
"following_url": "https://api.github.com/users/M-Amrollahi/following{/other_user}",
"gists_url": "https://api.github.com/users/M-Amrollahi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/M-Amrollahi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/M-Amrollahi/subscriptions",
"organizations_url": "https://api.github.com/users/M-Amrollahi/orgs",
"repos_url": "https://api.github.com/users/M-Amrollahi/repos",
"events_url": "https://api.github.com/users/M-Amrollahi/events{/privacy}",
"received_events_url": "https://api.github.com/users/M-Amrollahi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
}
] | closed | false | null | [] | null | 2 | 2022-10-14T05:48:46 | 2022-10-14T12:29:55 | 2022-10-14T12:29:54 | NONE | null | When I use pages, if I collapse the menu, all center-aligned items will change to left-aligned. But, if it is expanded, all items are centered and they are in right place.
Is there any solution that makes all items centered whether the menu expanded or collapsed? | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5544/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5543 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5543/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5543/comments | https://api.github.com/repos/streamlit/streamlit/issues/5543/events | https://github.com/streamlit/streamlit/pull/5543 | 1,408,671,726 | PR_kwDODCoeTs5AyCwu | 5,543 | Add integration tests for Snowpark | {
"login": "sfc-gh-kbregula",
"id": 78743291,
"node_id": "MDQ6VXNlcjc4NzQzMjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-kbregula",
"html_url": "https://github.com/sfc-gh-kbregula",
"followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers",
"following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos",
"events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2022-10-14T02:42:27 | 2022-11-18T08:28:23 | 2022-11-18T08:19:51 | 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/5543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5543/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5543",
"html_url": "https://github.com/streamlit/streamlit/pull/5543",
"diff_url": "https://github.com/streamlit/streamlit/pull/5543.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5543.patch",
"merged_at": "2022-11-18T08:19:51"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5542 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5542/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5542/comments | https://api.github.com/repos/streamlit/streamlit/issues/5542/events | https://github.com/streamlit/streamlit/pull/5542 | 1,408,590,088 | PR_kwDODCoeTs5Axx4O | 5,542 | Avoid rerendering Plotly chart when nothing changes | {
"login": "AnOctopus",
"id": 7356217,
"node_id": "MDQ6VXNlcjczNTYyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnOctopus",
"html_url": "https://github.com/AnOctopus",
"followers_url": "https://api.github.com/users/AnOctopus/followers",
"following_url": "https://api.github.com/users/AnOctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions",
"organizations_url": "https://api.github.com/users/AnOctopus/orgs",
"repos_url": "https://api.github.com/users/AnOctopus/repos",
"events_url": "https://api.github.com/users/AnOctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnOctopus/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-14T00:46:19 | 2022-10-20T17:50:12 | 2022-10-20T17:50:07 | COLLABORATOR | null | I split out the rendering functions because the typechecker is correctly unhappy about trying to generate the spec before we know we're going to render from a figure and thus have a figure.
## 📚 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
- Avoid creating new objects as props for the plotly component, when the element hasn't changed
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
## 🧪 Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
- **Issue**: Fixes #5336
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5542/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5542/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5542",
"html_url": "https://github.com/streamlit/streamlit/pull/5542",
"diff_url": "https://github.com/streamlit/streamlit/pull/5542.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5542.patch",
"merged_at": "2022-10-20T17:50:07"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5541 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5541/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5541/comments | https://api.github.com/repos/streamlit/streamlit/issues/5541/events | https://github.com/streamlit/streamlit/issues/5541 | 1,408,447,658 | I_kwDODCoeTs5T8zSq | 5,541 | Error using @st.cache | {
"login": "kuanthum",
"id": 100381081,
"node_id": "U_kgDOBfuxmQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100381081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kuanthum",
"html_url": "https://github.com/kuanthum",
"followers_url": "https://api.github.com/users/kuanthum/followers",
"following_url": "https://api.github.com/users/kuanthum/following{/other_user}",
"gists_url": "https://api.github.com/users/kuanthum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kuanthum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kuanthum/subscriptions",
"organizations_url": "https://api.github.com/users/kuanthum/orgs",
"repos_url": "https://api.github.com/users/kuanthum/repos",
"events_url": "https://api.github.com/users/kuanthum/events{/privacy}",
"received_events_url": "https://api.github.com/users/kuanthum/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 1607719438,
"node_id": "MDU6TGFiZWwxNjA3NzE5NDM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache",
"name": "feature:cache",
"color": "C5DEF5",
"default": false,
"description": "Related to st.cache, st.experimental_singleton, st.experimental_memo"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
}
] | closed | false | null | [] | null | 2 | 2022-10-13T21:28:38 | 2022-10-14T22:40:13 | 2022-10-14T22:38:09 | NONE | null | ### Summary
When using @st.cache decorator this happen:
InternalHashError: 'method_descriptor' object has no attribute 'module'
While caching the body of load_data(), Streamlit encountered an object of type builtins.method_descriptor, which it does not know how to hash.
I think it happens becouse of bad coding, I'm using a class I made inside the data load function, it may be just that.
I'm reporting just becouse it was recommended, sorry if this is not relevant.
And I'm not an english speaker so I hope you can understand.
### Steps to reproduce
Code snippet:
```
# --- DATA ---
@st.cache
def load_data():
data.symbol = symbol
intervals_api = [1,3,5,15,30,60,120,240,360,720,"D","M","W"]
data.interval = intervals_api[intervals.index(interval)]
data.from_time = 226
market = data.query_kline()
#data.limit = 226
return market
df = df_etl(load_data())
```
### Is this a regression?
That is, did this use to work the way you expected in the past?
no
### Debug info
- Streamlit version: (get it with `$ streamlit version`)
Streamlit, version 1.13.0
- Python version: (get it with `$ python --version`)
Python 3.10.2
- Using Conda? PipEnv? PyEnv? Pex?
Venv
- OS version:
Microsoft Windows
Versión 21H2 (compilación de SO 19044.1889)
- Browser version:
Versión 106.0.5249.103 (Build oficial) (64 bits)
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5541/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5540 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5540/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5540/comments | https://api.github.com/repos/streamlit/streamlit/issues/5540/events | https://github.com/streamlit/streamlit/pull/5540 | 1,408,329,717 | PR_kwDODCoeTs5Aw5Zl | 5,540 | Feature: Primary Button | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-13T19:37:57 | 2023-01-10T18:56:56 | 2022-10-18T20:31:40 | COLLABORATOR | null | ## 📚 Context
Adding a keyword-only param `type` so users can designate primary & secondary buttons - primary buttons are filled with the primary theme color & secondary button styling makes the button look like they do today.
- What kind of change does this PR introduce?
- [x] Feature
## 🧠 Description of Changes
- Add keyword-only param `type` to `st.button` and `st.form_submit_button`
- Updated primary button styling
- Changed all existing `Kind.Primary` button instances to `Kind.Secondary`
- [x] This is a visible (user-facing) change
**Revised:**
<img src="https://user-images.githubusercontent.com/63436329/195693314-0f3634af-77b4-45a5-81d4-67cc2c30d26c.png" width="200">
<img src="https://user-images.githubusercontent.com/63436329/195693228-6fb8cc89-f30b-4993-b97e-d4c613b4ac32.png" width="400">
<img src="https://user-images.githubusercontent.com/63436329/195693286-3574b7a5-a6f4-4e5a-84f5-04ecfaf38133.png" width="400">
## 🧪 Testing Done
- [x] Screenshots included
- [x] Added/Updated unit tests
- [x] Added/Updated e2e tests
## 🌐 References
Product Spec [here](https://www.notion.so/streamlit/Product-spec-9bf7d1aa866447e389b525df30e41bc1)
---
**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/5540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5540/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5540",
"html_url": "https://github.com/streamlit/streamlit/pull/5540",
"diff_url": "https://github.com/streamlit/streamlit/pull/5540.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5540.patch",
"merged_at": "2022-10-18T20:31:40"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5539 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5539/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5539/comments | https://api.github.com/repos/streamlit/streamlit/issues/5539/events | https://github.com/streamlit/streamlit/pull/5539 | 1,408,264,845 | PR_kwDODCoeTs5AwrLW | 5,539 | Minor streamlit.tests reorganization | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 1 | 2022-10-13T18:44:48 | 2022-10-17T18:28:22 | 2022-10-17T18:28:20 | COLLABORATOR | null | - Split `DeltaGeneratorTestCase` out of `testutil.py` and into its own file
- Rename: `black_list_test.py` -> `folder_black_list_test.py`; move it into the `tests.streamlit` package to match the source file it's testing | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5539/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5539",
"html_url": "https://github.com/streamlit/streamlit/pull/5539",
"diff_url": "https://github.com/streamlit/streamlit/pull/5539.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5539.patch",
"merged_at": "2022-10-17T18:28:20"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5538 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5538/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5538/comments | https://api.github.com/repos/streamlit/streamlit/issues/5538/events | https://github.com/streamlit/streamlit/pull/5538 | 1,408,162,137 | PR_kwDODCoeTs5AwVBg | 5,538 | Remove overflow tooltip from MPA sidebar | {
"login": "imjuangarcia",
"id": 34423371,
"node_id": "MDQ6VXNlcjM0NDIzMzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/34423371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imjuangarcia",
"html_url": "https://github.com/imjuangarcia",
"followers_url": "https://api.github.com/users/imjuangarcia/followers",
"following_url": "https://api.github.com/users/imjuangarcia/following{/other_user}",
"gists_url": "https://api.github.com/users/imjuangarcia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/imjuangarcia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/imjuangarcia/subscriptions",
"organizations_url": "https://api.github.com/users/imjuangarcia/orgs",
"repos_url": "https://api.github.com/users/imjuangarcia/repos",
"events_url": "https://api.github.com/users/imjuangarcia/events{/privacy}",
"received_events_url": "https://api.github.com/users/imjuangarcia/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-13T17:14:42 | 2022-10-17T19:08:40 | 2022-10-17T19:08:40 | COLLABORATOR | null | ## 📚 Context
After some conversations with @jrieke on the recent changes introduced in https://github.com/streamlit/streamlit/pull/5445, it was decided that we'd ditch the `<OverflowTooltip>` component from the sidebar and only truncate the text. For context behind this decision, please see his video [here](https://www.notion.so/streamlit/Papercut-tooltip-in-multipage-app-nav-6445253c742947408e2e00048c1d4de1).
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Design change
## 🧠 Description of Changes
* Removed `<OverflowTooltip>` component from `SidebarNav`;
* Added styles to truncate text in `StyledSidebarLinkText`;
* Updated tests
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
![Screen Shot 2022-10-13 at 1 22 56 PM](https://user-images.githubusercontent.com/34423371/195662562-d024ad64-b685-4463-924b-c3a2b0c64b4e.png)
![Screen Shot 2022-10-13 at 1 23 04 PM](https://user-images.githubusercontent.com/34423371/195662559-89cdff6f-5170-4976-97b0-3b7f2fa9affb.png)
**Current:**
![Screen Shot 2022-10-13 at 1 23 23 PM](https://user-images.githubusercontent.com/34423371/195662587-241ed244-dd26-460d-aaff-8ca2885b688c.png)
## 🧪 Testing Done
- [x] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
- https://www.notion.so/streamlit/Papercut-tooltip-in-multipage-app-nav-6445253c742947408e2e00048c1d4de1
---
**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/5538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5538/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5538",
"html_url": "https://github.com/streamlit/streamlit/pull/5538",
"diff_url": "https://github.com/streamlit/streamlit/pull/5538.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5538.patch",
"merged_at": "2022-10-17T19:08:40"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5537 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5537/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5537/comments | https://api.github.com/repos/streamlit/streamlit/issues/5537/events | https://github.com/streamlit/streamlit/issues/5537 | 1,407,220,095 | I_kwDODCoeTs5T4Hl_ | 5,537 | Experimental rerun resets state set by checkbox | {
"login": "dajopr",
"id": 61784019,
"node_id": "MDQ6VXNlcjYxNzg0MDE5",
"avatar_url": "https://avatars.githubusercontent.com/u/61784019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dajopr",
"html_url": "https://github.com/dajopr",
"followers_url": "https://api.github.com/users/dajopr/followers",
"following_url": "https://api.github.com/users/dajopr/following{/other_user}",
"gists_url": "https://api.github.com/users/dajopr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dajopr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dajopr/subscriptions",
"organizations_url": "https://api.github.com/users/dajopr/orgs",
"repos_url": "https://api.github.com/users/dajopr/repos",
"events_url": "https://api.github.com/users/dajopr/events{/privacy}",
"received_events_url": "https://api.github.com/users/dajopr/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230108595,
"node_id": "MDU6TGFiZWwzMjMwMTA4NTk1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P4",
"name": "priority:P4",
"color": "ff4b4b",
"default": false,
"description": ""
},
{
"id": 4369205014,
"node_id": "LA_kwDODCoeTs8AAAABBGzHFg",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.experimental_rerun",
"name": "feature:st.experimental_rerun",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 2 | 2022-10-13T06:25:37 | 2022-10-14T08:02:24 | null | NONE | null | ### Summary
After calling experimental rerun before a checkbox the session state set by the checkbox is reset to the default value but the checkbox stays in the previous state. Any other cause to rerun the script such as deactivating and reactivating the checkbox restores the correct state.
### Steps to reproduce
[![Open in Streamlit Cloud](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://issues.streamlitapp.com/?issue=gh-5537)
Code snippet:
```
import streamlit as st
if st.button("Experimental rerun"):
st.experimental_rerun()
if st.checkbox("Activate before rerun", key="check"):
st.write("Text displayed before rerun")
```
(Please provide a code snippet! This will help expedite us finding and solving the problem.)
If applicable, please provide the steps we should take to reproduce the bug:
1. Select checkbox "Activate before rerun"
2. Click on "Experimental Rerun" Button
**Expected behavior:**
Since the session state set by the checkbox ("check") does not change the checkbox should stay activated and the code triggered by it should be executed as if any other source triggered the rerun.
**Actual behavior:**
Pressing the experimental rerun button reruns the app and the checkbox stays checked, but the text that should be displayed after it disappears. Deactivating and then reactivating the checkbox or causing the app to run from the top again by any other means makes the text appear again.
### Is this a regression?
That is, did this use to work the way you expected in the past?
no
### Debug info
- Streamlit version: 1.11.1
- Python version: Python 3.10.6
- Using Miniconda
- OS version: Windows 10
- Browser version: Google Chrome Version 106.0.5249.119
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5537/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5536 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5536/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5536/comments | https://api.github.com/repos/streamlit/streamlit/issues/5536/events | https://github.com/streamlit/streamlit/issues/5536 | 1,407,198,732 | I_kwDODCoeTs5T4CYM | 5,536 | How to use a file shared between two apps in same repo | {
"login": "M-Amrollahi",
"id": 44016758,
"node_id": "MDQ6VXNlcjQ0MDE2NzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/44016758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/M-Amrollahi",
"html_url": "https://github.com/M-Amrollahi",
"followers_url": "https://api.github.com/users/M-Amrollahi/followers",
"following_url": "https://api.github.com/users/M-Amrollahi/following{/other_user}",
"gists_url": "https://api.github.com/users/M-Amrollahi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/M-Amrollahi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/M-Amrollahi/subscriptions",
"organizations_url": "https://api.github.com/users/M-Amrollahi/orgs",
"repos_url": "https://api.github.com/users/M-Amrollahi/repos",
"events_url": "https://api.github.com/users/M-Amrollahi/events{/privacy}",
"received_events_url": "https://api.github.com/users/M-Amrollahi/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": 1846373998,
"node_id": "MDU6TGFiZWwxODQ2MzczOTk4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:state",
"name": "feature:state",
"color": "C5DEF5",
"default": false,
"description": ""
},
{
"id": 2603950938,
"node_id": "MDU6TGFiZWwyNjAzOTUwOTM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:community-cloud",
"name": "feature:community-cloud",
"color": "C5DEF5",
"default": false,
"description": "Related to Streamlit Community Cloud"
}
] | closed | false | null | [] | null | 2 | 2022-10-13T06:05:38 | 2022-10-13T17:08:12 | 2022-10-13T16:50:10 | NONE | null | I want to use a file between two apps in the same repo. But, it seems that each app(any .py file in the same github repo) use its own version of that file because when I write something in that file through ```app1.py```, I cannot read that from ```app2.py```. So, how can I resolve it?
Here is the link that I asked:
https://discuss.streamlit.io/t/how-share-a-file-between-two-apps-in-same-repo/31815 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/5536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5536/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/5535 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5535/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5535/comments | https://api.github.com/repos/streamlit/streamlit/issues/5535/events | https://github.com/streamlit/streamlit/pull/5535 | 1,406,990,329 | PR_kwDODCoeTs5AsZ6R | 5,535 | Fix pydoc command for streamlit package | {
"login": "sfc-gh-kbregula",
"id": 78743291,
"node_id": "MDQ6VXNlcjc4NzQzMjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/78743291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-kbregula",
"html_url": "https://github.com/sfc-gh-kbregula",
"followers_url": "https://api.github.com/users/sfc-gh-kbregula/followers",
"following_url": "https://api.github.com/users/sfc-gh-kbregula/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-kbregula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-kbregula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-kbregula/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-kbregula/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-kbregula/repos",
"events_url": "https://api.github.com/users/sfc-gh-kbregula/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-kbregula/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2022-10-13T01:12:44 | 2022-11-04T09:56:57 | 2022-11-04T09:56:57 | CONTRIBUTOR | null | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
The documentation generation fails because the secret file does not always exist.
```
FileNotFoundError: [Errno 2] No such file or directory: '/Users/kbregula/Snowflake/streamlit/streamlit/lib/.streamlit/secrets.toml'
```
_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/5535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5535/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5535",
"html_url": "https://github.com/streamlit/streamlit/pull/5535",
"diff_url": "https://github.com/streamlit/streamlit/pull/5535.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5535.patch",
"merged_at": "2022-11-04T09:56:57"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5534 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5534/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5534/comments | https://api.github.com/repos/streamlit/streamlit/issues/5534/events | https://github.com/streamlit/streamlit/pull/5534 | 1,406,982,530 | PR_kwDODCoeTs5AsYXQ | 5,534 | Rename endpoints | {
"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 | 9 | 2022-10-13T00:58:34 | 2023-01-20T15:28:07 | 2023-01-20T15:28:07 | 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/3028
Spec: https://www.notion.so/streamlit/Product-spec-1caef53a784d4482a129aca184c000a5
_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/5534/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/streamlit/streamlit/issues/5534/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5534",
"html_url": "https://github.com/streamlit/streamlit/pull/5534",
"diff_url": "https://github.com/streamlit/streamlit/pull/5534.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5534.patch",
"merged_at": "2023-01-20T15:28:06"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/5533 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/5533/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/5533/comments | https://api.github.com/repos/streamlit/streamlit/issues/5533/events | https://github.com/streamlit/streamlit/pull/5533 | 1,406,868,681 | PR_kwDODCoeTs5Ar_x8 | 5,533 | PR-Preview: Always store whl file & Nightly: only run on st/st repo | {
"login": "mayagbarnes",
"id": 63436329,
"node_id": "MDQ6VXNlcjYzNDM2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/63436329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayagbarnes",
"html_url": "https://github.com/mayagbarnes",
"followers_url": "https://api.github.com/users/mayagbarnes/followers",
"following_url": "https://api.github.com/users/mayagbarnes/following{/other_user}",
"gists_url": "https://api.github.com/users/mayagbarnes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mayagbarnes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayagbarnes/subscriptions",
"organizations_url": "https://api.github.com/users/mayagbarnes/orgs",
"repos_url": "https://api.github.com/users/mayagbarnes/repos",
"events_url": "https://api.github.com/users/mayagbarnes/events{/privacy}",
"received_events_url": "https://api.github.com/users/mayagbarnes/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-10-12T22:16:22 | 2022-10-18T17:28:31 | 2022-10-18T17:28:27 | COLLABORATOR | null | ## 📚 Context
Add step to save whl file on PR-Preview runs & only run upload whl/setup preview repo steps when secrets available.
Add conditional to only run nightly build on st/st repo
- 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/5533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/5533/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/5533",
"html_url": "https://github.com/streamlit/streamlit/pull/5533",
"diff_url": "https://github.com/streamlit/streamlit/pull/5533.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/5533.patch",
"merged_at": "2022-10-18T17:28:27"
} | true |