All notable changes to this project will be documented in this file. This log tries to follow the good principles of Keep a CHANGELOG.
odsSelect: Closing and opening the select now resets the value filter, if it was used before closing.- Inside the widgets' documentation, links to the Huwise user guide have been updated to follow the doc migration.
- Inside the Huwise platform, some field settings have been updated to be stored in dataset metadata, such as the list of filters, their settings, and the definition of which fields are displayed for each language. This was previously stored in field annotations. Many widgets have been updated accordingly to fetch these settings from their dataset metadata.
odsPicto: Newlocal-idparameter 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.
This version notably adds the support of jQuery 3, while keeping compatibility with jQuery 2 as well.
odsMapnow supports multivalued fields when coloring by category (the color is based on the first value).odsMapnow properly displays all the points in aMultiPointgeometry with their intended color and style.
odsAdvAnalysisandodsAdvResultsnow rely on Explore API v2.1.
odsVegaLiteCharthas been removed due to major security issues.odsMaplocation search no longer supports Algolia Places (the service is no longer available).
This version includes a large update of the documentation, with many parameters having their default behavior more explicitly defined, and improved examples.
odsChart:min,maxandlabelXare now dynamic and can be changed after the chart has been drawn.odsChartSerie:chartType,innersize,functionY,expressionY,labelY,min,max,step,multiplier,color,colorThresholdsare 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.
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 ondatefields
odsDatasetJsonSchemahas been removed from ODS-Widgets (it doesn't work outside of the Huwise platform)
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.
odsSelect: Fix a crash whenoptionswas 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.
odsAdvAnalysis: A new widget that can be used to query an API v2aggregatesendpoint 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 theodsAdvAnalysisvariable).odsSelect: NewisLoadingparameter to trigger in advance the loading spinner. For example, it can be used to start the spinner at the very beginning of anodsResultsquery that will populate theodsSelectoptions, so that users get an explicit loading message the entire time.
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 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.
odsColorGradient: ReplacedodsColorGradientLogarithmicScaleFactorparameter with a newodsColorGradientPowExponentparameter, to provide the ability to generate a logarithmic scale (value below 1), or an exponential scale (value above 1).
odsMap: Fixed an issue where pictos wouldn't load in the legend and the display control, when used outside an Huwise 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.
odsPlumeAirQuality: Removed because the service has been discontinued by its author
This release includes a large rewrite of the documentation for many widgets.
odsChart: Special characters are now properly handled in tooltip headers.
odsSelect:selectedValueswill always be an array, to ensure the behavior is consistent both in single and multiple modes.odsSelect:onChangecallback will be run after the changes triggered by the user's selection have been propagated.
odsChart: Special characters are now properly handled in axes' labels.odsSelect: Fixed various issues that prevented the active selection to be kept when the options were updated.
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.
uriEncodeanduriComponentEncode: two new filters to help building links directly in the template. They respectively apply the javascript functionsencodeURIandencodeURIComponentto the filtered string.odsFacetsandodsTable: the two widgets now support selection of fields for a specific language.odsGeoNavigation: it nows displays more familiar country shapes instead of exhaustive one.odsGeoNavigation: add a newascendingFilterparameter that activate the "Display all datasets that include current selection" by default
odsPicto: thecolorByNameattribute has been replaced bycolorByAttribute. It now applies the given colors to svg element using their id.
odsPicto: A newcolorByNameparameter can be used, to apply different colors to different areas of a SVG file based on theirnameattribute. The parameter can be changed on the fly, to allow for dynamic coloring.odsResultEnumerator: Themaxparameter can now be changed on the fly.odsResults: TheodsResultsMaxparameter can now be changed on the fly.
odsMap: A number of texts in the Search box where not properly translatedodsMap: The field used to display results when using the Search box is now the field used as the tooltip title (if configured), as intendedodsMediaGallery: Fixed broken image when using TIFF (now displaying a placeholder since most browsers don't support it)odsVegaLite: Fixed potential infinite loop when working with dynamic data
odsChartQuery: all parameters are now dynamic, meaning that if they are set to a variable, and the variable changes, the chart will refresh accordingly.
- A new
fromjsonfilter, to parse a text containing JSON and obtain the object
odsCrossTable: Fixed an issue with the width of each cells after applying a filter on the dataodsGeoNavigation: Fixed multiple similar API calls when using another filter on the same contextodsMap: Support Jawg as a provider for the geocoding search on the map itself (requiresjawgGeocodingAPIKeyin yourODSWidgetsConfig), default is Mapbox as previously
odsColorGradient: new widget that can be used to build a set of colors from the results of an aggregationodsLegend: together withodsColorGradient, can be used to build a dynamic map legendodsGeoNavigation: a new filter, specifically for geographic-based metadata such as "Geographic coverage"odsMostPopularDatasets: neworderByparameter, can be used to display the most popular datasets based on their popularity score (popularity) instead of the default based on the number of downloads (downloads)mathfilter: newpowfunction to compute power
odsMap: added support for min & max zoom levels in Custom WMS basemaps
odsHighchart: made color series management local to each chartodsDatasetContext: fixedgetDownloadUrl()method issue with null/undefined valuesodsMap: fixed whitespace in tooltips and fullscreen modeodsTimerange: fixed reset button position/style
odsDatasetContext: newrefresh-delayparameter to automatically refresh the context's data at a fixed interval- new
odsPageRefreshdirective trigering a full refresh of the page at a given interval - added notifications when XHR requests fail
odsHighcharts: fixed dependency on undocumentedconfigobject, now relying onODSWidgetsConfigodsMap: pan map so that tooltip fits in
odsRedirectIfNotLoggedInhaving no use outside of dashboards hosted on Huwise, it's been moved out of this library
- Better support for right to left languages support
clearAllFilters: accept an exception list to avoid clearing some specific parametersodsFilterSummary: accept an exception list that will not be displayedodsFacets: date facets can now display a date range picker for selectionodsMap: display an information message when the data displayed is not completeodsMediaGallery: expose theodsContextto the tooltip asctxodsSlideshow: navigation with keyboardodsTextSearch: added asuffixparameter to allow use of multipleodsTextSearchon the same contextodsTimeRange: added asuffixparameter to allow use of multipleodsTimeRangeon the same context
- Documentation should now be working correctly and the documentation has been updated
- JS lint all the code
odsDatasetContext: Correctly initialize parameters for each contextodsFilterSummary: Fixed XSS security issue when displaying filtersodsRedirectIfNotLoggedIn: Now works as exceptedodsInfiniteScrollResults: thescroll-top-when-refreshoption now works as exceptedodsMap: fullscreen is fixedodsMediaGallery: correctly work with custom tooltipsodsMediaGallery: use the context to guess the image url instead of
odsRangeInput
- the unmaintained breezometer widget has been removed
odsMap: better support for thunderforest basemaps (now accepts API keys in conf) and support for tile format option for WMS basemapsodsTimerange: better styleodsCrossTable: improved documentationodsHighcharts: funnel and polar charts now support color ranges, improved documentationodsRangeInput: added validation- new
filesizefilter that transforms an integer into a file size (in kB, MB etc.) - Lots of accessibility improvements
- Switched to system fonts for lighter pages and better integration with the OS
odsAggregation: fix example and crash when aggregation yields no resultodsCrossTable: fix refresh conditionodsFacets: fix race condition with filtered contextsodsRangeInput: fix bad display on initodsSlideshow: fix numerous errors that used to show up in the consoleodsMap: bug fixes and many improvement following the release of the new mapbuilder- Added back lots of missing ";"
odsFilterSummary: now listsodsTimerange,odsTimescaleandodsMapfilters as wellodsGeoSearch: now uses the default map location set through ODSWidgetsConfigodsInfiniteScrollResults: now lists dataset's interop metas as wellodsLastReusesFeed: new option to link either to the reuse or to the datasetodsMapDisplayControls: if no group title or description is set, default to the title or description of the first layer of the group before resorting to the this layer's dataset title and description.odsMapLegend: support for choropleth and heatmap legends, and lots of visual improvementsodsMapSearchBox: visual improvementsodsRefineOnClick: new replace-refine optionodsResultEnumerator: new class to make customization easy and better scroll-to-top integration withodsPaginationBlockodsMaplots of visual improvements and bug fixesodsDatasetContext: now caching schema requests, resulting in a lot less requests (less quota usage and performance improvement)odsGist: new directive to embed a GitHub Gist into any dashboard
odsAnalysis: documentation's exampleodsCrossTable: non-repeating row headers now working properlyodsHighcharts: only set HighCharts' UTC option for timeserie analysisodsMapSearchBox: Algolia Places API key now correctly setodsMediaGallery: fix bug with refined context where the selected picture was replaced by the first picture at selectionodsPaginationBlock: documentation update and trigger scroll-to-top only on page change and not at initodsSearchBox: do not display search box if there is no context + support for autofocusodsTimerange: fix default values that were always empty
odsCharts: support for boxplot chartsodsMap: new showZoomMin and showZoomMax parameters on layers, to configure the zoom levels where the layer is visibleodsMap: new parameters to configure clusters' min and max sizes, and markers' size
odsFacets: fixed behavior on multi-valued facets if the separator is not "/"odsSlideshow: various visual improvements, especially with empty or very long descriptionsodsCrosstable: fixed various bugs when used on a date or datetime fieldodsMap: when drawing a filter zone, tooltips are now displayed when drawing or editing, and labels are more intuitiveodsMap: fixed missing icons in the search box
odsCrossTable: new visualisation that allows a representation of datasets data in a pivot table like formattingodsMap: new choropleth mode for map rendering
odsTwitterTimeline: deprecate the old Twitter widget system and promote the new Twitter widgetsodsTable: display sort icons even with long field namesodsMap: various fixes- some JS linting
odsFilterSummary: proper support for drawn areas on mapsodsCharts: support for multiple colors in treemapsods-widgets.css: now includes vendor prefixes
odsSlideshowdocumentation's exampleodsCharts: bug with legend referencing dates- Fixed icons that were not displayed in this documentation
- New odsSlideShow widget: Browse the content of an image-based dataset using a slideshow display.
odsMap: New legend display on analytic display modes.odsMap: Updated clusters display to make sure the cluster's radius accurately represents the associated ratio.odsChart: Migrated to Highcharts 5 for a cleaner look and better performance.odsChart: Added three new chart types:polar,funnel,spiderweb.
- Fixed an issue with
odsFacetswhen used in disjunctive mode: in Firefox and Internet Explorer, it used to have a weird centering effect when hovered.
- New odsGauge widget: Display a gauge indicator in your dashboards.
odsChart: A newscientificDisplayoption to toggle the display of Y axis values in a scientific notation.odsChart: A newstepparameter to configure the step of the Y axis.odsLastDatasetsFeedandodsMostPopularDatasets: newmaxparameter to set the number of displayed items.- Support for TMS service base maps. Set
strictTMStotruein the basemap configuration object. - Better accessibility markup for all widgets
- Fixed an issue with
odsInfiniteScrollResults: it now uses the context parameters when used with a dataset context, as you would expect. - Fixed an issue with
odsFacets, where the "more"/"less" toggle to display more than the 5 first results would appear based on the number of items regardless ofvisibleIfthat makes some of them not appear in the list. - Fixed an issue where lines in
odsTablewere sometimes not displayed in the right order, despite being supposedly sorted. - Fixed an issue on
odsMapwhen you had two layers that were using the same context, and you were displaying either one or the other at once usingshowIf: the layers are now correctly switched, where previously the change was not detected by the map.
- The widgets now use Jawg.io basemaps by default, instead of MapQuest, due to the discontinuation of MapQuest's free service. Widgets previously configured to use MapQuest will fallback to Jawg instead.
- In
odsTable, numerical values are now aligned to the right. - New filters have been added:
toObject,momentdiff. - New
autoGeolocationparameter inodsMap, to automatically trigger the user's geolocation on a map. - In
odsMap, you can now usecolorFunctionto configure the way the color scales are computed (only logarithmic for now).
- Fixed an issue in
odsRecordImagewhere sometimes, when used in a map tooltip, it would display a broken image. - Fixed performance with
odsMediaGalleryand datasets with big geo shapes.
- New translations module (
gettext) with an updatedtranslatedirective that supports plural forms natively. - Support for multi-x charts in
odsChart. - New
ODSCurrentDomainprovider for the setup ofodsCatalogContext. - Lots of documentation for available filters.
- Support for custom HTML tooltips in
odsCalendar. - Added multi-context support in
odsClearAllFilters,odsFilterSummary,odsFacet,odsGeoSearch,odsTextSearch. - New Hubspot integration:
odsHubspotForm.
- Fixed disappearing map markers on Safari.
- Fixed
odsCalendartooltip reload issue (styles were not applied to the tooltip). - Fixed
odsCalendarfull day events issue with single-day events.
This release includes two additional widgets, one for image galleries and the other for geographic searches through dataset catalogs.
- New
odsMediaGallerywidget to build image galleries from datasets containing images. - New
odsGeoSearchwidget to make geographic searches within dataset catalogs. These searches relies on thegeographic_areametadata set on datasets.
- Fixed
odsClearAllButtondependency issue that made the directive crash with the minified version of the library.
This release is pretty minor from a pure widget standpoint, but includes many improvements in the documentation, including
more details about usage of aggregation functions in the odsMap widget.
- New
odsRecordImagewidget to simply display an image from a record. No more fiddling and creating an URL by hand!
- Fixed
odsFacetsdocumentation to mention the new custom display's syntax since ODS-Widgets v1.0.0. - Fixed an issue that triggered some API calls twice upon widget initialization for many visualization widgets.
- Fixed an
odsMapproblem that would sometimes block the map's loading when there were more than oneodsMapon the page. - Fixed
odsDomainStaticticsto make the smallest possible API call by default, to improve performance.
This release is the one that finally jumps to the 1.x.x major version number! Many changes in the structure and styles, most of them being breaking changes, so it warranted a major version; and at the same time we are now confident that it is going to stay stable for a long time, so the jump to 1.x seemed warranted.
There are two (big) breaking changes:
- Internet Explorer 8 is no longer supported. This seems harsh, but this enabled us to upgrade Angular version to 1.4, and allowed a lot of improvements under the hood. In other words, everything is a bit better and faster, at the expense of IE8.
- Every CSS class name and widget style have changed. Previously, styles and classes were done without much consistency,
and it made it harder to override the style of some widgets. Everything has been rewritten to be easier to alter the style
of every widget to match the style of your own website, without having to use 8-levels-deep-nested styles (or even worse,
!important). But unfortunately, this means that any current customization is likely to be entirely broken.
- New
odsInfiniteScrollResultswidget - New
odsPlumeAirQuality: displays the status of the air quality in a specific city - New
odsClearAllFilters: a simple link to reset all filters on a context. - New
odsDatetime: can be used to inject the current date/time as a variable in the page. - New
odsRedirectIfNotLoggedIn(Huwise customers): redirects the users to the login page if they are not logged in. Can be used on a public page that uses private datasets, to ensure the user doesn't stop at an empty dashboard. Only works on the Huwise platform. - New
availableCalendarViewsparameter onodsCalendar, allowing you to restrict the available views in the calendar. - New
minZoomandmaxZoomparameters onodsMap, to restrict the available zoom levels. - New
scrollWheelZoomparameter onodsMapto prevent the mousewheel to zoom/unzoom. Can be useful on a scrollable page with a large map, to avoid frustrating behavior where you want to scroll the page but your mousewheel gets stopped by a map right in the middle. odsTwitterTimelinenow supportswidthandheightparameters to configure the dimensions of the widget.
- When using two or more layers with the
showIfparameter, sometimes the map wouldn't detect the changes and wouldn't refresh. This is now fixed. There can still be issues if these layers are using the same context, which will be fixed in the close future.
- New
odsCalendarwidget! Displays a calendar view of your data. Live example: http://data.issy.com/explore/dataset/agendav2/?tab=calendar - In
odsDatasetContext, you can now setmycontextname-urlsync="true"to synchronize this context's parameter with the page's URL, so that the URL changes when the parameters change. Also, if you arrive on the page with parameters in the URL, the context will directly initialize with these parameters. You can use this to make dynamic pages with URL parameters (for examples mypage?refine.city=Paris). - In
odsReuses, you can now pass a template to configure how to display each reuse. More information is available in the widget's documentation. - In
odsfilterSummary, there is now an option to not display the "clear all" button below the active filters. - In
odsTagCloud, you can now use the widget as a way to refine your context. See the widget's documentation for more information.
- In
odsThemeBoxes, fixed a bug where the boxes would not appear at all. Also fixed an alignment bug with Internet Explorer. - In
odsLastDatasetsFeedandodsMostPopularDatasets, fixed a bug where the theme picto would not be displayed if the dataset had more than one theme. - In
odsMap, the border color and opacity options now apply to every visualization mode that displays shapes (previously only appeared on the "aggregation" visualization mode).
- New
odsFacetResultswidget, which can be used to iterate the values of a facet and build HTML from it (simple list, select, radio buttons...). - In
odsChart, you can now trigger a refine on a context from a click on a bar chart or pie chart using a newrefineOnClickContextparameter. - In
odsChartyou can configure the unit (°C, ...) of displayed values using a newdisplayUnits - In
odsMapyou can configure the border color and opacity of shapes using newborderColorandopacityparameters on theodsMapLayertag. - In
odsMap, if a field contains only a link to a Youtube, Vimeo or Dailymotion video, the video player is directly embedded in the tooltip.
- The
odsFacetEnumeratoris gone (for now), replaced by the slightly lower-levelodsFacetResultswhich can be used in more cases.
- Various fixes for glitches in label display in
odsChart - When an
odsMapis configured as "static", the user is no longer able to navigate using the keyboard.
- All templates are now inlined instead of external; this means that you won't have any more issue with CORS and widgets such as
odsTableandodsMap. Also, all examples in the documentation should now work, and testing in Plunkr should be easier! - When using
odsFacetswith the searchbox, the current search is now reset when you select a category. - You can now prevent specific parameters to be displayed within
odsFilterSummary. - You can now use a function on
odsDatasetContextobjects to get a link that can be used to download the current data, based on active filters.
- Fixed a problem where the
odsTimescalewidget may crash if initialized directly upon context initialization. - Fixed a problem where
odsFacets,odsDomainStatistics,odsFilterSummaryandodsTagCloudwouldn't work with the minified version of ods-widgets. - All the directives templates are now defined inside the directives code: this ensures that there is no request needed to fetch the templates, which caused CORS issues for developers with no ability to enable CORS on their server (e.g. no access to the configuration), and issues on the documentation.
- Fixed potential race conditions in
odsChartandodsTablewhen filters where changed too quickly. - Fixed layout issues when an
odsMapwas contained inside anodsDatasetCard. - You can now use
odsTimescale,odsTimerange, and/orodsTextSearchwithout each one overriding the other. - Limiting the size of the real text content within
odsTablecells, to prevent browsers crashes. - Fixed some map pictos from not being displayed under Firefox 36, due to a browser bug.
- Fixed some cases where a reverse sort on Y axis in
odsChartwould be ignored. - Various IE8 fixes.
- The
odsMaphas been modified to be much more powerful and support multiple layers, visualization modes, and contexts. It can be used to build interactive maps from various dynamic data sources. More information is available in the documentation, and two new tutorial pages are dedicated to it. Note: if you have issue with your existing<ods-map>usage, especially if you are using advanced options like aggregation colors, you can use<ods-map-legacy>instead which is the former tag under another name. - The
odsTimerangewidget now supports specific dates to be passed as default values, instead of just "yesterday" and "now". - The
odsFacetswidget now supports parameters to enable disjunctive refinement, and a searchbox within the values. See the documentation for more information. - New
odsAggregationwidget to expose the result of an aggregation function on a dataset into a variable. - New
odsFilterSummaryto display a view of the filters that are currently active on a context.
- In
odsMap, some pictos may have been aligned to the left instead of properly centered; this should no longer happen. - The
odsHighchartswidget now properly uses API keys configured in its context. - The
odsSearchboxwidget's placeholder is now properly translated.
- New
odsPaginationBlockwidget, especially used inodsResultEnumeratorwhere you can use a newshowPaginationattribute to display a pagination control below your results. odsFacetsnow support the configuration of a specific order for facet values. It can be used for example to ensure "Monday", "Tuesday", "Wednesday", "Thursday"... are displayed in the right order. See documentation of thesortparameter for more information.- In
odsMapdefault tooltips, if a field contains a link to a YouTube video, a mini video player is displayed. - Clicking on a reuse's source will now open in a new tab by default.
- When
odsTextSearchinitialized, it now takes theq=parameter of its context as a default value.
- The
imagifyfilter no longer cuts URL parameters from detected image links; this means you'll no longer see this problem inodsMaptooltips for example. - Linebreaks between start and end of the
odsTabletag no longer triggers an empty custom template for cells. - Clicking on a reuse (from
odsReusesorodsLastReusesFeed) will bring you to the dataset's information tab where all the reuses are listed, instead of a default visualization. odsSearchBoxnow works in every case; previously, depending on how it was initialized, it may have been not working when submitting a search.
- New widget:
odsToggleModel. It can be used on a checkbox, to add/remove a parameter depending on the state of the checkbox. - It is now possible to customize the template of reuses in the
odsLastReusesFeedwidget. See the widget's documentation for more information. odsLastReusesFeednow has amaxparameter to set a maximum number of reuses to display.odsMapcustom tooltips have been simplified and do not require including some code for scrolling between multiple records anymore. Documentation is coming soon!odsResultswidget, when used with anodsCatalogContext, now retrieves every metadata, including DCAT and others, so that you can use them in results display.- Facet values are now also displayed as a tooltip on mouse hover (title), making it possible to read long values that have been truncated.
- The sort icons on the
odsTablewidget now show the proper direction, and sorting on an alphanumeric field now sorts in the right direction the first time. odsMapnow handles massive amounts of data much faster than before.
- New widget:
odsFacets. This widget allows you to insert and finely configure filters for your data, including customizing the way each available value is displayed. You can find more information in the documentation. - New widget:
odsReuses. This widget displays an infinite list of reuses for a domain, displayed in large boxes. - The user's timezones is now taken into account in filters and facets.
- Internet Explorer 8 and 9 can now interact with non-local APIs: the widgets now use JSONP to circumvent these browsers' limitations with cross-domain requests.
- We now have a changelog!
- New widget:
odsTimerange. This widget displays a calendar to select a range of date or datetime to refine on. - New widget:
odsResults. This widget exposes the result of a search query as a variable in your scope. It can be easily combined with AngularJS's ngRepeat to display a custom list of results. odsGeotooltipcan now be directly passed a record to display its geographical information, instead of having to explicitely pass the field name.odsMapnow supports a new mechanism to refine another context when the user clicks on a marker or shape. See theitemClickContextin the documentation.odsResultEnumeratornow support ashowHitsCounterparameter to display a simple counter of the number of hits.- If there is no data to display, the
odsHighchartswidget now displays an explicit message instead of an empty space. - The HTTP requests sent to APIs now include an
ODS-Widgets-Versionheader to indicate the version of the ODS-Widgets library. - To improve support for Internet Explorer 8, you can now load a
ieshiv.jsfile (or its minified version also included) before AngularJS is loaded in your page.
odsTableno longer has atableContextparameter; instead, the active sort is now directly shared in the context itself, like the other parameters.
- On Internet Explorer 8, Vector markers (typically containing a pictogram) were sometimes subject to bad positioning and appeared far from their original location.
Initial release of the project