Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Fork from Upstream Repo #46

Merged
merged 2 commits into from Dec 11, 2019
Merged

Sync Fork from Upstream Repo #46

merged 2 commits into from Dec 11, 2019

Conversation

@sthagen
Copy link
Owner

@sthagen sthagen commented Dec 11, 2019

Before contributing (PLEASE READ!)

⚠️ As with most projects, prior to starting to code on a bug fix or feature request, please post in the issue saying you want to volunteer, and 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.

More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing


Issue: Please include a link to the issue you're addressing. If no issue exists, create one first and then link it here.

Description: Describe the changes you made to the code, so it's easier for the reader to navigate your pull request. Usually this is a bullet list.


Contribution License Agreement

By submiting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

monchier and others added 2 commits Dec 10, 2019
…eolder (streamlit#714)

* wip

* Adding to state

* Clean up

* Maybe is working

* cleanup

* more cleanup

* refactoring

* move out reportState

* minor cleanuo

* test

* fix linter

* restoring viz

* jslint

* fixing margins

* fixed problem with spaces and Maybe

* tmp

* wip

* making Maybe the outer wrapper to correctly handle css class

* Fixing test

* factoring out to function

* simplifying css
If `s3.url` is set in the user's config, ensure that it's an absolute URL.

An absolute URL starts with either `scheme://` or `//` -- if the configured URL does not start with either prefix, prepend it with `//` to make it absolute. (If we don't do this, and the user enters something like `url=myhost.com/reports`, the browser will assume this is a relative URL, and will prepend the hostname of the Streamlit instance to the configured URL.)

Fixes streamlit#802
@sthagen sthagen merged commit cbc2dfb into sthagen:develop Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.