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

Window title isn't inferred correctly from ui.panel_title() #137

Closed
cpsievert opened this issue Apr 25, 2022 · 0 comments · Fixed by #138
Closed

Window title isn't inferred correctly from ui.panel_title() #137

cpsievert opened this issue Apr 25, 2022 · 0 comments · Fixed by #138

Comments

@cpsievert
Copy link
Collaborator

from shiny import *

app_ui = ui.page_fluid(
    ui.panel_title("Hello Shiny UI"),
)

def server(input: Inputs, output: Outputs, session: Session):
    pass

app = App(app_ui, server)

Generates the warning:

/Users/cpsievert/github/py-shiny/shiny/ui/_page.py:138: UserWarning: Unable to infer a `window_title` default from `title`. Consider providing a character string to `window_title`.
  warn(

And the title isn't populated in the tab's title

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 a pull request may close this issue.

1 participant