-
-
Notifications
You must be signed in to change notification settings - Fork 42
Add update_title
config option
#102
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
Add update_title
config option
#102
Conversation
- add `update_title` String field to DashConfig struct - use `"Updating..." as default - inject its value into the frontend, to make it available to the dash renderer
- `update_title::String`: Default ``Updating...``. Configures the document.title | ||
(the text that appears in a browser tab) text when a callback is being run. | ||
Set to '' if you don't want the document.title to change or if you | ||
want to control the document.title through a separate component or | ||
clientside callback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly copied from
except for the None
part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only supporting ''
is fine by me.
re: tests - dynamic behavior is covered by the tests in plotly/dash#1315, here it would be fine to just |
My attempt in -> 4b07cab Thanks for tips! |
LGTM! I've enabled forks in CircleCI, didn't realize we hadn't done that yet. Would you push an empty commit to see if the tests will run? |
Yes, we can use
|
@alexcjohnson, @etpinard In fact, there is another problem - the components are placed by direct reference to git, and not through the package repository. Apparently I wrote this file when the components were not registered yet. I fixed it in this PR #104. In that #104 unit tests pass, let's check in current one. Perhaps you should just copy the changes from #104 to this PR and merge them within current PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great - Thanks @etpinard ! 💃
fixes #101
update_title
String field to DashConfig structTODO:
update_title=nothing
inputs?