Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- run:
name: Install dependencies (dash)
command: |
git clone git@github.com:plotly/dash-renderer.git
git clone -b hide-undo-redo git@github.com:plotly/dash-renderer.git
git clone git@github.com:plotly/dash-core-components.git
git clone git@github.com:plotly/dash-html-components.git
git clone git@github.com:plotly/dash-table.git
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [UNRELEASED]
### Changed
- Undo/redo toolbar is removed by default, you can enable it with `app=Dash(show_undo_redo=true)`. The CSS hack `._dash-undo-redo:{display:none;}` is no longer needed [#724](https://github.com/plotly/dash/pull/724)

## [0.43.0] - 2019-04-25
### Changed
- Bumped dash-core-components version from 0.47.0 to [0.48.0](https://github.com/plotly/dash-core-components/blob/master/CHANGELOG.md#0480---2019-05-15)
Expand Down
5 changes: 4 additions & 1 deletion dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def __init__(
external_stylesheets=None,
suppress_callback_exceptions=None,
components_cache_max_age=None,
show_undo_redo=False,
plugins=None,
**kwargs):

Expand Down Expand Up @@ -149,7 +150,8 @@ def __init__(
'components_cache_max_age': int(get_combined_config(
'components_cache_max_age',
components_cache_max_age,
2678400))
2678400)),
'show_undo_redo': show_undo_redo
})

assets_blueprint_name = '{}{}'.format(
Expand Down Expand Up @@ -342,6 +344,7 @@ def _config(self):
'requests_pathname_prefix': self.config.requests_pathname_prefix,
'ui': self._dev_tools.ui,
'props_check': self._dev_tools.props_check,
'show_undo_redo': self.config.show_undo_redo
}
if self._dev_tools.hot_reload:
config['hot_reload'] = {
Expand Down