forked from streamlit/streamlit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from tagup/DEV-3371-streamlit-1.26
Dev 3371 streamlit 1.26
- Loading branch information
Showing
953 changed files
with
11,071 additions
and
4,863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Documentation request | ||
- name: 📚 Documentation request | ||
url: https://github.com/streamlit/docs/issues/new/choose | ||
about: Let us know how our docs could be better | ||
- name: Streamlit documentation | ||
- name: 📖 Streamlit documentation | ||
url: https://docs.streamlit.io/ | ||
about: Learn more about how to use Streamlit | ||
- name: Anything else? | ||
- name: ❓ Anything else? | ||
url: https://discuss.streamlit.io/ | ||
about: Ask usage questions on the Streamlit community forum |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: ✨ Feature request | ||
description: Suggest a feature or enhancement for Streamlit | ||
labels: [type:enhancement] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to suggest a feature or enhancement for Streamlit! | ||
We really appreciate the community's efforts to improve Streamlit ❤️ | ||
- type: checkboxes | ||
attributes: | ||
label: Checklist | ||
description: Please confirm and check all the following options. | ||
options: | ||
- label: I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar feature requests. | ||
required: true | ||
- label: I added a descriptive title and summary to this issue. | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: Type here a clear and concise description of the feature or enhancement request. Aim for 2-3 sentences. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Why? | ||
description: Please outline the problem, motivation, or use case related to this feature request. | ||
placeholder: | | ||
I'm always frustrated when ... | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: How? | ||
description: | | ||
Please describe the solution or implementation you'd like to see. This might include suggestions for `st` commands, new parameters, or UI mockups. | ||
Don't worry if you don't have a clear solution in mind; any input helps! | ||
placeholder: | | ||
Introduce a new command called `st.foo` with the following set of parameters... | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Additional Context | ||
description: | | ||
Links? References? Anything that will give us more context about the feature request here! | ||
For example, did this feature request come from https://discuss.streamlit.io or another site? Link the original source here! | ||
_Tip: You can attach images by clicking this area to highlight it and then dragging files in._ | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# This workflow automatically comments on issues labeled with 'type:enhancement' or 'type:bug' | ||
# and adds a thumbs-up reaction to the issue to encourage community voting. | ||
|
||
name: Community voting | ||
on: | ||
issues: | ||
types: | ||
- labeled | ||
jobs: | ||
add-enhancement-comment: | ||
if: github.event.label.name == 'type:enhancement' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Add comment to issue | ||
run: gh issue comment ${{ github.event.issue.html_url }} --body "$ISSUE_BODY" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
ISSUE_BODY: | | ||
**To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.** | ||
Your vote helps us identify which enhancements matter most to our users. | ||
![Visits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fstreamlit%2Fstreamlit%2Fissues%2F${{ github.event.issue.number }}&title=visits&edge_flat=false) | ||
- name: Upvote issue | ||
uses: aidan-mundy/react-to-issue@14d172c22f28fabdd86b3458b1701ba1a684bc19 | ||
with: | ||
issue-number: ${{ github.event.issue.number }} | ||
reactions: "+1" | ||
add-bug-comment: | ||
if: github.event.label.name == 'type:bug' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Add comment to issue | ||
run: gh issue comment ${{ github.event.issue.html_url }} --body "$ISSUE_BODY" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
ISSUE_BODY: | | ||
**If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.** | ||
Your feedback helps us prioritize which bugs to investigate and address first. | ||
![Visits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fstreamlit%2Fstreamlit%2Fissues%2F${{ github.event.issue.number }}&title=visits&edge_flat=false) | ||
- name: Upvote issue | ||
uses: aidan-mundy/react-to-issue@14d172c22f28fabdd86b3458b1701ba1a684bc19 | ||
with: | ||
issue-number: ${{ github.event.issue.number }} | ||
reactions: "+1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Playwright E2E Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- "develop" | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
# Allows workflow to be called from other workflows | ||
workflow_call: | ||
inputs: | ||
ref: | ||
required: true | ||
type: string | ||
|
||
# Avoid duplicate workflows on same branch | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-playwright | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest-4-cores | ||
|
||
defaults: | ||
run: | ||
shell: bash --login -eo pipefail {0} | ||
|
||
steps: | ||
- name: Checkout Streamlit code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ inputs.ref }} | ||
persist-credentials: false | ||
submodules: "recursive" | ||
fetch-depth: 2 | ||
- name: Set Python version vars | ||
uses: ./.github/actions/build_info | ||
- name: Set up Python ${{ env.PYTHON_MAX_VERSION }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "${{ env.PYTHON_MAX_VERSION }}" | ||
- name: Setup virtual env | ||
uses: ./.github/actions/make_init | ||
- name: Run make develop | ||
run: make develop | ||
- name: Run make protobuf | ||
run: make protobuf | ||
- name: Run make frontend | ||
run: make frontend-fast | ||
- name: Run make playwright | ||
run: make playwright | ||
- name: Check that all screenshot have been committed | ||
run: | | ||
set -x; | ||
UNTRACKED_FILE_COUNT=$(git ls-files --others --exclude-standard | grep snapshots | wc -l | bc -l || echo '0') | ||
echo "Untracked files count: ${UNTRACKED_FILE_COUNT}" | ||
if [[ "${UNTRACKED_FILE_COUNT}" -gt 0 ]]; then | ||
echo "Untracked files:"; | ||
git ls-files --others --exclude-standard | grep snapshots; | ||
exit 1; | ||
fi | ||
- name: Upload snapshots | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: playwright_snapshots | ||
path: e2e/playwright/snapshots | ||
- name: Upload failed test results | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: playwright_test_results | ||
path: e2e/playwright/test-results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.