Skip to content

Dash v1.3.0

Compare
Choose a tag to compare
@Marc-Andre-Rivet Marc-Andre-Rivet released this 17 Sep 18:50
· 5023 commits to dev since this release

dash

Added

  • #923 Adds one configuration --percy-assets in pytest to specify extra application assets path if needed
  • #918 Adds wait_for_element_by_id and visit_and_snapshot APIs in browser, adds raw_command option (it also has higher priority than
    the default waitress one) and optional start_timeout argument to handle large application within process runner

dash-core-components

Added

  • Added support for persistence of user-edited props to value-input components: Checklist, DatePickerRange, DatePickerSingle, Dropdown, Input, RadioItems, RangeSlider, Slider, Tabs, and Textarea. New props are persistence, persistence_type, and persisted_props. Set persistence to a truthy value to enable, the other two modify persistence behavior. See plotly/dash#903 for more details. #646

Fixed

  • Fixed Slider and RangeSlider components with tooltip.always_visible #640
  • Fixed an infinite loop problem when Graph is wrapped by Loading component #608

dash-renderer

Added

  • #903 enables props edited by the user to persist across recreating the component or reloading the page. Components need to define three new props: persistence, persisted_props, and persistence_type as described in the lead comment of src/persistence.js. App developers then enable this behavior by, in the simplest case, setting persistence: true on the component. First use case is table, see dash-table#566

Fixed

  • Reduced about 55% of the dash-renderer packages size on PyPI by removing the source maps. To do more advanced debugging, the source maps needs to be generated from source code with npm run build:local and pip install in editable mode, i.e. pip install -e . #910

dash-table

Added

#566

  • Support persisting user edits when the component or the page is reloaded. New props are persistence, persistence_type, and persisted_props. Set persistence to a truthy value to enable, the other two modify persistence behavior. See plotly/dash#903 for more details.
    #319
  • New 'loading_state' prop that contains information about which prop, if any, is being computed.
  • Table no longer allows for editing while the data prop is loading.

Fixed

#578

  • Fix #576, editing column names or deleting columns while other columns are hidden causing the hidden columns to be lost.
  • Fix an unreported bug that clicking "Cancel" at the column name edit prompt would clear the name, rather than leaving it unchanged as it should.
    #569, #544
  • Allow empty strings in all filter_query (e.g filter_query: '{colA} eq ""')
    #567
  • Add support for missing border-radius in style_** props
  • Fix table's inner vs. outer container styling
    #18
  • Fix row selection vertical and horizontal alignment
    #103
  • Simplify usage for multi-line cells and ellipsis. The cell's content now inherits the value of
    white-space, overflow and text-overflow from its parent, making it possible to style
    multi-line & ellipsis with style_data and other style props.
    #583
  • Fix regression when editing the content of a cell in a scrolled virtualized table