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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace legacy app URLs in docs with custom subdomains #4959

Merged
merged 2 commits into from Jul 13, 2022
Merged

Replace legacy app URLs in docs with custom subdomains #4959

merged 2 commits into from Jul 13, 2022

Conversation

snehankekre
Copy link
Collaborator

@snehankekre snehankekre commented Jul 12, 2022

馃摎 Context

The custom subdomain feature on Streamlit Cloud will soon be ready for GA. As such, legacy share.streamlit.io URLs of apps embedded in element docstrings should be replaced by their custom subdomain counterparts. These URLs are parsed from docstrings, and the associated apps are iframed/embedded in our docs. Apps with the legacy URLs will no longer work in iframes. We should include this PR in the upcoming release.

  • What kind of change does this PR introduce?

    • Bugfix
    • Feature
    • Refactoring
    • Other, please describe: Doc improvement request

馃 Description of Changes

  • Replaces legacy share.streamlit.io URLs in element docstrings with custom subdomains. The mapping between old and new app URLs is found in this Notion table.

    • This is a breaking API change
    • This is a visible (user-facing) change

Revised:

image

Current:

image

馃И 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.

@snehankekre snehankekre requested review from kmcgrady, a team and LukasMasuch July 12, 2022 09:44
Copy link
Collaborator

@LukasMasuch LukasMasuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 馃憤

@LukasMasuch LukasMasuch merged commit 9e210b2 into streamlit:develop Jul 13, 2022
AnOctopus pushed a commit that referenced this pull request Jul 13, 2022
* Replace legacy app URLs in docs with custom subdomains

* Resize height for st.tabs docs app
kmcgrady added a commit that referenced this pull request Jul 28, 2022
* Up version to 1.11.0

* Replace legacy app URLs in docs with custom subdomains (#4959)

* Replace legacy app URLs in docs with custom subdomains

* Resize height for st.tabs docs app

* Ignore component requests outside of the component root

* Up version to 1.11.1

* Fix linting

* Revert "Ignore component requests outside of the component root"

This reverts commit 80d9979.

Co-authored-by: Amanda Walker <amanda@amandawalker.io>
Co-authored-by: Snehan Kekre <snehan.minerva@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants