Releases: opendatasoft/ods-widgets
ODS-Widgets 2.1.1
Added
odsPicto
: Newlocal-id
parameter that is used to clone a reference SVG prexisting in the page,
to avoid having to fetch the SVG remotely.odsSocialButtons
: Twitter logo has been replaced with the new X logo.odsTable
: Every text field is now sortable.
ODS-Widgets 2.1.0
This version notably adds the support of jQuery 3, while keeping compatibility with jQuery 2 as well.
Fixed
odsMap
now supports multivalued fields when coloring by category (the color is based on the first value).odsMap
now properly displays all the points in aMultiPoint
geometry with their intended color and style.
Changed
odsAdvAnalysis
andodsAdvResults
now rely on Explore API v2.1.
Removed
odsVegaLiteChart
has been removed due to major security issues.odsMap
location search no longer supports Algolia Places (the service is no longer available).
ODS-Widgets 2.0.1
This version includes a large update of the documentation, with many parameters having their default behavior more
explicitly defined, and improved examples.
Added
odsChart
:min
,max
andlabelX
are now dynamic and can be changed after the chart has been drawn.odsChartSerie
:chartType
,innersize
,functionY
,expressionY
,labelY
,min
,max
,step
,multiplier
,
color
,colorThresholds
are now dynamic and can be changed after the chart has been drawn.odsPaginationBlock
: When usingcontainerIdentifier
, if the container doesn't have a scrollbar, the page itself
will be scrolled up to the container's top when clicking on a page.
Fixed
odsAdvAnalysis
: Fixed an issue where the user's timezone was not used for time queries and displaysodsAdvAnalysis
: Fixed an issue where disjunctive filters (multiple selection) didn't workodsChart
: Fixed a performance issue in some situations with large time-based datasetsodsDateRangeSlider
: Fixed an accessibility issue where a hidden technical field appeared to screen readersodsGeotooltip
: Fixed the position of the tooltip on small screens, when too close to the left side of the screenodsPaginationBlock
: Fixed an issue where you could be select a page beyond the 10000 first records limitodsTimerange
: Fixed missing accessibility attributes on start and end date inputsodsTimerange
: Fixed timezone calculation issues when used ondate
fields
Removed
odsDatasetJsonSchema
has been removed from ODS-Widgets (it doesn't work outside of the Opendatasoft platform)
ODS-Widgets 2.0.0
This version is the first one based on AngularJS 1.8.0, which is the last major version that will be released, and is
currently in Long Term Support (more information).
Starting from this version, ODS-Widgets will only officially support AngularJS 1.8, and we encourage you to upgrade your own
application to this version. However, our tests show that most widgets still work with AngularJS 1.4.x to this day,
with two known exceptions: ods-range-input
and ods-gist
.
Fixed
odsSelect
: Fix a crash whenoptions
was based on a static value instead of a variable.odsSelect
: In non-multiple mode, you can now unselect your previous selection again by clicking it.odsLegend
: Fix blank legend in some situations when the minimum value was 0.
ODS-Widgets 1.4.12
Added
odsAdvAnalysis
: A new widget that can be used to query an API v2aggregates
endpoint and expose the
results in a variable, which can then be used by other widgets.odsAdvTable
: A new widget to display as a table the content of a variable (typically taken from theodsAdvAnalysis
variable).odsSelect
: NewisLoading
parameter to trigger in advance the loading spinner. For example, it can be used to start
the spinner at the very beginning of anodsResults
query that will populate theodsSelect
options, so that users
get an explicit loading message the entire time.
Changed
odsMap
: The Mapbox basemap support has been updated to remove deprecated "Studio Classic styles", and add support
for Mapbox Styles and Tilesets.odsMap
: The Jawg basemaps are now displayed in Retina on displays that support it (e.g. smartphones, tablets,
high-density screens).
Fixed
- Fixed on issue on our minified build (
ods-widgets.min.js
) where several widgets were unusable. odsMap
,odsSearchbox
: Fixed a number of accessibility issuesodsSelect
: Various performance improvements when dealing with a large set of options.
ODS-Widgets 1.4.11
Fixed
odsColorGradient
: ReplacedodsColorGradientLogarithmicScaleFactor
parameter with a newodsColorGradientPowExponent
parameter, to provide the ability to generate a logarithmic scale (value below 1), or an exponential scale (value above 1).
ODS-Widgets 1.4.10
Fixed
odsMap
: Fixed an issue where pictos wouldn't load in the legend and the display control, when used outside an
Opendatasoft platform.odsMap
: Fixed an issue where a map wouldn't properly initialize due to a race condition in very rare situations.odsMap
,odsVegaLite
: Fixed an issue in third-party dependency loading, which would prevent the widgets from
running properly more than once in complex dashboards.
Removed
odsPlumeAirQuality
: Removed because the service has been discontinued by its author
ODS-Widgets 1.4.9
This release includes a large rewrite of the documentation for many widgets.
Fixed
odsChart
: Special characters are now properly handled in tooltip headers.
ODS-Widgets 1.4.8
Changed
odsSelect
:selectedValues
will always be an array, to ensure the behavior is consistent both in single and
multiple modes.odsSelect
:onChange
callback will be run after the changes triggered by the user's selection have been propagated.
Fixed
odsChart
: Special character are now properly handled in axes' labelsodsSelect
: Fixed various issues that prevented the active selection to be kept when the options were updated.
ODS-Widgets 1.4.7
Added
odsSelect
: This is a new widget built to offer a selection (single or multiple) between a list of options, with many
formatting options. For example it can be used as an alternative to the usual filters so that users may choose a number
of values.odsSimpleTabs
: This new widget lets you easily build a tab system for your content within your page.